Udostępnij za pośrednictwem


IVirtualMachineExtensionOperations.ListVersionsAsync Method

Definition

The List Resource Extension Versions operation lists the versions of a resource extension that are available to add to a Virtual Machine. In Azure, a process can run as a resource extension of a Virtual Machine. For example, Remote Desktop Access or the Azure Diagnostics Agent can run as resource extensions to the Virtual Machine. (see http://msdn.microsoft.com/en-us/library/windowsazure/dn495440.aspx for more information)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineExtensionListResponse> ListVersionsAsync (string publisherName, string extensionName, System.Threading.CancellationToken cancellationToken);
abstract member ListVersionsAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineExtensionListResponse>
Public Function ListVersionsAsync (publisherName As String, extensionName As String, cancellationToken As CancellationToken) As Task(Of VirtualMachineExtensionListResponse)

Parameters

publisherName
String

The name of the publisher.

extensionName
String

The name of the extension.

cancellationToken
CancellationToken

Cancellation token.

Returns

The List Resource Extensions operation response.

Applies to