Interface WorkspacePrivateEndpointConnections


  • public interface WorkspacePrivateEndpointConnections
    Resource collection API of WorkspacePrivateEndpointConnections.
    • Method Detail

      • listByWorkspace

        com.azure.core.http.rest.PagedIterable<PrivateEndpointConnectionDescription> 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<PrivateEndpointConnectionDescription> 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

        PrivateEndpointConnectionDescription 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<PrivateEndpointConnectionDescription> 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.
      • createOrUpdate

        PrivateEndpointConnectionDescription 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

        PrivateEndpointConnectionDescription 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.
      • 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.