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

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