Package com.azure.compute.batch.models
Class BatchPoolIdentity
java.lang.Object
com.azure.compute.batch.models.BatchPoolIdentity
- All Implemented Interfaces:
com.azure.json.JsonSerializable<BatchPoolIdentity>
public final class BatchPoolIdentity
extends Object
implements com.azure.json.JsonSerializable<BatchPoolIdentity>
The identity of the Batch pool, if configured.
-
Method Summary
Modifier and TypeMethodDescriptionstatic BatchPoolIdentityfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of BatchPoolIdentity from the JsonReader.getType()Get the type property: The identity of the Batch pool, if configured.Get the userAssignedIdentities property: The list of user identities associated with the Batch account.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
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
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
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<BatchPoolIdentity>- Throws:
IOException
-
fromJson
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:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the BatchPoolIdentity.
-