Interface WorkloadClassifiersClient
public interface WorkloadClassifiersClient
An instance of this class provides access to all the operations defined in WorkloadClassifiersClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadClassifierInner>, WorkloadClassifierInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters) Creates or updates a workload classifier.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadClassifierInner>, WorkloadClassifierInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters, com.azure.core.util.Context context) Creates or updates a workload classifier.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<WorkloadClassifierInner>, WorkloadClassifierInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters) Creates or updates a workload classifier.beginDelete(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName) Deletes a workload classifier.beginDelete(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, com.azure.core.util.Context context) Deletes a workload classifier.beginDeleteAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName) Deletes a workload classifier.createOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters) Creates or updates a workload classifier.createOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters, com.azure.core.util.Context context) Creates or updates a workload classifier.createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters) Creates or updates a workload classifier.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters) Creates or updates a workload classifier.voiddelete(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName) Deletes a workload classifier.voiddelete(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, com.azure.core.util.Context context) Deletes a workload classifier.deleteAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName) Deletes a workload classifier.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName) Deletes a workload classifier.get(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName) Gets a workload classifier.getAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName) Gets a workload classifier.com.azure.core.http.rest.Response<WorkloadClassifierInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, com.azure.core.util.Context context) Gets a workload classifier.Mono<com.azure.core.http.rest.Response<WorkloadClassifierInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName) Gets a workload classifier.com.azure.core.http.rest.PagedIterable<WorkloadClassifierInner> listByWorkloadGroup(String resourceGroupName, String serverName, String databaseName, String workloadGroupName) Gets the list of workload classifiers for a workload group.com.azure.core.http.rest.PagedIterable<WorkloadClassifierInner> listByWorkloadGroup(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, com.azure.core.util.Context context) Gets the list of workload classifiers for a workload group.com.azure.core.http.rest.PagedFlux<WorkloadClassifierInner> listByWorkloadGroupAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName) Gets the list of workload classifiers for a workload group.
-
Method Details
-
listByWorkloadGroupAsync
com.azure.core.http.rest.PagedFlux<WorkloadClassifierInner> listByWorkloadGroupAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName) Gets the list of workload classifiers for a workload group.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifiers from.- Returns:
- the list of workload classifiers for a workload group as paginated response with
PagedFlux. - 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.
-
listByWorkloadGroup
com.azure.core.http.rest.PagedIterable<WorkloadClassifierInner> listByWorkloadGroup(String resourceGroupName, String serverName, String databaseName, String workloadGroupName) Gets the list of workload classifiers for a workload group.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifiers from.- Returns:
- the list of workload classifiers for a workload group 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.
-
listByWorkloadGroup
com.azure.core.http.rest.PagedIterable<WorkloadClassifierInner> listByWorkloadGroup(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, com.azure.core.util.Context context) Gets the list of workload classifiers for a workload group.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifiers from.context- The context to associate with this operation.- Returns:
- the list of workload classifiers for a workload group 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<WorkloadClassifierInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName) Gets a workload classifier.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifier from.workloadClassifierName- The name of the workload classifier.- Returns:
- a workload classifier along with
Responseon successful completion ofMono. - 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.
-
getAsync
Mono<WorkloadClassifierInner> getAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName) Gets a workload classifier.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifier from.workloadClassifierName- The name of the workload classifier.- Returns:
- a workload classifier on successful completion of
Mono. - 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<WorkloadClassifierInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, com.azure.core.util.Context context) Gets a workload classifier.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifier from.workloadClassifierName- The name of the workload classifier.context- The context to associate with this operation.- Returns:
- a workload classifier 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.
-
get
WorkloadClassifierInner get(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName) Gets a workload classifier.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifier from.workloadClassifierName- The name of the workload classifier.- Returns:
- a workload classifier.
- 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters) Creates or updates a workload classifier.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifier from.workloadClassifierName- The name of the workload classifier to create/update.parameters- The properties of the workload classifier.- Returns:
- workload classifier operations for a data warehouse along with
Responseon successful completion ofMono. - 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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<WorkloadClassifierInner>, WorkloadClassifierInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters) Creates or updates a workload classifier.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifier from.workloadClassifierName- The name of the workload classifier to create/update.parameters- The properties of the workload classifier.- Returns:
- the
PollerFluxfor polling of workload classifier operations for a data warehouse. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadClassifierInner>, WorkloadClassifierInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters) Creates or updates a workload classifier.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifier from.workloadClassifierName- The name of the workload classifier to create/update.parameters- The properties of the workload classifier.- Returns:
- the
SyncPollerfor polling of workload classifier operations for a data warehouse. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadClassifierInner>, WorkloadClassifierInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters, com.azure.core.util.Context context) Creates or updates a workload classifier.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifier from.workloadClassifierName- The name of the workload classifier to create/update.parameters- The properties of the workload classifier.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of workload classifier operations for a data warehouse. - 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.
-
createOrUpdateAsync
Mono<WorkloadClassifierInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters) Creates or updates a workload classifier.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifier from.workloadClassifierName- The name of the workload classifier to create/update.parameters- The properties of the workload classifier.- Returns:
- workload classifier operations for a data warehouse on successful completion of
Mono. - 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.
-
createOrUpdate
WorkloadClassifierInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters) Creates or updates a workload classifier.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifier from.workloadClassifierName- The name of the workload classifier to create/update.parameters- The properties of the workload classifier.- Returns:
- workload classifier operations for a data warehouse.
- 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.
-
createOrUpdate
WorkloadClassifierInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters, com.azure.core.util.Context context) Creates or updates a workload classifier.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifier from.workloadClassifierName- The name of the workload classifier to create/update.parameters- The properties of the workload classifier.context- The context to associate with this operation.- Returns:
- workload classifier operations for a data warehouse.
- 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName) Deletes a workload classifier.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifier from.workloadClassifierName- The name of the workload classifier to delete.- Returns:
- the
Responseon successful completion ofMono. - 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.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>, Void> beginDeleteAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName) Deletes a workload classifier.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifier from.workloadClassifierName- The name of the workload classifier to delete.- Returns:
- the
PollerFluxfor polling of long-running operation. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName) Deletes a workload classifier.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifier from.workloadClassifierName- The name of the workload classifier to delete.- Returns:
- the
SyncPollerfor polling of long-running operation. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, com.azure.core.util.Context context) Deletes a workload classifier.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifier from.workloadClassifierName- The name of the workload classifier to delete.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - 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.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName) Deletes a workload classifier.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifier from.workloadClassifierName- The name of the workload classifier to delete.- Returns:
- A
Monothat completes when a successful response is received. - 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
void delete(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName) Deletes a workload classifier.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifier from.workloadClassifierName- The name of the workload classifier to delete.- 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
void delete(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, com.azure.core.util.Context context) Deletes a workload classifier.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.serverName- The name of the server.databaseName- The name of the database.workloadGroupName- The name of the workload group from which to receive the classifier from.workloadClassifierName- The name of the workload classifier to delete.context- The context to associate with this operation.- 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.
-