Interface PrivateEndpointConnectionsClient


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

      • get

        PrivateEndpointConnectionInner get​(String resourceGroupName,
                                           String workspaceName,
                                           String privateEndpointConnectionName)
        Gets a private endpoint connection.
        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.
        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.
      • getWithResponse

        com.azure.core.http.rest.Response<PrivateEndpointConnectionInner> getWithResponse​(String resourceGroupName,
                                                                                          String workspaceName,
                                                                                          String privateEndpointConnectionName,
                                                                                          com.azure.core.util.Context context)
        Gets a private endpoint connection.
        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 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.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,​PrivateEndpointConnectionInner> beginCreate​(String resourceGroupName,
                                                                                                                                                                              String workspaceName,
                                                                                                                                                                              String privateEndpointConnectionName,
                                                                                                                                                                              PrivateEndpointConnectionInner request)
        Approve or reject a private endpoint connection.
        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.
        request - Request body of private endpoint connection to create.
        Returns:
        the SyncPoller for polling of a private endpoint connection.
        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.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,​PrivateEndpointConnectionInner> beginCreate​(String resourceGroupName,
                                                                                                                                                                              String workspaceName,
                                                                                                                                                                              String privateEndpointConnectionName,
                                                                                                                                                                              PrivateEndpointConnectionInner request,
                                                                                                                                                                              com.azure.core.util.Context context)
        Approve or reject a private endpoint connection.
        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.
        request - Request body of private endpoint connection to create.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of a private endpoint connection.
        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.
      • create

        PrivateEndpointConnectionInner create​(String resourceGroupName,
                                              String workspaceName,
                                              String privateEndpointConnectionName,
                                              PrivateEndpointConnectionInner request)
        Approve or reject a private endpoint connection.
        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.
        request - Request body of private endpoint connection to create.
        Returns:
        a private endpoint connection.
        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.
      • create

        PrivateEndpointConnectionInner create​(String resourceGroupName,
                                              String workspaceName,
                                              String privateEndpointConnectionName,
                                              PrivateEndpointConnectionInner request,
                                              com.azure.core.util.Context context)
        Approve or reject a private endpoint connection.
        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.
        request - Request body of private endpoint connection to create.
        context - The context to associate with this operation.
        Returns:
        a private endpoint connection.
        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<OperationResourceInner>,​OperationResourceInner> beginDelete​(String resourceGroupName,
                                                                                                                                                              String workspaceName,
                                                                                                                                                              String privateEndpointConnectionName)
        Delete a private endpoint connection.
        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.
        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<OperationResourceInner>,​OperationResourceInner> beginDelete​(String resourceGroupName,
                                                                                                                                                              String workspaceName,
                                                                                                                                                              String privateEndpointConnectionName,
                                                                                                                                                              com.azure.core.util.Context context)
        Delete a private endpoint connection.
        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.
        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

        OperationResourceInner delete​(String resourceGroupName,
                                      String workspaceName,
                                      String privateEndpointConnectionName)
        Delete a private endpoint connection.
        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 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.
      • delete

        OperationResourceInner delete​(String resourceGroupName,
                                      String workspaceName,
                                      String privateEndpointConnectionName,
                                      com.azure.core.util.Context context)
        Delete a private endpoint connection.
        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 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.
      • list

        com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionInner> list​(String resourceGroupName,
                                                                                    String workspaceName)
        Lists private endpoint connection in workspace.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        workspaceName - The name of the workspace.
        Returns:
        a list of private endpoint connections as paginated response with PagedIterable.
        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.
      • list

        com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionInner> list​(String resourceGroupName,
                                                                                    String workspaceName,
                                                                                    com.azure.core.util.Context context)
        Lists private endpoint connection in 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:
        a list of private endpoint connections as paginated response with PagedIterable.
        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.