public final class LinkedServiceAsyncClient extends Object
Modifier and Type | Method and Description |
---|---|
Mono<LinkedServiceResource> |
createOrUpdateLinkedService(String linkedServiceName,
LinkedServiceResource linkedService)
Creates or updates a linked service.
|
Mono<LinkedServiceResource> |
createOrUpdateLinkedService(String linkedServiceName,
LinkedServiceResource linkedService,
String ifMatch)
Creates or updates a linked service.
|
Mono<com.azure.core.http.rest.Response<LinkedServiceResource>> |
createOrUpdateLinkedServiceWithResponse(String linkedServiceName,
LinkedServiceResource linkedService,
String ifMatch)
Creates or updates a linked service.
|
Mono<Void> |
deleteLinkedService(String linkedServiceName)
Deletes a linked service.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteLinkedServiceWithResponse(String linkedServiceName)
Deletes a linked service.
|
Mono<LinkedServiceResource> |
getLinkedService(String linkedServiceName)
Gets a linked service.
|
Mono<LinkedServiceResource> |
getLinkedService(String linkedServiceName,
String ifNoneMatch)
Gets a linked service.
|
com.azure.core.http.rest.PagedFlux<LinkedServiceResource> |
getLinkedServicesByWorkspace()
Lists linked services.
|
Mono<com.azure.core.http.rest.Response<LinkedServiceResource>> |
getLinkedServiceWithResponse(String linkedServiceName,
String ifNoneMatch)
Gets a linked service.
|
Mono<Void> |
renameLinkedService(String linkedServiceName,
ArtifactRenameRequest request)
Renames a linked service.
|
Mono<com.azure.core.http.rest.Response<Void>> |
renameLinkedServiceWithResponse(String linkedServiceName,
ArtifactRenameRequest request)
Renames a linked service.
|
public com.azure.core.http.rest.PagedFlux<LinkedServiceResource> getLinkedServicesByWorkspace()
CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<LinkedServiceResource>> createOrUpdateLinkedServiceWithResponse(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.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<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.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<LinkedServiceResource> createOrUpdateLinkedService(String linkedServiceName, LinkedServiceResource linkedService)
linkedServiceName
- The linked service name.linkedService
- Linked service resource definition.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<LinkedServiceResource>> getLinkedServiceWithResponse(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.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<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.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<LinkedServiceResource> getLinkedService(String linkedServiceName)
linkedServiceName
- The linked service name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<Void>> deleteLinkedServiceWithResponse(String linkedServiceName)
linkedServiceName
- The linked service name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Void> deleteLinkedService(String linkedServiceName)
linkedServiceName
- The linked service name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<Void>> renameLinkedServiceWithResponse(String linkedServiceName, ArtifactRenameRequest request)
linkedServiceName
- The linked service name.request
- proposed new name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Void> renameLinkedService(String linkedServiceName, ArtifactRenameRequest request)
linkedServiceName
- The linked service name.request
- proposed new name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorAutoGeneratedException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.