HostedServiceOperationsExtensions.GetExtension Method (IHostedServiceOperations, String, String)
Retrieves information about a specified extension that was added to a cloud service.
Namespace: Microsoft.WindowsAzure.Management.Compute
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
Syntax
public static HostedServiceGetExtensionResponse GetExtension(
this IHostedServiceOperations operations,
string serviceName,
string extensionId
)
public:
[ExtensionAttribute]
static HostedServiceGetExtensionResponse^ GetExtension(
IHostedServiceOperations^ operations,
String^ serviceName,
String^ extensionId
)
static member GetExtension :
operations:IHostedServiceOperations *
serviceName:string *
extensionId:string -> HostedServiceGetExtensionResponse
<ExtensionAttribute>
Public Shared Function GetExtension (
operations As IHostedServiceOperations,
serviceName As String,
extensionId As String
) As HostedServiceGetExtensionResponse
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperationsThe IHostedServiceOperations object that specifies the cloud service operations.
serviceName
Type: System.StringThe name of the cloud service from which the extension information should be retrieved.
extensionId
Type: System.StringThe identifier that was assigned to the extension when it was added to the cloud service.
Return Value
Type: Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceGetExtensionResponse
The HostedServiceGetExtensionResponse object that contains the extension information from the cloud service.
Remarks
For more information about retrieving extension information, see the following resources:
See Also
HostedServiceOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace
Return to top