class Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::CustomRegistryCredentials
Describes the credentials that will be used to access a custom registry during a run.
Attributes
password[RW]
@return [SecretObject] The password for logging into the custom registry. The password is a secret object that allows multiple ways of providing the value for it.
user_name[RW]
@return [SecretObject] The username for logging into the custom registry.
Public Class Methods
mapper()
click to toggle source
Mapper for CustomRegistryCredentials
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-09-01/generated/azure_mgmt_container_registry/models/custom_registry_credentials.rb, line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CustomRegistryCredentials', type: { name: 'Composite', class_name: 'CustomRegistryCredentials', model_properties: { user_name: { client_side_validation: true, required: false, serialized_name: 'userName', type: { name: 'Composite', class_name: 'SecretObject' } }, password: { client_side_validation: true, required: false, serialized_name: 'password', type: { name: 'Composite', class_name: 'SecretObject' } } } } } end