New-AzScheduledQueryRuleSchedule
Creates an object of type Schedule
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
New-AzScheduledQueryRuleSchedule
-FrequencyInMinutes <Int32>
-TimeWindowInMinutes <Int32>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Creates an object of type Schedule. This object is to be passed to the command that creates Log Alert Rule.
Examples
Example 1
PS C:\> $schedule = New-AzScheduledQueryRuleSchedule -FrequencyInMinutes 15 -TimeWindowInMinutes 15
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-FrequencyInMinutes
The alert frequency
| Type: | Int32 |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-TimeWindowInMinutes
The alert time window
| Type: | Int32 |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Inputs
None