다음을 통해 공유


FeatureResource.RegisterAsync(CancellationToken) Method

Definition

Registers the preview feature for the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/register
  • Operation Id: Features_Register
  • Default Api Version: 2021-07-01
  • Resource: FeatureResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.FeatureResource>> RegisterAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member RegisterAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.FeatureResource>>
override this.RegisterAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.FeatureResource>>
Public Overridable Function RegisterAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FeatureResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to