public interface WorkloadGroupsClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadGroupInner>,WorkloadGroupInner> |
beginCreateOrUpdate(String resourceGroupName,
String serverName,
String databaseName,
String workloadGroupName,
WorkloadGroupInner parameters)
Creates or updates a workload group.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadGroupInner>,WorkloadGroupInner> |
beginCreateOrUpdate(String resourceGroupName,
String serverName,
String databaseName,
String workloadGroupName,
WorkloadGroupInner parameters,
com.azure.core.util.Context context)
Creates or updates a workload group.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<WorkloadGroupInner>,WorkloadGroupInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String serverName,
String databaseName,
String workloadGroupName,
WorkloadGroupInner parameters)
Creates or updates a workload group.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String serverName,
String databaseName,
String workloadGroupName)
Deletes a workload group.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String serverName,
String databaseName,
String workloadGroupName,
com.azure.core.util.Context context)
Deletes a workload group.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String serverName,
String databaseName,
String workloadGroupName)
Deletes a workload group.
|
WorkloadGroupInner |
createOrUpdate(String resourceGroupName,
String serverName,
String databaseName,
String workloadGroupName,
WorkloadGroupInner parameters)
Creates or updates a workload group.
|
WorkloadGroupInner |
createOrUpdate(String resourceGroupName,
String serverName,
String databaseName,
String workloadGroupName,
WorkloadGroupInner parameters,
com.azure.core.util.Context context)
Creates or updates a workload group.
|
Mono<WorkloadGroupInner> |
createOrUpdateAsync(String resourceGroupName,
String serverName,
String databaseName,
String workloadGroupName,
WorkloadGroupInner parameters)
Creates or updates a workload group.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String serverName,
String databaseName,
String workloadGroupName,
WorkloadGroupInner parameters)
Creates or updates a workload group.
|
void |
delete(String resourceGroupName,
String serverName,
String databaseName,
String workloadGroupName)
Deletes a workload group.
|
void |
delete(String resourceGroupName,
String serverName,
String databaseName,
String workloadGroupName,
com.azure.core.util.Context context)
Deletes a workload group.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String serverName,
String databaseName,
String workloadGroupName)
Deletes a workload group.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String serverName,
String databaseName,
String workloadGroupName)
Deletes a workload group.
|
WorkloadGroupInner |
get(String resourceGroupName,
String serverName,
String databaseName,
String workloadGroupName)
Gets a workload group.
|
Mono<WorkloadGroupInner> |
getAsync(String resourceGroupName,
String serverName,
String databaseName,
String workloadGroupName)
Gets a workload group.
|
com.azure.core.http.rest.Response<WorkloadGroupInner> |
getWithResponse(String resourceGroupName,
String serverName,
String databaseName,
String workloadGroupName,
com.azure.core.util.Context context)
Gets a workload group.
|
Mono<com.azure.core.http.rest.Response<WorkloadGroupInner>> |
getWithResponseAsync(String resourceGroupName,
String serverName,
String databaseName,
String workloadGroupName)
Gets a workload group.
|
com.azure.core.http.rest.PagedIterable<WorkloadGroupInner> |
listByDatabase(String resourceGroupName,
String serverName,
String databaseName)
Gets the list of workload groups.
|
com.azure.core.http.rest.PagedIterable<WorkloadGroupInner> |
listByDatabase(String resourceGroupName,
String serverName,
String databaseName,
com.azure.core.util.Context context)
Gets the list of workload groups.
|
com.azure.core.http.rest.PagedFlux<WorkloadGroupInner> |
listByDatabaseAsync(String resourceGroupName,
String serverName,
String databaseName)
Gets the list of workload groups.
|
Mono<com.azure.core.http.rest.Response<WorkloadGroupInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName)
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.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.Mono<WorkloadGroupInner> getAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName)
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.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.WorkloadGroupInner get(String resourceGroupName, String serverName, String databaseName, String workloadGroupName)
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.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<WorkloadGroupInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, com.azure.core.util.Context context)
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.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner 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.parameters - Workload group operations for a data warehouse.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.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<WorkloadGroupInner>,WorkloadGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner 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.parameters - Workload group operations for a data warehouse.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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadGroupInner>,WorkloadGroupInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner 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.parameters - Workload group operations for a data warehouse.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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadGroupInner>,WorkloadGroupInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner parameters, com.azure.core.util.Context context)
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.parameters - Workload group operations for a data warehouse.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.Mono<WorkloadGroupInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner 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.parameters - Workload group operations for a data warehouse.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.WorkloadGroupInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner 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.parameters - Workload group operations for a data warehouse.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.WorkloadGroupInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, WorkloadGroupInner parameters, com.azure.core.util.Context context)
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.parameters - Workload group operations for a data warehouse.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName)
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 to delete.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.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName)
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 to delete.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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String databaseName, String workloadGroupName)
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 to delete.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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, com.azure.core.util.Context context)
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 to delete.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.Mono<Void> deleteAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName)
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 to delete.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 serverName, String databaseName, String workloadGroupName)
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 to delete.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 serverName, String databaseName, String workloadGroupName, com.azure.core.util.Context context)
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 to delete.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.com.azure.core.http.rest.PagedFlux<WorkloadGroupInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)
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.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<WorkloadGroupInner> listByDatabase(String resourceGroupName, String serverName, String databaseName)
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.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<WorkloadGroupInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context)
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.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 © 2020 Microsoft Corporation. All rights reserved.