Dela via


VirtualMachineExtensionOperationsExtensions.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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineExtensionListResponse> ListVersionsAsync (this Microsoft.WindowsAzure.Management.Compute.IVirtualMachineExtensionOperations operations, string publisherName, string extensionName);
static member ListVersionsAsync : Microsoft.WindowsAzure.Management.Compute.IVirtualMachineExtensionOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineExtensionListResponse>
<Extension()>
Public Function ListVersionsAsync (operations As IVirtualMachineExtensionOperations, publisherName As String, extensionName As String) As Task(Of VirtualMachineExtensionListResponse)

Parameters

operations
IVirtualMachineExtensionOperations

Reference to the Microsoft.WindowsAzure.Management.Compute.IVirtualMachineExtensionOperations.

publisherName
String

Required. The name of the publisher.

extensionName
String

Required. The name of the extension.

Returns

The List Resource Extensions operation response.

Applies to