次の方法で共有


MetricAlertsOperationsExtensions.CreateOrUpdate メソッド

定義

メトリック アラート定義を作成または更新します。

public static Microsoft.Azure.Management.Monitor.Models.MetricAlertResource CreateOrUpdate (this Microsoft.Azure.Management.Monitor.IMetricAlertsOperations operations, string resourceGroupName, string ruleName, Microsoft.Azure.Management.Monitor.Models.MetricAlertResource parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Monitor.IMetricAlertsOperations * string * string * Microsoft.Azure.Management.Monitor.Models.MetricAlertResource -> Microsoft.Azure.Management.Monitor.Models.MetricAlertResource
<Extension()>
Public Function CreateOrUpdate (operations As IMetricAlertsOperations, resourceGroupName As String, ruleName As String, parameters As MetricAlertResource) As MetricAlertResource

パラメーター

operations
IMetricAlertsOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

リソース グループの名前。 名前の大文字と小文字は区別されます。

ruleName
String

ルールの名前です。

parameters
MetricAlertResource

作成または更新するルールのパラメーター。

戻り値

適用対象