Interface WorkspacePrivateEndpointConnectionsClient


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

      • listByWorkspace

        com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionDescriptionInner> listByWorkspace​(String resourceGroupName,
                                                                                                          String workspaceName)
        Lists all private endpoint connections for a workspace.
        Parameters:
        resourceGroupName - The name of the resource group that contains the service instance.
        workspaceName - The name of workspace resource.
        Returns:
        list of private endpoint connection associated with the specified storage account 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.
      • listByWorkspace

        com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionDescriptionInner> listByWorkspace​(String resourceGroupName,
                                                                                                          String workspaceName,
                                                                                                          com.azure.core.util.Context context)
        Lists all private endpoint connections for a workspace.
        Parameters:
        resourceGroupName - The name of the resource group that contains the service instance.
        workspaceName - The name of workspace resource.
        context - The context to associate with this operation.
        Returns:
        list of private endpoint connection associated with the specified storage account 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.
      • get

        PrivateEndpointConnectionDescriptionInner get​(String resourceGroupName,
                                                      String workspaceName,
                                                      String privateEndpointConnectionName)
        Gets the specified private endpoint connection associated with the workspace.
        Parameters:
        resourceGroupName - The name of the resource group that contains the service instance.
        workspaceName - The name of workspace resource.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        Returns:
        the specified private endpoint connection associated with the workspace.
        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<PrivateEndpointConnectionDescriptionInner> getWithResponse​(String resourceGroupName,
                                                                                                     String workspaceName,
                                                                                                     String privateEndpointConnectionName,
                                                                                                     com.azure.core.util.Context context)
        Gets the specified private endpoint connection associated with the workspace.
        Parameters:
        resourceGroupName - The name of the resource group that contains the service instance.
        workspaceName - The name of workspace resource.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        context - The context to associate with this operation.
        Returns:
        the specified private endpoint connection associated with the workspace 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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionDescriptionInner>,​PrivateEndpointConnectionDescriptionInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                                            String workspaceName,
                                                                                                                                                                                                            String privateEndpointConnectionName,
                                                                                                                                                                                                            PrivateEndpointConnectionDescriptionInner properties)
        Update the state of the specified private endpoint connection associated with the workspace.
        Parameters:
        resourceGroupName - The name of the resource group that contains the service instance.
        workspaceName - The name of workspace resource.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        properties - The private endpoint connection properties.
        Returns:
        the SyncPoller for polling of the 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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionDescriptionInner>,​PrivateEndpointConnectionDescriptionInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                                            String workspaceName,
                                                                                                                                                                                                            String privateEndpointConnectionName,
                                                                                                                                                                                                            PrivateEndpointConnectionDescriptionInner properties,
                                                                                                                                                                                                            com.azure.core.util.Context context)
        Update the state of the specified private endpoint connection associated with the workspace.
        Parameters:
        resourceGroupName - The name of the resource group that contains the service instance.
        workspaceName - The name of workspace resource.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        properties - The private endpoint connection properties.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of the 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.
      • createOrUpdate

        PrivateEndpointConnectionDescriptionInner createOrUpdate​(String resourceGroupName,
                                                                 String workspaceName,
                                                                 String privateEndpointConnectionName,
                                                                 PrivateEndpointConnectionDescriptionInner properties)
        Update the state of the specified private endpoint connection associated with the workspace.
        Parameters:
        resourceGroupName - The name of the resource group that contains the service instance.
        workspaceName - The name of workspace resource.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        properties - The private endpoint connection properties.
        Returns:
        the 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.
      • createOrUpdate

        PrivateEndpointConnectionDescriptionInner createOrUpdate​(String resourceGroupName,
                                                                 String workspaceName,
                                                                 String privateEndpointConnectionName,
                                                                 PrivateEndpointConnectionDescriptionInner properties,
                                                                 com.azure.core.util.Context context)
        Update the state of the specified private endpoint connection associated with the workspace.
        Parameters:
        resourceGroupName - The name of the resource group that contains the service instance.
        workspaceName - The name of workspace resource.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        properties - The private endpoint connection properties.
        context - The context to associate with this operation.
        Returns:
        the 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<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String workspaceName,
                                                                                                                          String privateEndpointConnectionName)
        Deletes a private endpoint connection.
        Parameters:
        resourceGroupName - The name of the resource group that contains the service instance.
        workspaceName - The name of workspace resource.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        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<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String workspaceName,
                                                                                                                          String privateEndpointConnectionName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes a private endpoint connection.
        Parameters:
        resourceGroupName - The name of the resource group that contains the service instance.
        workspaceName - The name of workspace resource.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        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

        void delete​(String resourceGroupName,
                    String workspaceName,
                    String privateEndpointConnectionName)
        Deletes a private endpoint connection.
        Parameters:
        resourceGroupName - The name of the resource group that contains the service instance.
        workspaceName - The name of workspace resource.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure 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

        void delete​(String resourceGroupName,
                    String workspaceName,
                    String privateEndpointConnectionName,
                    com.azure.core.util.Context context)
        Deletes a private endpoint connection.
        Parameters:
        resourceGroupName - The name of the resource group that contains the service instance.
        workspaceName - The name of workspace resource.
        privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
        context - The context to associate with this 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.