Udostępnij za pośrednictwem


HostedServiceOperationsExtensions.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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceListAvailableExtensionsResponse> ListExtensionVersionsAsync (this Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations operations, string providerNamespace, string extensionType);
static member ListExtensionVersionsAsync : Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceListAvailableExtensionsResponse>
<Extension()>
Public Function ListExtensionVersionsAsync (operations As IHostedServiceOperations, providerNamespace As String, extensionType As String) As Task(Of HostedServiceListAvailableExtensionsResponse)

Parameters

operations
IHostedServiceOperations

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

providerNamespace
String

Required. The provider namespace.

extensionType
String

Required. The extension type name.

Returns

The List Available Extensions operation response.

Applies to