Class: Azure::Batch::Mgmt::V2019_08_01::Models::BatchAccountCreateParameters
- Inherits:
-
Object
- Object
- Azure::Batch::Mgmt::V2019_08_01::Models::BatchAccountCreateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb
Overview
Parameters supplied to the Create operation.
Instance Attribute Summary collapse
-
#auto_storage ⇒ AutoStorageBaseProperties
auto-storage account.
-
#key_vault_reference ⇒ KeyVaultReference
associated with the Batch account.
-
#location ⇒ String
The region in which to create the account.
-
#pool_allocation_mode ⇒ PoolAllocationMode
pools in the Batch account.
-
#tags ⇒ Hash{String => String}
with the account.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BatchAccountCreateParameters class as Ruby Hash.
Instance Attribute Details
#auto_storage ⇒ AutoStorageBaseProperties
auto-storage account.
24 25 26 |
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb', line 24 def auto_storage @auto_storage end |
#key_vault_reference ⇒ KeyVaultReference
associated with the Batch account.
37 38 39 |
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb', line 37 def key_vault_reference @key_vault_reference end |
#location ⇒ String
Returns The region in which to create the account.
16 17 18 |
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb', line 16 def location @location end |
#pool_allocation_mode ⇒ PoolAllocationMode
pools in the Batch account. The pool allocation mode also affects how clients may authenticate to the Batch Service API. If the mode is BatchService, clients may authenticate using access keys or Azure Active Directory. If the mode is UserSubscription, clients must use Azure Active Directory. The default is BatchService. Possible values include: ‘BatchService’, ‘UserSubscription’
33 34 35 |
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb', line 33 def pool_allocation_mode @pool_allocation_mode end |
#tags ⇒ Hash{String => String}
with the account.
20 21 22 |
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb', line 20 def @tags end |
Class Method Details
.mapper ⇒ Object
Mapper for BatchAccountCreateParameters class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/batch_account_create_parameters.rb', line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BatchAccountCreateParameters', type: { name: 'Composite', class_name: 'BatchAccountCreateParameters', model_properties: { location: { client_side_validation: true, required: true, 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' } } } }, auto_storage: { client_side_validation: true, required: false, serialized_name: 'properties.autoStorage', type: { name: 'Composite', class_name: 'AutoStorageBaseProperties' } }, pool_allocation_mode: { client_side_validation: true, required: false, serialized_name: 'properties.poolAllocationMode', type: { name: 'Enum', module: 'PoolAllocationMode' } }, key_vault_reference: { client_side_validation: true, required: false, serialized_name: 'properties.keyVaultReference', type: { name: 'Composite', class_name: 'KeyVaultReference' } } } } } end |