Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Vaults

Package version

Class representing a Vaults.

Hierarchy

  • Vaults

Index

Constructors

constructor

Methods

beginPurgeDeleted

  • beginPurgeDeleted(vaultName: string, location: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Permanently deletes the specified vault. aka Purges the deleted Azure key vault.

    Parameters

    • vaultName: string

      The name of the soft-deleted vault.

    • location: string

      The location of the soft-deleted vault.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

checkNameAvailability

createOrUpdate

  • createOrUpdate(resourceGroupName: string, vaultName: string, parameters: VaultCreateOrUpdateParameters, options?: msRest.RequestOptionsBase): Promise<Models.VaultsCreateOrUpdateResponse>
  • createOrUpdate(resourceGroupName: string, vaultName: string, parameters: VaultCreateOrUpdateParameters, callback: msRest.ServiceCallback<Vault>): void
  • createOrUpdate(resourceGroupName: string, vaultName: string, parameters: VaultCreateOrUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Vault>): void
  • Create or update a key vault in the specified subscription.

    Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the server belongs.

    • vaultName: string

      Name of the vault

    • parameters: VaultCreateOrUpdateParameters

      Parameters to create or update the vault

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.VaultsCreateOrUpdateResponse>

    Promise<Models.VaultsCreateOrUpdateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the server belongs.

    • vaultName: string

      Name of the vault

    • parameters: VaultCreateOrUpdateParameters

      Parameters to create or update the vault

    • callback: msRest.ServiceCallback<Vault>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the server belongs.

    • vaultName: string

      Name of the vault

    • parameters: VaultCreateOrUpdateParameters

      Parameters to create or update the vault

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Vault>

      The callback

    Returns void

deleteMethod

  • deleteMethod(resourceGroupName: string, vaultName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • deleteMethod(resourceGroupName: string, vaultName: string, callback: msRest.ServiceCallback<void>): void
  • deleteMethod(resourceGroupName: string, vaultName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void
  • Deletes the specified Azure key vault.

    Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the vault belongs.

    • vaultName: string

      The name of the vault to delete

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

  • Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the vault belongs.

    • vaultName: string

      The name of the vault to delete

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the vault belongs.

    • vaultName: string

      The name of the vault to delete

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

get

  • get(resourceGroupName: string, vaultName: string, options?: msRest.RequestOptionsBase): Promise<Models.VaultsGetResponse>
  • get(resourceGroupName: string, vaultName: string, callback: msRest.ServiceCallback<Vault>): void
  • get(resourceGroupName: string, vaultName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Vault>): void
  • Gets the specified Azure key vault.

    Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the vault belongs.

    • vaultName: string

      The name of the vault.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.VaultsGetResponse>

    Promise<Models.VaultsGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the vault belongs.

    • vaultName: string

      The name of the vault.

    • callback: msRest.ServiceCallback<Vault>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the vault belongs.

    • vaultName: string

      The name of the vault.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Vault>

      The callback

    Returns void

getDeleted

  • getDeleted(vaultName: string, location: string, options?: msRest.RequestOptionsBase): Promise<Models.VaultsGetDeletedResponse>
  • getDeleted(vaultName: string, location: string, callback: msRest.ServiceCallback<DeletedVault>): void
  • getDeleted(vaultName: string, location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<DeletedVault>): void
  • Gets the deleted Azure key vault.

    Parameters

    • vaultName: string

      The name of the vault.

    • location: string

      The location of the deleted vault.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.VaultsGetDeletedResponse>

    Promise<Models.VaultsGetDeletedResponse>

  • Parameters

    • vaultName: string

      The name of the vault.

    • location: string

      The location of the deleted vault.

    • callback: msRest.ServiceCallback<DeletedVault>

      The callback

    Returns void

  • Parameters

    • vaultName: string

      The name of the vault.

    • location: string

      The location of the deleted vault.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<DeletedVault>

      The callback

    Returns void

list

listByResourceGroup

  • listByResourceGroup(resourceGroupName: string, options?: Models.VaultsListByResourceGroupOptionalParams): Promise<Models.VaultsListByResourceGroupResponse>
  • listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<VaultListResult>): void
  • listByResourceGroup(resourceGroupName: string, options: VaultsListByResourceGroupOptionalParams, callback: msRest.ServiceCallback<VaultListResult>): void
  • The List operation gets information about the vaults associated with the subscription and within the specified resource group.

    Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the vault belongs.

    • Optional options: Models.VaultsListByResourceGroupOptionalParams

    Returns Promise<Models.VaultsListByResourceGroupResponse>

    Promise<Models.VaultsListByResourceGroupResponse>

  • Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the vault belongs.

    • callback: msRest.ServiceCallback<VaultListResult>

      The callback

    Returns void

  • Parameters

    Returns void

listByResourceGroupNext

  • listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.VaultsListByResourceGroupNextResponse>
  • listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<VaultListResult>): void
  • listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<VaultListResult>): void
  • The List operation gets information about the vaults associated with the subscription and within the specified resource group.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.VaultsListByResourceGroupNextResponse>

    Promise<Models.VaultsListByResourceGroupNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<VaultListResult>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<VaultListResult>

      The callback

    Returns void

listBySubscription

listBySubscriptionNext

  • listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.VaultsListBySubscriptionNextResponse>
  • listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback<VaultListResult>): void
  • listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<VaultListResult>): void
  • The List operation gets information about the vaults associated with the subscription.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.VaultsListBySubscriptionNextResponse>

    Promise<Models.VaultsListBySubscriptionNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<VaultListResult>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<VaultListResult>

      The callback

    Returns void

listDeleted

  • listDeleted(options?: msRest.RequestOptionsBase): Promise<Models.VaultsListDeletedResponse>
  • listDeleted(callback: msRest.ServiceCallback<DeletedVaultListResult>): void
  • listDeleted(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<DeletedVaultListResult>): void

listDeletedNext

  • listDeletedNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.VaultsListDeletedNextResponse>
  • listDeletedNext(nextPageLink: string, callback: msRest.ServiceCallback<DeletedVaultListResult>): void
  • listDeletedNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<DeletedVaultListResult>): void
  • Gets information about the deleted vaults in a subscription.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.VaultsListDeletedNextResponse>

    Promise<Models.VaultsListDeletedNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<DeletedVaultListResult>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<DeletedVaultListResult>

      The callback

    Returns void

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.VaultsListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<ResourceListResult>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<ResourceListResult>): void
  • The List operation gets information about the vaults associated with the subscription.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.VaultsListNextResponse>

    Promise<Models.VaultsListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<ResourceListResult>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<ResourceListResult>

      The callback

    Returns void

purgeDeleted

  • purgeDeleted(vaultName: string, location: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • Permanently deletes the specified vault. aka Purges the deleted Azure key vault.

    Parameters

    • vaultName: string

      The name of the soft-deleted vault.

    • location: string

      The location of the soft-deleted vault.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

update

  • update(resourceGroupName: string, vaultName: string, parameters: VaultPatchParameters, options?: msRest.RequestOptionsBase): Promise<Models.VaultsUpdateResponse>
  • update(resourceGroupName: string, vaultName: string, parameters: VaultPatchParameters, callback: msRest.ServiceCallback<Vault>): void
  • update(resourceGroupName: string, vaultName: string, parameters: VaultPatchParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Vault>): void
  • Update a key vault in the specified subscription.

    Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the server belongs.

    • vaultName: string

      Name of the vault

    • parameters: VaultPatchParameters

      Parameters to patch the vault

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.VaultsUpdateResponse>

    Promise<Models.VaultsUpdateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the server belongs.

    • vaultName: string

      Name of the vault

    • parameters: VaultPatchParameters

      Parameters to patch the vault

    • callback: msRest.ServiceCallback<Vault>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the server belongs.

    • vaultName: string

      Name of the vault

    • parameters: VaultPatchParameters

      Parameters to patch the vault

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<Vault>

      The callback

    Returns void

updateAccessPolicy

  • updateAccessPolicy(resourceGroupName: string, vaultName: string, operationKind: Models.AccessPolicyUpdateKind, parameters: VaultAccessPolicyParameters, options?: msRest.RequestOptionsBase): Promise<Models.VaultsUpdateAccessPolicyResponse>
  • updateAccessPolicy(resourceGroupName: string, vaultName: string, operationKind: Models.AccessPolicyUpdateKind, parameters: VaultAccessPolicyParameters, callback: msRest.ServiceCallback<VaultAccessPolicyParameters>): void
  • updateAccessPolicy(resourceGroupName: string, vaultName: string, operationKind: Models.AccessPolicyUpdateKind, parameters: VaultAccessPolicyParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<VaultAccessPolicyParameters>): void
  • Update access policies in a key vault in the specified subscription.

    Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the vault belongs.

    • vaultName: string

      Name of the vault

    • operationKind: Models.AccessPolicyUpdateKind

      Name of the operation. Possible values include: 'add', 'replace', 'remove'

    • parameters: VaultAccessPolicyParameters

      Access policy to merge into the vault

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.VaultsUpdateAccessPolicyResponse>

    Promise<Models.VaultsUpdateAccessPolicyResponse>

  • Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the vault belongs.

    • vaultName: string

      Name of the vault

    • operationKind: Models.AccessPolicyUpdateKind

      Name of the operation. Possible values include: 'add', 'replace', 'remove'

    • parameters: VaultAccessPolicyParameters

      Access policy to merge into the vault

    • callback: msRest.ServiceCallback<VaultAccessPolicyParameters>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the Resource Group to which the vault belongs.

    • vaultName: string

      Name of the vault

    • operationKind: Models.AccessPolicyUpdateKind

      Name of the operation. Possible values include: 'add', 'replace', 'remove'

    • parameters: VaultAccessPolicyParameters

      Access policy to merge into the vault

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<VaultAccessPolicyParameters>

      The callback

    Returns void

Generated using TypeDoc