Interface VaultsClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<VaultInner>

public interface VaultsClient extends InnerSupportsGet<VaultInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in VaultsClient.
  • Method Details

    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters)
      Create or update a key vault in the specified subscription.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the server belongs.
      vaultName - Name of the vault.
      parameters - Parameters to create or update the vault.
      Returns:
      resource information with extended details along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VaultInner>,VaultInner> beginCreateOrUpdateAsync(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters)
      Create or update a key vault in the specified subscription.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the server belongs.
      vaultName - Name of the vault.
      parameters - Parameters to create or update the vault.
      Returns:
      the PollerFlux for polling of resource information with extended details.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VaultInner>,VaultInner> beginCreateOrUpdate(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters)
      Create or update a key vault in the specified subscription.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the server belongs.
      vaultName - Name of the vault.
      parameters - Parameters to create or update the vault.
      Returns:
      the SyncPoller for polling of resource information with extended details.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VaultInner>,VaultInner> beginCreateOrUpdate(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters, com.azure.core.util.Context context)
      Create or update a key vault in the specified subscription.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the server belongs.
      vaultName - Name of the vault.
      parameters - Parameters to create or update the vault.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of resource information with extended details.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateAsync

      Mono<VaultInner> createOrUpdateAsync(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters)
      Create or update a key vault in the specified subscription.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the server belongs.
      vaultName - Name of the vault.
      parameters - Parameters to create or update the vault.
      Returns:
      resource information with extended details on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      VaultInner createOrUpdate(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters)
      Create or update a key vault in the specified subscription.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the server belongs.
      vaultName - Name of the vault.
      parameters - Parameters to create or update the vault.
      Returns:
      resource information with extended details.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      VaultInner createOrUpdate(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters, com.azure.core.util.Context context)
      Create or update a key vault in the specified subscription.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the server belongs.
      vaultName - Name of the vault.
      parameters - Parameters to create or update the vault.
      context - The context to associate with this operation.
      Returns:
      resource information with extended details.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<VaultInner>> updateWithResponseAsync(String resourceGroupName, String vaultName, VaultPatchParameters parameters)
      Update a key vault in the specified subscription.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the server belongs.
      vaultName - Name of the vault.
      parameters - Parameters to patch the vault.
      Returns:
      resource information with extended details along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateAsync

      Mono<VaultInner> updateAsync(String resourceGroupName, String vaultName, VaultPatchParameters parameters)
      Update a key vault in the specified subscription.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the server belongs.
      vaultName - Name of the vault.
      parameters - Parameters to patch the vault.
      Returns:
      resource information with extended details on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateWithResponse

      com.azure.core.http.rest.Response<VaultInner> updateWithResponse(String resourceGroupName, String vaultName, VaultPatchParameters parameters, com.azure.core.util.Context context)
      Update a key vault in the specified subscription.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the server belongs.
      vaultName - Name of the vault.
      parameters - Parameters to patch the vault.
      context - The context to associate with this operation.
      Returns:
      resource information with extended details along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      VaultInner update(String resourceGroupName, String vaultName, VaultPatchParameters parameters)
      Update a key vault in the specified subscription.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the server belongs.
      vaultName - Name of the vault.
      parameters - Parameters to patch the vault.
      Returns:
      resource information with extended details.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String vaultName)
      Deletes the specified Azure key vault.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the vault belongs.
      vaultName - The name of the vault to delete.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String vaultName)
      Deletes the specified Azure key vault.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the Resource Group to which the vault belongs.
      vaultName - The name of the vault to delete.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String vaultName, com.azure.core.util.Context context)
      Deletes the specified Azure key vault.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the vault belongs.
      vaultName - The name of the vault to delete.
      context - The context to associate with this operation.
      Returns:
      the Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String vaultName)
      Deletes the specified Azure key vault.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the vault belongs.
      vaultName - The name of the vault to delete.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupWithResponseAsync

      Mono<com.azure.core.http.rest.Response<VaultInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String vaultName)
      Gets the specified Azure key vault.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the vault belongs.
      vaultName - The name of the vault.
      Returns:
      the specified Azure key vault along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupAsync

      Mono<VaultInner> getByResourceGroupAsync(String resourceGroupName, String vaultName)
      Gets the specified Azure key vault.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<VaultInner>
      Parameters:
      resourceGroupName - The name of the Resource Group to which the vault belongs.
      vaultName - The name of the vault.
      Returns:
      the specified Azure key vault on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<VaultInner> getByResourceGroupWithResponse(String resourceGroupName, String vaultName, com.azure.core.util.Context context)
      Gets the specified Azure key vault.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the vault belongs.
      vaultName - The name of the vault.
      context - The context to associate with this operation.
      Returns:
      the specified Azure key vault along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroup

      VaultInner getByResourceGroup(String resourceGroupName, String vaultName)
      Gets the specified Azure key vault.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<VaultInner>
      Parameters:
      resourceGroupName - The name of the Resource Group to which the vault belongs.
      vaultName - The name of the vault.
      Returns:
      the specified Azure key vault.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateAccessPolicyWithResponseAsync

      Mono<com.azure.core.http.rest.Response<VaultAccessPolicyParametersInner>> updateAccessPolicyWithResponseAsync(String resourceGroupName, String vaultName, AccessPolicyUpdateKind operationKind, VaultAccessPolicyParametersInner parameters)
      Update access policies in a key vault in the specified subscription.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the vault belongs.
      vaultName - Name of the vault.
      operationKind - Name of the operation.
      parameters - Access policy to merge into the vault.
      Returns:
      parameters for updating the access policy in a vault along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateAccessPolicyAsync

      Mono<VaultAccessPolicyParametersInner> updateAccessPolicyAsync(String resourceGroupName, String vaultName, AccessPolicyUpdateKind operationKind, VaultAccessPolicyParametersInner parameters)
      Update access policies in a key vault in the specified subscription.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the vault belongs.
      vaultName - Name of the vault.
      operationKind - Name of the operation.
      parameters - Access policy to merge into the vault.
      Returns:
      parameters for updating the access policy in a vault on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateAccessPolicyWithResponse

      com.azure.core.http.rest.Response<VaultAccessPolicyParametersInner> updateAccessPolicyWithResponse(String resourceGroupName, String vaultName, AccessPolicyUpdateKind operationKind, VaultAccessPolicyParametersInner parameters, com.azure.core.util.Context context)
      Update access policies in a key vault in the specified subscription.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the vault belongs.
      vaultName - Name of the vault.
      operationKind - Name of the operation.
      parameters - Access policy to merge into the vault.
      context - The context to associate with this operation.
      Returns:
      parameters for updating the access policy in a vault along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateAccessPolicy

      VaultAccessPolicyParametersInner updateAccessPolicy(String resourceGroupName, String vaultName, AccessPolicyUpdateKind operationKind, VaultAccessPolicyParametersInner parameters)
      Update access policies in a key vault in the specified subscription.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the vault belongs.
      vaultName - Name of the vault.
      operationKind - Name of the operation.
      parameters - Access policy to merge into the vault.
      Returns:
      parameters for updating the access policy in a vault.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<VaultInner> listByResourceGroupAsync(String resourceGroupName, Integer top)
      The List operation gets information about the vaults associated with the subscription and within the specified resource group.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the vault belongs.
      top - Maximum number of results to return.
      Returns:
      list of vaults as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<VaultInner> listByResourceGroupAsync(String resourceGroupName)
      The List operation gets information about the vaults associated with the subscription and within the specified resource group.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the vault belongs.
      Returns:
      list of vaults as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<VaultInner> listByResourceGroup(String resourceGroupName)
      The List operation gets information about the vaults associated with the subscription and within the specified resource group.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the vault belongs.
      Returns:
      list of vaults as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<VaultInner> listByResourceGroup(String resourceGroupName, Integer top, com.azure.core.util.Context context)
      The List operation gets information about the vaults associated with the subscription and within the specified resource group.
      Parameters:
      resourceGroupName - The name of the Resource Group to which the vault belongs.
      top - Maximum number of results to return.
      context - The context to associate with this operation.
      Returns:
      list of vaults as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listBySubscriptionAsync

      com.azure.core.http.rest.PagedFlux<VaultInner> listBySubscriptionAsync(Integer top)
      The List operation gets information about the vaults associated with the subscription.
      Parameters:
      top - Maximum number of results to return.
      Returns:
      list of vaults as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listBySubscriptionAsync

      com.azure.core.http.rest.PagedFlux<VaultInner> listBySubscriptionAsync()
      The List operation gets information about the vaults associated with the subscription.
      Returns:
      list of vaults as paginated response with PagedFlux.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listBySubscription

      com.azure.core.http.rest.PagedIterable<VaultInner> listBySubscription()
      The List operation gets information about the vaults associated with the subscription.
      Returns:
      list of vaults as paginated response with PagedIterable.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listBySubscription

      com.azure.core.http.rest.PagedIterable<VaultInner> listBySubscription(Integer top, com.azure.core.util.Context context)
      The List operation gets information about the vaults associated with the subscription.
      Parameters:
      top - Maximum number of results to return.
      context - The context to associate with this operation.
      Returns:
      list of vaults as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listDeletedAsync

      com.azure.core.http.rest.PagedFlux<DeletedVaultInner> listDeletedAsync()
      Gets information about the deleted vaults in a subscription.
      Returns:
      information about the deleted vaults in a subscription as paginated response with PagedFlux.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listDeleted

      com.azure.core.http.rest.PagedIterable<DeletedVaultInner> listDeleted()
      Gets information about the deleted vaults in a subscription.
      Returns:
      information about the deleted vaults in a subscription as paginated response with PagedIterable.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listDeleted

      com.azure.core.http.rest.PagedIterable<DeletedVaultInner> listDeleted(com.azure.core.util.Context context)
      Gets information about the deleted vaults in a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      information about the deleted vaults in a subscription as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getDeletedWithResponseAsync

      Mono<com.azure.core.http.rest.Response<DeletedVaultInner>> getDeletedWithResponseAsync(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 deleted Azure key vault along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getDeletedAsync

      Mono<DeletedVaultInner> 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 deleted Azure key vault on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getDeletedWithResponse

      com.azure.core.http.rest.Response<DeletedVaultInner> getDeletedWithResponse(String vaultName, String location, com.azure.core.util.Context context)
      Gets the deleted Azure key vault.
      Parameters:
      vaultName - The name of the vault.
      location - The location of the deleted vault.
      context - The context to associate with this operation.
      Returns:
      the deleted Azure key vault along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getDeleted

      DeletedVaultInner 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 deleted Azure key vault.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • purgeDeletedWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> purgeDeletedWithResponseAsync(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 Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginPurgeDeletedAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginPurgeDeletedAsync(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 PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginPurgeDeleted

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPurgeDeleted(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 SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginPurgeDeleted

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPurgeDeleted(String vaultName, String location, com.azure.core.util.Context context)
      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.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • purgeDeletedAsync

      Mono<Void> 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:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • purgeDeleted

      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.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • purgeDeleted

      void purgeDeleted(String vaultName, String location, com.azure.core.util.Context context)
      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.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listAsync

      com.azure.core.http.rest.PagedFlux<com.azure.core.management.Resource> listAsync(Integer top)
      The List operation gets information about the vaults associated with the subscription.
      Parameters:
      top - Maximum number of results to return.
      Returns:
      list of vault resources as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listAsync

      com.azure.core.http.rest.PagedFlux<com.azure.core.management.Resource> listAsync()
      The List operation gets information about the vaults associated with the subscription.
      Returns:
      list of vault resources as paginated response with PagedFlux.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<com.azure.core.management.Resource> list()
      The List operation gets information about the vaults associated with the subscription.
      Returns:
      list of vault resources as paginated response with PagedIterable.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<com.azure.core.management.Resource> list(Integer top, com.azure.core.util.Context context)
      The List operation gets information about the vaults associated with the subscription.
      Parameters:
      top - Maximum number of results to return.
      context - The context to associate with this operation.
      Returns:
      list of vault resources as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • checkNameAvailabilityWithResponseAsync

      Mono<com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner>> checkNameAvailabilityWithResponseAsync(VaultCheckNameAvailabilityParameters vaultName)
      Checks that the vault name is valid and is not already in use.
      Parameters:
      vaultName - The name of the vault.
      Returns:
      the CheckNameAvailability operation response along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - 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:
      vaultName - The name of the vault.
      Returns:
      the CheckNameAvailability operation response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • checkNameAvailabilityWithResponse

      com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner> checkNameAvailabilityWithResponse(VaultCheckNameAvailabilityParameters vaultName, com.azure.core.util.Context context)
      Checks that the vault name is valid and is not already in use.
      Parameters:
      vaultName - The name of the vault.
      context - The context to associate with this operation.
      Returns:
      the CheckNameAvailability operation response along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • checkNameAvailability

      Checks that the vault name is valid and is not already in use.
      Parameters:
      vaultName - The name of the vault.
      Returns:
      the CheckNameAvailability operation response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.