Share via


VirtualMachineExtensionOperationsExtensions.ListVersionsAsync Method (IVirtualMachineExtensionOperations, String, String)

 

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 https://msdn.microsoft.com/en-us/library/windowsazure/dn495440.aspx for more information)

Namespace:   Microsoft.WindowsAzure.Management.Compute
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Syntax

public static Task<VirtualMachineExtensionListResponse> ListVersionsAsync(
    this IVirtualMachineExtensionOperations operations,
    string publisherName,
    string extensionName
)
public:
[ExtensionAttribute]
static Task<VirtualMachineExtensionListResponse^>^ ListVersionsAsync(
    IVirtualMachineExtensionOperations^ operations,
    String^ publisherName,
    String^ extensionName
)
static member ListVersionsAsync : 
        operations:IVirtualMachineExtensionOperations *
        publisherName:string *
        extensionName:string -> Task<VirtualMachineExtensionListResponse>
<ExtensionAttribute>
Public Shared Function ListVersionsAsync (
    operations As IVirtualMachineExtensionOperations,
    publisherName As String,
    extensionName As String
) As Task(Of VirtualMachineExtensionListResponse)

Parameters

  • publisherName
    Type: System.String

    Required. The name of the publisher.

  • extensionName
    Type: System.String

    Required. The name of the extension.

Return Value

Type: System.Threading.Tasks.Task<VirtualMachineExtensionListResponse>

The List Resource Extensions operation response.

See Also

VirtualMachineExtensionOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top