Condividi tramite


IHostedServiceOperations.GetExtensionAsync Method

Definition

The Get Extension operation retrieves information about a specified extension that was added to a cloud service. (see http://msdn.microsoft.com/en-us/library/windowsazure/dn169557.aspx for more information)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceGetExtensionResponse> GetExtensionAsync (string serviceName, string extensionId, System.Threading.CancellationToken cancellationToken);
abstract member GetExtensionAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceGetExtensionResponse>
Public Function GetExtensionAsync (serviceName As String, extensionId As String, cancellationToken As CancellationToken) As Task(Of HostedServiceGetExtensionResponse)

Parameters

serviceName
String

The name of the cloud service.

extensionId
String

The identifier that was assigned to the extension when it was added to the cloud service

cancellationToken
CancellationToken

Cancellation token.

Returns

The Get Extension operation response.

Applies to