Class ApiManagementApiDeletedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.ApiManagementApiDeletedEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ApiManagementApiDeletedEventData>
public final class ApiManagementApiDeletedEventData
extends Object
implements com.azure.json.JsonSerializable<ApiManagementApiDeletedEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIDeleted event.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApiManagementApiDeletedEventData from the JsonReader.Get the resourceUri property: The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getResourceUri
Get the resourceUri property: The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>`.- Returns:
- the resourceUri value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ApiManagementApiDeletedEventData>- Throws:
IOException
-
fromJson
public static ApiManagementApiDeletedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ApiManagementApiDeletedEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApiManagementApiDeletedEventData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ApiManagementApiDeletedEventData.
-