BatchPoolIdentity Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.BatchPoolIdentity

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
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}'.

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:

the type value

userAssignedIdentities

public List 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

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.

withUserAssignedIdentities

public BatchPoolIdentity withUserAssignedIdentities(List 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.

Applies to