class Azure::ServiceFabric::V6_4_0_36::Models::WaitForPrimaryPlacementSafetyCheck

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.

Attributes

Kind[RW]

Public Class Methods

mapper() click to toggle source

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

# File lib/6.4.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
new() click to toggle source
# File lib/6.4.0.36/generated/azure_service_fabric/models/wait_for_primary_placement_safety_check.rb, line 17
def initialize
  @Kind = "WaitForPrimaryPlacement"
end