次の方法で共有


LogProfileData コンストラクター

定義

LogProfileData の新しいインスタンスを初期化します。

public LogProfileData (Azure.Core.AzureLocation location, System.Collections.Generic.IEnumerable<Azure.Core.AzureLocation> locations, System.Collections.Generic.IEnumerable<string> categories, Azure.ResourceManager.Monitor.Models.RetentionPolicy retentionPolicy);
new Azure.ResourceManager.Monitor.LogProfileData : Azure.Core.AzureLocation * seq<Azure.Core.AzureLocation> * seq<string> * Azure.ResourceManager.Monitor.Models.RetentionPolicy -> Azure.ResourceManager.Monitor.LogProfileData
Public Sub New (location As AzureLocation, locations As IEnumerable(Of AzureLocation), categories As IEnumerable(Of String), retentionPolicy As RetentionPolicy)

パラメーター

location
AzureLocation

場所。

locations
IEnumerable<AzureLocation>

アクティビティ ログ イベントを格納またはストリーミングする必要があるリージョンの一覧。 これは、"グローバル" の場所を含む有効な ARM の場所のコンマ区切りの一覧です。

categories
IEnumerable<String>

ログのカテゴリ。 これらのカテゴリは、ユーザーに便利なように作成されます。 一部の値は、'Write'、'Delete'、または 'Action.' です。

retentionPolicy
RetentionPolicy

ログ内のイベントの保持ポリシー。

例外

locationscategories、または retentionPolicy が null です。

適用対象