Class: Azure::ServiceFabric::V6_5_0_36::Models::ChaosSchedule
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::ChaosSchedule
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/chaos_schedule.rb
Overview
Defines the schedule used by Chaos.
Instance Attribute Summary collapse
-
#chaos_parameters_dictionary ⇒ Array<ChaosParametersDictionaryItem>
names to Chaos Parameters to be referenced by Chaos Schedule Jobs.
-
#expiry_date ⇒ DateTime
schedule until.
-
#jobs ⇒ Array<ChaosScheduleJob>
that will be automated by the schedule.
-
#start_date ⇒ DateTime
schedule.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ChaosSchedule class as Ruby Hash.
Instance Attribute Details
#chaos_parameters_dictionary ⇒ Array<ChaosParametersDictionaryItem>
names to Chaos Parameters to be referenced by Chaos Schedule Jobs.
25 26 27 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/chaos_schedule.rb', line 25 def chaos_parameters_dictionary @chaos_parameters_dictionary end |
#expiry_date ⇒ DateTime
schedule until. Default value: Date.parse(ā9999-12-31T23:59:59.999Zā) .
21 22 23 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/chaos_schedule.rb', line 21 def expiry_date @expiry_date end |
#jobs ⇒ Array<ChaosScheduleJob>
that will be automated by the schedule.
29 30 31 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/chaos_schedule.rb', line 29 def jobs @jobs end |
#start_date ⇒ DateTime
schedule. Default value: Date.parse(ā1601-01-01T00:00:00Zā) .
17 18 19 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/chaos_schedule.rb', line 17 def start_date @start_date end |
Class Method Details
.mapper ⇒ Object
Mapper for ChaosSchedule class as Ruby Hash. This will be used for serialization/deserialization.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/chaos_schedule.rb', line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ChaosSchedule', type: { name: 'Composite', class_name: 'ChaosSchedule', model_properties: { start_date: { client_side_validation: true, required: false, serialized_name: 'StartDate', default_value: Date.parse('1601-01-01T00:00:00Z'), type: { name: 'DateTime' } }, expiry_date: { client_side_validation: true, required: false, serialized_name: 'ExpiryDate', default_value: Date.parse('9999-12-31T23:59:59.999Z'), type: { name: 'DateTime' } }, chaos_parameters_dictionary: { client_side_validation: true, required: false, serialized_name: 'ChaosParametersDictionary', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ChaosParametersDictionaryItemElementType', type: { name: 'Composite', class_name: 'ChaosParametersDictionaryItem' } } } }, jobs: { client_side_validation: true, required: false, serialized_name: 'Jobs', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ChaosScheduleJobElementType', type: { name: 'Composite', class_name: 'ChaosScheduleJob' } } } } } } } end |