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.
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
public: [ExtensionAttribute] static OperationStatusResponse^ Register( IExtensionImageOperations^ operations, ExtensionImageRegisterParameters^ parameters )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.Compute::IExtensionImageOperations^
Reference to the Microsoft.WindowsAzure.Management.Compute.IExtensionImageOperations.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Compute.Models::ExtensionImageRegisterParameters^
Required. Parameters supplied to the Register Virtual Machine Extension Image operation.
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.