次の方法で共有


LogSearchRuleResource コンストラクター

定義

オーバーロード

LogSearchRuleResource()

LogSearchRuleResource クラスの新しいインスタンスを初期化します。

LogSearchRuleResource(String, Source, Action, String, String, String, IDictionary<String,String>, String, String, String, Nullable<Boolean>, String, String, Nullable<Boolean>, String, Nullable<DateTime>, String, Schedule)

LogSearchRuleResource クラスの新しいインスタンスを初期化します。

LogSearchRuleResource()

LogSearchRuleResource クラスの新しいインスタンスを初期化します。

public LogSearchRuleResource();
Public Sub New ()

適用対象

LogSearchRuleResource(String, Source, Action, String, String, String, IDictionary<String,String>, String, String, String, Nullable<Boolean>, String, String, Nullable<Boolean>, String, Nullable<DateTime>, String, Schedule)

LogSearchRuleResource クラスの新しいインスタンスを初期化します。

public LogSearchRuleResource(string location, Microsoft.Azure.Management.Monitor.Models.Source source, Microsoft.Azure.Management.Monitor.Models.Action action, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string kind = default, string etag = default, string createdWithApiVersion = default, bool? isLegacyLogAnalyticsRule = default, string description = default, string displayName = default, bool? autoMitigate = default, string enabled = default, DateTime? lastUpdatedTime = default, string provisioningState = default, Microsoft.Azure.Management.Monitor.Models.Schedule schedule = default);
new Microsoft.Azure.Management.Monitor.Models.LogSearchRuleResource : string * Microsoft.Azure.Management.Monitor.Models.Source * Microsoft.Azure.Management.Monitor.Models.Action * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * string * Nullable<bool> * string * string * Nullable<bool> * string * Nullable<DateTime> * string * Microsoft.Azure.Management.Monitor.Models.Schedule -> Microsoft.Azure.Management.Monitor.Models.LogSearchRuleResource
Public Sub New (location As String, source As Source, action As Action, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional kind As String = Nothing, Optional etag As String = Nothing, Optional createdWithApiVersion As String = Nothing, Optional isLegacyLogAnalyticsRule As Nullable(Of Boolean) = Nothing, Optional description As String = Nothing, Optional displayName As String = Nothing, Optional autoMitigate As Nullable(Of Boolean) = Nothing, Optional enabled As String = Nothing, Optional lastUpdatedTime As Nullable(Of DateTime) = Nothing, Optional provisioningState As String = Nothing, Optional schedule As Schedule = Nothing)

パラメーター

location
String

リソースの場所

source
Source

データ のクエリを実行するルールに対するデータ ソース

action
Action

ルールの実行に対してアクションを実行する必要があります。

id
String

Azure リソース ID

name
String

Azure リソース名

type
String

Azure リソースタイプ

tags
IDictionary<String,String>

リソース タグ

kind
String

同じ種類のリソースに対して異なる UX エクスペリエンスをレンダリングするためにポータル/ツール/etc によって使用されるメタデータ。たとえば、ApiApps は Microsoft.Web/sites の種類の一種です。 サポートされている場合、リソース プロバイダーはこの値を検証して保持する必要があります。

etag
String

etag フィールドは必要 ありません 。 応答本文で指定する場合は、通常の etag 規則に従ってヘッダーとしても指定する必要があります。 エンティティ タグは、同じ要求されたリソースから 2 つ以上のエンティティを比較するために使用されます。 HTTP/1.1 では、etag (セクション 14.19)、If-Match (セクション 14.24)、If-None-Match (セクション 14.26)、およびIf-Range (セクション 14.27) ヘッダー フィールドのエンティティ タグを使用します。

createdWithApiVersion
String

このアラート ルールの作成時に使用される api バージョン

isLegacyLogAnalyticsRule
Nullable<Boolean>

アラート ルールが従来の Log Analytic ルールの場合は True

description
String

ログ検索ルールの説明。

displayName
String

アラート ルールの表示名

autoMitigate
Nullable<Boolean>

アラートを自動的に解決するかどうかを示すフラグ。 既定値は false です。

enabled
String

ログ検索ルールが有効かどうかを示すフラグ。 値は true または false にする必要があります。 使用可能な値は次のとおりです: 'true'、'false'

lastUpdatedTime
Nullable<DateTime>

ルールが最後に IS08601 形式で更新されたとき。

provisioningState
String

スケジュールされたクエリ ルールのプロビジョニング状態。 使用可能な値には、'Succeeded'、'Deploying'、'Canceled'、'Failed' などがあります。

schedule
Schedule

ルールのスケジュール (頻度、時間枠)。 アクションの種類に必須 - AlertingAction

適用対象