Share via


ExtensionImageOperationsExtensions.UnregisterAsync Method (IExtensionImageOperations, String, String, String)

 

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

public static Task<OperationStatusResponse> UnregisterAsync(
    this IExtensionImageOperations operations,
    string providerNamespace,
    string type,
    string version
)
public:
[ExtensionAttribute]
static Task<OperationStatusResponse^>^ UnregisterAsync(
    IExtensionImageOperations^ operations,
    String^ providerNamespace,
    String^ type,
    String^ version
)
static member UnregisterAsync : 
        operations:IExtensionImageOperations *
        providerNamespace:string *
        type:string *
        version:string -> Task<OperationStatusResponse>
<ExtensionAttribute>
Public Shared Function UnregisterAsync (
    operations As IExtensionImageOperations,
    providerNamespace As String,
    type As String,
    version As String
) As Task(Of OperationStatusResponse)

Parameters

  • providerNamespace
    Type: System.String

    Required. The provider namespace of the extension image to unregister.

  • type
    Type: System.String

    Required. The type of the extension image to unregister.

  • version
    Type: System.String

    Required. The version of the extension image to unregister.

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

ExtensionImageOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top