Interface SqlPoolWorkloadClassifiersClient
public interface SqlPoolWorkloadClassifiersClient
An instance of this class provides access to all the operations defined in SqlPoolWorkloadClassifiersClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadClassifierInner>,
WorkloadClassifierInner> beginCreateOrUpdate
(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters) Create Or Update workload classifiercom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadClassifierInner>,
WorkloadClassifierInner> beginCreateOrUpdate
(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters, com.azure.core.util.Context context) Create Or Update workload classifierbeginDelete
(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName) Remove workload classifierbeginDelete
(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName, com.azure.core.util.Context context) Remove workload classifiercreateOrUpdate
(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters) Create Or Update workload classifiercreateOrUpdate
(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters, com.azure.core.util.Context context) Create Or Update workload classifiervoid
delete
(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName) Remove workload classifiervoid
delete
(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName, com.azure.core.util.Context context) Remove workload classifierget
(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName) Get workload classifiercom.azure.core.http.rest.Response<WorkloadClassifierInner>
getWithResponse
(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName, com.azure.core.util.Context context) Get workload classifiercom.azure.core.http.rest.PagedIterable<WorkloadClassifierInner>
Sql pool's workload classifiercom.azure.core.http.rest.PagedIterable<WorkloadClassifierInner>
list
(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, com.azure.core.util.Context context) Sql pool's workload classifier
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<WorkloadClassifierInner> getWithResponse(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName, com.azure.core.util.Context context) Get workload classifierGet a workload classifier of Sql pool's workload group.
- 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.workloadClassifierName
- The name of the workload classifier.context
- The context to associate with this operation.- Returns:
- a workload classifier of Sql pool's workload group 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 workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName) Get workload classifierGet a workload classifier of Sql pool's workload group.
- 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.workloadClassifierName
- The name of the workload classifier.- Returns:
- a workload classifier of Sql pool's 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadClassifierInner>,WorkloadClassifierInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters) Create Or Update workload classifierCreate Or Update workload classifier for a Sql pool's workload group.
- 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.workloadClassifierName
- The name of the workload classifier.parameters
- The properties of the workload classifier.- Returns:
- the
SyncPoller
for 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 workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters, com.azure.core.util.Context context) Create Or Update workload classifierCreate Or Update workload classifier for a Sql pool's workload group.
- 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.workloadClassifierName
- The name of the workload classifier.parameters
- The properties of the workload classifier.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for 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.
-
createOrUpdate
WorkloadClassifierInner createOrUpdate(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters) Create Or Update workload classifierCreate Or Update workload classifier for a Sql pool's workload group.
- 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.workloadClassifierName
- The name of the workload classifier.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 workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters, com.azure.core.util.Context context) Create Or Update workload classifierCreate Or Update workload classifier for a Sql pool's workload group.
- 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.workloadClassifierName
- The name of the workload classifier.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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName) Remove workload classifierRemove workload classifier of a Sql pool's workload group.
- 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.workloadClassifierName
- The name of the workload classifier.- Returns:
- the
SyncPoller
for 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 workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName, com.azure.core.util.Context context) Remove workload classifierRemove workload classifier of a Sql pool's workload group.
- 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.workloadClassifierName
- The name of the workload classifier.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for 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.
-
delete
void delete(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName) Remove workload classifierRemove workload classifier of a Sql pool's workload group.
- 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.workloadClassifierName
- The name of the 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.
-
delete
void delete(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, String workloadClassifierName, com.azure.core.util.Context context) Remove workload classifierRemove workload classifier of a Sql pool's workload group.
- 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.workloadClassifierName
- The name of the workload classifier.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.
-
list
com.azure.core.http.rest.PagedIterable<WorkloadClassifierInner> list(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName) Sql pool's workload classifierGet list of Sql pool's workload classifier for workload groups.
- 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.- Returns:
- list of Sql pool's workload classifier for workload groups 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.
-
list
com.azure.core.http.rest.PagedIterable<WorkloadClassifierInner> list(String resourceGroupName, String workspaceName, String sqlPoolName, String workloadGroupName, com.azure.core.util.Context context) Sql pool's workload classifierGet list of Sql pool's workload classifier for workload groups.
- 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.context
- The context to associate with this operation.- Returns:
- list of Sql pool's workload classifier for workload groups 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.
-