Share via


IProviders.RegisterAsync(String, CancellationToken) Method

Definition

Registers provider to be used with a subscription.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.IProvider> RegisterAsync (string resourceProviderNamespace, System.Threading.CancellationToken cancellationToken = default);
abstract member RegisterAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.IProvider>
Public Function RegisterAsync (resourceProviderNamespace As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IProvider)

Parameters

resourceProviderNamespace
String

resourceProviderNamespace Namespace of the resource provider

cancellationToken
CancellationToken

Returns

the ProviderInner object wrapped in {@link ServiceResponse} if successful

Applies to