public final class VaultProperties extends Object
| Constructor and Description |
|---|
VaultProperties() |
| Modifier and Type | Method and Description |
|---|---|
List<AccessPolicyEntry> |
accessPolicies()
Get the accessPolicies property: An array of 0 to 1024 identities that have access to the key vault.
|
CreateMode |
createMode()
Get the createMode property: The vault's create mode to indicate whether the vault need to be recovered or not.
|
Boolean |
enabledForDeployment()
Get the enabledForDeployment property: Property to specify whether Azure Virtual Machines are permitted to
retrieve certificates stored as secrets from the key vault.
|
Boolean |
enabledForDiskEncryption()
Get the enabledForDiskEncryption property: Property to specify whether Azure Disk Encryption is permitted to
retrieve secrets from the vault and unwrap keys.
|
Boolean |
enabledForTemplateDeployment()
Get the enabledForTemplateDeployment property: Property to specify whether Azure Resource Manager is permitted to
retrieve secrets from the key vault.
|
Boolean |
enablePurgeProtection()
Get the enablePurgeProtection property: Property specifying whether protection against purge is enabled for this
vault.
|
Boolean |
enableSoftDelete()
Get the enableSoftDelete property: Property to specify whether the 'soft delete' functionality is enabled for
this key vault.
|
NetworkRuleSet |
networkAcls()
Get the networkAcls property: Rules governing the accessibility of the key vault from specific network locations.
|
List<PrivateEndpointConnectionItem> |
privateEndpointConnections()
Get the privateEndpointConnections property: List of private endpoint connections associated with the key vault.
|
Sku |
sku()
Get the sku property: SKU details.
|
UUID |
tenantId()
Get the tenantId property: The Azure Active Directory tenant ID that should be used for authenticating requests
to the key vault.
|
void |
validate()
Validates the instance.
|
String |
vaultUri()
Get the vaultUri property: The URI of the vault for performing operations on keys and secrets.
|
VaultProperties |
withAccessPolicies(List<AccessPolicyEntry> accessPolicies)
Set the accessPolicies property: An array of 0 to 1024 identities that have access to the key vault.
|
VaultProperties |
withCreateMode(CreateMode createMode)
Set the createMode property: The vault's create mode to indicate whether the vault need to be recovered or not.
|
VaultProperties |
withEnabledForDeployment(Boolean enabledForDeployment)
Set the enabledForDeployment property: Property to specify whether Azure Virtual Machines are permitted to
retrieve certificates stored as secrets from the key vault.
|
VaultProperties |
withEnabledForDiskEncryption(Boolean enabledForDiskEncryption)
Set the enabledForDiskEncryption property: Property to specify whether Azure Disk Encryption is permitted to
retrieve secrets from the vault and unwrap keys.
|
VaultProperties |
withEnabledForTemplateDeployment(Boolean enabledForTemplateDeployment)
Set the enabledForTemplateDeployment property: Property to specify whether Azure Resource Manager is permitted to
retrieve secrets from the key vault.
|
VaultProperties |
withEnablePurgeProtection(Boolean enablePurgeProtection)
Set the enablePurgeProtection property: Property specifying whether protection against purge is enabled for this
vault.
|
VaultProperties |
withEnableSoftDelete(Boolean enableSoftDelete)
Set the enableSoftDelete property: Property to specify whether the 'soft delete' functionality is enabled for
this key vault.
|
VaultProperties |
withNetworkAcls(NetworkRuleSet networkAcls)
Set the networkAcls property: Rules governing the accessibility of the key vault from specific network locations.
|
VaultProperties |
withSku(Sku sku)
Set the sku property: SKU details.
|
VaultProperties |
withTenantId(UUID tenantId)
Set the tenantId property: The Azure Active Directory tenant ID that should be used for authenticating requests
to the key vault.
|
VaultProperties |
withVaultUri(String vaultUri)
Set the vaultUri property: The URI of the vault for performing operations on keys and secrets.
|
public UUID tenantId()
public VaultProperties withTenantId(UUID tenantId)
tenantId - the tenantId value to set.public Sku sku()
public VaultProperties withSku(Sku sku)
sku - the sku value to set.public List<AccessPolicyEntry> accessPolicies()
public VaultProperties withAccessPolicies(List<AccessPolicyEntry> accessPolicies)
accessPolicies - the accessPolicies value to set.public String vaultUri()
public VaultProperties withVaultUri(String vaultUri)
vaultUri - the vaultUri value to set.public Boolean enabledForDeployment()
public VaultProperties withEnabledForDeployment(Boolean enabledForDeployment)
enabledForDeployment - the enabledForDeployment value to set.public Boolean enabledForDiskEncryption()
public VaultProperties withEnabledForDiskEncryption(Boolean enabledForDiskEncryption)
enabledForDiskEncryption - the enabledForDiskEncryption value to set.public Boolean enabledForTemplateDeployment()
public VaultProperties withEnabledForTemplateDeployment(Boolean enabledForTemplateDeployment)
enabledForTemplateDeployment - the enabledForTemplateDeployment value to set.public Boolean enableSoftDelete()
public VaultProperties withEnableSoftDelete(Boolean enableSoftDelete)
enableSoftDelete - the enableSoftDelete value to set.public CreateMode createMode()
public VaultProperties withCreateMode(CreateMode createMode)
createMode - the createMode value to set.public Boolean enablePurgeProtection()
public VaultProperties withEnablePurgeProtection(Boolean enablePurgeProtection)
enablePurgeProtection - the enablePurgeProtection value to set.public NetworkRuleSet networkAcls()
public VaultProperties withNetworkAcls(NetworkRuleSet networkAcls)
networkAcls - the networkAcls value to set.public List<PrivateEndpointConnectionItem> privateEndpointConnections()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.