Sdílet prostřednictvím


FeatureResource.Register(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 Azure.Response<Azure.ResourceManager.Resources.FeatureResource> Register (System.Threading.CancellationToken cancellationToken = default);
abstract member Register : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.FeatureResource>
override this.Register : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.FeatureResource>
Public Overridable Function Register (Optional cancellationToken As CancellationToken = Nothing) As Response(Of FeatureResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to