Description Details Usage Arguments Value See Also Examples
Method for the AzureRMR::az_subscription and AzureRMR::az_resource_group classes.
This method permanently deletes a soft-deleted key vault. Note that it will fail if the vault has purge protection enabled.
1 | purge_key_vault(name, location, confirm=TRUE)
|
name
,location
: The name and location of the key vault.
confirm
: Whether to ask for confirmation before permanently deleting the vault.
NULL on successful purging.
create_key_vault, get_key_vault, delete_key_vault, list_deleted_key_vaults, az_key_vault,
Azure Key Vault documentation, Azure Key Vault API reference
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
rg <- AzureRMR::get_azure_login()$
get_subscription("subscription_id")$
get_resource_group("rgname")
# assuming the vault has soft-delete enabled, and is in the same location as its RG
rg$delete_key_vault("mykeyvault")
rg$purge_key_vault("mykeyvault", rg$location)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.