Class: Azure::Batch::Mgmt::V2017_09_01::Models::DeploymentConfiguration

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-09-01/generated/azure_mgmt_batch/models/deployment_configuration.rb

Overview

Deployment configuration properties.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#cloud_service_configurationCloudServiceConfiguration

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’.

Returns:



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_configurationVirtualMachineConfiguration

for the pool. This property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified.

Returns:



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

.mapperObject

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