Class ApiManagementGatewayCertificateAuthorityUpdatedEventData

java.lang.Object
com.azure.messaging.eventgrid.systemevents.ApiManagementGatewayCertificateAuthorityUpdatedEventData
All Implemented Interfaces:
com.azure.json.JsonSerializable<ApiManagementGatewayCertificateAuthorityUpdatedEventData>

public final class ApiManagementGatewayCertificateAuthorityUpdatedEventData extends Object implements com.azure.json.JsonSerializable<ApiManagementGatewayCertificateAuthorityUpdatedEventData>
Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayCertificateAuthorityUpdated event.
  • Method Details

    • getResourceUri

      public String 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ApiManagementGatewayCertificateAuthorityUpdatedEventData>
      Throws:
      IOException
    • fromJson

      public static ApiManagementGatewayCertificateAuthorityUpdatedEventData fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ApiManagementGatewayCertificateAuthorityUpdatedEventData from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ApiManagementGatewayCertificateAuthorityUpdatedEventData 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 ApiManagementGatewayCertificateAuthorityUpdatedEventData.