class Azure::KeyVault::Mgmt::V2018_02_14_preview::Models::SecretProperties

Properties of the secret

Attributes

attributes[RW]

@return [SecretAttributes] The attributes of the secret.

content_type[RW]

@return [String] The content type of the secret.

secret_uri[RW]

@return [String] The URI to retrieve the current version of the secret.

secret_uri_with_version[RW]

@return [String] The URI to retrieve the specific version of the secret.

value[RW]

@return [String] The value of the secret. NOTE: 'value' will never be returned from the service, as APIs using this model are is intended for internal use in ARM deployments. Users should use the data-plane REST service for interaction with vault secrets.

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-02-14-preview/generated/azure_mgmt_key_vault/models/secret_properties.rb, line 39
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SecretProperties',
    type: {
      name: 'Composite',
      class_name: 'SecretProperties',
      model_properties: {
        value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'value',
          type: {
            name: 'String'
          }
        },
        content_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'contentType',
          type: {
            name: 'String'
          }
        },
        attributes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'attributes',
          type: {
            name: 'Composite',
            class_name: 'SecretAttributes'
          }
        },
        secret_uri: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'secretUri',
          type: {
            name: 'String'
          }
        },
        secret_uri_with_version: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'secretUriWithVersion',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end