Partilhar via


IVirtualMachineExtensionImagesOperations.ListVersionsWithHttpMessagesAsync Método

Definição

Obtém uma lista de versões de imagem de extensão de máquina virtual.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineExtensionImage>>> ListVersionsWithHttpMessagesAsync (string location, string publisherName, string type, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Compute.Models.VirtualMachineExtensionImage> odataQuery = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListVersionsWithHttpMessagesAsync : string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Compute.Models.VirtualMachineExtensionImage> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineExtensionImage>>>
Public Function ListVersionsWithHttpMessagesAsync (location As String, publisherName As String, type As String, Optional odataQuery As ODataQuery(Of VirtualMachineExtensionImage) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IList(Of VirtualMachineExtensionImage)))

Parâmetros

location
String

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

publisherName
String
type
String
odataQuery
ODataQuery<VirtualMachineExtensionImage>

Parâmetros OData a serem aplicados à operação.

customHeaders
Dictionary<String,List<String>>

Os cabeçalhos que serão adicionados à solicitação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Exceções

Gerada quando a operação retornou um código de status inválido

Gerada quando não é possível desserializar a resposta

Gerado quando um parâmetro necessário é nulo

Aplica-se a