Share via


ExtensionImageOperationsExtensions.Register Method (IExtensionImageOperations, ExtensionImageRegisterParameters)

 

Register a new extension. An extension is identified by the combination of its ProviderNamespace and Type (case-sensitive string). It is not allowed to register an extension with the same identity (i.e. combination of ProviderNamespace and Type) of an already-registered extension. To register new version of an existing extension, the Update Extension API should be used.

Namespace:   Microsoft.WindowsAzure.Management.Compute
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Syntax

public static OperationStatusResponse Register(
    this IExtensionImageOperations operations,
    ExtensionImageRegisterParameters parameters
)
public:
[ExtensionAttribute]
static OperationStatusResponse^ Register(
    IExtensionImageOperations^ operations,
    ExtensionImageRegisterParameters^ parameters
)
static member Register : 
        operations:IExtensionImageOperations *
        parameters:ExtensionImageRegisterParameters -> OperationStatusResponse
<ExtensionAttribute>
Public Shared Function Register (
    operations As IExtensionImageOperations,
    parameters As ExtensionImageRegisterParameters
) As OperationStatusResponse

Parameters

Return Value

Type: Microsoft.Azure.OperationStatusResponse

The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is inprogress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure.

See Also

ExtensionImageOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top