Class: Azure::ServiceFabric::V6_5_0_36::Models::Chaos

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.5.0.36/generated/azure_service_fabric/models/chaos.rb

Overview

Contains a description of Chaos.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#chaos_parametersChaosParameters

Chaos is running with.

Returns:



17
18
19
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/chaos.rb', line 17

def chaos_parameters
  @chaos_parameters
end

#schedule_statusChaosScheduleStatus

values include: ‘Invalid’, ‘Stopped’, ‘Active’, ‘Expired’, ‘Pending’

Returns:



25
26
27
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/chaos.rb', line 25

def schedule_status
  @schedule_status
end

#statusChaosStatus

include: ‘Invalid’, ‘Running’, ‘Stopped’

Returns:

  • (ChaosStatus)

    Current status of the Chaos run. Possible values



21
22
23
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/chaos.rb', line 21

def status
  @status
end

Class Method Details

.mapperObject

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.5.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