Class BatchPoolIdentity


  • public class BatchPoolIdentity
    extends Object
    The identity of the Batch pool, if configured. The identity of the Batch pool, if configured.
    • Constructor Detail

      • BatchPoolIdentity

        public BatchPoolIdentity()
    • Method Detail

      • 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
      • 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.
      • userAssignedIdentities

        public 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}'.
        Returns:
        the userAssignedIdentities value
      • withUserAssignedIdentities

        public 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}'.
        Parameters:
        userAssignedIdentities - the userAssignedIdentities value to set
        Returns:
        the BatchPoolIdentity object itself.