SynapseWorkloadGroupCollection Class

Definition

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

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

Constructors

SynapseWorkloadGroupCollection()

Initializes a new instance of the SynapseWorkloadGroupCollection 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, SynapseWorkloadGroupData, CancellationToken)

Create Or Update a Sql pool's workload group.

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

Create Or Update a Sql pool's workload group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}
  • Operation Id: SqlPoolWorkloadGroup_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}
  • Operation Id: SqlPoolWorkloadGroup_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}
  • Operation Id: SqlPoolWorkloadGroup_Get
Get(String, CancellationToken)

Get a Sql pool's workload group.

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

Get list of Sql pool's workload groups.

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

Get list of Sql pool's workload groups.

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

Get a Sql pool's workload group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}
  • Operation Id: SqlPoolWorkloadGroup_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}
  • Operation Id: SqlPoolWorkloadGroup_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}
  • Operation Id: SqlPoolWorkloadGroup_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<SynapseWorkloadGroupResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SynapseWorkloadGroupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to