Share via


ChaosSchedule Constructor

Definition

Initializes a new instance of the ChaosSchedule class.

public ChaosSchedule (DateTime startDate, DateTime expiryDate, System.Collections.Generic.Dictionary<string,System.Fabric.Chaos.DataStructures.ChaosParameters> chaosParametersDictionary, System.Collections.Generic.List<System.Fabric.Chaos.DataStructures.ChaosScheduleJob> jobs);
new System.Fabric.Chaos.DataStructures.ChaosSchedule : DateTime * DateTime * System.Collections.Generic.Dictionary<string, System.Fabric.Chaos.DataStructures.ChaosParameters> * System.Collections.Generic.List<System.Fabric.Chaos.DataStructures.ChaosScheduleJob> -> System.Fabric.Chaos.DataStructures.ChaosSchedule
Public Sub New (startDate As DateTime, expiryDate As DateTime, chaosParametersDictionary As Dictionary(Of String, ChaosParameters), jobs As List(Of ChaosScheduleJob))

Parameters

startDate
DateTime

Date and time to begin using this schedule to automate Chaos runs.

expiryDate
DateTime

Date and time to stop using this schedule to automate Chaos runs.

chaosParametersDictionary
Dictionary<String,ChaosParameters>

A mapping of ChaosParameters to string names referenced by ChaosScheduleJob in Jobs.

jobs
List<ChaosScheduleJob>

List of ChaosScheduleJob describing when to run Chaos.

Applies to