MockableSqlVirtualMachineSubscriptionResource.GetSqlVmsAsync Method

Definition

Gets all SQL virtual machines in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines
  • Operation Id: SqlVirtualMachines_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.SqlVirtualMachine.SqlVmResource> GetSqlVmsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSqlVmsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SqlVirtualMachine.SqlVmResource>
override this.GetSqlVmsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SqlVirtualMachine.SqlVmResource>
Public Overridable Function GetSqlVmsAsync (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