public final class LinkedServiceClient extends Object
Modifier and Type | Method and Description |
---|---|
LinkedServiceResource |
createOrUpdateLinkedService(String linkedServiceName,
LinkedServiceResource linkedService)
Creates or updates a linked service.
|
LinkedServiceResource |
createOrUpdateLinkedService(String linkedServiceName,
LinkedServiceResource linkedService,
String ifMatch)
Creates or updates a linked service.
|
com.azure.core.http.rest.Response<LinkedServiceResource> |
createOrUpdateLinkedServiceWithResponse(String linkedServiceName,
LinkedServiceResource linkedService,
String ifMatch,
com.azure.core.util.Context context)
Creates or updates a linked service.
|
void |
deleteLinkedService(String linkedServiceName)
Deletes a linked service.
|
com.azure.core.http.rest.Response<Void> |
deleteLinkedServiceWithResponse(String linkedServiceName,
com.azure.core.util.Context context)
Deletes a linked service.
|
LinkedServiceResource |
getLinkedService(String linkedServiceName)
Gets a linked service.
|
LinkedServiceResource |
getLinkedService(String linkedServiceName,
String ifNoneMatch)
Gets a linked service.
|
com.azure.core.http.rest.PagedIterable<LinkedServiceResource> |
getLinkedServicesByWorkspace()
Lists linked services.
|
com.azure.core.http.rest.PagedIterable<LinkedServiceResource> |
getLinkedServicesByWorkspace(com.azure.core.util.Context context)
Lists linked services.
|
com.azure.core.http.rest.Response<LinkedServiceResource> |
getLinkedServiceWithResponse(String linkedServiceName,
String ifNoneMatch,
com.azure.core.util.Context context)
Gets a linked service.
|
void |
renameLinkedService(String linkedServiceName,
ArtifactRenameRequest request)
Renames a linked service.
|
com.azure.core.http.rest.Response<Void> |
renameLinkedServiceWithResponse(String linkedServiceName,
ArtifactRenameRequest request,
com.azure.core.util.Context context)
Renames a linked service.
|
public com.azure.core.http.rest.PagedIterable<LinkedServiceResource> getLinkedServicesByWorkspace()
CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.PagedIterable<LinkedServiceResource> getLinkedServicesByWorkspace(com.azure.core.util.Context context)
context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public LinkedServiceResource createOrUpdateLinkedService(String linkedServiceName, LinkedServiceResource linkedService, String ifMatch)
linkedServiceName
- The linked service name.linkedService
- Linked service resource definition.ifMatch
- ETag of the linkedService entity. Should only be specified for update, for which it should match
existing entity or can be * for unconditional update.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public LinkedServiceResource createOrUpdateLinkedService(String linkedServiceName, LinkedServiceResource linkedService)
linkedServiceName
- The linked service name.linkedService
- Linked service resource definition.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.Response<LinkedServiceResource> createOrUpdateLinkedServiceWithResponse(String linkedServiceName, LinkedServiceResource linkedService, String ifMatch, com.azure.core.util.Context context)
linkedServiceName
- The linked service name.linkedService
- Linked service resource definition.ifMatch
- ETag of the linkedService entity. Should only be specified for update, for which it should match
existing entity or can be * for unconditional update.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public LinkedServiceResource getLinkedService(String linkedServiceName, String ifNoneMatch)
linkedServiceName
- The linked service name.ifNoneMatch
- ETag of the linked service entity. Should only be specified for get. If the ETag matches the
existing entity tag, or if * was provided, then no content will be returned.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public LinkedServiceResource getLinkedService(String linkedServiceName)
linkedServiceName
- The linked service name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.Response<LinkedServiceResource> getLinkedServiceWithResponse(String linkedServiceName, String ifNoneMatch, com.azure.core.util.Context context)
linkedServiceName
- The linked service name.ifNoneMatch
- ETag of the linked service entity. Should only be specified for get. If the ETag matches the
existing entity tag, or if * was provided, then no content will be returned.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public void deleteLinkedService(String linkedServiceName)
linkedServiceName
- The linked service name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.Response<Void> deleteLinkedServiceWithResponse(String linkedServiceName, com.azure.core.util.Context context)
linkedServiceName
- The linked service name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public void renameLinkedService(String linkedServiceName, ArtifactRenameRequest request)
linkedServiceName
- The linked service name.request
- proposed new name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.Response<Void> renameLinkedServiceWithResponse(String linkedServiceName, ArtifactRenameRequest request, com.azure.core.util.Context context)
linkedServiceName
- The linked service name.request
- proposed new name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.