BatchPoolIdentity Class

  • java.lang.Object
    • com.microsoft.azure.management.batch.BatchPoolIdentity

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.

Constructor Summary

Constructor Description
BatchPoolIdentity()

Method Summary

Modifier and Type Method and Description
PoolIdentityType type()

Get the type of identity used for the Batch Pool.

java.util.Map<java.lang.String,UserAssignedIdentities> userAssignedIdentities()

Get the list of user identities associated with the Batch pool.

BatchPoolIdentity withType(PoolIdentityType type)

Set the type of identity used for the Batch Pool.

BatchPoolIdentity withUserAssignedIdentities(Map<String,UserAssignedIdentities> userAssignedIdentities)

Set the list of user identities associated with the Batch pool.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

BatchPoolIdentity

public BatchPoolIdentity()

Method Details

type

public PoolIdentityType type()

Get the type of identity used for the Batch Pool. Possible values include: 'UserAssigned', 'None'.

Returns:

the type value

userAssignedIdentities

public Map userAssignedIdentities()

Get the list of user identities associated with the Batch pool.

Returns:

the userAssignedIdentities value

withType

public BatchPoolIdentity withType(PoolIdentityType type)

Set the type of identity used for the Batch Pool. Possible values include: 'UserAssigned', 'None'.

Parameters:

type - the type value to set

Returns:

the BatchPoolIdentity object itself.

withUserAssignedIdentities

public BatchPoolIdentity withUserAssignedIdentities(Map userAssignedIdentities)

Set the list of user identities associated with the Batch pool.

Parameters:

userAssignedIdentities - the userAssignedIdentities value to set

Returns:

the BatchPoolIdentity object itself.

Applies to