Share via


BatchUserAssignedIdentity Class

  • java.lang.Object
    • com.azure.compute.batch.models.BatchUserAssignedIdentity

Implements

public final class BatchUserAssignedIdentity
implements JsonSerializable<BatchUserAssignedIdentity>

The user assigned Identity.

Method Summary

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

Reads an instance of BatchUserAssignedIdentity from the JsonReader.

String getClientId()

Get the clientId property: The client id of the user assigned identity.

String getPrincipalId()

Get the principalId property: The principal id of the user assigned identity.

String getResourceId()

Get the resourceId property: The ARM resource id of the user assigned identity.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static BatchUserAssignedIdentity fromJson(JsonReader jsonReader)

Reads an instance of BatchUserAssignedIdentity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BatchUserAssignedIdentity if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getClientId

public String getClientId()

Get the clientId property: The client id of the user assigned identity.

Returns:

the clientId value.

getPrincipalId

public String getPrincipalId()

Get the principalId property: The principal id of the user assigned identity.

Returns:

the principalId value.

getResourceId

public String getResourceId()

Get the resourceId property: The ARM resource id of the user assigned identity.

Returns:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to