VaultProperties Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
VaultProperties() |
Initializes a new instance of the VaultProperties class. |
VaultProperties(Guid, Sku, IList<AccessPolicyEntry>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<CreateMode>, Nullable<Boolean>, NetworkRuleSet) |
Initializes a new instance of the VaultProperties class. |
VaultProperties()
Initializes a new instance of the VaultProperties class.
public VaultProperties ();
Public Sub New ()
Applies to
VaultProperties(Guid, Sku, IList<AccessPolicyEntry>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<CreateMode>, Nullable<Boolean>, NetworkRuleSet)
Initializes a new instance of the VaultProperties class.
public VaultProperties (Guid tenantId, Microsoft.Azure.Management.KeyVault.Fluent.Models.Sku sku, System.Collections.Generic.IList<Microsoft.Azure.Management.KeyVault.Fluent.Models.AccessPolicyEntry> accessPolicies = default, string vaultUri = default, bool? enabledForDeployment = default, bool? enabledForDiskEncryption = default, bool? enabledForTemplateDeployment = default, bool? enableSoftDelete = default, Microsoft.Azure.Management.KeyVault.Fluent.Models.CreateMode? createMode = default, bool? enablePurgeProtection = default, Microsoft.Azure.Management.KeyVault.Fluent.Models.NetworkRuleSet networkAcls = default);
new Microsoft.Azure.Management.KeyVault.Fluent.Models.VaultProperties : Guid * Microsoft.Azure.Management.KeyVault.Fluent.Models.Sku * System.Collections.Generic.IList<Microsoft.Azure.Management.KeyVault.Fluent.Models.AccessPolicyEntry> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<Microsoft.Azure.Management.KeyVault.Fluent.Models.CreateMode> * Nullable<bool> * Microsoft.Azure.Management.KeyVault.Fluent.Models.NetworkRuleSet -> Microsoft.Azure.Management.KeyVault.Fluent.Models.VaultProperties
Public Sub New (tenantId As Guid, sku As Sku, Optional accessPolicies As IList(Of AccessPolicyEntry) = Nothing, Optional vaultUri As String = Nothing, Optional enabledForDeployment As Nullable(Of Boolean) = Nothing, Optional enabledForDiskEncryption As Nullable(Of Boolean) = Nothing, Optional enabledForTemplateDeployment As Nullable(Of Boolean) = Nothing, Optional enableSoftDelete As Nullable(Of Boolean) = Nothing, Optional createMode As Nullable(Of CreateMode) = Nothing, Optional enablePurgeProtection As Nullable(Of Boolean) = Nothing, Optional networkAcls As NetworkRuleSet = Nothing)
Parameters
- tenantId
- Guid
The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault.
- sku
- Sku
SKU details
- accessPolicies
- IList<AccessPolicyEntry>
An array of 0 to 16 identities that
have access to the key vault. All identities in the array must use
the same tenant ID as the key vault's tenant ID. When createMode
is set to recover
, access policies are not required. Otherwise,
access policies are required.
- vaultUri
- String
The URI of the vault for performing operations on keys and secrets.
Property to specify whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault.
Property to specify whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys.
Property to specify whether Azure Resource Manager is permitted to retrieve secrets from the key vault.
Property to specify whether the 'soft delete' functionality is enabled for this key vault. It does not accept false value.
- createMode
- Nullable<CreateMode>
The vault's create mode to indicate whether the vault need to be recovered or not. Possible values include: 'recover', 'default'
Property specifying whether protection against purge 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.
- networkAcls
- NetworkRuleSet
A collection of rules governing the accessibility of the vault from specific network locations.
Applies to
Azure SDK for .NET