HostedServiceOperationsExtensions.GetExtensionAsync Method (IHostedServiceOperations, String, String)
Asynchronously retrieves information about a specified extension that was added to a cloud service.
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
public static Task<HostedServiceGetExtensionResponse> GetExtensionAsync( this IHostedServiceOperations operations, string serviceName, string extensionId )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations
The IHostedServiceOperations object that specifies the cloud service operations.
- serviceName
-
Type:
System.String
The name of the cloud service from which the extension information should be retrieved.
- extensionId
-
Type:
System.String
The identifier that was assigned to the extension when it was added to the cloud service.
Return Value
Type: System.Threading.Tasks.Task<HostedServiceGetExtensionResponse>The HostedServiceGetExtensionResponse object that contains the extension information from the cloud service.
For more information about retrieving extension information, see the following resources:
Show: