Interface LinkedServicesClient


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

    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LinkedServiceInner>,LinkedServiceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String linkedServiceName, LinkedServiceInner parameters)
      Create or update a linked service.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      linkedServiceName - Name of the linkedServices resource.
      parameters - The parameters required to create or update a linked service.
      Returns:
      the SyncPoller for polling of the top level Linked service resource container.
      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<LinkedServiceInner>,LinkedServiceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String linkedServiceName, LinkedServiceInner parameters, com.azure.core.util.Context context)
      Create or update a linked service.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      linkedServiceName - Name of the linkedServices resource.
      parameters - The parameters required to create or update a linked service.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the top level Linked service resource container.
      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

      LinkedServiceInner createOrUpdate(String resourceGroupName, String workspaceName, String linkedServiceName, LinkedServiceInner parameters)
      Create or update a linked service.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      linkedServiceName - Name of the linkedServices resource.
      parameters - The parameters required to create or update a linked service.
      Returns:
      the top level Linked service resource container.
      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

      LinkedServiceInner createOrUpdate(String resourceGroupName, String workspaceName, String linkedServiceName, LinkedServiceInner parameters, com.azure.core.util.Context context)
      Create or update a linked service.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      linkedServiceName - Name of the linkedServices resource.
      parameters - The parameters required to create or update a linked service.
      context - The context to associate with this operation.
      Returns:
      the top level Linked service resource container.
      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<LinkedServiceInner>,LinkedServiceInner> beginDelete(String resourceGroupName, String workspaceName, String linkedServiceName)
      Deletes a linked service instance.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      linkedServiceName - Name of the linked service.
      Returns:
      the SyncPoller for polling of the top level Linked service resource container.
      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<LinkedServiceInner>,LinkedServiceInner> beginDelete(String resourceGroupName, String workspaceName, String linkedServiceName, com.azure.core.util.Context context)
      Deletes a linked service instance.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      linkedServiceName - Name of the linked service.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the top level Linked service resource container.
      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

      LinkedServiceInner delete(String resourceGroupName, String workspaceName, String linkedServiceName)
      Deletes a linked service instance.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      linkedServiceName - Name of the linked service.
      Returns:
      the top level Linked service resource container.
      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

      LinkedServiceInner delete(String resourceGroupName, String workspaceName, String linkedServiceName, com.azure.core.util.Context context)
      Deletes a linked service instance.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      linkedServiceName - Name of the linked service.
      context - The context to associate with this operation.
      Returns:
      the top level Linked service resource container.
      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

      LinkedServiceInner get(String resourceGroupName, String workspaceName, String linkedServiceName)
      Gets a linked service instance.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      linkedServiceName - Name of the linked service.
      Returns:
      a linked service instance.
      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<LinkedServiceInner> getWithResponse(String resourceGroupName, String workspaceName, String linkedServiceName, com.azure.core.util.Context context)
      Gets a linked service instance.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      linkedServiceName - Name of the linked service.
      context - The context to associate with this operation.
      Returns:
      a linked service instance 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.
    • listByWorkspace

      com.azure.core.http.rest.PagedIterable<LinkedServiceInner> listByWorkspace(String resourceGroupName, String workspaceName)
      Gets the linked services instances in a workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      Returns:
      the linked services instances in a workspace 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<LinkedServiceInner> listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
      Gets the linked services instances in a 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:
      the linked services instances in a workspace 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.