VaultManagementClient.UpdateVault Method
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
UpdateVault(PSKeyVault, PSKeyVaultAccessPolicy[], Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, PSKeyVaultNetworkRuleSet, IMicrosoftGraphClient) |
Update an existing vault. Only EnabledForDeployment and AccessPolicies can be updated currently. |
UpdateVault(PSKeyVault, VaultCreationOrUpdateParameters, IMicrosoftGraphClient) |
Update an existing vault. Only EnablePurgeProtection, EnableRbacAuthorization and Tags can be updated currently. |
UpdateVault(PSKeyVault, PSKeyVaultAccessPolicy[], Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, PSKeyVaultNetworkRuleSet, ActiveDirectoryClient) |
UpdateVault(PSKeyVault, PSKeyVaultAccessPolicy[], Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, PSKeyVaultNetworkRuleSet, IMicrosoftGraphClient)
Update an existing vault. Only EnabledForDeployment and AccessPolicies can be updated currently.
public Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault UpdateVault (Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault existingVault, Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultAccessPolicy[] updatedPolicies, bool? updatedEnabledForDeployment, bool? updatedEnabledForTemplateDeployment, bool? updatedEnabledForDiskEncryption, bool? updatedSoftDeleteSwitch, bool? updatedPurgeProtectionSwitch, bool? updatedRbacAuthorization, int? softDeleteRetentionInDays, Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultNetworkRuleSet updatedNetworkAcls, Microsoft.Azure.Commands.Common.MSGraph.Version1_0.IMicrosoftGraphClient graphClient = default);
member this.UpdateVault : Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault * Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultAccessPolicy[] * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<int> * Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultNetworkRuleSet * Microsoft.Azure.Commands.Common.MSGraph.Version1_0.IMicrosoftGraphClient -> Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault
Public Function UpdateVault (existingVault As PSKeyVault, updatedPolicies As PSKeyVaultAccessPolicy(), updatedEnabledForDeployment As Nullable(Of Boolean), updatedEnabledForTemplateDeployment As Nullable(Of Boolean), updatedEnabledForDiskEncryption As Nullable(Of Boolean), updatedSoftDeleteSwitch As Nullable(Of Boolean), updatedPurgeProtectionSwitch As Nullable(Of Boolean), updatedRbacAuthorization As Nullable(Of Boolean), softDeleteRetentionInDays As Nullable(Of Integer), updatedNetworkAcls As PSKeyVaultNetworkRuleSet, Optional graphClient As IMicrosoftGraphClient = Nothing) As PSKeyVault
Parameters
- existingVault
- PSKeyVault
the existing vault
- updatedPolicies
- PSKeyVaultAccessPolicy[]
the update access policies
- updatedNetworkAcls
- PSKeyVaultNetworkRuleSet
updated network rule set
- graphClient
- IMicrosoftGraphClient
the active directory client
Returns
the updated vault
Applies to
UpdateVault(PSKeyVault, VaultCreationOrUpdateParameters, IMicrosoftGraphClient)
Update an existing vault. Only EnablePurgeProtection, EnableRbacAuthorization and Tags can be updated currently.
public Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault UpdateVault (Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault existingVault, Microsoft.Azure.Commands.KeyVault.Models.VaultCreationOrUpdateParameters updatedParamater, Microsoft.Azure.Commands.Common.MSGraph.Version1_0.IMicrosoftGraphClient graphClient = default);
member this.UpdateVault : Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault * Microsoft.Azure.Commands.KeyVault.Models.VaultCreationOrUpdateParameters * Microsoft.Azure.Commands.Common.MSGraph.Version1_0.IMicrosoftGraphClient -> Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault
Public Function UpdateVault (existingVault As PSKeyVault, updatedParamater As VaultCreationOrUpdateParameters, Optional graphClient As IMicrosoftGraphClient = Nothing) As PSKeyVault
Parameters
- existingVault
- PSKeyVault
the existing vault
- updatedParamater
- VaultCreationOrUpdateParameters
updated paramater
- graphClient
- IMicrosoftGraphClient
the active directory client
Returns
the updated vault
Applies to
UpdateVault(PSKeyVault, PSKeyVaultAccessPolicy[], Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, PSKeyVaultNetworkRuleSet, ActiveDirectoryClient)
public Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault UpdateVault (Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault existingVault, Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultAccessPolicy[] updatedPolicies, bool? updatedEnabledForDeployment, bool? updatedEnabledForTemplateDeployment, bool? updatedEnabledForDiskEncryption, bool? updatedSoftDeleteSwitch, bool? updatedPurgeProtectionSwitch, Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultNetworkRuleSet updatedNetworkAcls, Microsoft.Azure.ActiveDirectory.GraphClient.ActiveDirectoryClient adClient = default);
member this.UpdateVault : Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault * Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultAccessPolicy[] * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultNetworkRuleSet * Microsoft.Azure.ActiveDirectory.GraphClient.ActiveDirectoryClient -> Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault
Public Function UpdateVault (existingVault As PSKeyVault, updatedPolicies As PSKeyVaultAccessPolicy(), updatedEnabledForDeployment As Nullable(Of Boolean), updatedEnabledForTemplateDeployment As Nullable(Of Boolean), updatedEnabledForDiskEncryption As Nullable(Of Boolean), updatedSoftDeleteSwitch As Nullable(Of Boolean), updatedPurgeProtectionSwitch As Nullable(Of Boolean), updatedNetworkAcls As PSKeyVaultNetworkRuleSet, Optional adClient As ActiveDirectoryClient = Nothing) As PSKeyVault
Parameters
- existingVault
- PSKeyVault
- updatedPolicies
- PSKeyVaultAccessPolicy[]
- updatedNetworkAcls
- PSKeyVaultNetworkRuleSet
- adClient
- Microsoft.Azure.ActiveDirectory.GraphClient.ActiveDirectoryClient