다음을 통해 공유


MockableSqlSubscriptionResource.GetVirtualClusters(CancellationToken) 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.Pageable<Azure.ResourceManager.Sql.VirtualClusterResource> GetVirtualClusters (System.Threading.CancellationToken cancellationToken = default);
abstract member GetVirtualClusters : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.VirtualClusterResource>
override this.GetVirtualClusters : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.VirtualClusterResource>
Public Overridable Function GetVirtualClusters (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of VirtualClusterResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to