class Azure::BatchAI::Mgmt::V2018_05_01::Models::ImageSourceRegistry

Information about docker image for the job.

Attributes

credentials[RW]

@return [PrivateRegistryCredentials] Credentials. Credentials to access the private docker repository.

image[RW]

@return [String] Image. The name of the image in the image repository.

server_url[RW]

@return [String] Server URL. URL for image repository.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-05-01/generated/azure_mgmt_batchai/models/image_source_registry.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ImageSourceRegistry',
    type: {
      name: 'Composite',
      class_name: 'ImageSourceRegistry',
      model_properties: {
        server_url: {
          client_side_validation: true,
          required: false,
          serialized_name: 'serverUrl',
          type: {
            name: 'String'
          }
        },
        image: {
          client_side_validation: true,
          required: true,
          serialized_name: 'image',
          type: {
            name: 'String'
          }
        },
        credentials: {
          client_side_validation: true,
          required: false,
          serialized_name: 'credentials',
          type: {
            name: 'Composite',
            class_name: 'PrivateRegistryCredentials'
          }
        }
      }
    }
  }
end