class Azure::ContainerRegistry::Mgmt::V2016_06_27_preview::Models::RegistryCredentials

The result of a request to get the administrator login credentials for a container registry.

Attributes

password[RW]

@return [String] The administrator password.

username[RW]

@return [String] The administrator username.

Public Class Methods

mapper() click to toggle source

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

# File lib/2016-06-27-preview/generated/azure_mgmt_container_registry/models/registry_credentials.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RegistryCredentials',
    type: {
      name: 'Composite',
      class_name: 'RegistryCredentials',
      model_properties: {
        username: {
          client_side_validation: true,
          required: false,
          serialized_name: 'username',
          type: {
            name: 'String'
          }
        },
        password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'password',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end