Class: Azure::Batch::Mgmt::V2017_01_01::Models::BatchAccount
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account.rb
Overview
Contains information about an Azure Batch account.
Instance Attribute Summary collapse
-
#account_endpoint ⇒ String
Batch services.
-
#active_job_and_job_schedule_quota ⇒ Integer
account.
-
#auto_storage ⇒ AutoStorageProperties
storage account associated with the Batch account.
-
#core_quota ⇒ Integer
The core quota for this Batch account.
-
#key_vault_reference ⇒ KeyVaultReference
associated with the Batch account.
-
#pool_allocation_mode ⇒ PoolAllocationMode
pools in the Batch account.
-
#pool_quota ⇒ Integer
The pool quota for this Batch account.
-
#provisioning_state ⇒ ProvisioningState
Possible values include: ‘Invalid’, ‘Creating’, ‘Deleting’, ‘Succeeded’, ‘Failed’, ‘Cancelled’.
Attributes inherited from Resource
#id, #location, #name, #tags, #type
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BatchAccount class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#account_endpoint ⇒ String
Batch services.
17 18 19 |
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account.rb', line 17 def account_endpoint @account_endpoint end |
#active_job_and_job_schedule_quota ⇒ Integer
account.
45 46 47 |
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account.rb', line 45 def active_job_and_job_schedule_quota @active_job_and_job_schedule_quota end |
#auto_storage ⇒ AutoStorageProperties
storage account associated with the Batch account.
35 36 37 |
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account.rb', line 35 def auto_storage @auto_storage end |
#core_quota ⇒ Integer
Returns The core quota for this Batch account.
38 39 40 |
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account.rb', line 38 def core_quota @core_quota end |
#key_vault_reference ⇒ KeyVaultReference
associated with the Batch account.
31 32 33 |
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account.rb', line 31 def key_vault_reference @key_vault_reference end |
#pool_allocation_mode ⇒ PoolAllocationMode
pools in the Batch account. Possible values include: ‘BatchService’, ‘UserSubscription’
27 28 29 |
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account.rb', line 27 def pool_allocation_mode @pool_allocation_mode end |
#pool_quota ⇒ Integer
Returns The pool quota for this Batch account.
41 42 43 |
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account.rb', line 41 def pool_quota @pool_quota end |
#provisioning_state ⇒ ProvisioningState
Possible values include: ‘Invalid’, ‘Creating’, ‘Deleting’, ‘Succeeded’, ‘Failed’, ‘Cancelled’
22 23 24 |
# File 'lib/2017-01-01/generated/azure_mgmt_batch/models/batch_account.rb', line 22 def provisioning_state @provisioning_state end |
Class Method Details
.mapper ⇒ Object
Mapper for BatchAccount class as Ruby Hash. This will be used for serialization/deserialization.
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 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 |
# 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 |