Share via


ComputeStartStopSchedule Class

Definition

Compute start stop schedule properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ComputeStartStopScheduleTypeConverter))]
public class ComputeStartStopSchedule : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IComputeStartStopSchedule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ComputeStartStopScheduleTypeConverter))>]
type ComputeStartStopSchedule = class
    interface IComputeStartStopSchedule
    interface IJsonSerializable
Public Class ComputeStartStopSchedule
Implements IComputeStartStopSchedule
Inheritance
ComputeStartStopSchedule
Attributes
Implements

Constructors

ComputeStartStopSchedule()

Creates an new ComputeStartStopSchedule instance.

Properties

Action

[Required] The compute power action.

CronExpression

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

CronStartTime

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

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

Id

A system assigned id for the schedule.

ProvisioningStatus

The current deployment state of schedule.

RecurrenceFrequency

[Required] The frequency to trigger schedule.

RecurrenceInterval

[Required] Specifies schedule interval in conjunction with frequency

RecurrenceStartTime

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

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

ScheduleHour

[Required] List of hours for the schedule.

ScheduleId

A system assigned id for the schedule.

ScheduleMinute

[Required] List of minutes for the schedule.

ScheduleMonthDay

List of month days for the schedule

ScheduleProvisioningStatus

The current deployment state of schedule.

ScheduleStatus

Is the schedule enabled or disabled?

ScheduleWeekDay

List of days for the schedule.

Status

Is the schedule enabled or disabled?

TriggerType

[Required] The schedule trigger type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ComputeStartStopSchedule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ComputeStartStopSchedule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IComputeStartStopSchedule.

FromJsonString(String)

Creates a new instance of ComputeStartStopSchedule, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ComputeStartStopSchedule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to