IExtensionImageOperations.UnregisterAsync Method (String, String, String, CancellationToken)
Unregister a version of an extension that was previously registered using either the Register Extension or Update Extension APIs. An extension version is identified by the combination of its ProviderNamespace, Type and Version which are specified when registering the extension. Unregistering is only allowed for internal extensions, that is, the extensions for which the IsInternalExtension field is set to 'true' during registration or during an update. There is a quota (15) on the number of extensions that can be registered per subscription. If your subscription runs out of quota, you will wither need to unregister some of the internal extensions or contact Azure (same email used to become a publisher) to increase the quota.
Namespace: Microsoft.WindowsAzure.Management.Compute
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
Syntax
Task<OperationStatusResponse> UnregisterAsync(
string providerNamespace,
string type,
string version,
CancellationToken cancellationToken
)
Task<OperationStatusResponse^>^ UnregisterAsync(
String^ providerNamespace,
String^ type,
String^ version,
CancellationToken cancellationToken
)
abstract UnregisterAsync :
providerNamespace:string *
type:string *
version:string *
cancellationToken:CancellationToken -> Task<OperationStatusResponse>
Function UnregisterAsync (
providerNamespace As String,
type As String,
version As String,
cancellationToken As CancellationToken
) As Task(Of OperationStatusResponse)
Parameters
providerNamespace
Type: System.StringThe provider namespace of the extension image to unregister.
type
Type: System.StringThe type of the extension image to unregister.
version
Type: System.StringThe version of the extension image to unregister.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<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
IExtensionImageOperations Interface
Microsoft.WindowsAzure.Management.Compute Namespace
Return to top