< Back
New-AzureRmRedisCacheScheduleEntry
Post
NAME New-AzureRmRedisCacheScheduleEntry
SYNOPSIS
Creates a schedule entry.
SYNTAX
New-AzureRmRedisCacheScheduleEntry -DayOfWeek {Everyday | Weekend | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday}
[-DefaultProfile <IAzureContextContainer>] [-MaintenanceWindow <TimeSpan>] -StartHourUtc <Int32> [<CommonParameters>]
DESCRIPTION
The New-AzureRmRedisCacheScheduleEntry cmdlet creates a PSScheduleEntry object. Azure Redis Cache patch schedule cmdlets, such as the
New-AzureRmRedisCachePatchSchedule cmdlet, require schedule entry objects.
PARAMETERS
-DayOfWeek <String>
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
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-MaintenanceWindow <TimeSpan>
Specifies the amount of time window allowed for updates.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-StartHourUtc <Int32>
Specifies an hour of the day when the schedule starts.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
You can pipe input to this cmdlet by property name, but not by value.
OUTPUTS
Microsoft.Azure.Commands.RedisCache.Models.PSScheduleEntry
This cmdlet returns a schedule entry object.
NOTES
* Keywords: azure, azurerm, arm, resource, management, manager, redis, cache, web, webapp, website
Example 1: Create a schedule entry for weekends
PS C:\\>New-AzureRmRedisCacheScheduleEntry -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.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... eduleentry
Get-AzureRmRedisCachePatchSchedule
New-AzureRmRedisCachePatchSchedule
Remove-AzureRmRedisCachePatchSchedule
SYNOPSIS
Creates a schedule entry.
SYNTAX
New-AzureRmRedisCacheScheduleEntry -DayOfWeek {Everyday | Weekend | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday}
[-DefaultProfile <IAzureContextContainer>] [-MaintenanceWindow <TimeSpan>] -StartHourUtc <Int32> [<CommonParameters>]
DESCRIPTION
The New-AzureRmRedisCacheScheduleEntry cmdlet creates a PSScheduleEntry object. Azure Redis Cache patch schedule cmdlets, such as the
New-AzureRmRedisCachePatchSchedule cmdlet, require schedule entry objects.
PARAMETERS
-DayOfWeek <String>
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
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-MaintenanceWindow <TimeSpan>
Specifies the amount of time window allowed for updates.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-StartHourUtc <Int32>
Specifies an hour of the day when the schedule starts.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
You can pipe input to this cmdlet by property name, but not by value.
OUTPUTS
Microsoft.Azure.Commands.RedisCache.Models.PSScheduleEntry
This cmdlet returns a schedule entry object.
NOTES
* Keywords: azure, azurerm, arm, resource, management, manager, redis, cache, web, webapp, website
Example 1: Create a schedule entry for weekends
PS C:\\>New-AzureRmRedisCacheScheduleEntry -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.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... eduleentry
Get-AzureRmRedisCachePatchSchedule
New-AzureRmRedisCachePatchSchedule
Remove-AzureRmRedisCachePatchSchedule