Sha256: 9109c0cf1b98e4aa7f920d5bb9d48762ee8b37a3e75e4a2dbea5809ce1a37147
Contents?: true
Size: 1.55 KB
Versions: 2
Compression:
Stored size: 1.55 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::V7_0_0_42 module Models # # Safety check that waits for the primary replica to be moved out of the # node before starting an upgrade to ensure the availability of the primary # replica for the partition. # class WaitForPrimarySwapSafetyCheck < PartitionSafetyCheck include MsRestAzure def initialize @Kind = "WaitForPrimarySwap" end attr_accessor :Kind # # Mapper for WaitForPrimarySwapSafetyCheck class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'WaitForPrimarySwap', type: { name: 'Composite', class_name: 'WaitForPrimarySwapSafetyCheck', 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
2 entries across 2 versions & 1 rubygems