Interface MhsmRegionsClient


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

    • listByResourceAsync

      com.azure.core.http.rest.PagedFlux<MhsmGeoReplicatedRegionInner> listByResourceAsync(String resourceGroupName, String name)
      The List operation gets information about the regions associated with the managed HSM Pool.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - Name of the managed HSM Pool.
      Returns:
      list of regions associated with a 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.
    • listByResource

      com.azure.core.http.rest.PagedIterable<MhsmGeoReplicatedRegionInner> listByResource(String resourceGroupName, String name)
      The List operation gets information about the regions associated with the managed HSM Pool.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - Name of the managed HSM Pool.
      Returns:
      list of regions associated with a 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.
    • listByResource

      com.azure.core.http.rest.PagedIterable<MhsmGeoReplicatedRegionInner> listByResource(String resourceGroupName, String name, com.azure.core.util.Context context)
      The List operation gets information about the regions associated with the managed HSM Pool.
      Parameters:
      resourceGroupName - Name of the resource group that contains the managed HSM pool.
      name - Name of the managed HSM Pool.
      context - The context to associate with this operation.
      Returns:
      list of regions associated with a 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.