Share via


HostedServiceOperationsExtensions.ListExtensionsAsync Method (IHostedServiceOperations, String)

 

Asynchronously lists all of the extensions that were added to a cloud service.

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

Syntax

public static Task<HostedServiceListExtensionsResponse> ListExtensionsAsync(
    this IHostedServiceOperations operations,
    string serviceName
)
public:
[ExtensionAttribute]
static Task<HostedServiceListExtensionsResponse^>^ ListExtensionsAsync(
    IHostedServiceOperations^ operations,
    String^ serviceName
)
static member ListExtensionsAsync : 
        operations:IHostedServiceOperations *
        serviceName:string -> Task<HostedServiceListExtensionsResponse>
<ExtensionAttribute>
Public Shared Function ListExtensionsAsync (
    operations As IHostedServiceOperations,
    serviceName As String
) As Task(Of HostedServiceListExtensionsResponse)

Parameters

  • serviceName
    Type: System.String

    The name of the cloud service from which the extensions should be listed.

Return Value

Type: System.Threading.Tasks.Task<HostedServiceListExtensionsResponse>

The HostedServiceListExtensionsResponse object that contains the list of extensions that were added to the cloud service.

Remarks

For more information about listing extensions, see List Extensions.

See Also

HostedServiceOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top