Vaults Interface

Implements

SupportsDeletingByResourceGroup SupportsGettingById<Vault> SupportsGettingByResourceGroup<Vault> SupportsListingByResourceGroup<Vault> HasManager<com.microsoft.azure.management.keyvault.implementation.KeyVaultManager> SupportsCreating<Blank> SupportsDeletingById HasInner<com.microsoft.azure.management.keyvault.implementation.VaultsInner>

public interface Vaults
extends SupportsCreating<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 Type Method and Description
abstract CheckNameAvailabilityResult checkNameAvailability(String name)

Checks that the vault name is valid and is not already in use.

abstract rx.Observable<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name)

Checks that the vault name is valid and is not already in use.

abstract DeletedVault getDeleted(String vaultName, String location)

Gets the deleted Azure key vault.

abstract rx.Observable<DeletedVault> getDeletedAsync(String vaultName, String location)

Gets the deleted Azure key vault.

abstract com.microsoft.azure.PagedList<DeletedVault> listDeleted()

Gets information about the deleted vaults in a subscription.

abstract rx.Observable<DeletedVault> listDeletedAsync()

Gets information about the deleted vaults in a subscription.

abstract void purgeDeleted(String vaultName, String location)

Permanently deletes the specified vault.

abstract rx.Completable purgeDeletedAsync(String vaultName, String location)

Permanently deletes the specified vault.

abstract Vault recoverSoftDeletedVault(String resourceGroupName, String vaultName, String location)

Recovers a soft deleted vault.

abstract rx.Observable<Vault> recoverSoftDeletedVaultAsync(String resourceGroupName, String vaultName, String location)

Recovers a soft deleted vault.

Method Details

checkNameAvailability

public abstract CheckNameAvailabilityResult checkNameAvailability(String name)

Checks that the vault name is valid and is not already in use.

Parameters:

name - The vault name.

Returns:

the CheckNameAvailabilityResult object if successful.

checkNameAvailabilityAsync

public abstract Observable checkNameAvailabilityAsync(String name)

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

getDeleted

public abstract DeletedVault getDeleted(String vaultName, String location)

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.

getDeletedAsync

public abstract Observable getDeletedAsync(String vaultName, String location)

Gets the deleted Azure key vault.

Parameters:

vaultName - The name of the vault.
location - The location of the deleted vault.

Returns:

the ServiceFuture object

listDeleted

public abstract PagedList listDeleted()

Gets information about the deleted vaults in a subscription.

Returns:

the PagedList<DeletedVault> object if successful.

listDeletedAsync

public abstract Observable listDeletedAsync()

Gets information about the deleted vaults in a subscription.

Returns:

the observable to the PagedList<DeletedVault> object

purgeDeleted

public abstract void purgeDeleted(String vaultName, String location)

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.

purgeDeletedAsync

public abstract Completable purgeDeletedAsync(String vaultName, String location)

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

recoverSoftDeletedVault

public abstract 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 vault
location - The location of the deleted vault.

Returns:

the recovered Vault object if successful

recoverSoftDeletedVaultAsync

public abstract Observable 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 vault
location - The location of the deleted vault.

Returns:

the recovered Vault object if successful

Applies to