ScheduledQueryRulesOperations.Update Method

Definition

Update log search Rule.

public virtual Azure.Response<Azure.ResourceManager.Insights.Models.LogSearchRuleResource> Update (string resourceGroupName, string ruleName, Azure.ResourceManager.Insights.Models.LogSearchRuleResourcePatch parameters, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : string * string * Azure.ResourceManager.Insights.Models.LogSearchRuleResourcePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Insights.Models.LogSearchRuleResource>
override this.Update : string * string * Azure.ResourceManager.Insights.Models.LogSearchRuleResourcePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Insights.Models.LogSearchRuleResource>
Public Overridable Function Update (resourceGroupName As String, ruleName As String, parameters As LogSearchRuleResourcePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of LogSearchRuleResource)

Parameters

resourceGroupName
System.String

The name of the resource group.

ruleName
System.String

The name of the rule.

parameters
LogSearchRuleResourcePatch

The parameters of the rule to update.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

Response<LogSearchRuleResource>

Applies to