Condividi tramite


ProactiveDetectionConfigurationsOperationsExtensions.UpdateAsync Method

Definition

Update the ProactiveDetection configuration for this configuration id.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentProactiveDetectionConfiguration> UpdateAsync (this Microsoft.Azure.Management.ApplicationInsights.Management.IProactiveDetectionConfigurationsOperations operations, string resourceGroupName, string resourceName, string configurationId, Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentProactiveDetectionConfiguration proactiveDetectionProperties, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.ApplicationInsights.Management.IProactiveDetectionConfigurationsOperations * string * string * string * Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentProactiveDetectionConfiguration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentProactiveDetectionConfiguration>
<Extension()>
Public Function UpdateAsync (operations As IProactiveDetectionConfigurationsOperations, resourceGroupName As String, resourceName As String, configurationId As String, proactiveDetectionProperties As ApplicationInsightsComponentProactiveDetectionConfiguration, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ApplicationInsightsComponentProactiveDetectionConfiguration)

Parameters

operations
IProactiveDetectionConfigurationsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

resourceName
String

The name of the Application Insights component resource.

configurationId
String

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

proactiveDetectionProperties
ApplicationInsightsComponentProactiveDetectionConfiguration

Properties that need to be specified to update the ProactiveDetection configuration.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to