Interface PrivateEndpointConnectionsClient


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

    • list

      com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionInner> list(String resourceGroupName, String workspaceName)
      List private endpoint connections

      List private endpoint connections of the workspace.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      Returns:
      list of private link connections as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - 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<PrivateEndpointConnectionInner> list(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
      List private endpoint connections

      List private endpoint connections of the workspace.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      context - The context to associate with this operation.
      Returns:
      list of private link connections as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - 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<PrivateEndpointConnectionInner> getWithResponse(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Get private endpoint connection

      Get a private endpoint connection properties for a workspace.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      privateEndpointConnectionName - The name of the private endpoint connection.
      context - The context to associate with this operation.
      Returns:
      a private endpoint connection properties for a workspace along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      PrivateEndpointConnectionInner get(String resourceGroupName, String workspaceName, String privateEndpointConnectionName)
      Get private endpoint connection

      Get a private endpoint connection properties for a workspace.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      privateEndpointConnectionName - The name of the private endpoint connection.
      Returns:
      a private endpoint connection properties for a workspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginCreate(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection)
      Update private endpoint connection status

      Update the status of a private endpoint connection with the specified name.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      privateEndpointConnectionName - The name of the private endpoint connection.
      privateEndpointConnection - The private endpoint connection with updated properties.
      Returns:
      the SyncPoller for polling of the private endpoint connection of a workspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginCreate(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection, com.azure.core.util.Context context)
      Update private endpoint connection status

      Update the status of a private endpoint connection with the specified name.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      privateEndpointConnectionName - The name of the private endpoint connection.
      privateEndpointConnection - The private endpoint connection with updated properties.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the private endpoint connection of a workspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • create

      PrivateEndpointConnectionInner create(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection)
      Update private endpoint connection status

      Update the status of a private endpoint connection with the specified name.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      privateEndpointConnectionName - The name of the private endpoint connection.
      privateEndpointConnection - The private endpoint connection with updated properties.
      Returns:
      the private endpoint connection of a workspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • create

      PrivateEndpointConnectionInner create(String resourceGroupName, String workspaceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection, com.azure.core.util.Context context)
      Update private endpoint connection status

      Update the status of a private endpoint connection with the specified name.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      privateEndpointConnectionName - The name of the private endpoint connection.
      privateEndpointConnection - The private endpoint connection with updated properties.
      context - The context to associate with this operation.
      Returns:
      the private endpoint connection of a workspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - 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 workspaceName, String privateEndpointConnectionName)
      Remove private endpoint connection

      Remove private endpoint connection with the specified name.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      privateEndpointConnectionName - The name of the private endpoint connection.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - 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 workspaceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Remove private endpoint connection

      Remove private endpoint connection with the specified name.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      privateEndpointConnectionName - The name of the private endpoint connection.
      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.
      ErrorInfoException - 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 workspaceName, String privateEndpointConnectionName)
      Remove private endpoint connection

      Remove private endpoint connection with the specified name.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      privateEndpointConnectionName - The name of the private endpoint connection.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - 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 workspaceName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Remove private endpoint connection

      Remove private endpoint connection with the specified name.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      privateEndpointConnectionName - The name of the private endpoint connection.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorInfoException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.