Partager via


ExecutionTrigger Class

Definition

Execution trigger for storage task assignment

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

Constructors

Name Description
ExecutionTrigger()

Creates an new ExecutionTrigger 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'

Type

The trigger type of the storage task assignment execution

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ExecutionTrigger.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ExecutionTrigger.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ExecutionTrigger into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to