Interface Vaults
- All Superinterfaces:
HasInner<com.microsoft.azure.management.keyvault.implementation.VaultsInner>,HasManager<com.microsoft.azure.management.keyvault.implementation.KeyVaultManager>,SupportsCreating<Vault.DefinitionStages.Blank>,SupportsDeletingById,SupportsDeletingByResourceGroup,SupportsGettingById<Vault>,SupportsGettingByResourceGroup<Vault>,SupportsListingByResourceGroup<Vault>
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>
Entry point for key vaults management API.
-
Method Summary
Modifier and TypeMethodDescriptioncheckNameAvailability(String name) Checks that the vault name is valid and is not already in use.rx.Observable<CheckNameAvailabilityResult>Checks that the vault name is valid and is not already in use.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.com.microsoft.azure.PagedList<DeletedVault>Gets information about the deleted vaults in a subscription.rx.Observable<DeletedVault>Gets information about the deleted vaults in a subscription.voidpurgeDeleted(String vaultName, String location) Permanently deletes the specified vault.rx.CompletablepurgeDeletedAsync(String vaultName, String location) Permanently deletes the specified 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.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
innerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating
defineMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsync, deleteByIdAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup
deleteByResourceGroup, deleteByResourceGroupAsync, deleteByResourceGroupAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsync, getByIdAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup
getByResourceGroup, getByResourceGroupAsync, getByResourceGroupAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsListingByResourceGroup
listByResourceGroup, listByResourceGroupAsync
-
Method Details
-
listDeleted
Gets information about the deleted vaults in a subscription.- Returns:
- the PagedList<DeletedVault> object if successful.
- Throws:
IllegalArgumentException- thrown if parameters fail the validationcom.microsoft.azure.CloudException- thrown if the request is rejected by serverRuntimeException- all other wrapped checked exceptions if the request fails to be sent
-
listDeletedAsync
Gets information about the deleted vaults in a subscription.- Returns:
- the observable to the PagedList<DeletedVault> object
- Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
getDeleted
Gets the deleted Azure key vault.- Parameters:
vaultName- The name of the vault.location- The location of the deleted vault.- Returns:
- the DeletedVault object if successful.
- Throws:
IllegalArgumentException- thrown if parameters fail the validationcom.microsoft.azure.CloudException- thrown if the request is rejected by serverRuntimeException- all other wrapped checked exceptions if the request fails to be sent
-
getDeletedAsync
Gets the deleted Azure key vault.- Parameters:
vaultName- The name of the vault.location- The location of the deleted vault.- Returns:
- the
ServiceFutureobject - Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
purgeDeleted
Permanently deletes the specified vault. aka Purges the deleted Azure key vault.- Parameters:
vaultName- The name of the soft-deleted vault.location- The location of the soft-deleted vault.- Throws:
IllegalArgumentException- thrown if parameters fail the validationcom.microsoft.azure.CloudException- thrown if the request is rejected by serverRuntimeException- all other wrapped checked exceptions if the request fails to be sent
-
purgeDeletedAsync
Permanently deletes the specified vault. aka Purges the deleted Azure key vault.- Parameters:
vaultName- The name of the soft-deleted vault.location- The location of the soft-deleted vault.- Returns:
- the observable for the request
- Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
checkNameAvailability
Checks that the vault name is valid and is not already in use.- Parameters:
name- The vault name.- Returns:
- the CheckNameAvailabilityResult object if successful.
- Throws:
IllegalArgumentException- thrown if parameters fail the validationcom.microsoft.azure.CloudException- thrown if the request is rejected by serverRuntimeException- all other wrapped checked exceptions if the request fails to be sent
-
checkNameAvailabilityAsync
Checks that the vault name is valid and is not already in use.- Parameters:
name- The vault name.- Returns:
- the observable to the CheckNameAvailabilityResult object
- Throws:
IllegalArgumentException- thrown if parameters fail the validation
-
recoverSoftDeletedVault
@Beta(V1_11_0) Vault recoverSoftDeletedVault(String resourceGroupName, String vaultName, String location) Recovers a soft deleted vault.- Parameters:
resourceGroupName- The name of the Resource Group to which the server belongs.vaultName- Name of the vaultlocation- The location of the deleted vault.- Returns:
- the recovered Vault object if successful
-
recoverSoftDeletedVaultAsync
@Beta(V1_11_0) rx.Observable<Vault> recoverSoftDeletedVaultAsync(String resourceGroupName, String vaultName, String location) Recovers a soft deleted vault.- Parameters:
resourceGroupName- The name of the Resource Group to which the server belongs.vaultName- Name of the vaultlocation- The location of the deleted vault.- Returns:
- the recovered Vault object if successful
-