Class: Azure::Compute::Mgmt::V2020_06_30::Models::KeyVaultAndSecretReference
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_06_30::Models::KeyVaultAndSecretReference
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb
Overview
Key Vault Secret Url and vault id of the encryption key
Instance Attribute Summary collapse
-
#secret_url ⇒ String
Url pointing to a key or secret in KeyVault.
-
#source_vault ⇒ SourceVault
secret.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for KeyVaultAndSecretReference class as Ruby Hash.
Instance Attribute Details
#secret_url ⇒ String
Returns Url pointing to a key or secret in KeyVault.
20 21 22 |
# File 'lib/2020-06-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb', line 20 def secret_url @secret_url end |
#source_vault ⇒ SourceVault
secret
17 18 19 |
# File 'lib/2020-06-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb', line 17 def source_vault @source_vault end |
Class Method Details
.mapper ⇒ Object
Mapper for KeyVaultAndSecretReference class as Ruby Hash. This will be used for serialization/deserialization.
27 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 |
# File 'lib/2020-06-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'KeyVaultAndSecretReference', type: { name: 'Composite', class_name: 'KeyVaultAndSecretReference', model_properties: { source_vault: { client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { name: 'Composite', class_name: 'SourceVault' } }, secret_url: { client_side_validation: true, required: true, serialized_name: 'secretUrl', type: { name: 'String' } } } } } end |