class Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ImageRegistryCredential
Image registry credential.
Attributes
password[RW]
@return [String] The password for the private registry.
server[RW]
@return [String] The Docker image registry server without a protocol such as “http” and “https”.
username[RW]
@return [String] The username for the private registry.
Public Class Methods
mapper()
click to toggle source
Mapper for ImageRegistryCredential
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-06-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb, line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredential', type: { name: 'Composite', class_name: 'ImageRegistryCredential', model_properties: { server: { client_side_validation: true, required: true, serialized_name: 'server', type: { name: 'String' } }, username: { client_side_validation: true, required: true, serialized_name: 'username', type: { name: 'String' } }, password: { client_side_validation: true, required: false, serialized_name: 'password', type: { name: 'String' } } } } } end