Sdílet prostřednictvím


IFeatures.RegisterAsync(String, String, CancellationToken) Method

Definition

Registers for a previewed feature of a resource provider.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.FeatureResponse> RegisterAsync (string resourceProviderNamespace, string featureName, System.Threading.CancellationToken cancellationToken);
abstract member RegisterAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.FeatureResponse>
Public Function RegisterAsync (resourceProviderNamespace As String, featureName As String, cancellationToken As CancellationToken) As Task(Of FeatureResponse)

Parameters

resourceProviderNamespace
String

Namespace of the resource provider.

featureName
String

Previewed feature name in the resource provider.

cancellationToken
CancellationToken

Cancellation token.

Returns

Previewed feature information.

Applies to