class Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::ImportSource
Model object.
Attributes
credentials[RW]
@return [ImportSourceCredentials] Credentials used when importing from a registry uri.
registry_uri[RW]
@return [String] The address of the source registry (e.g. 'mcr.microsoft.com').
source_image[RW]
@return [String] Repository name of the source image. Specify an image by repository ('hello-world'). This will use the 'latest' tag. Specify an image by tag ('hello-world:latest'). Specify an image by sha256-based manifest digest ('hello-world@sha256:abc123').
Private Class Methods
mapper()
click to toggle source
Mapper for ImportSource
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-05-01/generated/azure_mgmt_container_registry/models/import_source.rb, line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ImportSource', type: { name: 'Composite', class_name: 'ImportSource', model_properties: { resource_id: { client_side_validation: true, required: false, serialized_name: 'resourceId', type: { name: 'String' } }, registry_uri: { client_side_validation: true, required: false, serialized_name: 'registryUri', type: { name: 'String' } }, credentials: { client_side_validation: true, required: false, serialized_name: 'credentials', type: { name: 'Composite', class_name: 'ImportSourceCredentials' } }, source_image: { client_side_validation: true, required: true, serialized_name: 'sourceImage', type: { name: 'String' } } } } } end