你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ApplicationInsightsComponentResource.UpdateComponentCurrentBillingFeatureAsync 方法

定义

更新 Application Insights 组件的当前计费功能。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/currentbillingfeatures
  • 操作IdComponentCurrentBillingFeatures_Update
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))

参数

billingFeaturesProperties
ApplicationInsightsComponentBillingFeatures

需要指定以更新 Application Insights 组件的计费功能的属性。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

billingFeaturesProperties 为 null。

适用于