Class: Azure::ServiceFabric::V6_4_0_36::Models::ChaosStartedEvent

Inherits:
ClusterEvent show all
Includes:
MsRestAzure
Defined in:
lib/6.4.0.36/generated/azure_service_fabric/models/chaos_started_event.rb

Overview

Chaos Started event.

Instance Attribute Summary collapse

Attributes inherited from FabricEvent

#category, #event_instance_id, #has_correlated_events, #time_stamp

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeChaosStartedEvent

Returns a new instance of ChaosStartedEvent.



16
17
18
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/chaos_started_event.rb', line 16

def initialize
  @Kind = "ChaosStarted"
end

Instance Attribute Details

#chaos_contextString

Returns Chaos Context.

Returns:

  • (String)

    Chaos Context.



50
51
52
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/chaos_started_event.rb', line 50

def chaos_context
  @chaos_context
end

#cluster_health_policyString

Returns Health policy.

Returns:

  • (String)

    Health policy.



47
48
49
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/chaos_started_event.rb', line 47

def cluster_health_policy
  @cluster_health_policy
end

#included_application_listString

Returns List of included Applications.

Returns:

  • (String)

    List of included Applications.



44
45
46
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/chaos_started_event.rb', line 44

def included_application_list
  @included_application_list
end

#included_node_type_listString

Returns List of included Node types.

Returns:

  • (String)

    List of included Node types.



41
42
43
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/chaos_started_event.rb', line 41

def included_node_type_list
  @included_node_type_list
end

#KindObject

Returns the value of attribute Kind.



20
21
22
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/chaos_started_event.rb', line 20

def Kind
  @Kind
end

#max_cluster_stabilization_timeout_in_secondsFloat

Returns Maximum timeout for cluster stabilization in seconds.

Returns:

  • (Float)

    Maximum timeout for cluster stabilization in seconds.



29
30
31
# File 'lib/6.4.0.36/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_faultsInteger

Returns Maximum number of concurrent faults.

Returns:

  • (Integer)

    Maximum number of concurrent faults.



23
24
25
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/chaos_started_event.rb', line 23

def max_concurrent_faults
  @max_concurrent_faults
end

#move_replica_fault_enabledBoolean

Returns Indicates MoveReplica fault is enabled.

Returns:

  • (Boolean)

    Indicates MoveReplica fault is enabled.



38
39
40
# File 'lib/6.4.0.36/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_secondsFloat

Returns Time to run in seconds.

Returns:

  • (Float)

    Time to run in seconds.



26
27
28
# File 'lib/6.4.0.36/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_secondsFloat

Returns Wait time between faults in seconds.

Returns:

  • (Float)

    Wait time between faults in seconds.



35
36
37
# File 'lib/6.4.0.36/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_secondsFloat

Returns Wait time between iterations in seconds.

Returns:

  • (Float)

    Wait time between iterations in seconds.



32
33
34
# File 'lib/6.4.0.36/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

.mapperObject

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
182
183
184
185
186
187
188
189
# File 'lib/6.4.0.36/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'
          }
        },
        category: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Category',
          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: true,
          serialized_name: 'MaxConcurrentFaults',
          type: {
            name: 'Number'
          }
        },
        time_to_run_in_seconds: {
          client_side_validation: true,
          required: true,
          serialized_name: 'TimeToRunInSeconds',
          type: {
            name: 'Double'
          }
        },
        max_cluster_stabilization_timeout_in_seconds: {
          client_side_validation: true,
          required: true,
          serialized_name: 'MaxClusterStabilizationTimeoutInSeconds',
          type: {
            name: 'Double'
          }
        },
        wait_time_between_iterations_in_seconds: {
          client_side_validation: true,
          required: true,
          serialized_name: 'WaitTimeBetweenIterationsInSeconds',
          type: {
            name: 'Double'
          }
        },
        wait_time_between_fautls_in_seconds: {
          client_side_validation: true,
          required: true,
          serialized_name: 'WaitTimeBetweenFautlsInSeconds',
          type: {
            name: 'Double'
          }
        },
        move_replica_fault_enabled: {
          client_side_validation: true,
          required: true,
          serialized_name: 'MoveReplicaFaultEnabled',
          type: {
            name: 'Boolean'
          }
        },
        included_node_type_list: {
          client_side_validation: true,
          required: true,
          serialized_name: 'IncludedNodeTypeList',
          type: {
            name: 'String'
          }
        },
        included_application_list: {
          client_side_validation: true,
          required: true,
          serialized_name: 'IncludedApplicationList',
          type: {
            name: 'String'
          }
        },
        cluster_health_policy: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ClusterHealthPolicy',
          type: {
            name: 'String'
          }
        },
        chaos_context: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ChaosContext',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end