New-AzScheduledQueryRuleSchedule

Schedule 型のオブジェクトを作成します。

構文

New-AzScheduledQueryRuleSchedule
   -FrequencyInMinutes <Int32>
   -TimeWindowInMinutes <Int32>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

説明

Schedule 型のオブジェクトを作成します。 このオブジェクトは、ログ アラート ルールを作成するコマンドに渡されます。

例 1

PS C:\>  $schedule = New-AzScheduledQueryRuleSchedule -FrequencyInMinutes 15 -TimeWindowInMinutes 15

パラメーター

-DefaultProfile

Azure との通信のために使用される資格情報、アカウント、テナント、サブスクリプションです。

型:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
配置:Named
規定値:None
必須:False
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-FrequencyInMinutes

アラートの頻度

型:Int32
配置:Named
規定値:None
必須:True
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-TimeWindowInMinutes

アラートの時間枠

型:Int32
配置:Named
規定値:None
必須:True
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

入力

None

出力

PSScheduledQueryRuleSchedule