Class VaultAccessPolicyProperties
java.lang.Object
com.azure.resourcemanager.keyvault.models.VaultAccessPolicyProperties
Properties of the vault access policy.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the accessPolicies property: An array of 0 to 16 identities that have access to the key vault.voidvalidate()Validates the instance.withAccessPolicies(List<AccessPolicyEntry> accessPolicies) Set the accessPolicies property: An array of 0 to 16 identities that have access to the key vault.
-
Constructor Details
-
VaultAccessPolicyProperties
public VaultAccessPolicyProperties()
-
-
Method Details
-
accessPolicies
Get the accessPolicies property: 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.- Returns:
- the accessPolicies value.
-
withAccessPolicies
Set the accessPolicies property: 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.- Parameters:
accessPolicies- the accessPolicies value to set.- Returns:
- the VaultAccessPolicyProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-