Sha256: 79238e1505e6a3d3c034ee23bd1392398b5d241cf7270d6f1b384382868413ad
Contents?: true
Size: 1.77 KB
Versions: 3
Compression:
Stored size: 1.77 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 # # Represents a safety check performed by service fabric before continuing # with the operations. These checks ensure the availability of the service # and the reliability of the state. # class SafetyCheck include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["PartitionSafetyCheck"] = "PartitionSafetyCheck" @@discriminatorMap["EnsureAvailability"] = "EnsureAvailabilitySafetyCheck" @@discriminatorMap["EnsurePartitionQuorum"] = "EnsurePartitionQuorumSafetyCheck" @@discriminatorMap["EnsureSeedNodeQuorum"] = "SeedNodeSafetyCheck" @@discriminatorMap["WaitForInbuildReplica"] = "WaitForInbuildReplicaSafetyCheck" @@discriminatorMap["WaitForPrimaryPlacement"] = "WaitForPrimaryPlacementSafetyCheck" @@discriminatorMap["WaitForPrimarySwap"] = "WaitForPrimarySwapSafetyCheck" @@discriminatorMap["WaitForReconfiguration"] = "WaitForReconfigurationSafetyCheck" def initialize @Kind = "SafetyCheck" end attr_accessor :Kind # # Mapper for SafetyCheck class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SafetyCheck', type: { name: 'Composite', polymorphic_discriminator: 'Kind', uber_parent: 'SafetyCheck', class_name: 'SafetyCheck', model_properties: { } } } end end end end
Version data entries
3 entries across 3 versions & 1 rubygems