AlertOperationsExtensions.UpdateRuleAsync Method (IAlertOperations, String, RuleCreateOrUpdateParameters)
Namespace: Microsoft.Azure.Management.Insights
Assembly: Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)
Syntax
public static Task<OperationResponse> UpdateRuleAsync(
this IAlertOperations operations,
string resourceGroupName,
RuleCreateOrUpdateParameters parameters
)
public:
[ExtensionAttribute]
static Task<OperationResponse^>^ UpdateRuleAsync(
IAlertOperations^ operations,
String^ resourceGroupName,
RuleCreateOrUpdateParameters^ parameters
)
static member UpdateRuleAsync :
operations:IAlertOperations *
resourceGroupName:string *
parameters:RuleCreateOrUpdateParameters -> Task<OperationResponse>
<ExtensionAttribute>
Public Shared Function UpdateRuleAsync (
operations As IAlertOperations,
resourceGroupName As String,
parameters As RuleCreateOrUpdateParameters
) As Task(Of OperationResponse)
Parameters
operations
Type: Microsoft.Azure.Management.Insights.IAlertOperationsReference to the Microsoft.Azure.Management.Insights.IAlertOperations.
resourceGroupName
Type: System.StringRequired. The name of the resource group.
parameters
Type: Microsoft.Azure.Management.Insights.Models.RuleCreateOrUpdateParametersRequired. The rule to update.
Return Value
Type: System.Threading.Tasks.Task<OperationResponse>
A standard service response including an HTTP status code and request ID.
See Also
AlertOperationsExtensions Class
Microsoft.Azure.Management.Insights Namespace
Return to top