Skip to content

Latest commit

 

History

History
133 lines (98 loc) · 3.46 KB

New-AzureRmRedisCacheScheduleEntry.md

File metadata and controls

133 lines (98 loc) · 3.46 KB
external help file Module Name ms.assetid online version schema
Microsoft.Azure.Commands.RedisCache.dll-Help.xml
AzureRM.RedisCache
ACB53C23-99E0-4A0A-A44E-0D3FDB12450B
2.0.0

New-AzureRmRedisCacheScheduleEntry

SYNOPSIS

Creates a schedule entry.

SYNTAX

New-AzureRmRedisCacheScheduleEntry -DayOfWeek <String> -StartHourUtc <Int32> [-MaintenanceWindow <TimeSpan>]
 [-DefaultProfile <IAzureContextContainer>] [<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.

EXAMPLES

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.

PARAMETERS

-DayOfWeek

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: System.String
Parameter Sets: (All)
Aliases:
Accepted values: 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

The credentials, account, tenant, and subscription used for communication with azure.

Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzureRmContext, AzureCredential

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-MaintenanceWindow

Specifies the amount of time window allowed for updates.

Type: System.Nullable`1[System.TimeSpan]
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-StartHourUtc

Specifies an hour of the day when the schedule starts.

Type: System.Int32
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

System.String

System.Int32

System.Nullable`1[[System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]

OUTPUTS

Microsoft.Azure.Commands.RedisCache.Models.PSScheduleEntry

NOTES

  • Keywords: azure, azurerm, arm, resource, management, manager, redis, cache, web, webapp, website

RELATED LINKS

Get-AzureRmRedisCachePatchSchedule

New-AzureRmRedisCachePatchSchedule

Remove-AzureRmRedisCachePatchSchedule