New-AzMLWorkspaceComputeStartStopScheduleObject

Create an in-memory object for ComputeStartStopSchedule.

Syntax

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.

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

-CronExpression

[Required] Specifies cron expression of schedule. The expression should follow NCronTab format.

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

-CronStartTime

The start time in yyyy-MM-ddTHH:mm:ss format.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters: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.

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

-RecurrenceFrequency

[Required] The frequency to trigger schedule.

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

-RecurrenceInterval

[Required] Specifies schedule interval in conjunction with frequency.

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

-RecurrenceStartTime

The start time in yyyy-MM-ddTHH:mm:ss format.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters: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.

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

-ScheduleHour

[Required] List of hours for the schedule.

Type:Int32[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ScheduleId

A system assigned id for the schedule.

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

-ScheduleMinute

[Required] List of minutes for the schedule.

Type:Int32[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ScheduleMonthDay

List of month days for the schedule.

Type:Int32[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ScheduleProvisioningStatus

The current deployment state of schedule.

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

-ScheduleStatus

Is the schedule enabled or disabled?.

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

-ScheduleWeekDay

List of days for the schedule.

Type:ComputeWeekDay[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Status

Is the schedule enabled or disabled?.

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

-TriggerType

[Required] The schedule trigger type.

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

Outputs

ComputeStartStopSchedule