Class: Azure::Batch::Mgmt::V2017_09_01::Models::DeploymentConfiguration
- Inherits:
-
Object
- Object
- Azure::Batch::Mgmt::V2017_09_01::Models::DeploymentConfiguration
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01/generated/azure_mgmt_batch/models/deployment_configuration.rb
Overview
Deployment configuration properties.
Instance Attribute Summary collapse
-
#cloud_service_configuration ⇒ CloudServiceConfiguration
the pool.
-
#virtual_machine_configuration ⇒ VirtualMachineConfiguration
for the pool.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DeploymentConfiguration class as Ruby Hash.
Instance Attribute Details
#cloud_service_configuration ⇒ CloudServiceConfiguration
the pool. This property and virtualMachineConfiguration are mutually exclusive and one of the properties must be specified. This property cannot be specified if the Batch account was created with its poolAllocationMode property set to ‘UserSubscription’.
21 22 23 |
# File 'lib/2017-09-01/generated/azure_mgmt_batch/models/deployment_configuration.rb', line 21 def cloud_service_configuration @cloud_service_configuration end |
#virtual_machine_configuration ⇒ VirtualMachineConfiguration
for the pool. This property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified.
26 27 28 |
# File 'lib/2017-09-01/generated/azure_mgmt_batch/models/deployment_configuration.rb', line 26 def virtual_machine_configuration @virtual_machine_configuration end |
Class Method Details
.mapper ⇒ Object
Mapper for DeploymentConfiguration class as Ruby Hash. This will be used for serialization/deserialization.
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'lib/2017-09-01/generated/azure_mgmt_batch/models/deployment_configuration.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DeploymentConfiguration', type: { name: 'Composite', class_name: 'DeploymentConfiguration', model_properties: { cloud_service_configuration: { client_side_validation: true, required: false, serialized_name: 'cloudServiceConfiguration', type: { name: 'Composite', class_name: 'CloudServiceConfiguration' } }, virtual_machine_configuration: { client_side_validation: true, required: false, serialized_name: 'virtualMachineConfiguration', type: { name: 'Composite', class_name: 'VirtualMachineConfiguration' } } } } } end |