Class: Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultProperties
- Inherits:
-
Object
- Object
- Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_properties.rb
Overview
Properties of the vault
Instance Attribute Summary collapse
-
#access_policies ⇒ Array<AccessPolicyEntry>
have access to the key vault.
-
#create_mode ⇒ CreateMode
vault need to be recovered or not.
-
#enable_purge_protection ⇒ Boolean
is enabled for this vault.
-
#enable_soft_delete ⇒ Boolean
functionality is enabled for this key vault.
-
#enabled_for_deployment ⇒ Boolean
are permitted to retrieve certificates stored as secrets from the key vault.
-
#enabled_for_disk_encryption ⇒ Boolean
permitted to retrieve secrets from the vault and unwrap keys.
-
#enabled_for_template_deployment ⇒ Boolean
permitted to retrieve secrets from the key vault.
-
#network_acls ⇒ NetworkRuleSet
accessibility of the vault from specific network locations.
-
#sku ⇒ Sku
SKU details.
-
#tenant_id ⇒ Object
authenticating requests to the key vault.
-
#vault_uri ⇒ String
and secrets.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VaultProperties class as Ruby Hash.
Instance Attribute Details
#access_policies ⇒ Array<AccessPolicyEntry>
have access to the key vault. All identities in the array must use the same tenant ID as the key vault’s tenant ID.
25 26 27 |
# File 'lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_properties.rb', line 25 def access_policies @access_policies end |
#create_mode ⇒ CreateMode
vault need to be recovered or not. Possible values include: ‘recover’, ‘default’
52 53 54 |
# File 'lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_properties.rb', line 52 def create_mode @create_mode end |
#enable_purge_protection ⇒ Boolean
is enabled for this vault. Setting this property to true activates protection against purge for this vault and its content - only the Key Vault service may initiate a hard, irrecoverable deletion. The setting is effective only if soft delete is also enabled. Enabling this functionality is irreversible - that is, the property does not accept false as its value.
61 62 63 |
# File 'lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_properties.rb', line 61 def enable_purge_protection @enable_purge_protection end |
#enable_soft_delete ⇒ Boolean
functionality is enabled for this key vault. It does not accept false value.
47 48 49 |
# File 'lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_properties.rb', line 47 def enable_soft_delete @enable_soft_delete end |
#enabled_for_deployment ⇒ Boolean
are permitted to retrieve certificates stored as secrets from the key vault.
34 35 36 |
# File 'lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_properties.rb', line 34 def enabled_for_deployment @enabled_for_deployment end |
#enabled_for_disk_encryption ⇒ Boolean
permitted to retrieve secrets from the vault and unwrap keys.
38 39 40 |
# File 'lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_properties.rb', line 38 def enabled_for_disk_encryption @enabled_for_disk_encryption end |
#enabled_for_template_deployment ⇒ Boolean
permitted to retrieve secrets from the key vault.
42 43 44 |
# File 'lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_properties.rb', line 42 def enabled_for_template_deployment @enabled_for_template_deployment end |
#network_acls ⇒ NetworkRuleSet
accessibility of the vault from specific network locations.
65 66 67 |
# File 'lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_properties.rb', line 65 def network_acls @network_acls end |
#sku ⇒ Sku
Returns SKU details.
20 21 22 |
# File 'lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_properties.rb', line 20 def sku @sku end |
#tenant_id ⇒ Object
authenticating requests to the key vault.
17 18 19 |
# File 'lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_properties.rb', line 17 def tenant_id @tenant_id end |
#vault_uri ⇒ String
and secrets.
29 30 31 |
# File 'lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_properties.rb', line 29 def vault_uri @vault_uri end |
Class Method Details
.mapper ⇒ Object
Mapper for VaultProperties class as Ruby Hash. This will be used for serialization/deserialization.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 |
# File 'lib/2018-02-14/generated/azure_mgmt_key_vault/models/vault_properties.rb', line 72 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VaultProperties', type: { name: 'Composite', class_name: 'VaultProperties', model_properties: { tenant_id: { client_side_validation: true, required: true, serialized_name: 'tenantId', type: { name: 'String' } }, sku: { client_side_validation: true, required: true, serialized_name: 'sku', default_value: {}, type: { name: 'Composite', class_name: 'Sku' } }, access_policies: { client_side_validation: true, required: false, serialized_name: 'accessPolicies', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'AccessPolicyEntryElementType', type: { name: 'Composite', class_name: 'AccessPolicyEntry' } } } }, vault_uri: { client_side_validation: true, required: false, serialized_name: 'vaultUri', type: { name: 'String' } }, enabled_for_deployment: { client_side_validation: true, required: false, serialized_name: 'enabledForDeployment', type: { name: 'Boolean' } }, enabled_for_disk_encryption: { client_side_validation: true, required: false, serialized_name: 'enabledForDiskEncryption', type: { name: 'Boolean' } }, enabled_for_template_deployment: { client_side_validation: true, required: false, serialized_name: 'enabledForTemplateDeployment', type: { name: 'Boolean' } }, enable_soft_delete: { client_side_validation: true, required: false, serialized_name: 'enableSoftDelete', type: { name: 'Boolean' } }, create_mode: { client_side_validation: true, required: false, serialized_name: 'createMode', type: { name: 'Enum', module: 'CreateMode' } }, enable_purge_protection: { client_side_validation: true, required: false, serialized_name: 'enablePurgeProtection', type: { name: 'Boolean' } }, network_acls: { client_side_validation: true, required: false, serialized_name: 'networkAcls', type: { name: 'Composite', class_name: 'NetworkRuleSet' } } } } } end |