Partilhar via


ApplicationInsightsComponentResource.UpdateExportConfigurationAsync Method

Definition

Overloads

UpdateExportConfigurationAsync(String, ApplicationInsightsComponentExportRequest, CancellationToken)

Update the Continuous Export configuration for this export id.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}
  • Operation Id: ExportConfigurations_Update
  • Default Api Version: 2015-05-01
UpdateExportConfigurationAsync(String, ApplicationInsightsComponentExportContent, CancellationToken)

Update the Continuous Export configuration for this export id.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}
  • Operation Id: ExportConfigurations_Update
  • Default Api Version: 2015-05-01

UpdateExportConfigurationAsync(String, ApplicationInsightsComponentExportRequest, CancellationToken)

Source:
ApplicationInsightsComponentResource.cs

Update the Continuous Export configuration for this export id.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/exportconfiguration/{exportId}
  • Operation Id: ExportConfigurations_Update
  • Default Api Version: 2015-05-01
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))

Parameters

exportId
String

The Continuous Export configuration ID. This is unique within a Application Insights component.

exportProperties
ApplicationInsightsComponentExportRequest

Properties that need to be specified to update the Continuous Export configuration.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

exportId is an empty string, and was expected to be non-empty.

exportId or exportProperties is null.

Applies to

UpdateExportConfigurationAsync(String, ApplicationInsightsComponentExportContent, CancellationToken)

Source:
ApplicationInsightsComponentResource.cs

Update the Continuous Export configuration for this export id.

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

Parameters

exportId
String

The Continuous Export configuration ID. This is unique within a Application Insights component.

content
ApplicationInsightsComponentExportContent

Properties that need to be specified to update the Continuous Export configuration.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

exportId is an empty string, and was expected to be non-empty.

exportId or content is null.

Applies to