ProvidersOperationsExtensions.RegisterAsync Method

Definition

Registers a subscription with a resource provider.

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

Parameters

operations
IProvidersOperations

The operations group for this extension method.

resourceProviderNamespace
String

The namespace of the resource provider to register.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to