Share via


ProvidersOperationsExtensions.UnregisterAsync Method

Definition

Unregisters a subscription from a resource provider.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.Provider> UnregisterAsync (this Microsoft.Azure.Management.ResourceManager.IProvidersOperations operations, string resourceProviderNamespace, System.Threading.CancellationToken cancellationToken = default);
static member UnregisterAsync : Microsoft.Azure.Management.ResourceManager.IProvidersOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.Provider>
<Extension()>
Public Function UnregisterAsync (operations As IProvidersOperations, resourceProviderNamespace As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Provider)

Parameters

operations
IProvidersOperations

The operations group for this extension method.

resourceProviderNamespace
String

The namespace of the resource provider to unregister.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to