Delen via


ApplicationInsightsComponentResource.UpdateComponentCurrentBillingFeatureAsync Method

Definition

Update current billing features for an Application Insights component.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/currentbillingfeatures
  • Operation Id: ComponentCurrentBillingFeatures_Update
  • Default Api Version: 2015-05-01
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentBillingFeatures>> UpdateComponentCurrentBillingFeatureAsync (Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentBillingFeatures billingFeaturesProperties, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateComponentCurrentBillingFeatureAsync : Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentBillingFeatures * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentBillingFeatures>>
override this.UpdateComponentCurrentBillingFeatureAsync : Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentBillingFeatures * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentBillingFeatures>>
Public Overridable Function UpdateComponentCurrentBillingFeatureAsync (billingFeaturesProperties As ApplicationInsightsComponentBillingFeatures, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApplicationInsightsComponentBillingFeatures))

Parameters

billingFeaturesProperties
ApplicationInsightsComponentBillingFeatures

Properties that need to be specified to update billing features for an Application Insights component.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

billingFeaturesProperties is null.

Applies to