Class: Azure::ServiceFabric::V6_4_0_36::Models::SeedNodeSafetyCheck

Inherits:
SafetyCheck
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.4.0.36/generated/azure_service_fabric/models/seed_node_safety_check.rb

Overview

Represents a safety check for the seed nodes being performed by service fabric before continuing with node level operations.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSeedNodeSafetyCheck

Returns a new instance of SeedNodeSafetyCheck.



17
18
19
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/seed_node_safety_check.rb', line 17

def initialize
  @Kind = "EnsureSeedNodeQuorum"
end

Instance Attribute Details

#KindObject

Returns the value of attribute Kind.



21
22
23
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/seed_node_safety_check.rb', line 21

def Kind
  @Kind
end

Class Method Details

.mapperObject

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



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/seed_node_safety_check.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EnsureSeedNodeQuorum',
    type: {
      name: 'Composite',
      class_name: 'SeedNodeSafetyCheck',
      model_properties: {
        Kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Kind',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end