class Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultAndKeyReference

Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey

Attributes

key_url[RW]

@return [String] Url pointing to a key or secret in KeyVault

source_vault[RW]

@return [SourceVault] Resource id of the KeyVault containing the key or secret

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-06-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'KeyVaultAndKeyReference',
    type: {
      name: 'Composite',
      class_name: 'KeyVaultAndKeyReference',
      model_properties: {
        source_vault: {
          client_side_validation: true,
          required: true,
          serialized_name: 'sourceVault',
          type: {
            name: 'Composite',
            class_name: 'SourceVault'
          }
        },
        key_url: {
          client_side_validation: true,
          required: true,
          serialized_name: 'keyUrl',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end