Partager via


TriggerParameters Class

Definition

The trigger parameters update for the storage task assignment execution

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.TriggerParametersTypeConverter))]
public class TriggerParameters : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ITriggerParameters
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.TriggerParametersTypeConverter))>]
type TriggerParameters = class
    interface ITriggerParameters
    interface IJsonSerializable
Public Class TriggerParameters
Implements ITriggerParameters
Inheritance
TriggerParameters
Attributes
Implements

Constructors

Name Description
TriggerParameters()

Creates an new TriggerParameters instance.

Properties

Name Description
EndBy

When to end task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'

Interval

Run interval of task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'

IntervalUnit

Run interval unit of task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'

StartFrom

When to start task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'

StartOn

When to start task execution. This is a required field when ExecutionTrigger.properties.type is 'RunOnce'; this property should not be present when ExecutionTrigger.properties.type is 'OnSchedule'

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TriggerParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TriggerParameters.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ITriggerParameters.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of TriggerParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to