Interface ManagedHsmsClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<ManagedHsmInner>, InnerSupportsListing<ManagedHsmInner>

An instance of this class provides access to all the operations defined in ManagedHsmsClient.
  • Method Details

    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String name, ManagedHsmInner parameters)
      Create or update a managed HSM Pool in the specified subscription.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - Name of the managed HSM Pool.
      parameters - Parameters to create or update the managed HSM Pool.
      Returns:
      resource information with extended details along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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<ManagedHsmInner>,ManagedHsmInner> beginCreateOrUpdateAsync(String resourceGroupName, String name, ManagedHsmInner parameters)
      Create or update a managed HSM Pool in the specified subscription.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - Name of the managed HSM Pool.
      parameters - Parameters to create or update the managed HSM Pool.
      Returns:
      the PollerFlux for polling of resource information with extended details.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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<ManagedHsmInner>,ManagedHsmInner> beginCreateOrUpdate(String resourceGroupName, String name, ManagedHsmInner parameters)
      Create or update a managed HSM Pool in the specified subscription.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - Name of the managed HSM Pool.
      parameters - Parameters to create or update the managed HSM Pool.
      Returns:
      the SyncPoller for polling of resource information with extended details.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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<ManagedHsmInner>,ManagedHsmInner> beginCreateOrUpdate(String resourceGroupName, String name, ManagedHsmInner parameters, com.azure.core.util.Context context)
      Create or update a managed HSM Pool in the specified subscription.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - Name of the managed HSM Pool.
      parameters - Parameters to create or update the managed HSM Pool.
      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.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateAsync

      Mono<ManagedHsmInner> createOrUpdateAsync(String resourceGroupName, String name, ManagedHsmInner parameters)
      Create or update a managed HSM Pool in the specified subscription.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - Name of the managed HSM Pool.
      parameters - Parameters to create or update the managed HSM Pool.
      Returns:
      resource information with extended details on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      ManagedHsmInner createOrUpdate(String resourceGroupName, String name, ManagedHsmInner parameters)
      Create or update a managed HSM Pool in the specified subscription.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - Name of the managed HSM Pool.
      parameters - Parameters to create or update the managed HSM Pool.
      Returns:
      resource information with extended details.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      ManagedHsmInner createOrUpdate(String resourceGroupName, String name, ManagedHsmInner parameters, com.azure.core.util.Context context)
      Create or update a managed HSM Pool in the specified subscription.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - Name of the managed HSM Pool.
      parameters - Parameters to create or update the managed HSM Pool.
      context - The context to associate with this operation.
      Returns:
      resource information with extended details.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String name, ManagedHsmInner parameters)
      Update a managed HSM Pool in the specified subscription.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - Name of the managed HSM Pool.
      parameters - Parameters to patch the managed HSM Pool.
      Returns:
      resource information with extended details along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedHsmInner>,ManagedHsmInner> beginUpdateAsync(String resourceGroupName, String name, ManagedHsmInner parameters)
      Update a managed HSM Pool in the specified subscription.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - Name of the managed HSM Pool.
      parameters - Parameters to patch the managed HSM Pool.
      Returns:
      the PollerFlux for polling of resource information with extended details.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedHsmInner>,ManagedHsmInner> beginUpdate(String resourceGroupName, String name, ManagedHsmInner parameters)
      Update a managed HSM Pool in the specified subscription.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - Name of the managed HSM Pool.
      parameters - Parameters to patch the managed HSM Pool.
      Returns:
      the SyncPoller for polling of resource information with extended details.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedHsmInner>,ManagedHsmInner> beginUpdate(String resourceGroupName, String name, ManagedHsmInner parameters, com.azure.core.util.Context context)
      Update a managed HSM Pool in the specified subscription.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - Name of the managed HSM Pool.
      parameters - Parameters to patch the managed HSM Pool.
      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.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateAsync

      Mono<ManagedHsmInner> updateAsync(String resourceGroupName, String name, ManagedHsmInner parameters)
      Update a managed HSM Pool in the specified subscription.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - Name of the managed HSM Pool.
      parameters - Parameters to patch the managed HSM Pool.
      Returns:
      resource information with extended details on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      ManagedHsmInner update(String resourceGroupName, String name, ManagedHsmInner parameters)
      Update a managed HSM Pool in the specified subscription.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - Name of the managed HSM Pool.
      parameters - Parameters to patch the managed HSM Pool.
      Returns:
      resource information with extended details.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      ManagedHsmInner update(String resourceGroupName, String name, ManagedHsmInner parameters, com.azure.core.util.Context context)
      Update a managed HSM Pool in the specified subscription.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - Name of the managed HSM Pool.
      parameters - Parameters to patch the managed HSM Pool.
      context - The context to associate with this operation.
      Returns:
      resource information with extended details.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String name)
      Deletes the specified managed HSM Pool.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - The name of the managed HSM Pool to delete.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String name)
      Deletes the specified managed HSM Pool.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - The name of the managed HSM Pool to delete.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String name)
      Deletes the specified managed HSM Pool.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - The name of the managed HSM Pool to delete.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String name, com.azure.core.util.Context context)
      Deletes the specified managed HSM Pool.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - The name of the managed HSM Pool to delete.
      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.
      ErrorException - 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 name)
      Deletes the specified managed HSM Pool.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - The name of the managed HSM Pool to delete.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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 name)
      Deletes the specified managed HSM Pool.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - The name of the managed HSM Pool to delete.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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 name, com.azure.core.util.Context context)
      Deletes the specified managed HSM Pool.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - The name of the managed HSM Pool to delete.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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<ManagedHsmInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String name)
      Gets the specified managed HSM Pool.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - The name of the managed HSM Pool.
      Returns:
      the specified managed HSM Pool along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupAsync

      Mono<ManagedHsmInner> getByResourceGroupAsync(String resourceGroupName, String name)
      Gets the specified managed HSM Pool.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<ManagedHsmInner>
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - The name of the managed HSM Pool.
      Returns:
      the specified managed HSM Pool on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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<ManagedHsmInner> getByResourceGroupWithResponse(String resourceGroupName, String name, com.azure.core.util.Context context)
      Gets the specified managed HSM Pool.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - The name of the managed HSM Pool.
      context - The context to associate with this operation.
      Returns:
      the specified managed HSM Pool along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroup

      ManagedHsmInner getByResourceGroup(String resourceGroupName, String name)
      Gets the specified managed HSM Pool.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<ManagedHsmInner>
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - The name of the managed HSM Pool.
      Returns:
      the specified managed HSM Pool.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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<ManagedHsmInner> listByResourceGroupAsync(String resourceGroupName, Integer top)
      The List operation gets information about the managed HSM Pools associated with the subscription and within the specified resource group.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      top - Maximum number of results to return.
      Returns:
      list of managed HSM Pools as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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<ManagedHsmInner> listByResourceGroupAsync(String resourceGroupName)
      The List operation gets information about the managed HSM Pools associated with the subscription and within the specified resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<ManagedHsmInner>
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      Returns:
      list of managed HSM Pools as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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<ManagedHsmInner> listByResourceGroup(String resourceGroupName)
      The List operation gets information about the managed HSM Pools associated with the subscription and within the specified resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<ManagedHsmInner>
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      Returns:
      list of managed HSM Pools as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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<ManagedHsmInner> listByResourceGroup(String resourceGroupName, Integer top, com.azure.core.util.Context context)
      The List operation gets information about the managed HSM Pools associated with the subscription and within the specified resource group.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      top - Maximum number of results to return.
      context - The context to associate with this operation.
      Returns:
      list of managed HSM Pools as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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<ManagedHsmInner> listAsync(Integer top)
      The List operation gets information about the managed HSM Pools associated with the subscription.
      Parameters:
      top - Maximum number of results to return.
      Returns:
      list of managed HSM Pools as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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<ManagedHsmInner> listAsync()
      The List operation gets information about the managed HSM Pools associated with the subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<ManagedHsmInner>
      Returns:
      list of managed HSM Pools as paginated response with PagedFlux.
      Throws:
      ErrorException - 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<ManagedHsmInner> list()
      The List operation gets information about the managed HSM Pools associated with the subscription.
      Specified by:
      list in interface InnerSupportsListing<ManagedHsmInner>
      Returns:
      list of managed HSM Pools as paginated response with PagedIterable.
      Throws:
      ErrorException - 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<ManagedHsmInner> list(Integer top, com.azure.core.util.Context context)
      The List operation gets information about the managed HSM Pools associated with the subscription.
      Parameters:
      top - Maximum number of results to return.
      context - The context to associate with this operation.
      Returns:
      list of managed HSM Pools as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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<DeletedManagedHsmInner> listDeletedAsync()
      The List operation gets information about the deleted managed HSMs associated with the subscription.
      Returns:
      list of deleted managed HSM Pools as paginated response with PagedFlux.
      Throws:
      ErrorException - 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<DeletedManagedHsmInner> listDeleted()
      The List operation gets information about the deleted managed HSMs associated with the subscription.
      Returns:
      list of deleted managed HSM Pools as paginated response with PagedIterable.
      Throws:
      ErrorException - 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<DeletedManagedHsmInner> listDeleted(com.azure.core.util.Context context)
      The List operation gets information about the deleted managed HSMs associated with the subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      list of deleted managed HSM Pools as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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<DeletedManagedHsmInner>> getDeletedWithResponseAsync(String name, String location)
      Gets the specified deleted managed HSM.
      Parameters:
      name - The name of the deleted managed HSM.
      location - The location of the deleted managed HSM.
      Returns:
      the specified deleted managed HSM along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getDeletedAsync

      Mono<DeletedManagedHsmInner> getDeletedAsync(String name, String location)
      Gets the specified deleted managed HSM.
      Parameters:
      name - The name of the deleted managed HSM.
      location - The location of the deleted managed HSM.
      Returns:
      the specified deleted managed HSM on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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<DeletedManagedHsmInner> getDeletedWithResponse(String name, String location, com.azure.core.util.Context context)
      Gets the specified deleted managed HSM.
      Parameters:
      name - The name of the deleted managed HSM.
      location - The location of the deleted managed HSM.
      context - The context to associate with this operation.
      Returns:
      the specified deleted managed HSM along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getDeleted

      DeletedManagedHsmInner getDeleted(String name, String location)
      Gets the specified deleted managed HSM.
      Parameters:
      name - The name of the deleted managed HSM.
      location - The location of the deleted managed HSM.
      Returns:
      the specified deleted managed HSM.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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 name, String location)
      Permanently deletes the specified managed HSM.
      Parameters:
      name - The name of the soft-deleted managed HSM.
      location - The location of the soft-deleted managed HSM.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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 name, String location)
      Permanently deletes the specified managed HSM.
      Parameters:
      name - The name of the soft-deleted managed HSM.
      location - The location of the soft-deleted managed HSM.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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 name, String location)
      Permanently deletes the specified managed HSM.
      Parameters:
      name - The name of the soft-deleted managed HSM.
      location - The location of the soft-deleted managed HSM.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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 name, String location, com.azure.core.util.Context context)
      Permanently deletes the specified managed HSM.
      Parameters:
      name - The name of the soft-deleted managed HSM.
      location - The location of the soft-deleted managed HSM.
      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.
      ErrorException - 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 name, String location)
      Permanently deletes the specified managed HSM.
      Parameters:
      name - The name of the soft-deleted managed HSM.
      location - The location of the soft-deleted managed HSM.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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 name, String location)
      Permanently deletes the specified managed HSM.
      Parameters:
      name - The name of the soft-deleted managed HSM.
      location - The location of the soft-deleted managed HSM.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - 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 name, String location, com.azure.core.util.Context context)
      Permanently deletes the specified managed HSM.
      Parameters:
      name - The name of the soft-deleted managed HSM.
      location - The location of the soft-deleted managed HSM.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • checkMhsmNameAvailabilityWithResponseAsync

      Mono<com.azure.core.http.rest.Response<CheckMhsmNameAvailabilityResultInner>> checkMhsmNameAvailabilityWithResponseAsync(CheckMhsmNameAvailabilityParameters mhsmName)
      Checks that the managed hsm name is valid and is not already in use.
      Parameters:
      mhsmName - The name of the managed hsm.
      Returns:
      the CheckMhsmNameAvailability 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.
    • checkMhsmNameAvailabilityAsync

      Checks that the managed hsm name is valid and is not already in use.
      Parameters:
      mhsmName - The name of the managed hsm.
      Returns:
      the CheckMhsmNameAvailability 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.
    • checkMhsmNameAvailabilityWithResponse

      com.azure.core.http.rest.Response<CheckMhsmNameAvailabilityResultInner> checkMhsmNameAvailabilityWithResponse(CheckMhsmNameAvailabilityParameters mhsmName, com.azure.core.util.Context context)
      Checks that the managed hsm name is valid and is not already in use.
      Parameters:
      mhsmName - The name of the managed hsm.
      context - The context to associate with this operation.
      Returns:
      the CheckMhsmNameAvailability 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.
    • checkMhsmNameAvailability

      Checks that the managed hsm name is valid and is not already in use.
      Parameters:
      mhsmName - The name of the managed hsm.
      Returns:
      the CheckMhsmNameAvailability 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.