class Azure::KeyVault::Mgmt::V2015_06_01::Models::VaultProperties

Properties of the vault

Attributes

access_policies[RW]

@return [Array<AccessPolicyEntry>] An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID.

enable_soft_delete[RW]

@return [Boolean] Property to specify whether the 'soft delete' functionality is enabled for this key vault.

enabled_for_deployment[RW]

@return [Boolean] Property to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault.

enabled_for_disk_encryption[RW]

@return [Boolean] Property to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys.

enabled_for_template_deployment[RW]

@return [Boolean] Property to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault.

sku[RW]

@return [Sku] SKU details

tenant_id[RW]

@return The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault.

vault_uri[RW]

@return [String] The URI of the vault for performing operations on keys and secrets.

Public Class Methods

mapper() click to toggle source

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

# File lib/2015-06-01/generated/azure_mgmt_key_vault/models/vault_properties.rb, line 53
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VaultProperties',
    type: {
      name: 'Composite',
      class_name: 'VaultProperties',
      model_properties: {
        vault_uri: {
          client_side_validation: true,
          required: false,
          serialized_name: 'vaultUri',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        },
        sku: {
          client_side_validation: true,
          required: true,
          serialized_name: 'sku',
          default_value: {},
          type: {
            name: 'Composite',
            class_name: 'Sku'
          }
        },
        access_policies: {
          client_side_validation: true,
          required: true,
          serialized_name: 'accessPolicies',
          constraints: {
            MaxItems: 16
          },
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AccessPolicyEntryElementType',
                type: {
                  name: 'Composite',
                  class_name: 'AccessPolicyEntry'
                }
            }
          }
        },
        enabled_for_deployment: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enabledForDeployment',
          type: {
            name: 'Boolean'
          }
        },
        enabled_for_disk_encryption: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enabledForDiskEncryption',
          type: {
            name: 'Boolean'
          }
        },
        enabled_for_template_deployment: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enabledForTemplateDeployment',
          type: {
            name: 'Boolean'
          }
        },
        enable_soft_delete: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enableSoftDelete',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end