class Azure::ServiceFabric::V6_2_0_9::Models::RegistryCredential

Credential information to connect to container registry.

Attributes

password_encrypted[RW]

@return [Boolean] Indicates that supplied container registry password is encrypted.

registry_password[RW]

@return [String] The password for supplied username to connect to container registry.

registry_user_name[RW]

@return [String] The user name to connect to container registry.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.2.0.9/generated/azure_service_fabric/models/registry_credential.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RegistryCredential',
    type: {
      name: 'Composite',
      class_name: 'RegistryCredential',
      model_properties: {
        registry_user_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'RegistryUserName',
          type: {
            name: 'String'
          }
        },
        registry_password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'RegistryPassword',
          type: {
            name: 'String'
          }
        },
        password_encrypted: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PasswordEncrypted',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end