public interface SqlPoolWorkloadGroupsClient
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadGroupInner>,WorkloadGroupInner> |
beginCreateOrUpdate(String resourceGroupName,
String workspaceName,
String sqlPoolName,
String workloadGroupName,
WorkloadGroupInner parameters)
Create Or Update a Sql pool's workload group.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadGroupInner>,WorkloadGroupInner> |
beginCreateOrUpdate(String resourceGroupName,
String workspaceName,
String sqlPoolName,
String workloadGroupName,
WorkloadGroupInner parameters,
com.azure.core.util.Context context)
Create Or Update a Sql pool's workload group.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String workspaceName,
String sqlPoolName,
String workloadGroupName)
Remove Sql pool's workload group.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String workspaceName,
String sqlPoolName,
String workloadGroupName,
com.azure.core.util.Context context)
Remove Sql pool's workload group.
|
WorkloadGroupInner |
createOrUpdate(String resourceGroupName,
String workspaceName,
String sqlPoolName,
String workloadGroupName,
WorkloadGroupInner parameters)
Create Or Update a Sql pool's workload group.
|
WorkloadGroupInner |
createOrUpdate(String resourceGroupName,
String workspaceName,
String sqlPoolName,
String workloadGroupName,
WorkloadGroupInner parameters,
com.azure.core.util.Context context)
Create Or Update a Sql pool's workload group.
|
void |
delete(String resourceGroupName,
String workspaceName,
String sqlPoolName,
String workloadGroupName)
Remove Sql pool's workload group.
|
void |
delete(String resourceGroupName,
String workspaceName,
String sqlPoolName,
String workloadGroupName,
com.azure.core.util.Context context)
Remove Sql pool's workload group.
|
WorkloadGroupInner |
get(String resourceGroupName,
String workspaceName,
String sqlPoolName,
String workloadGroupName)
Get a Sql pool's workload group.
|
com.azure.core.http.rest.Response<WorkloadGroupInner> |
getWithResponse(String resourceGroupName,
String workspaceName,
String sqlPoolName,
String workloadGroupName,
com.azure.core.util.Context context)
Get a Sql pool's workload group.
|
com.azure.core.http.rest.PagedIterable<WorkloadGroupInner> |
list(String resourceGroupName,
String workspaceName,
String sqlPoolName)
Get list of Sql pool's workload groups.
|
com.azure.core.http.rest.PagedIterable<WorkloadGroupInner> |
list(String resourceGroupName,
String workspaceName,
String sqlPoolName,
com.azure.core.util.Context context)
Get list of Sql pool's workload groups.
|
WorkloadGroupInner get(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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 workspaceName, String sqlPoolName, String workloadGroupName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadGroupInner>,WorkloadGroupInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, WorkloadGroupInner parameters)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.workloadGroupName
- The name of the workload group.parameters
- The requested workload group state.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 workspaceName, String sqlPoolName, String workloadGroupName, WorkloadGroupInner parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.workloadGroupName
- The name of the workload group.parameters
- The requested workload group state.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.WorkloadGroupInner createOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, WorkloadGroupInner parameters)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.workloadGroupName
- The name of the workload group.parameters
- The requested workload group state.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 workspaceName, String sqlPoolName, String workloadGroupName, WorkloadGroupInner parameters, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.workloadGroupName
- The name of the workload group.parameters
- The requested workload group state.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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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.void delete(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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.void delete(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool name.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.com.azure.core.http.rest.PagedIterable<WorkloadGroupInner> list(String resourceGroupName, String workspaceName, String sqlPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool 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<WorkloadGroupInner> list(String resourceGroupName, String workspaceName, String sqlPoolName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.sqlPoolName
- SQL pool 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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.