IAlertOperations.CreateOrUpdateRuleAsync Method (String, RuleCreateOrUpdateParameters, CancellationToken)
Namespace:
Microsoft.Azure.Management.Insights
Assembly: Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)
Task<OperationResponse> CreateOrUpdateRuleAsync(
string resourceGroupName,
RuleCreateOrUpdateParameters parameters,
CancellationToken cancellationToken
)
Parameters
- resourceGroupName
-
Type:
System.String
The name of the resource group.
- parameters
-
Type:
Microsoft.Azure.Management.Insights.Models.RuleCreateOrUpdateParameters
The rule to create or update.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task<OperationResponse>A standard service response including an HTTP status code and request ID.
Show: