class Azure::KeyVault::V7_0_preview::Models::KeyItem

The key item containing key metadata.

Attributes

attributes[RW]

@return [KeyAttributes] The key management attributes.

kid[RW]

@return [String] Key identifier.

managed[RW]

@return [Boolean] True if the key's lifetime is managed by key vault. If this is a key backing a certificate, then managed will be true.

tags[RW]

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

Public Class Methods

mapper() click to toggle source

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

# File lib/7.0-preview/generated/azure_key_vault/models/key_item.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'KeyItem',
    type: {
      name: 'Composite',
      class_name: 'KeyItem',
      model_properties: {
        kid: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kid',
          type: {
            name: 'String'
          }
        },
        attributes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'attributes',
          type: {
            name: 'Composite',
            class_name: 'KeyAttributes'
          }
        },
        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'
                }
            }
          }
        },
        managed: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'managed',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end