Share via


VirtualMachineExtensionOperationsExtensions.ListVersions Method

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)

Usage

'Usage
Dim operations As IVirtualMachineExtensionOperations
Dim publisherName As String
Dim extensionName As String
Dim returnValue As VirtualMachineExtensionListResponse

returnValue = VirtualMachineExtensionOperationsExtensions.ListVersions(operations, publisherName, extensionName)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ListVersions ( _
    operations As IVirtualMachineExtensionOperations, _
    publisherName As String, _
    extensionName As String _
) As VirtualMachineExtensionListResponse
[ExtensionAttribute] 
public static VirtualMachineExtensionListResponse ListVersions (
    IVirtualMachineExtensionOperations operations,
    string publisherName,
    string extensionName
)
[ExtensionAttribute] 
public:
static VirtualMachineExtensionListResponse^ ListVersions (
    IVirtualMachineExtensionOperations^ operations, 
    String^ publisherName, 
    String^ extensionName
)
/** @attribute ExtensionAttribute() */ 
public static VirtualMachineExtensionListResponse ListVersions (
    IVirtualMachineExtensionOperations operations, 
    String publisherName, 
    String extensionName
)
ExtensionAttribute 
public static function ListVersions (
    operations : IVirtualMachineExtensionOperations, 
    publisherName : String, 
    extensionName : String
) : VirtualMachineExtensionListResponse

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Compute.IVirtualMachineExtensionOperations.
  • publisherName
    Required. The name of the publisher.
  • extensionName
    Required. The name of the extension.

Return Value

The List Resource Extensions operation response.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

VirtualMachineExtensionOperationsExtensions Class
VirtualMachineExtensionOperationsExtensions Members
Microsoft.WindowsAzure.Management.Compute Namespace