Compartilhar via


VirtualMachinesOperationsExtensions.ListByLocationAsync Método

Definição

Obtém todas as máquinas virtuais na assinatura especificada para o local especificado.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.VirtualMachine>> ListByLocationAsync (this Microsoft.Azure.Management.Compute.IVirtualMachinesOperations operations, string location, System.Threading.CancellationToken cancellationToken = default);
static member ListByLocationAsync : Microsoft.Azure.Management.Compute.IVirtualMachinesOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.VirtualMachine>>
<Extension()>
Public Function ListByLocationAsync (operations As IVirtualMachinesOperations, location As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of VirtualMachine))

Parâmetros

operations
IVirtualMachinesOperations

O grupo de operações para esse método de extensão.

location
String

O local para o qual as máquinas virtuais na assinatura são consultadas.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a