class Azure::ContainerRegistry::Mgmt::V2019_04_01::Models::Credentials

The parameters that describes a set of credentials that will be used when a run is invoked.

Attributes

custom_registries[RW]

@return [Hash{String => CustomRegistryCredentials}] Describes the credential parameters for accessing other custom registries. The key for the dictionary item will be the registry login server (myregistry.azurecr.io) and the value of the item will be the registry credentials for accessing the registry.

source_registry[RW]

@return [SourceRegistryCredentials] Describes the credential parameters for accessing the source registry.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-04-01/generated/azure_mgmt_container_registry/models/credentials.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Credentials',
    type: {
      name: 'Composite',
      class_name: 'Credentials',
      model_properties: {
        source_registry: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sourceRegistry',
          type: {
            name: 'Composite',
            class_name: 'SourceRegistryCredentials'
          }
        },
        custom_registries: {
          client_side_validation: true,
          required: false,
          serialized_name: 'customRegistries',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'CustomRegistryCredentialsElementType',
                type: {
                  name: 'Composite',
                  class_name: 'CustomRegistryCredentials'
                }
            }
          }
        }
      }
    }
  }
end