public interface SqlPoolWorkloadClassifiers
Modifier and Type | Method and Description |
---|---|
WorkloadClassifier.DefinitionStages.Blank |
define(String name)
Begins definition for a new WorkloadClassifier resource.
|
void |
delete(String resourceGroupName,
String workspaceName,
String sqlPoolName,
String workloadGroupName,
String workloadClassifierName)
Remove workload classifier of a Sql pool's workload group.
|
void |
delete(String resourceGroupName,
String workspaceName,
String sqlPoolName,
String workloadGroupName,
String workloadClassifierName,
com.azure.core.util.Context context)
Remove workload classifier of a Sql pool's workload group.
|
void |
deleteById(String id)
Remove workload classifier of a Sql pool's workload group.
|
void |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Remove workload classifier of a Sql pool's workload group.
|
WorkloadClassifier |
get(String resourceGroupName,
String workspaceName,
String sqlPoolName,
String workloadGroupName,
String workloadClassifierName)
Get a workload classifier of Sql pool's workload group.
|
WorkloadClassifier |
getById(String id)
Get a workload classifier of Sql pool's workload group.
|
com.azure.core.http.rest.Response<WorkloadClassifier> |
getByIdWithResponse(String id,
com.azure.core.util.Context context)
Get a workload classifier of Sql pool's workload group.
|
com.azure.core.http.rest.Response<WorkloadClassifier> |
getWithResponse(String resourceGroupName,
String workspaceName,
String sqlPoolName,
String workloadGroupName,
String workloadClassifierName,
com.azure.core.util.Context context)
Get a workload classifier of Sql pool's workload group.
|
com.azure.core.http.rest.PagedIterable<WorkloadClassifier> |
list(String resourceGroupName,
String workspaceName,
String sqlPoolName,
String workloadGroupName)
Get list of Sql pool's workload classifier for workload groups.
|
com.azure.core.http.rest.PagedIterable<WorkloadClassifier> |
list(String resourceGroupName,
String workspaceName,
String sqlPoolName,
String workloadGroupName,
com.azure.core.util.Context context)
Get list of Sql pool's workload classifier for workload groups.
|
WorkloadClassifier get(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName)
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.workloadClassifierName
- The name of the workload classifier.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<WorkloadClassifier> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName, 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.workloadClassifierName
- The name of the workload classifier.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, String workloadClassifierName)
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.workloadClassifierName
- The name of the workload classifier.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, String workloadClassifierName, 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.workloadClassifierName
- The name of the workload classifier.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<WorkloadClassifier> list(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.PagedIterable<WorkloadClassifier> list(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.WorkloadClassifier getById(String id)
id
- the resource ID.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<WorkloadClassifier> getByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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 deleteById(String id)
id
- the resource ID.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 deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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.WorkloadClassifier.DefinitionStages.Blank define(String name)
name
- resource name.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.