Partager via


StorageTaskAssignmentExecutionContext Class

Definition

Execution context of the storage task assignment.

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

Constructors

Name Description
StorageTaskAssignmentExecutionContext()

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

TargetExcludePrefix

List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor

TargetPrefix

Required list of object prefixes to be included for task execution

TriggerType

The trigger type of the storage task assignment execution

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StorageTaskAssignmentExecutionContext.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StorageTaskAssignmentExecutionContext.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of StorageTaskAssignmentExecutionContext into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to