HostedServiceOperationsExtensions.GetExtensionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET