Interface ManagedHsmsClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<ManagedHsmInner>,InnerSupportsListing<ManagedHsmInner>
public interface ManagedHsmsClient
extends InnerSupportsGet<ManagedHsmInner>, InnerSupportsListing<ManagedHsmInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in ManagedHsmsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.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.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.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.beginDelete(String resourceGroupName, String name) Deletes the specified managed HSM Pool.beginDelete(String resourceGroupName, String name, com.azure.core.util.Context context) Deletes the specified managed HSM Pool.beginDeleteAsync(String resourceGroupName, String name) Deletes the specified managed HSM Pool.beginPurgeDeleted(String name, String location) Permanently deletes the specified managed HSM.beginPurgeDeleted(String name, String location, com.azure.core.util.Context context) Permanently deletes the specified managed HSM.beginPurgeDeletedAsync(String name, String location) Permanently deletes the specified managed HSM.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.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.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.Checks that the managed hsm name is valid and is not already in use.Checks that the managed hsm name is valid and is not already in use.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.Mono<com.azure.core.http.rest.Response<CheckMhsmNameAvailabilityResultInner>> Checks that the managed hsm name is valid and is not already in use.createOrUpdate(String resourceGroupName, String name, ManagedHsmInner parameters) Create or update a managed HSM Pool in the specified subscription.createOrUpdate(String resourceGroupName, String name, ManagedHsmInner parameters, com.azure.core.util.Context context) Create or update a managed HSM Pool in the specified subscription.createOrUpdateAsync(String resourceGroupName, String name, ManagedHsmInner parameters) Create or update a managed HSM Pool in the specified subscription.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.voidDeletes the specified managed HSM Pool.voidDeletes the specified managed HSM Pool.deleteAsync(String resourceGroupName, String name) Deletes the specified managed HSM Pool.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String name) Deletes the specified managed HSM Pool.getByResourceGroup(String resourceGroupName, String name) Gets the specified managed HSM Pool.getByResourceGroupAsync(String resourceGroupName, String name) Gets the specified managed HSM Pool.com.azure.core.http.rest.Response<ManagedHsmInner> getByResourceGroupWithResponse(String resourceGroupName, String name, com.azure.core.util.Context context) Gets the specified managed HSM Pool.Mono<com.azure.core.http.rest.Response<ManagedHsmInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String name) Gets the specified managed HSM Pool.getDeleted(String name, String location) Gets the specified deleted managed HSM.getDeletedAsync(String name, String location) Gets the specified deleted managed HSM.com.azure.core.http.rest.Response<DeletedManagedHsmInner> getDeletedWithResponse(String name, String location, com.azure.core.util.Context context) Gets the specified deleted managed HSM.Mono<com.azure.core.http.rest.Response<DeletedManagedHsmInner>> getDeletedWithResponseAsync(String name, String location) Gets the specified deleted managed HSM.com.azure.core.http.rest.PagedIterable<ManagedHsmInner> list()The List operation gets information about the managed HSM Pools associated with the subscription.com.azure.core.http.rest.PagedIterable<ManagedHsmInner> The List operation gets information about the managed HSM Pools associated with the subscription.com.azure.core.http.rest.PagedFlux<ManagedHsmInner> The List operation gets information about the managed HSM Pools associated with the subscription.com.azure.core.http.rest.PagedFlux<ManagedHsmInner> The List operation gets information about the managed HSM Pools associated with the subscription.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.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.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.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.com.azure.core.http.rest.PagedIterable<DeletedManagedHsmInner> The List operation gets information about the deleted managed HSMs associated with the subscription.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.com.azure.core.http.rest.PagedFlux<DeletedManagedHsmInner> The List operation gets information about the deleted managed HSMs associated with the subscription.voidpurgeDeleted(String name, String location) Permanently deletes the specified managed HSM.voidpurgeDeleted(String name, String location, com.azure.core.util.Context context) Permanently deletes the specified managed HSM.purgeDeletedAsync(String name, String location) Permanently deletes the specified managed HSM.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> purgeDeletedWithResponseAsync(String name, String location) Permanently deletes the specified managed HSM.update(String resourceGroupName, String name, ManagedHsmInner parameters) Update a managed HSM Pool in the specified subscription.update(String resourceGroupName, String name, ManagedHsmInner parameters, com.azure.core.util.Context context) Update a managed HSM Pool in the specified subscription.updateAsync(String resourceGroupName, String name, ManagedHsmInner parameters) Update a managed HSM Pool in the specified subscription.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.
-
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
Responseon successful completion ofMono. - 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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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
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
Responseon successful completion ofMono. - 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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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
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
Responseon successful completion ofMono. - 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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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
Deletes the specified managed HSM Pool.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<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
Monothat 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
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
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
Responseon successful completion ofMono. - 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
Gets the specified managed HSM Pool.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<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
Gets the specified managed HSM Pool.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<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:
listByResourceGroupAsyncin interfaceInnerSupportsListing<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:
listByResourceGroupin interfaceInnerSupportsListing<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
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:
listAsyncin interfaceInnerSupportsListing<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:
listin interfaceInnerSupportsListing<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
Responseon successful completion ofMono. - 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
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
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
Responseon successful completion ofMono. - 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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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
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
Monothat 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
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
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
Responseon successful completion ofMono. - 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
Mono<CheckMhsmNameAvailabilityResultInner> checkMhsmNameAvailabilityAsync(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 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
CheckMhsmNameAvailabilityResultInner checkMhsmNameAvailability(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.
- 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.
-