class Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::ImageSourceRegistry
Details of the container image such as name, URL and credentials.
Attributes
credentials[RW]
@return [PrivateRegistryCredentials] Information to access the private Docker repository.
image[RW]
@return [String] The name of the image in image repository.
server_url[RW]
@return [String] URL for image repository.
Public Class Methods
mapper()
click to toggle source
Mapper for ImageSourceRegistry
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-09-01-preview/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