BatchPoolIdentity Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. BatchPoolIdentity
- com.
public class BatchPoolIdentity
The identity of the Batch pool, if configured. The identity of the Batch pool, if configured.
Constructor Summary
Constructor | Description | |
---|---|---|
BatchPoolIdentity() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Pool |
type()
Get the list of user identities associated with the Batch pool. |
List<User |
userAssignedIdentities()
Get the user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscription |
Batch |
withType(PoolIdentityType type)
Set the list of user identities associated with the Batch pool. |
Batch |
withUserAssignedIdentities(List<UserAssignedIdentity> userAssignedIdentities)
Set the user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscription |
Methods inherited from java.lang.Object
Constructor Details
BatchPoolIdentity
public BatchPoolIdentity()
Method Details
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:
userAssignedIdentities
public List
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:
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:
Returns:
withUserAssignedIdentities
public BatchPoolIdentity withUserAssignedIdentities(List
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:
Returns:
Applies to
Azure SDK for Java