Class BatchPoolIdentity
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.BatchPoolIdentity
-
public class BatchPoolIdentity extends Object
The identity of the Batch pool, if configured. The identity of the Batch pool, if configured.
-
-
Constructor Summary
Constructors Constructor Description BatchPoolIdentity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PoolIdentityType
type()
Get the list of user identities associated with the Batch pool.List<UserAssignedIdentity>
userAssignedIdentities()
Get the user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.BatchPoolIdentity
withType(PoolIdentityType type)
Set the list of user identities associated with the Batch pool.BatchPoolIdentity
withUserAssignedIdentities(List<UserAssignedIdentity> userAssignedIdentities)
Set the user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
-
-
-
Method Detail
-
type
public PoolIdentityType type()
Get 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}'. Possible values include: 'UserAssigned', 'None'.- Returns:
- the type value
-
withType
public BatchPoolIdentity withType(PoolIdentityType type)
Set 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}'. Possible values include: 'UserAssigned', 'None'.- Parameters:
type
- the type value to set- Returns:
- the BatchPoolIdentity object itself.
-
userAssignedIdentities
public List<UserAssignedIdentity> userAssignedIdentities()
Get 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
-
withUserAssignedIdentities
public BatchPoolIdentity withUserAssignedIdentities(List<UserAssignedIdentity> userAssignedIdentities)
Set the user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.- Parameters:
userAssignedIdentities
- the userAssignedIdentities value to set- Returns:
- the BatchPoolIdentity object itself.
-
-