Partilhar via


VirtualMachineImagesOperationsExtensions.ListOffersAsync Método

Definição

Obtém uma lista de ofertas de imagem de máquina virtual para o local e o editor especificados.

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineImageResource>> ListOffersAsync (this Microsoft.Azure.Management.Compute.IVirtualMachineImagesOperations operations, string location, string publisherName, System.Threading.CancellationToken cancellationToken = default);
static member ListOffersAsync : Microsoft.Azure.Management.Compute.IVirtualMachineImagesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineImageResource>>
<Extension()>
Public Function ListOffersAsync (operations As IVirtualMachineImagesOperations, location As String, publisherName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of VirtualMachineImageResource))

Parâmetros

operations
IVirtualMachineImagesOperations

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

location
String

O nome de uma região do Azure com suporte.

publisherName
String

Um editor de imagens válido.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a