class Azure::ContainerRegistry::Mgmt::V2019_04_01::Models::SecretObject

Describes the properties of a secret object value.

Attributes

type[RW]

@return [SecretObjectType] The type of the secret object which determines how the value of the secret object has to be interpreted. Possible values include: 'Opaque', 'Vaultsecret'

value[RW]

@return [String] The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-04-01/generated/azure_mgmt_container_registry/models/secret_object.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SecretObject',
    type: {
      name: 'Composite',
      class_name: 'SecretObject',
      model_properties: {
        value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'value',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end