BatchAccountIdentity Class

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

public class BatchAccountIdentity

The identity of the Batch account, if configured. This is used when the user specifies 'Microsoft.KeyVault' as their Batch account encryption configuration or when `ManagedIdentity` is selected as the auto-storage authentication mode.

Constructor Summary

Constructor Description
BatchAccountIdentity()

Method Summary

Modifier and Type Method and Description
java.lang.String principalId()

Get the principal id of the Batch account.

java.lang.String tenantId()

Get the tenant id associated with the Batch account.

ResourceIdentityType type()

Get the type of identity used for the Batch account.

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

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

BatchAccountIdentity withType(ResourceIdentityType type)

Set the type of identity used for the Batch account.

BatchAccountIdentity withUserAssignedIdentities(Map<String,UserAssignedIdentities> userAssignedIdentities)

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

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

BatchAccountIdentity

public BatchAccountIdentity()

Method Details

principalId

public String principalId()

Get the principal id of the Batch account. This property will only be provided for a system assigned identity.

Returns:

the principalId value

tenantId

public String tenantId()

Get the tenant id associated with the Batch account. This property will only be provided for a system assigned identity.

Returns:

the tenantId value

type

public ResourceIdentityType type()

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

Returns:

the type value

userAssignedIdentities

public Map userAssignedIdentities()

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

Returns:

the userAssignedIdentities value

withType

public BatchAccountIdentity withType(ResourceIdentityType type)

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

Parameters:

type - the type value to set

Returns:

the BatchAccountIdentity object itself.

withUserAssignedIdentities

public BatchAccountIdentity withUserAssignedIdentities(Map userAssignedIdentities)

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

Parameters:

userAssignedIdentities - the userAssignedIdentities value to set

Returns:

the BatchAccountIdentity object itself.

Applies to