class Azure::BatchAI::Mgmt::V2018_05_01::Models::PrivateRegistryCredentials
Credentials to access a container image in a private repository.
Attributes
password[RW]
@return [String] Password. User password to login to the docker repository. One of password or passwordSecretReference must be specified.
password_secret_reference[RW]
@return [KeyVaultSecretReference] Password secret reference. KeyVault Secret storing the password. Users can store their secrets in Azure
KeyVault and pass it to the Batch AI service to integrate with KeyVault. One of password or passwordSecretReference must be specified.
username[RW]
@return [String] User name. User name to login to the repository.
Private Class Methods
mapper()
click to toggle source
Mapper for PrivateRegistryCredentials
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-05-01/generated/azure_mgmt_batchai/models/private_registry_credentials.rb, line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PrivateRegistryCredentials', type: { name: 'Composite', class_name: 'PrivateRegistryCredentials', model_properties: { 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' } }, password_secret_reference: { client_side_validation: true, required: false, serialized_name: 'passwordSecretReference', type: { name: 'Composite', class_name: 'KeyVaultSecretReference' } } } } } end