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

ApplicationInsightsComponentResource.UpdateExportConfigurationAsync 方法

定义

更新此导出 ID 的连续导出配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}
  • 操作IdExportConfigurations_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentExportConfiguration>> UpdateExportConfigurationAsync (string exportId, Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentExportRequest exportProperties, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateExportConfigurationAsync : string * Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentExportRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentExportConfiguration>>
override this.UpdateExportConfigurationAsync : string * Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentExportRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentExportConfiguration>>
Public Overridable Function UpdateExportConfigurationAsync (exportId As String, exportProperties As ApplicationInsightsComponentExportRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApplicationInsightsComponentExportConfiguration))

参数

exportId
String

连续导出配置 ID。 这在 Application Insights 组件中是唯一的。

exportProperties
ApplicationInsightsComponentExportRequest

需要指定以更新连续导出配置的属性。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

exportId 是一个空字符串,预期为非空。

exportIdexportProperties 为 null。

适用于