Class: Azure::Batch::Mgmt::V2015_12_01::Models::BatchAccount

Inherits:
Resource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account.rb

Overview

Contains information about an Azure Batch account.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #location, #name, #tags, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#account_endpointString

Batch services.

Returns:

  • (String)

    The endpoint used by this account to interact with the



17
18
19
# File 'lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account.rb', line 17

def 
  @account_endpoint
end

#active_job_and_job_schedule_quotaInteger

account.

Returns:

  • (Integer)

    The active job and job schedule quota for this Batch



36
37
38
# File 'lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account.rb', line 36

def active_job_and_job_schedule_quota
  @active_job_and_job_schedule_quota
end

#auto_storageAutoStorageProperties

storage account associated with the account.

Returns:



26
27
28
# File 'lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account.rb', line 26

def auto_storage
  @auto_storage
end

#core_quotaInteger

Returns The core quota for this Batch account.

Returns:

  • (Integer)

    The core quota for this Batch account.



29
30
31
# File 'lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account.rb', line 29

def core_quota
  @core_quota
end

#pool_quotaInteger

Returns The pool quota for this Batch account.

Returns:

  • (Integer)

    The pool quota for this Batch account.



32
33
34
# File 'lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account.rb', line 32

def pool_quota
  @pool_quota
end

#provisioning_stateProvisioningState

Possible values include: ‘Invalid’, ‘Creating’, ‘Deleting’, ‘Succeeded’, ‘Failed’, ‘Cancelled’

Returns:



22
23
24
# File 'lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account.rb', line 22

def provisioning_state
  @provisioning_state
end

Class Method Details

.mapperObject

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



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
# File 'lib/2015-12-01/generated/azure_mgmt_batch/models/batch_account.rb', line 43

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,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          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,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'Enum',
            module: 'ProvisioningState'
          }
        },
        auto_storage: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.autoStorage',
          type: {
            name: 'Composite',
            class_name: 'AutoStorageProperties'
          }
        },
        core_quota: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.coreQuota',
          type: {
            name: 'Number'
          }
        },
        pool_quota: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.poolQuota',
          type: {
            name: 'Number'
          }
        },
        active_job_and_job_schedule_quota: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.activeJobAndJobScheduleQuota',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end