Udostępnij za pośrednictwem


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