MockableSqlVirtualMachineSubscriptionResource.GetSqlVmGroupsAsync Method

Definition

Gets all SQL virtual machine groups in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups
  • Operation Id: SqlVirtualMachineGroups_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.SqlVirtualMachine.SqlVmGroupResource> GetSqlVmGroupsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSqlVmGroupsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SqlVirtualMachine.SqlVmGroupResource>
override this.GetSqlVmGroupsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SqlVirtualMachine.SqlVmGroupResource>
Public Overridable Function GetSqlVmGroupsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SqlVmGroupResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to