次の方法で共有


Get-AzEventCategory

アクティビティ ログ サービスでサポートされている使用可能なイベント カテゴリの一覧を取得します。 現在の一覧には、管理、セキュリティ、ServiceHealth、アラート、推奨事項、ポリシーが含まれています。

構文

Default (既定)

Get-AzEventCategory
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

説明

アクティビティ ログ サービスでサポートされている使用可能なイベント カテゴリの一覧を取得します。 現在の一覧には、管理、セキュリティ、ServiceHealth、アラート、推奨事項、ポリシーが含まれています。

例 1: イベント カテゴリを一覧表示する

Get-AzEventCategory
LocalizedValue  Value
--------------  -----
Administrative  Administrative
Security        Security
Service Health  ServiceHealth
Alert           Alert
Recommendation  Recommendation
Policy          Policy
Autoscale       Autoscale
Resource Health ResourceHealth

イベント カテゴリを一覧表示します。サブスクリプションの診断設定カテゴリもサポートされています

パラメーター

-DefaultProfile

DefaultProfile パラメーターは機能しません。 別のサブスクリプションに対してコマンドレットを実行する場合は、使用可能な場合は SubscriptionId パラメーターを使用します。

パラメーターのプロパティ

型:PSObject
規定値:None
ワイルドカードのサポート:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

CommonParameters

このコマンドレットでは、一般的なパラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable の各パラメーターがサポートされています。 詳細については、about_CommonParametersを参照してください。

出力

ILocalizableString