BatchPoolIdentity Class
- java.
lang. Object - com.
microsoft. azure. management. batch. BatchPoolIdentity
- com.
public class BatchPoolIdentity
The identity of the Batch pool, if configured. If the pool identity is updated during update an existing pool, only the new vms which are created after the pool shrinks to 0 will have the updated identities.
Method Summary
Modifier and Type | Method and Description |
---|---|
Pool |
type()
Get the type of identity used for the Batch Pool. Possible values include: 'UserAssigned', 'None'. |
Map<String, User |
userAssignedIdentities()
Get the list of user identities associated with the Batch pool. |
Batch |
withType(PoolIdentityType type)
Set the type of identity used for the Batch Pool. Possible values include: 'UserAssigned', 'None'. |
Batch |
withUserAssignedIdentities(Map<String, UserAssignedIdentities> userAssignedIdentities)
Set the list of user identities associated with the Batch pool. |
Method Details
type
public PoolIdentityType type()
Get the type of identity used for the Batch Pool. Possible values include: 'UserAssigned', 'None'.
Returns:
userAssignedIdentities
public Map
Get the list of user identities associated with the Batch pool.
Returns:
withType
public BatchPoolIdentity withType(PoolIdentityType type)
Set the type of identity used for the Batch Pool. Possible values include: 'UserAssigned', 'None'.
Parameters:
Returns:
withUserAssignedIdentities
public BatchPoolIdentity withUserAssignedIdentities(Map
Set the list of user identities associated with the Batch pool.
Parameters:
Returns:
Applies to
Azure SDK for Java