Share via


BatchPoolIdentity Class

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

Implements

public final class BatchPoolIdentity
implements JsonSerializable<BatchPoolIdentity>

The identity of the Batch pool, if configured.

Method Summary

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

Reads an instance of BatchPoolIdentity from the JsonReader.

BatchPoolIdentityType getType()

Get the type property: The identity of the Batch pool, if configured.

List<BatchUserAssignedIdentity> getUserAssignedIdentities()

Get the userAssignedIdentities property: The list of user identities associated with the Batch account.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static BatchPoolIdentity fromJson(JsonReader jsonReader)

Reads an instance of BatchPoolIdentity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getType

public BatchPoolIdentityType getType()

Get the type property: The identity of the Batch pool, if configured. The list of user identities associated with the Batch pool. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

Returns:

the type value.

getUserAssignedIdentities

public List<BatchUserAssignedIdentity> getUserAssignedIdentities()

Get the userAssignedIdentities property: The list of user identities associated with the Batch account. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

Returns:

the userAssignedIdentities value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to