Class: Azure::ServiceFabric::V6_3_0_9::Models::ChaosStartedEvent
- Inherits:
-
ClusterEvent
- Object
- FabricEvent
- ClusterEvent
- Azure::ServiceFabric::V6_3_0_9::Models::ChaosStartedEvent
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/chaos_started_event.rb
Overview
Chaos Started event.
Instance Attribute Summary collapse
-
#chaos_context ⇒ String
Chaos Context.
-
#cluster_health_policy ⇒ String
Health policy.
-
#included_application_list ⇒ String
List of included Applications.
-
#included_node_type_list ⇒ String
List of included Node types.
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#max_cluster_stabilization_timeout_in_seconds ⇒ Float
Maximum timeout for cluster stabilization in seconds.
-
#max_concurrent_faults ⇒ Integer
Maximum number of concurrent faults.
-
#move_replica_fault_enabled ⇒ Boolean
Indicates MoveReplica fault is enabled.
-
#time_to_run_in_seconds ⇒ Float
Time to run in seconds.
-
#wait_time_between_fautls_in_seconds ⇒ Float
Wait time between faults in seconds.
-
#wait_time_between_iterations_in_seconds ⇒ Float
Wait time between iterations in seconds.
Attributes inherited from FabricEvent
#event_instance_id, #has_correlated_events, #time_stamp
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ChaosStartedEvent class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ChaosStartedEvent
constructor
A new instance of ChaosStartedEvent.
Constructor Details
#initialize ⇒ ChaosStartedEvent
Returns a new instance of ChaosStartedEvent.
16 17 18 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/chaos_started_event.rb', line 16 def initialize @Kind = "ChaosStarted" end |
Instance Attribute Details
#chaos_context ⇒ String
Returns Chaos Context.
50 51 52 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/chaos_started_event.rb', line 50 def chaos_context @chaos_context end |
#cluster_health_policy ⇒ String
Returns Health policy.
47 48 49 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/chaos_started_event.rb', line 47 def cluster_health_policy @cluster_health_policy end |
#included_application_list ⇒ String
Returns List of included Applications.
44 45 46 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/chaos_started_event.rb', line 44 def included_application_list @included_application_list end |
#included_node_type_list ⇒ String
Returns List of included Node types.
41 42 43 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/chaos_started_event.rb', line 41 def included_node_type_list @included_node_type_list end |
#Kind ⇒ Object
Returns the value of attribute Kind.
20 21 22 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/chaos_started_event.rb', line 20 def Kind @Kind end |
#max_cluster_stabilization_timeout_in_seconds ⇒ Float
Returns Maximum timeout for cluster stabilization in seconds.
29 30 31 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/chaos_started_event.rb', line 29 def max_cluster_stabilization_timeout_in_seconds @max_cluster_stabilization_timeout_in_seconds end |
#max_concurrent_faults ⇒ Integer
Returns Maximum number of concurrent faults.
23 24 25 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/chaos_started_event.rb', line 23 def max_concurrent_faults @max_concurrent_faults end |
#move_replica_fault_enabled ⇒ Boolean
Returns Indicates MoveReplica fault is enabled.
38 39 40 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/chaos_started_event.rb', line 38 def move_replica_fault_enabled @move_replica_fault_enabled end |
#time_to_run_in_seconds ⇒ Float
Returns Time to run in seconds.
26 27 28 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/chaos_started_event.rb', line 26 def time_to_run_in_seconds @time_to_run_in_seconds end |
#wait_time_between_fautls_in_seconds ⇒ Float
Returns Wait time between faults in seconds.
35 36 37 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/chaos_started_event.rb', line 35 def wait_time_between_fautls_in_seconds @wait_time_between_fautls_in_seconds end |
#wait_time_between_iterations_in_seconds ⇒ Float
Returns Wait time between iterations in seconds.
32 33 34 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/chaos_started_event.rb', line 32 def wait_time_between_iterations_in_seconds @wait_time_between_iterations_in_seconds end |
Class Method Details
.mapper ⇒ Object
Mapper for ChaosStartedEvent class as Ruby Hash. This will be used for serialization/deserialization.
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 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/chaos_started_event.rb', line 57 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ChaosStarted', type: { name: 'Composite', class_name: 'ChaosStartedEvent', model_properties: { event_instance_id: { client_side_validation: true, required: true, serialized_name: 'EventInstanceId', type: { name: 'String' } }, time_stamp: { client_side_validation: true, required: true, serialized_name: 'TimeStamp', type: { name: 'DateTime' } }, has_correlated_events: { client_side_validation: true, required: false, serialized_name: 'HasCorrelatedEvents', type: { name: 'Boolean' } }, Kind: { client_side_validation: true, required: true, serialized_name: 'Kind', type: { name: 'String' } }, max_concurrent_faults: { client_side_validation: true, required: false, serialized_name: 'MaxConcurrentFaults', type: { name: 'Number' } }, time_to_run_in_seconds: { client_side_validation: true, required: false, serialized_name: 'TimeToRunInSeconds', type: { name: 'Double' } }, max_cluster_stabilization_timeout_in_seconds: { client_side_validation: true, required: false, serialized_name: 'MaxClusterStabilizationTimeoutInSeconds', type: { name: 'Double' } }, wait_time_between_iterations_in_seconds: { client_side_validation: true, required: false, serialized_name: 'WaitTimeBetweenIterationsInSeconds', type: { name: 'Double' } }, wait_time_between_fautls_in_seconds: { client_side_validation: true, required: false, serialized_name: 'WaitTimeBetweenFautlsInSeconds', type: { name: 'Double' } }, move_replica_fault_enabled: { client_side_validation: true, required: false, serialized_name: 'MoveReplicaFaultEnabled', type: { name: 'Boolean' } }, included_node_type_list: { client_side_validation: true, required: false, serialized_name: 'IncludedNodeTypeList', type: { name: 'String' } }, included_application_list: { client_side_validation: true, required: false, serialized_name: 'IncludedApplicationList', type: { name: 'String' } }, cluster_health_policy: { client_side_validation: true, required: false, serialized_name: 'ClusterHealthPolicy', type: { name: 'String' } }, chaos_context: { client_side_validation: true, required: false, serialized_name: 'ChaosContext', type: { name: 'String' } } } } } end |