New-AzMLWorkspaceComputeStartStopScheduleObject
Create an in-memory object for ComputeStartStopSchedule.
Syntax
Default (Default)
New-AzMLWorkspaceComputeStartStopScheduleObject
[-Action <ComputePowerAction>]
[-CronExpression <String>]
[-CronStartTime <String>]
[-CronTimeZone <String>]
[-RecurrenceFrequency <ComputeRecurrenceFrequency>]
[-RecurrenceInterval <Int32>]
[-RecurrenceStartTime <String>]
[-RecurrenceTimeZone <String>]
[-ScheduleHour <Int32[]>]
[-ScheduleId <String>]
[-ScheduleMinute <Int32[]>]
[-ScheduleMonthDay <Int32[]>]
[-ScheduleProvisioningStatus <ScheduleProvisioningState>]
[-ScheduleStatus <ScheduleStatus>]
[-ScheduleWeekDay <ComputeWeekDay[]>]
[-Status <ScheduleStatus>]
[-TriggerType <ComputeTriggerType>]
[<CommonParameters>]
Description
Create an in-memory object for ComputeStartStopSchedule.
Examples
Example 1: Create an in-memory object for ComputeStartStopSchedule
New-AzMLWorkspaceComputeStartStopScheduleObject
Create an in-memory object for ComputeStartStopSchedule
Parameters
-Action
[Required] The compute power action.
Parameter properties
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-CronExpression
[Required] Specifies cron expression of schedule.
The expression should follow NCronTab format.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-CronStartTime
The start time in yyyy-MM-ddTHH:mm:ss format.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-CronTimeZone
Specifies time zone in which the schedule runs.
TimeZone should follow Windows time zone format.
Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 .
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-RecurrenceFrequency
[Required] The frequency to trigger schedule.
Parameter properties
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-RecurrenceInterval
[Required] Specifies schedule interval in conjunction with frequency.
Parameter properties
Type: Int32
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-RecurrenceStartTime
The start time in yyyy-MM-ddTHH:mm:ss format.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-RecurrenceTimeZone
Specifies time zone in which the schedule runs.
TimeZone should follow Windows time zone format.
Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 .
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ScheduleHour
[Required] List of hours for the schedule.
Parameter properties
Type: Int32 [ ]
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ScheduleId
A system assigned id for the schedule.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ScheduleMinute
[Required] List of minutes for the schedule.
Parameter properties
Type: Int32 [ ]
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ScheduleMonthDay
List of month days for the schedule.
Parameter properties
Type: Int32 [ ]
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ScheduleProvisioningStatus
The current deployment state of schedule.
Parameter properties
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ScheduleStatus
Is the schedule enabled or disabled?.
Parameter properties
Type: ScheduleStatus
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ScheduleWeekDay
List of days for the schedule.
Parameter properties
Type: ComputeWeekDay [ ]
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Status
Is the schedule enabled or disabled?.
Parameter properties
Type: ScheduleStatus
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-TriggerType
[Required] The schedule trigger type.
Parameter properties
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs