IExtensionImageOperations.BeginRegisteringAsync Method (ExtensionImageRegisterParameters, CancellationToken)
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
Task<AzureOperationResponse> BeginRegisteringAsync(
ExtensionImageRegisterParameters parameters,
CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ BeginRegisteringAsync(
ExtensionImageRegisterParameters^ parameters,
CancellationToken cancellationToken
)
abstract BeginRegisteringAsync :
parameters:ExtensionImageRegisterParameters *
cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function BeginRegisteringAsync (
parameters As ExtensionImageRegisterParameters,
cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)
Parameters
parameters
Type: Microsoft.WindowsAzure.Management.Compute.Models.ExtensionImageRegisterParametersParameters supplied to the Register Virtual Machine Extension Image operation.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<AzureOperationResponse>
A standard service response including an HTTP status code and request ID.
See Also
IExtensionImageOperations Interface
Microsoft.WindowsAzure.Management.Compute Namespace
Return to top