IVirtualMachineExtensionOperations.ListVersionsAsync Method (String, String, CancellationToken)
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
Task<VirtualMachineExtensionListResponse> ListVersionsAsync(
string publisherName,
string extensionName,
CancellationToken cancellationToken
)
Task<VirtualMachineExtensionListResponse^>^ ListVersionsAsync(
String^ publisherName,
String^ extensionName,
CancellationToken cancellationToken
)
abstract ListVersionsAsync :
publisherName:string *
extensionName:string *
cancellationToken:CancellationToken -> Task<VirtualMachineExtensionListResponse>
Function ListVersionsAsync (
publisherName As String,
extensionName As String,
cancellationToken As CancellationToken
) As Task(Of VirtualMachineExtensionListResponse)
Parameters
publisherName
Type: System.StringThe name of the publisher.
extensionName
Type: System.StringThe name of the extension.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<VirtualMachineExtensionListResponse>
The List Resource Extensions operation response.
See Also
IVirtualMachineExtensionOperations Interface
Microsoft.WindowsAzure.Management.Compute Namespace
Return to top