public interface Vaults extends SupportsCreating<Vault.DefinitionStages.Blank>, SupportsDeletingById, SupportsListingByResourceGroup<Vault>, SupportsGettingByResourceGroup<Vault>, SupportsGettingById<Vault>, SupportsDeletingByResourceGroup, HasManager<KeyVaultManager>, HasInner<VaultsClient>
| Modifier and Type | Method and Description |
|---|---|
CheckNameAvailabilityResult |
checkNameAvailability(String name)
Checks that the vault name is valid and is not already in use.
|
Mono<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.
|
Mono<DeletedVault> |
getDeletedAsync(String vaultName,
String location)
Gets the deleted Azure key vault.
|
com.azure.core.http.rest.PagedIterable<DeletedVault> |
listDeleted()
Gets information about the deleted vaults in a subscription.
|
com.azure.core.http.rest.PagedFlux<DeletedVault> |
listDeletedAsync()
Gets information about the deleted vaults in a subscription.
|
void |
purgeDeleted(String vaultName,
String location)
Permanently deletes the specified vault.
|
Mono<Void> |
purgeDeletedAsync(String vaultName,
String location)
Permanently deletes the specified vault.
|
Vault |
recoverSoftDeletedVault(String resourceGroupName,
String vaultName,
String location)
Recovers a soft deleted vault.
|
Mono<Vault> |
recoverSoftDeletedVaultAsync(String resourceGroupName,
String vaultName,
String location)
Recovers a soft deleted vault.
|
definedeleteById, deleteByIdAsynclistByResourceGroup, listByResourceGroupAsyncgetByResourceGroup, getByResourceGroupAsyncgetById, getByIdAsyncdeleteByResourceGroup, deleteByResourceGroupAsyncmanagercom.azure.core.http.rest.PagedIterable<DeletedVault> listDeleted()
IllegalArgumentException - thrown if parameters fail the validationcom.azure.core.management.exception.ManagementException - thrown if the request is rejected by serverRuntimeException - all other wrapped checked exceptions if the request fails to be sentcom.azure.core.http.rest.PagedFlux<DeletedVault> listDeletedAsync()
IllegalArgumentException - thrown if parameters fail the validationDeletedVault getDeleted(String vaultName, String location)
vaultName - The name of the vault.location - The location of the deleted vault.IllegalArgumentException - thrown if parameters fail the validationcom.azure.core.management.exception.ManagementException - thrown if the request is rejected by serverRuntimeException - all other wrapped checked exceptions if the request fails to be sentMono<DeletedVault> getDeletedAsync(String vaultName, String location)
vaultName - The name of the vault.location - The location of the deleted vault.Mono objectIllegalArgumentException - thrown if parameters fail the validationvoid 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 validationcom.azure.core.management.exception.ManagementException - thrown if the request is rejected by serverRuntimeException - all other wrapped checked exceptions if the request fails to be sentMono<Void> 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 validationCheckNameAvailabilityResult checkNameAvailability(String name)
name - The vault name.IllegalArgumentException - thrown if parameters fail the validationcom.azure.core.management.exception.ManagementException - thrown if the request is rejected by serverRuntimeException - all other wrapped checked exceptions if the request fails to be sentMono<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name)
name - The vault name.IllegalArgumentException - thrown if parameters fail the validationVault 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.Mono<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 © 2020. All rights reserved.