class Azure::Compute::Mgmt::V2019_11_01::Models::Encryption

Encryption at rest settings for disk or snapshot

Attributes

disk_encryption_set_id[RW]

@return [String] ResourceId of the disk encryption set to use for enabling encryption at rest.

type[RW]

@return [EncryptionType] The type of key used to encrypt the data of the disk. Possible values include: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey'

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-11-01/generated/azure_mgmt_compute/models/encryption.rb, line 29
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Encryption',
    type: {
      name: 'Composite',
      class_name: 'Encryption',
      model_properties: {
        disk_encryption_set_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'diskEncryptionSetId',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end