共用方式為


RuleOperationsExtensions.CreateOrUpdate Method

Definition

public static Microsoft.Azure.AzureOperationResponse CreateOrUpdate (this Microsoft.WindowsAzure.Management.Monitoring.Alerts.IRuleOperations operations, Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.RuleCreateOrUpdateParameters parameters);
static member CreateOrUpdate : Microsoft.WindowsAzure.Management.Monitoring.Alerts.IRuleOperations * Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.RuleCreateOrUpdateParameters -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function CreateOrUpdate (operations As IRuleOperations, parameters As RuleCreateOrUpdateParameters) As AzureOperationResponse

Parameters

operations
IRuleOperations

Reference to the Microsoft.WindowsAzure.Management.Monitoring.Alerts.IRuleOperations.

parameters
RuleCreateOrUpdateParameters

Required. The rule to create or update.

Returns

Microsoft.Azure.AzureOperationResponse

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

Applies to