Share via


SqlVmGroupResource.GetSqlVmsBySqlVmGroupAsync(CancellationToken) Method

Definition

Gets the list of sql virtual machines in a SQL virtual machine group.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to