Class: Azure::Compute::Mgmt::V2020_09_30::Models::KeyForDiskEncryptionSet
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_09_30::Models::KeyForDiskEncryptionSet
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-09-30/generated/azure_mgmt_compute/models/key_for_disk_encryption_set.rb
Overview
Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots
Instance Attribute Summary collapse
-
#key_url ⇒ String
Fully versioned Key Url pointing to a key in KeyVault.
-
#source_vault ⇒ SourceVault
secret.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for KeyForDiskEncryptionSet class as Ruby Hash.
Instance Attribute Details
#key_url ⇒ String
Returns Fully versioned Key Url pointing to a key in KeyVault.
22 23 24 |
# File 'lib/2020-09-30/generated/azure_mgmt_compute/models/key_for_disk_encryption_set.rb', line 22 def key_url @key_url end |
#source_vault ⇒ SourceVault
secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription.
19 20 21 |
# File 'lib/2020-09-30/generated/azure_mgmt_compute/models/key_for_disk_encryption_set.rb', line 19 def source_vault @source_vault end |
Class Method Details
.mapper ⇒ Object
Mapper for KeyForDiskEncryptionSet class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# 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 |