ApiManagementUserCreatedEventData Class

  • java.lang.Object
    • com.azure.messaging.eventgrid.systemevents.ApiManagementUserCreatedEventData

Implements

public final class ApiManagementUserCreatedEventData
implements JsonSerializable<ApiManagementUserCreatedEventData>

Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.UserCreated event.

Method Summary

Modifier and Type Method and Description
static ApiManagementUserCreatedEventData fromJson(JsonReader jsonReader)

Reads an instance of ApiManagementUserCreatedEventData from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static ApiManagementUserCreatedEventData fromJson(JsonReader jsonReader)

Reads an instance of ApiManagementUserCreatedEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApiManagementUserCreatedEventData 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 ApiManagementUserCreatedEventData.

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//resourceGroups//Microsoft.ApiManagement/service///`.

Returns:

the resourceUri value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to

Azure SDK for Java

Preview