class Azure::Batch::Mgmt::V2019_08_01::Models::ContainerConfiguration

The configuration for container-enabled pools.

Attributes

container_image_names[RW]

@return [Array<String>] The collection of container image names. This is the full image reference, as would be specified to “docker pull”. An image will be sourced from the default Docker registry unless the image is fully qualified with an alternative registry.

container_registries[RW]

@return [Array<ContainerRegistry>] Additional private registries from which containers can be pulled. If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.

type[RW]

@return [String] The container technology to be used. . Default value: 'DockerCompatible' .

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-08-01/generated/azure_mgmt_batch/models/container_configuration.rb, line 37
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ContainerConfiguration',
    type: {
      name: 'Composite',
      class_name: 'ContainerConfiguration',
      model_properties: {
        type: {
          client_side_validation: true,
          required: true,
          is_constant: true,
          serialized_name: 'type',
          default_value: 'DockerCompatible',
          type: {
            name: 'String'
          }
        },
        container_image_names: {
          client_side_validation: true,
          required: false,
          serialized_name: 'containerImageNames',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        container_registries: {
          client_side_validation: true,
          required: false,
          serialized_name: 'containerRegistries',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ContainerRegistryElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ContainerRegistry'
                }
            }
          }
        }
      }
    }
  }
end