public interface DatasetsClient
| Modifier and Type | Method and Description |
|---|---|
DatasetResourceInner |
createOrUpdate(String resourceGroupName,
String factoryName,
String datasetName,
DatasetResourceInner dataset)
Creates or updates a dataset.
|
com.azure.core.http.rest.Response<DatasetResourceInner> |
createOrUpdateWithResponse(String resourceGroupName,
String factoryName,
String datasetName,
DatasetResourceInner dataset,
String ifMatch,
com.azure.core.util.Context context)
Creates or updates a dataset.
|
void |
delete(String resourceGroupName,
String factoryName,
String datasetName)
Deletes a dataset.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String factoryName,
String datasetName,
com.azure.core.util.Context context)
Deletes a dataset.
|
DatasetResourceInner |
get(String resourceGroupName,
String factoryName,
String datasetName)
Gets a dataset.
|
com.azure.core.http.rest.Response<DatasetResourceInner> |
getWithResponse(String resourceGroupName,
String factoryName,
String datasetName,
String ifNoneMatch,
com.azure.core.util.Context context)
Gets a dataset.
|
com.azure.core.http.rest.PagedIterable<DatasetResourceInner> |
listByFactory(String resourceGroupName,
String factoryName)
Lists datasets.
|
com.azure.core.http.rest.PagedIterable<DatasetResourceInner> |
listByFactory(String resourceGroupName,
String factoryName,
com.azure.core.util.Context context)
Lists datasets.
|
com.azure.core.http.rest.PagedIterable<DatasetResourceInner> listByFactory(String resourceGroupName, String factoryName)
resourceGroupName - The resource group name.factoryName - The factory name.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.com.azure.core.http.rest.PagedIterable<DatasetResourceInner> listByFactory(String resourceGroupName, String factoryName, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.context - The context to associate with this operation.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.DatasetResourceInner createOrUpdate(String resourceGroupName, String factoryName, String datasetName, DatasetResourceInner dataset)
resourceGroupName - The resource group name.factoryName - The factory name.datasetName - The dataset name.dataset - Dataset resource definition.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.com.azure.core.http.rest.Response<DatasetResourceInner> createOrUpdateWithResponse(String resourceGroupName, String factoryName, String datasetName, DatasetResourceInner dataset, String ifMatch, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.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.context - The context to associate with this operation.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.DatasetResourceInner get(String resourceGroupName, String factoryName, String datasetName)
resourceGroupName - The resource group name.factoryName - The factory name.datasetName - The dataset name.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.com.azure.core.http.rest.Response<DatasetResourceInner> getWithResponse(String resourceGroupName, String factoryName, String datasetName, String ifNoneMatch, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.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.context - The context to associate with this operation.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.void delete(String resourceGroupName, String factoryName, String datasetName)
resourceGroupName - The resource group name.factoryName - The factory name.datasetName - The dataset name.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.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String factoryName, String datasetName, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.datasetName - The dataset name.context - The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.