Class TimerTrigger | Azure SDK for Net

The properties of a timer trigger.

Inheritance

TimerTrigger

Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.ContainerRegistry.dll
Syntax
public class TimerTrigger

Constructors

TimerTrigger()

Initializes a new instance of the TimerTrigger class.

Declaration
public TimerTrigger ();

TimerTrigger(String, String, String)

Initializes a new instance of the TimerTrigger class.

Declaration
public TimerTrigger (string schedule, string name, string status = null);
Parameters
String schedule

The CRON expression for the task schedule

String name

The name of the trigger.

String status

The current status of trigger. Possible values include: 'Disabled', 'Enabled'

Properties

Name

Gets or sets the name of the trigger.

Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="name")] public string Name { get; set; }
Property Value

Schedule

Gets or sets the CRON expression for the task schedule

Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="schedule")] public string Schedule { get; set; }
Property Value

Status

Gets or sets the current status of trigger. Possible values include: 'Disabled', 'Enabled'

Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="status")] public string Status { get; set; }
Property Value

Methods

Validate()

Validate the object.

Declaration
public virtual void Validate ();
Exceptions

ncG1vNJzZmiZqqq%2Fpr%2FDpJuom6Njr627wWeaqKqVY8SqusOorqxmnprBcHDWnplonJ%2Bpu6bAjoagnKqfqLynwI16sa6qlWOaorrAoJymnZ6pe4S7za2YoqaVp5%2Bms8isq6uxX2l7cXqPaJipoV%2BCtqS%2Bzqymn6xedse2vsRnhJqmkZyyrrHNrWV8p56prqq6xKuJnp%2BZqMGzxY2Gpp2dnKh8jrXCq6asp5ape4LG1KucZ4WRo66oscyepa1mc6S7ta3Ip5yripWctrTA0bJlhqeUmrm0erOipJ6qhKe2qLPEq2WhrJ2h