Share via


TriggerBase Class

Definition

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

Constructors

TriggerBase()

Creates an new TriggerBase instance.

Properties

EndTime

Specifies end time of schedule in ISO 8601, but without a UTC offset. Refer https://en.wikipedia.org/wiki/ISO_8601. Recommented format would be "2022-06-01T00:00:01" If not present, the schedule will run indefinitely

StartTime

Specifies start time of schedule in ISO 8601 format, but without a UTC offset.

TimeZone

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

TriggerType

[Required]

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TriggerBase.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TriggerBase.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ITriggerBase. Note: the Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ITriggerBase interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of TriggerBase into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to