New-AzRedisCacheScheduleEntry
Creates a schedule entry.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
New-AzRedisCacheScheduleEntry
-DayOfWeek <String>
-StartHourUtc <Int32>
[-MaintenanceWindow <TimeSpan>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The New-AzRedisCacheScheduleEntry cmdlet creates a PSScheduleEntry object. Azure Redis Cache patch schedule cmdlets, such as the New-AzRedisCachePatchSchedule cmdlet, require schedule entry objects.
Examples
Example 1: Create a schedule entry for weekends
PS C:\>New-AzRedisCacheScheduleEntry -DayOfWeek "Weekend" -StartHourUtc 2 -MaintenanceWindow "06:00:00"
This command creates a PSScheduleEntry object that represents a weekend schedule that has the specified start time and window.
Parameters
Specifies the day of the week for the schedule entry. The acceptable values for this parameter are:
- Everyday
- Weekend
- Monday
- Tuesday
- Wednesday
- Thursday
- Friday
- Saturday
- Sunday
| Type: | String |
| Accepted values: | Everyday, Weekend, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
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 |
Specifies the amount of time window allowed for updates.
| Type: | Nullable<T>[TimeSpan] |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Specifies an hour of the day when the schedule starts.
| Type: | Int32 |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Inputs
Nullable<T>[[System.TimeSpan, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
Outputs
Notes
- Keywords: azure, azurerm, arm, resource, management, manager, redis, cache, web, webapp, website