class Azure::Batch::Mgmt::V2018_12_01::Models::DeploymentConfiguration

Deployment configuration properties.

Attributes

cloud_service_configuration[RW]

@return [CloudServiceConfiguration] The cloud service configuration for 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'.

virtual_machine_configuration[RW]

@return [VirtualMachineConfiguration] The virtual machine configuration for the pool. This property and cloudServiceConfiguration are mutually exclusive and one of the properties must be specified.

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-12-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