public final class DatasetAsyncClient extends Object
Modifier and Type | Method and Description |
---|---|
Mono<DatasetResource> |
createOrUpdateDataset(String datasetName,
DatasetResource dataset)
Creates or updates a dataset.
|
Mono<DatasetResource> |
createOrUpdateDataset(String datasetName,
DatasetResource dataset,
String ifMatch)
Creates or updates a dataset.
|
Mono<com.azure.core.http.rest.Response<DatasetResource>> |
createOrUpdateDatasetWithResponse(String datasetName,
DatasetResource dataset,
String ifMatch)
Creates or updates a dataset.
|
Mono<Void> |
deleteDataset(String datasetName)
Deletes a dataset.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteDatasetWithResponse(String datasetName)
Deletes a dataset.
|
Mono<DatasetResource> |
getDataset(String datasetName)
Gets a dataset.
|
Mono<DatasetResource> |
getDataset(String datasetName,
String ifNoneMatch)
Gets a dataset.
|
com.azure.core.http.rest.PagedFlux<DatasetResource> |
getDatasetsByWorkspace()
Lists datasets.
|
Mono<com.azure.core.http.rest.PagedResponse<DatasetResource>> |
getDatasetsByWorkspaceNextSinglePage(String nextLink)
Get the next page of items.
|
Mono<com.azure.core.http.rest.PagedResponse<DatasetResource>> |
getDatasetsByWorkspaceSinglePage()
Lists datasets.
|
Mono<com.azure.core.http.rest.Response<DatasetResource>> |
getDatasetWithResponse(String datasetName,
String ifNoneMatch)
Gets a dataset.
|
Mono<Void> |
renameDataset(String datasetName,
ArtifactRenameRequest request)
Renames a dataset.
|
Mono<com.azure.core.http.rest.Response<Void>> |
renameDatasetWithResponse(String datasetName,
ArtifactRenameRequest request)
Renames a dataset.
|
public Mono<com.azure.core.http.rest.PagedResponse<DatasetResource>> getDatasetsByWorkspaceSinglePage()
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.PagedFlux<DatasetResource> getDatasetsByWorkspace()
CloudErrorException
- 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<DatasetResource>> createOrUpdateDatasetWithResponse(String datasetName, DatasetResource dataset, String ifMatch)
datasetName
- The dataset name.dataset
- Dataset resource definition.ifMatch
- ETag of the dataset 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 Mono<DatasetResource> createOrUpdateDataset(String datasetName, DatasetResource dataset, String ifMatch)
datasetName
- The dataset name.dataset
- Dataset resource definition.ifMatch
- ETag of the dataset 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 Mono<DatasetResource> createOrUpdateDataset(String datasetName, DatasetResource dataset)
datasetName
- The dataset name.dataset
- Dataset 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 Mono<com.azure.core.http.rest.Response<DatasetResource>> getDatasetWithResponse(String datasetName, String ifNoneMatch)
datasetName
- The dataset name.ifNoneMatch
- ETag of the dataset 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 Mono<DatasetResource> getDataset(String datasetName, String ifNoneMatch)
datasetName
- The dataset name.ifNoneMatch
- ETag of the dataset 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 Mono<DatasetResource> getDataset(String datasetName)
datasetName
- The dataset 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 Mono<com.azure.core.http.rest.Response<Void>> deleteDatasetWithResponse(String datasetName)
datasetName
- The dataset 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 Mono<Void> deleteDataset(String datasetName)
datasetName
- The dataset 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 Mono<com.azure.core.http.rest.Response<Void>> renameDatasetWithResponse(String datasetName, ArtifactRenameRequest request)
datasetName
- The dataset 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 Mono<Void> renameDataset(String datasetName, ArtifactRenameRequest request)
datasetName
- The dataset 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 Mono<com.azure.core.http.rest.PagedResponse<DatasetResource>> getDatasetsByWorkspaceNextSinglePage(String nextLink)
nextLink
- The nextLink parameter.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.