Class: Azure::Compute::Mgmt::V2015_06_15::Models::KeyVaultSecretReference
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2015_06_15::Models::KeyVaultSecretReference
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb
Overview
Describes a reference to Key Vault Secret
Instance Attribute Summary collapse
-
#secret_url ⇒ String
The URL referencing a secret in a Key Vault.
-
#source_vault ⇒ SubResource
secret.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for KeyVaultSecretReference class as Ruby Hash.
Instance Attribute Details
#secret_url ⇒ String
Returns The URL referencing a secret in a Key Vault.
16 17 18 |
# File 'lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb', line 16 def secret_url @secret_url end |
#source_vault ⇒ SubResource
secret.
20 21 22 |
# File 'lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb', line 20 def source_vault @source_vault end |
Class Method Details
.mapper ⇒ Object
Mapper for KeyVaultSecretReference 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/2015-06-15/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'KeyVaultSecretReference', type: { name: 'Composite', class_name: 'KeyVaultSecretReference', model_properties: { secret_url: { client_side_validation: true, required: true, serialized_name: 'secretUrl', type: { name: 'String' } }, source_vault: { client_side_validation: true, required: true, serialized_name: 'sourceVault', type: { name: 'Composite', class_name: 'SubResource' } } } } } end |