Sha256: e71e4f7146a7ab1b6460416d5febbb4393a80e9f888389d76f4e249738345e2d
Contents?: true
Size: 1.55 KB
Versions: 3
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::V6_5_0_36 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
3 entries across 3 versions & 1 rubygems