Class: Azure::ServiceFabric::V6_3_0_9::Models::SafetyCheck

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

Overview

Represents a safety check performed by service fabric before continuing with the operations. These checks ensure the availability of the service and the reliability of the state.

Direct Known Subclasses

PartitionSafetyCheck, SeedNodeSafetyCheck

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSafetyCheck

Returns a new instance of SafetyCheck.



27
28
29
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/safety_check.rb', line 27

def initialize
  @Kind = "SafetyCheck"
end

Instance Attribute Details

#KindObject

Returns the value of attribute Kind.



31
32
33
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/safety_check.rb', line 31

def Kind
  @Kind
end

Class Method Details

.mapperObject

Mapper for SafetyCheck class as Ruby Hash. This will be used for serialization/deserialization.



38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/safety_check.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SafetyCheck',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'Kind',
      uber_parent: 'SafetyCheck',
      class_name: 'SafetyCheck',
      model_properties: {
      }
    }
  }
end