Partager via


WorkloadClassifiersClient Interface

public interface WorkloadClassifiersClient

An instance of this class provides access to all the operations defined in WorkloadClassifiersClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<WorkloadClassifierInner>,WorkloadClassifierInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters)

Creates or updates a workload classifier.

abstract SyncPoller<PollResult<WorkloadClassifierInner>,WorkloadClassifierInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters, Context context)

Creates or updates a workload classifier.

abstract PollerFlux<PollResult<WorkloadClassifierInner>,WorkloadClassifierInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters)

Creates or updates a workload classifier.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName)

Deletes a workload classifier.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, Context context)

Deletes a workload classifier.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName)

Deletes a workload classifier.

abstract WorkloadClassifierInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters)

Creates or updates a workload classifier.

abstract WorkloadClassifierInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters, Context context)

Creates or updates a workload classifier.

abstract Mono<WorkloadClassifierInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters)

Creates or updates a workload classifier.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters)

Creates or updates a workload classifier.

abstract void delete(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName)

Deletes a workload classifier.

abstract void delete(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, Context context)

Deletes a workload classifier.

abstract Mono<Void> deleteAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName)

Deletes a workload classifier.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName)

Deletes a workload classifier.

abstract WorkloadClassifierInner get(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName)

Gets a workload classifier.

abstract Mono<WorkloadClassifierInner> getAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName)

Gets a workload classifier.

abstract Response<WorkloadClassifierInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, Context context)

Gets a workload classifier.

abstract Mono<Response<WorkloadClassifierInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName)

Gets a workload classifier.

abstract PagedIterable<WorkloadClassifierInner> listByWorkloadGroup(String resourceGroupName, String serverName, String databaseName, String workloadGroupName)

Gets the list of workload classifiers for a workload group.

abstract PagedIterable<WorkloadClassifierInner> listByWorkloadGroup(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, Context context)

Gets the list of workload classifiers for a workload group.

abstract PagedFlux<WorkloadClassifierInner> listByWorkloadGroupAsync(String resourceGroupName, String serverName, String databaseName, String workloadGroupName)

Gets the list of workload classifiers for a workload group.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,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 - The properties of the workload classifier.

Returns:

the SyncPoller<T,U> for polling of workload classifier operations for a data warehouse.

beginCreateOrUpdate

public abstract SyncPoller,WorkloadClassifierInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters, 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 - The properties of the workload classifier.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of workload classifier operations for a data warehouse.

beginCreateOrUpdateAsync

public abstract PollerFlux,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 - The properties of the workload classifier.

Returns:

the PollerFlux<T,U> for polling of workload classifier operations for a data warehouse.

beginDelete

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, 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 SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

createOrUpdate

public abstract 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 - The properties of the workload classifier.

Returns:

workload classifier operations for a data warehouse.

createOrUpdate

public abstract WorkloadClassifierInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, WorkloadClassifierInner parameters, 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 - The properties of the workload classifier.
context - The context to associate with this operation.

Returns:

workload classifier operations for a data warehouse.

createOrUpdateAsync

public abstract Mono 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 - The properties of the workload classifier.

Returns:

workload classifier operations for a data warehouse on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> 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 - The properties of the workload classifier.

Returns:

workload classifier operations for a data warehouse along with Response<T> on successful completion of Mono.

delete

public abstract 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.

delete

public abstract void delete(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, 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.

deleteAsync

public abstract Mono 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:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

get

public abstract 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.

getAsync

public abstract Mono 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 on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, String workloadClassifierName, 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 along with Response<T>.

getWithResponseAsync

public abstract Mono> 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 along with Response<T> on successful completion of Mono.

listByWorkloadGroup

public abstract PagedIterable 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 as paginated response with PagedIterable<T>.

listByWorkloadGroup

public abstract PagedIterable listByWorkloadGroup(String resourceGroupName, String serverName, String databaseName, String workloadGroupName, 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 as paginated response with PagedIterable<T>.

listByWorkloadGroupAsync

public abstract PagedFlux 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 as paginated response with PagedFlux<T>.

Applies to