IHostedServiceOperations.ListExtensionVersionsAsync Method

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

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

Usage

'Usage
Dim instance As IHostedServiceOperations
Dim providerNamespace As String
Dim extensionType As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of HostedServiceListAvailableExtensionsResponse)

returnValue = instance.ListExtensionVersionsAsync(providerNamespace, extensionType, cancellationToken)

Syntax

'Declaration
Function ListExtensionVersionsAsync ( _
    providerNamespace As String, _
    extensionType As String, _
    cancellationToken As CancellationToken _
) As Task(Of HostedServiceListAvailableExtensionsResponse)
Task<HostedServiceListAvailableExtensionsResponse> ListExtensionVersionsAsync (
    string providerNamespace,
    string extensionType,
    CancellationToken cancellationToken
)
Task<HostedServiceListAvailableExtensionsResponse^>^ ListExtensionVersionsAsync (
    String^ providerNamespace, 
    String^ extensionType, 
    CancellationToken cancellationToken
)
Task<HostedServiceListAvailableExtensionsResponse> ListExtensionVersionsAsync (
    String providerNamespace, 
    String extensionType, 
    CancellationToken cancellationToken
)
function ListExtensionVersionsAsync (
    providerNamespace : String, 
    extensionType : String, 
    cancellationToken : CancellationToken
) : Task<HostedServiceListAvailableExtensionsResponse>

Parameters

  • providerNamespace
    The provider namespace.
  • extensionType
    The extension type name.
  • cancellationToken
    Cancellation token.

Return Value

The List Available 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

IHostedServiceOperations Interface
IHostedServiceOperations Members
Microsoft.WindowsAzure.Management.Compute Namespace