public interface Vaults extends SupportsCreating<Vault.DefinitionStages.Blank>, SupportsDeletingById, SupportsListingByResourceGroup<Vault>, SupportsGettingByResourceGroup<Vault>, SupportsGettingById<Vault>, SupportsDeletingByResourceGroup, HasManager<com.microsoft.azure.management.keyvault.implementation.KeyVaultManager>, HasInner<com.microsoft.azure.management.keyvault.implementation.VaultsInner>
Modifier and Type | Method and Description |
---|---|
CheckNameAvailabilityResult |
checkNameAvailability(String name)
Checks that the vault name is valid and is not already in use.
|
rx.Observable<CheckNameAvailabilityResult> |
checkNameAvailabilityAsync(String name)
Checks that the vault name is valid and is not already in use.
|
DeletedVault |
getDeleted(String vaultName,
String location)
Gets the deleted Azure key vault.
|
rx.Observable<DeletedVault> |
getDeletedAsync(String vaultName,
String location)
Gets the deleted Azure key vault.
|
PagedList<DeletedVault> |
listDeleted()
Gets information about the deleted vaults in a subscription.
|
rx.Observable<DeletedVault> |
listDeletedAsync()
Gets information about the deleted vaults in a subscription.
|
void |
purgeDeleted(String vaultName,
String location)
Permanently deletes the specified vault.
|
rx.Completable |
purgeDeletedAsync(String vaultName,
String location)
Permanently deletes the specified vault.
|
Vault |
recoverSoftDeletedVault(String resourceGroupName,
String vaultName,
String location)
Recovers a soft deleted vault.
|
rx.Observable<Vault> |
recoverSoftDeletedVaultAsync(String resourceGroupName,
String vaultName,
String location)
Recovers a soft deleted vault.
|
define
deleteById, deleteByIdAsync, deleteByIdAsync
listByResourceGroup, listByResourceGroupAsync
getByResourceGroup, getByResourceGroupAsync, getByResourceGroupAsync
getById, getByIdAsync, getByIdAsync
deleteByResourceGroup, deleteByResourceGroupAsync, deleteByResourceGroupAsync
manager
@Beta(value=V1_11_0) PagedList<DeletedVault> listDeleted()
IllegalArgumentException
- thrown if parameters fail the validationCloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be
sent@Beta(value=V1_11_0) rx.Observable<DeletedVault> listDeletedAsync()
IllegalArgumentException
- thrown if parameters fail the validation@Beta(value=V1_11_0) DeletedVault getDeleted(String vaultName, String location)
vaultName
- The name of the vault.location
- The location of the deleted vault.IllegalArgumentException
- thrown if parameters fail the validationCloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be
sent@Beta(value=V1_11_0) rx.Observable<DeletedVault> getDeletedAsync(String vaultName, String location)
vaultName
- The name of the vault.location
- The location of the deleted vault.ServiceFuture
objectIllegalArgumentException
- thrown if parameters fail the validation@Beta(value=V1_11_0) void purgeDeleted(String vaultName, String location)
vaultName
- The name of the soft-deleted vault.location
- The location of the soft-deleted vault.IllegalArgumentException
- thrown if parameters fail the validationCloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be
sent@Beta(value=V1_11_0) rx.Completable purgeDeletedAsync(String vaultName, String location)
vaultName
- The name of the soft-deleted vault.location
- The location of the soft-deleted vault.IllegalArgumentException
- thrown if parameters fail the validation@Beta(value=V1_11_0) CheckNameAvailabilityResult checkNameAvailability(String name)
name
- The vault name.IllegalArgumentException
- thrown if parameters fail the validationCloudException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be
sent@Beta(value=V1_11_0) rx.Observable<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name)
name
- The vault name.IllegalArgumentException
- thrown if parameters fail the validation@Beta(value=V1_11_0) Vault recoverSoftDeletedVault(String resourceGroupName, String vaultName, String location)
resourceGroupName
- The name of the Resource Group to which the server belongs.vaultName
- Name of the vaultlocation
- The location of the deleted vault.@Beta(value=V1_11_0) rx.Observable<Vault> recoverSoftDeletedVaultAsync(String resourceGroupName, String vaultName, String location)
resourceGroupName
- The name of the Resource Group to which the server belongs.vaultName
- Name of the vaultlocation
- The location of the deleted vault.Copyright © 2019. All rights reserved.