Udostępnij za pośrednictwem


VaultManagementClient Class

Definition

public class VaultManagementClient
type VaultManagementClient = class
Public Class VaultManagementClient
Inheritance
VaultManagementClient

Constructors

VaultManagementClient()

Parameterless constructor for mocking

VaultManagementClient(IAzureContext)

Fields

ManagedHsmResourceType
VaultsResourceType

Methods

CreateNewVault(VaultCreationOrUpdateParameters, IMicrosoftGraphClient, PSKeyVaultNetworkRuleSet)

Create a new vault

CreateNewVault(VaultCreationParameters, ActiveDirectoryClient)
CreateOrRecoverManagedHsm(VaultCreationOrUpdateParameters, IMicrosoftGraphClient)

Create a Managed HSM pool

DeleteManagedHsm(String, String)

Delete an existing Managed HSM.

DeleteVault(String, String)

Delete an existing vault. Throws if vault is not found.

GetDeletedManagedHsm(String, String)
GetDeletedVault(String, String)

Gets a deleted vault.

GetManagedHsm(String, String, IMicrosoftGraphClient)

Get an existing managed HSM. Returns null if managed HSM is not found.

GetVault(String, String, ActiveDirectoryClient)
GetVault(String, String, IMicrosoftGraphClient)

Get an existing vault. Returns null if vault is not found.

ListDeletedManagedHsms()
ListDeletedVaults()

Lists deleted vault in a subscription.

ListManagedHsms(String, IMicrosoftGraphClient)

List all existing Managed HSMs.

PurgeManagedHsm(String, String)

Purge a deleted Managed HSM. Throws if Managed HSM is not found.

PurgeVault(String, String)

Purge a deleted vault. Throws if vault is not found.

UpdateManagedHsm(PSManagedHsm, VaultCreationOrUpdateParameters, IMicrosoftGraphClient)

Update an existing Managed HSM.

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, PSKeyVaultAccessPolicy[], Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, PSKeyVaultNetworkRuleSet, ActiveDirectoryClient)
UpdateVault(PSKeyVault, VaultCreationOrUpdateParameters, IMicrosoftGraphClient)

Update an existing vault. Only EnablePurgeProtection, EnableRbacAuthorization and Tags can be updated currently.

Applies to