Class: Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndKeyReference
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndKeyReference
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb
Overview
Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey
Instance Attribute Summary collapse
-
#key_url ⇒ String
Url pointing to a key or secret in KeyVault.
-
#source_vault ⇒ SourceVault
secret.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for KeyVaultAndKeyReference class as Ruby Hash.
Instance Attribute Details
#key_url ⇒ String
Returns Url pointing to a key or secret in KeyVault.
21 22 23 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb', line 21 def key_url @key_url end |
#source_vault ⇒ SourceVault
secret
18 19 20 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb', line 18 def source_vault @source_vault end |
Class Method Details
.mapper ⇒ Object
Mapper for KeyVaultAndKeyReference class as Ruby Hash. This will be used for serialization/deserialization.
28 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 |
# File 'lib/2018-04-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 |