Interface WorkloadClassifiersClient
-
public interface WorkloadClassifiersClientAn instance of this class provides access to all the operations defined in WorkloadClassifiersClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.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.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.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.WorkloadClassifierInnercreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters)Creates or updates a workload classifier.WorkloadClassifierInnercreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters, com.azure.core.util.Context context)Creates or updates a workload classifier.Mono<WorkloadClassifierInner>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.Mono<Void>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.WorkloadClassifierInnerget(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName)Gets a workload classifier.Mono<WorkloadClassifierInner>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 Detail
-
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.
- 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.
- 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.
-
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.
- 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- Workload classifier operations for a data warehouse.- 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.
-
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- Workload classifier operations for a data warehouse.- 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.
-
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- Workload classifier operations for a data warehouse.- 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.
-
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- Workload classifier operations for a data warehouse.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.
-
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- Workload classifier operations for a data warehouse.- 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)
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- Workload classifier operations for a data warehouse.- 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- Workload classifier operations for a data warehouse.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 completion.
- 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 completion.
- 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 completion.
- 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 completion.
- 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:
- the completion.
- 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.
-
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.
- 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.
- 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.
- 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.
-
-