共用方式為


SynapseWorkloadClassifierCollection Class

Definition

A class representing a collection of SynapseWorkloadClassifierResource and their operations. Each SynapseWorkloadClassifierResource in the collection will belong to the same instance of SynapseWorkloadGroupResource. To get a SynapseWorkloadClassifierCollection instance call the GetSynapseWorkloadClassifiers method from an instance of SynapseWorkloadGroupResource.

public class SynapseWorkloadClassifierCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Synapse.SynapseWorkloadClassifierResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Synapse.SynapseWorkloadClassifierResource>
type SynapseWorkloadClassifierCollection = class
    inherit ArmCollection
    interface seq<SynapseWorkloadClassifierResource>
    interface IEnumerable
    interface IAsyncEnumerable<SynapseWorkloadClassifierResource>
Public Class SynapseWorkloadClassifierCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of SynapseWorkloadClassifierResource), IEnumerable(Of SynapseWorkloadClassifierResource)
Inheritance
SynapseWorkloadClassifierCollection
Implements

Constructors

SynapseWorkloadClassifierCollection()

Initializes a new instance of the SynapseWorkloadClassifierCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, SynapseWorkloadClassifierData, CancellationToken)

Create Or Update workload classifier for a Sql pool's workload group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}
  • Operation Id: SqlPoolWorkloadClassifier_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, SynapseWorkloadClassifierData, CancellationToken)

Create Or Update workload classifier for a Sql pool's workload group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}
  • Operation Id: SqlPoolWorkloadClassifier_CreateOrUpdate
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}
  • Operation Id: SqlPoolWorkloadClassifier_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}
  • Operation Id: SqlPoolWorkloadClassifier_Get
Get(String, CancellationToken)

Get a workload classifier of Sql pool's workload group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}
  • Operation Id: SqlPoolWorkloadClassifier_Get
GetAll(CancellationToken)

Get list of Sql pool's workload classifier for workload groups.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}/workloadClassifiers
  • Operation Id: SqlPoolWorkloadClassifier_List
GetAllAsync(CancellationToken)

Get list of Sql pool's workload classifier for workload groups.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}/workloadClassifiers
  • Operation Id: SqlPoolWorkloadClassifier_List
GetAsync(String, CancellationToken)

Get a workload classifier of Sql pool's workload group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}
  • Operation Id: SqlPoolWorkloadClassifier_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}
  • Operation Id: SqlPoolWorkloadClassifier_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}
  • Operation Id: SqlPoolWorkloadClassifier_Get
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<SynapseWorkloadClassifierResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SynapseWorkloadClassifierResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to