Interface LinkedServices
public interface LinkedServices
Resource collection API of LinkedServices.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new LinkedService resource.Deletes a linked service instance.delete(String resourceGroupName, String workspaceName, String linkedServiceName, com.azure.core.util.Context context) Deletes a linked service instance.deleteById(String id) Deletes a linked service instance.deleteByIdWithResponse(String id, com.azure.core.util.Context context) Deletes a linked service instance.Gets a linked service instance.Gets a linked service instance.com.azure.core.http.rest.Response<LinkedService>getByIdWithResponse(String id, com.azure.core.util.Context context) Gets a linked service instance.com.azure.core.http.rest.Response<LinkedService>getWithResponse(String resourceGroupName, String workspaceName, String linkedServiceName, com.azure.core.util.Context context) Gets a linked service instance.com.azure.core.http.rest.PagedIterable<LinkedService>listByWorkspace(String resourceGroupName, String workspaceName) Gets the linked services instances in a workspace.com.azure.core.http.rest.PagedIterable<LinkedService>listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Gets the linked services instances in a workspace.
-
Method Details
-
delete
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
LinkedService 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
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<LinkedService> 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<LinkedService> 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<LinkedService> 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.
-
getById
Gets a linked service instance.- Parameters:
id- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<LinkedService> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets a linked service instance.- Parameters:
id- the resource ID.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.
-
deleteById
Deletes a linked service instance.- Parameters:
id- the resource ID.- 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.
-
deleteByIdWithResponse
Deletes a linked service instance.- Parameters:
id- the resource ID.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.
-
define
Begins definition for a new LinkedService resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new LinkedService definition.
-