Class: Azure::ServiceFabric::V6_4_0_36::Models::Chaos
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::Chaos
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/chaos.rb
Overview
Contains a description of Chaos.
Instance Attribute Summary collapse
-
#chaos_parameters ⇒ ChaosParameters
Chaos is running with.
-
#schedule_status ⇒ ChaosScheduleStatus
values include: ‘Invalid’, ‘Stopped’, ‘Active’, ‘Expired’, ‘Pending’.
-
#status ⇒ ChaosStatus
include: ‘Invalid’, ‘Running’, ‘Stopped’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Chaos class as Ruby Hash.
Instance Attribute Details
#chaos_parameters ⇒ ChaosParameters
Chaos is running with.
17 18 19 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/chaos.rb', line 17 def chaos_parameters @chaos_parameters end |
#schedule_status ⇒ ChaosScheduleStatus
values include: ‘Invalid’, ‘Stopped’, ‘Active’, ‘Expired’, ‘Pending’
25 26 27 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/chaos.rb', line 25 def schedule_status @schedule_status end |
#status ⇒ ChaosStatus
include: ‘Invalid’, ‘Running’, ‘Stopped’
21 22 23 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/chaos.rb', line 21 def status @status end |
Class Method Details
.mapper ⇒ Object
Mapper for Chaos class as Ruby Hash. This will be used for serialization/deserialization.
32 33 34 35 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 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/chaos.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Chaos', type: { name: 'Composite', class_name: 'Chaos', model_properties: { chaos_parameters: { client_side_validation: true, required: false, serialized_name: 'ChaosParameters', type: { name: 'Composite', class_name: 'ChaosParameters' } }, status: { client_side_validation: true, required: false, serialized_name: 'Status', type: { name: 'String' } }, schedule_status: { client_side_validation: true, required: false, serialized_name: 'ScheduleStatus', type: { name: 'String' } } } } } end |