다음을 통해 공유


MockableSqlSubscriptionResource.GetVirtualClustersAsync Method

Definition

Gets a list of all virtualClusters in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Sql/virtualClusters
  • Operation Id: VirtualClusters_List
  • Default Api Version: 2022-05-01-preview
  • Resource: VirtualClusterResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.VirtualClusterResource> GetVirtualClustersAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetVirtualClustersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.VirtualClusterResource>
override this.GetVirtualClustersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.VirtualClusterResource>
Public Overridable Function GetVirtualClustersAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VirtualClusterResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of VirtualClusterResource that may take multiple service requests to iterate over.

Applies to