Dela via


IHostedServiceOperations.ListExtensionVersionsAsync Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceListAvailableExtensionsResponse> ListExtensionVersionsAsync (string providerNamespace, string extensionType, System.Threading.CancellationToken cancellationToken);
abstract member ListExtensionVersionsAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceListAvailableExtensionsResponse>
Public Function ListExtensionVersionsAsync (providerNamespace As String, extensionType As String, cancellationToken As CancellationToken) As Task(Of HostedServiceListAvailableExtensionsResponse)

Parameters

providerNamespace
String

The provider namespace.

extensionType
String

The extension type name.

cancellationToken
CancellationToken

Cancellation token.

Returns

The List Available Extensions operation response.

Applies to