Condividi tramite


SqlVmCollection.GetAll(CancellationToken) Method

Definition

Gets all SQL virtual machines in a resource group.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to