class Azure::ServiceFabric::V7_0_0_42::Models::ImageRegistryCredential

Image registry credential.

Attributes

password[RW]

@return [String] The password for the private registry. The password is required for create or update operations, however it is not returned in the get or list operations. Will be processed based on the type provided.

password_type[RW]

@return [ImageRegistryPasswordType] The type of the image registry password being given in password. Possible values include: 'ClearText', 'KeyVaultReference', 'SecretValueReference'. Default value: 'ClearText' .

server[RW]

@return [String] Docker image registry server, without protocol such as `http` and `https`.

username[RW]

@return [String] The username for the private registry.

Private Class Methods

mapper() click to toggle source

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

# File lib/7.0.0.42/generated/azure_service_fabric/models/image_registry_credential.rb, line 39
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ImageRegistryCredential',
    type: {
      name: 'Composite',
      class_name: 'ImageRegistryCredential',
      model_properties: {
        server: {
          client_side_validation: true,
          required: true,
          serialized_name: 'server',
          type: {
            name: 'String'
          }
        },
        username: {
          client_side_validation: true,
          required: true,
          serialized_name: 'username',
          type: {
            name: 'String'
          }
        },
        password_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'passwordType',
          default_value: 'ClearText',
          type: {
            name: 'String'
          }
        },
        password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'password',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end