# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Batch::Mgmt::V2018_12_01 module Models # # Deployment configuration properties. # # class DeploymentConfiguration include MsRestAzure # @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'. attr_accessor :cloud_service_configuration # @return [VirtualMachineConfiguration] The virtual machine configuration # for the pool. This property and cloudServiceConfiguration are mutually # exclusive and one of the properties must be specified. attr_accessor :virtual_machine_configuration # # Mapper for DeploymentConfiguration class as Ruby Hash. # This will be used for serialization/deserialization. # 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 end end end