Sha256: f0006b48a8eeeb17d1d700dc3c47f1758997e7f0b223bd59a9c0c34237e41b30

Contents?: true

Size: 1.53 KB

Versions: 3

Compression:

Stored size: 1.53 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ServiceFabric::V6_5_0_36
  module Models
    #
    # 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.
    #
    class WaitForPrimaryPlacementSafetyCheck < PartitionSafetyCheck

      include MsRestAzure


      def initialize
        @Kind = "WaitForPrimaryPlacement"
      end

      attr_accessor :Kind


      #
      # Mapper for WaitForPrimaryPlacementSafetyCheck class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.5.0.36/generated/azure_service_fabric/models/wait_for_primary_placement_safety_check.rb
azure_service_fabric-0.18.0 lib/6.5.0.36/generated/azure_service_fabric/models/wait_for_primary_placement_safety_check.rb
azure_service_fabric-0.17.2 lib/6.5.0.36/generated/azure_service_fabric/models/wait_for_primary_placement_safety_check.rb