Class ApiManagementGatewayCertificateAuthorityCreatedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.ApiManagementGatewayCertificateAuthorityCreatedEventData
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ApiManagementGatewayCertificateAuthorityCreatedEventData>
public final class ApiManagementGatewayCertificateAuthorityCreatedEventData
extends Object
implements com.azure.json.JsonSerializable<ApiManagementGatewayCertificateAuthorityCreatedEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayCertificateAuthorityCreated
event.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApiManagementGatewayCertificateAuthorityCreatedEventData 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>/gateways/<GatewayName>/certificateAuthorities/<ResourceName>`.- Returns:
- the resourceUri value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ApiManagementGatewayCertificateAuthorityCreatedEventData>- Throws:
IOException
-
fromJson
public static ApiManagementGatewayCertificateAuthorityCreatedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ApiManagementGatewayCertificateAuthorityCreatedEventData from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApiManagementGatewayCertificateAuthorityCreatedEventData 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 ApiManagementGatewayCertificateAuthorityCreatedEventData.
-