Class: Azure::ServiceFabric::V6_5_0_36::Models::WaitForPrimaryPlacementSafetyCheck

Inherits:
PartitionSafetyCheck show all
Includes:
MsRestAzure
Defined in:
lib/6.5.0.36/generated/azure_service_fabric/models/wait_for_primary_placement_safety_check.rb

Overview

Safety check that waits for the primary replica that was moved out of the node due to upgrade to be placed back again on that node.

Instance Attribute Summary collapse

Attributes inherited from PartitionSafetyCheck

#partition_id

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeWaitForPrimaryPlacementSafetyCheck

Returns a new instance of WaitForPrimaryPlacementSafetyCheck.



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

def initialize
  @Kind = "WaitForPrimaryPlacement"
end

Instance Attribute Details

#KindObject

Returns the value of attribute Kind.



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

def Kind
  @Kind
end

Class Method Details

.mapperObject

Mapper for WaitForPrimaryPlacementSafetyCheck 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
49
50
51
52
53
54
55
56
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/wait_for_primary_placement_safety_check.rb', line 28

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