MockableSqlSubscriptionResource.GetVirtualClusters(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.