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.

Constructor Summary

Constructor Description
ApiManagementUserCreatedEventData()

Creates an instance of ApiManagementUserCreatedEventData class.

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.

ApiManagementUserCreatedEventData setResourceUri(String resourceUri)

Set 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

Constructor Details

ApiManagementUserCreatedEventData

public ApiManagementUserCreatedEventData()

Creates an instance of ApiManagementUserCreatedEventData class.

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.

setResourceUri

public ApiManagementUserCreatedEventData setResourceUri(String resourceUri)

Set 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///`.

Parameters:

resourceUri - the resourceUri value to set.

Returns:

the ApiManagementUserCreatedEventData object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to

Azure SDK for Java

Latest