class Azure::Compute::Mgmt::V2020_09_30::Models::KeyForDiskEncryptionSet

Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots

Attributes

key_url[RW]

@return [String] Fully versioned Key Url pointing to a key in KeyVault

source_vault[RW]

@return [SourceVault] Resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription.

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-09-30/generated/azure_mgmt_compute/models/key_for_disk_encryption_set.rb, line 29
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'KeyForDiskEncryptionSet',
    type: {
      name: 'Composite',
      class_name: 'KeyForDiskEncryptionSet',
      model_properties: {
        source_vault: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sourceVault',
          type: {
            name: 'Composite',
            class_name: 'SourceVault'
          }
        },
        key_url: {
          client_side_validation: true,
          required: true,
          serialized_name: 'keyUrl',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end