Interface MhsmPrivateEndpointConnectionsClient


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

    • listByResourceAsync

      com.azure.core.http.rest.PagedFlux<MhsmPrivateEndpointConnectionInner> listByResourceAsync(String resourceGroupName, String name)
      The List operation gets information about the private endpoint connections 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 private endpoint connections 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<MhsmPrivateEndpointConnectionInner> listByResource(String resourceGroupName, String name)
      The List operation gets information about the private endpoint connections 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 private endpoint connections 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<MhsmPrivateEndpointConnectionInner> listByResource(String resourceGroupName, String name, com.azure.core.util.Context context)
      The List operation gets information about the private endpoint connections 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 private endpoint connections 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<MhsmPrivateEndpointConnectionInner>> getWithResponseAsync(String resourceGroupName, String name, String privateEndpointConnectionName)
      Gets the specified private endpoint connection 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.
      privateEndpointConnectionName - Name of the private endpoint connection associated with the managed hsm pool.
      Returns:
      the specified private endpoint connection associated with the 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.
    • getAsync

      Mono<MhsmPrivateEndpointConnectionInner> getAsync(String resourceGroupName, String name, String privateEndpointConnectionName)
      Gets the specified private endpoint connection 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.
      privateEndpointConnectionName - Name of the private endpoint connection associated with the managed hsm pool.
      Returns:
      the specified private endpoint connection associated with the 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.
    • getWithResponse

      com.azure.core.http.rest.Response<MhsmPrivateEndpointConnectionInner> getWithResponse(String resourceGroupName, String name, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Gets the specified private endpoint connection 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.
      privateEndpointConnectionName - Name of the private endpoint connection associated with the managed hsm pool.
      context - The context to associate with this operation.
      Returns:
      the specified private endpoint connection associated with the 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.
    • get

      MhsmPrivateEndpointConnectionInner get(String resourceGroupName, String name, String privateEndpointConnectionName)
      Gets the specified private endpoint connection 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.
      privateEndpointConnectionName - Name of the private endpoint connection associated with the managed hsm pool.
      Returns:
      the specified private endpoint connection associated with the 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.
    • putWithResponseAsync

      Mono<MhsmPrivateEndpointConnectionsPutResponse> putWithResponseAsync(String resourceGroupName, String name, String privateEndpointConnectionName, MhsmPrivateEndpointConnectionInner properties)
      Updates the specified private endpoint connection 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.
      privateEndpointConnectionName - Name of the private endpoint connection associated with the managed hsm pool.
      properties - The intended state of private endpoint connection.
      Returns:
      private endpoint connection resource 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.
    • putAsync

      Mono<MhsmPrivateEndpointConnectionInner> putAsync(String resourceGroupName, String name, String privateEndpointConnectionName, MhsmPrivateEndpointConnectionInner properties)
      Updates the specified private endpoint connection 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.
      privateEndpointConnectionName - Name of the private endpoint connection associated with the managed hsm pool.
      properties - The intended state of private endpoint connection.
      Returns:
      private endpoint connection resource 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.
    • putWithResponse

      MhsmPrivateEndpointConnectionsPutResponse putWithResponse(String resourceGroupName, String name, String privateEndpointConnectionName, MhsmPrivateEndpointConnectionInner properties, com.azure.core.util.Context context)
      Updates the specified private endpoint connection 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.
      privateEndpointConnectionName - Name of the private endpoint connection associated with the managed hsm pool.
      properties - The intended state of private endpoint connection.
      context - The context to associate with this operation.
      Returns:
      private endpoint connection resource.
      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.
    • put

      MhsmPrivateEndpointConnectionInner put(String resourceGroupName, String name, String privateEndpointConnectionName, MhsmPrivateEndpointConnectionInner properties)
      Updates the specified private endpoint connection 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.
      privateEndpointConnectionName - Name of the private endpoint connection associated with the managed hsm pool.
      properties - The intended state of private endpoint connection.
      Returns:
      private endpoint connection resource.
      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<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String name, String privateEndpointConnectionName)
      Deletes the specified private endpoint connection 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.
      privateEndpointConnectionName - Name of the private endpoint connection associated with the managed hsm pool.
      Returns:
      private endpoint connection resource 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.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<MhsmPrivateEndpointConnectionInner>,MhsmPrivateEndpointConnectionInner> beginDeleteAsync(String resourceGroupName, String name, String privateEndpointConnectionName)
      Deletes the specified private endpoint connection 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.
      privateEndpointConnectionName - Name of the private endpoint connection associated with the managed hsm pool.
      Returns:
      the PollerFlux for polling of private endpoint connection resource.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MhsmPrivateEndpointConnectionInner>,MhsmPrivateEndpointConnectionInner> beginDelete(String resourceGroupName, String name, String privateEndpointConnectionName)
      Deletes the specified private endpoint connection 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.
      privateEndpointConnectionName - Name of the private endpoint connection associated with the managed hsm pool.
      Returns:
      the SyncPoller for polling of private endpoint connection resource.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MhsmPrivateEndpointConnectionInner>,MhsmPrivateEndpointConnectionInner> beginDelete(String resourceGroupName, String name, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Deletes the specified private endpoint connection 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.
      privateEndpointConnectionName - Name of the private endpoint connection associated with the managed hsm pool.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of private endpoint connection resource.
      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<MhsmPrivateEndpointConnectionInner> deleteAsync(String resourceGroupName, String name, String privateEndpointConnectionName)
      Deletes the specified private endpoint connection 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.
      privateEndpointConnectionName - Name of the private endpoint connection associated with the managed hsm pool.
      Returns:
      private endpoint connection resource 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.
    • delete

      MhsmPrivateEndpointConnectionInner delete(String resourceGroupName, String name, String privateEndpointConnectionName)
      Deletes the specified private endpoint connection 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.
      privateEndpointConnectionName - Name of the private endpoint connection associated with the managed hsm pool.
      Returns:
      private endpoint connection resource.
      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

      MhsmPrivateEndpointConnectionInner delete(String resourceGroupName, String name, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Deletes the specified private endpoint connection 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.
      privateEndpointConnectionName - Name of the private endpoint connection associated with the managed hsm pool.
      context - The context to associate with this operation.
      Returns:
      private endpoint connection resource.
      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.