Dela via


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

Parameters

operations
IHostedServiceOperations

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

serviceName
String

Required. The name of the cloud service.

extensionId
String

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

Returns

The Get Extension operation response.

Applies to