class Azure::KeyVault::V7_1::Models::KeyBundle

A KeyBundle consisting of a WebKey plus its attributes.

Attributes

attributes[RW]

@return [KeyAttributes] The key management attributes.

key[RW]

@return [JsonWebKey] The Json web key.

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 KeyBundle class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/7.1/generated/azure_key_vault/models/key_bundle.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'KeyBundle',
    type: {
      name: 'Composite',
      class_name: 'KeyBundle',
      model_properties: {
        key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'key',
          type: {
            name: 'Composite',
            class_name: 'JsonWebKey'
          }
        },
        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