class Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::SourceRegistryCredentials

Describes the credential parameters for accessing the source registry.

Attributes

login_mode[RW]

@return [SourceRegistryLoginMode] The authentication mode which determines the source registry login scope. The credentials for the source registry will be generated using the given scope. These credentials will be used to login to the source registry during the run. Possible values include: 'None', 'Default'

Public Class Methods

mapper() click to toggle source

Mapper for SourceRegistryCredentials class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-09-01/generated/azure_mgmt_container_registry/models/source_registry_credentials.rb, line 29
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SourceRegistryCredentials',
    type: {
      name: 'Composite',
      class_name: 'SourceRegistryCredentials',
      model_properties: {
        login_mode: {
          client_side_validation: true,
          required: false,
          serialized_name: 'loginMode',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end