class Azure::KeyVault::V2016_10_01::Models::SecretSetParameters

The secret set parameters.

Attributes

content_type[RW]

@return [String] Type of the secret value such as a password.

secret_attributes[RW]

@return [SecretAttributes] The secret management attributes.

tags[RW]

@return [Hash{String => String}] Application specific metadata in the form of key-value pairs.

value[RW]

@return [String] The value of the secret.

Private Class Methods

mapper() click to toggle source

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

# File lib/2016-10-01/generated/azure_key_vault/models/secret_set_parameters.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SecretSetParameters',
    type: {
      name: 'Composite',
      class_name: 'SecretSetParameters',
      model_properties: {
        value: {
          client_side_validation: true,
          required: true,
          serialized_name: 'value',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        content_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'contentType',
          type: {
            name: 'String'
          }
        },
        secret_attributes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'attributes',
          type: {
            name: 'Composite',
            class_name: 'SecretAttributes'
          }
        }
      }
    }
  }
end