class Azure::BatchAI::Mgmt::V2018_05_01::Models::ContainerSettings

Docker container settings.

Attributes

image_source_registry[RW]

@return [ImageSourceRegistry] Image source registry. Information about docker image and docker registry to download the container from.

shm_size[RW]

@return [String] /dev/shm size. Size of /dev/shm. Please refer to docker documentation for supported argument formats.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-05-01/generated/azure_mgmt_batchai/models/container_settings.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ContainerSettings',
    type: {
      name: 'Composite',
      class_name: 'ContainerSettings',
      model_properties: {
        image_source_registry: {
          client_side_validation: true,
          required: true,
          serialized_name: 'imageSourceRegistry',
          type: {
            name: 'Composite',
            class_name: 'ImageSourceRegistry'
          }
        },
        shm_size: {
          client_side_validation: true,
          required: false,
          serialized_name: 'shmSize',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end