class Azure::Batch::Mgmt::V2017_01_01::Models::BatchAccount

Contains information about an Azure Batch account.

Attributes

account_endpoint[RW]

@return [String] The endpoint used by this account to interact with the Batch services.

active_job_and_job_schedule_quota[RW]

@return [Integer] The active job and job schedule quota for this Batch account.

auto_storage[RW]

@return [AutoStorageProperties] The properties and status of any auto storage account associated with the Batch account.

core_quota[RW]

@return [Integer] The core quota for this Batch account.

key_vault_reference[RW]

@return [KeyVaultReference] A reference to the Azure key vault associated with the Batch account.

pool_allocation_mode[RW]

@return [PoolAllocationMode] The allocation mode to use for creating pools in the Batch account. Possible values include: 'BatchService', 'UserSubscription'

pool_quota[RW]

@return [Integer] The pool quota for this Batch account.

provisioning_state[RW]

@return [ProvisioningState] The provisioned state of the resource. Possible values include: 'Invalid', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Cancelled'

Public Class Methods

mapper() click to toggle source

Mapper for BatchAccount class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account.rb, line 52
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'BatchAccount',
    type: {
      name: 'Composite',
      class_name: 'BatchAccount',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        account_endpoint: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.accountEndpoint',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'Enum',
            module: 'ProvisioningState'
          }
        },
        pool_allocation_mode: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.poolAllocationMode',
          type: {
            name: 'Enum',
            module: 'PoolAllocationMode'
          }
        },
        key_vault_reference: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.keyVaultReference',
          type: {
            name: 'Composite',
            class_name: 'KeyVaultReference'
          }
        },
        auto_storage: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.autoStorage',
          type: {
            name: 'Composite',
            class_name: 'AutoStorageProperties'
          }
        },
        core_quota: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.coreQuota',
          type: {
            name: 'Number'
          }
        },
        pool_quota: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.poolQuota',
          type: {
            name: 'Number'
          }
        },
        active_job_and_job_schedule_quota: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.activeJobAndJobScheduleQuota',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end