Partilhar via


VirtualMachineImagesOperationsExtensions.ListSkusAsync Método

Definição

Obtém uma lista de SKUs de imagem de máquina virtual para o local, o editor e a oferta especificados.

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineImageResource>> ListSkusAsync (this Microsoft.Azure.Management.Compute.IVirtualMachineImagesOperations operations, string location, string publisherName, string offer, System.Threading.CancellationToken cancellationToken = default);
static member ListSkusAsync : Microsoft.Azure.Management.Compute.IVirtualMachineImagesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineImageResource>>
<Extension()>
Public Function ListSkusAsync (operations As IVirtualMachineImagesOperations, location As String, publisherName As String, offer 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.

offer
String

Uma oferta válida do editor de imagens.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a