Compartilhar via


IAlertOperations.CreateOrUpdateRuleAsync Method (String, RuleCreateOrUpdateParameters, CancellationToken)

 

Namespace:   Microsoft.Azure.Management.Insights
Assembly:  Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)

Syntax

Task<OperationResponse> CreateOrUpdateRuleAsync(
    string resourceGroupName,
    RuleCreateOrUpdateParameters parameters,
    CancellationToken cancellationToken
)
Task<OperationResponse^>^ CreateOrUpdateRuleAsync(
    String^ resourceGroupName,
    RuleCreateOrUpdateParameters^ parameters,
    CancellationToken cancellationToken
)
abstract CreateOrUpdateRuleAsync : 
        resourceGroupName:string *
        parameters:RuleCreateOrUpdateParameters *
        cancellationToken:CancellationToken -> Task<OperationResponse>
Function CreateOrUpdateRuleAsync (
    resourceGroupName As String,
    parameters As RuleCreateOrUpdateParameters,
    cancellationToken As CancellationToken
) As Task(Of OperationResponse)

Parameters

  • resourceGroupName
    Type: System.String

    The name of the resource group.

Return Value

Type: System.Threading.Tasks.Task<OperationResponse>

A standard service response including an HTTP status code and request ID.

See Also

IAlertOperations Interface
Microsoft.Azure.Management.Insights Namespace

Return to top