Class: Azure::ServiceFabric::V6_5_0_36::Models::PartitionSafetyCheck
- Inherits:
-
SafetyCheck
- Object
- SafetyCheck
- Azure::ServiceFabric::V6_5_0_36::Models::PartitionSafetyCheck
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/partition_safety_check.rb
Overview
Represents a safety check for the service partition being performed by service fabric before continuing with operations.
Direct Known Subclasses
EnsureAvailabilitySafetyCheck, EnsurePartitionQuorumSafetyCheck, WaitForInbuildReplicaSafetyCheck, WaitForPrimaryPlacementSafetyCheck, WaitForPrimarySwapSafetyCheck, WaitForReconfigurationSafetyCheck
Instance Attribute Summary collapse
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#partition_id ⇒ Object
Id of the partition which is undergoing the safety check.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PartitionSafetyCheck class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ PartitionSafetyCheck
constructor
A new instance of PartitionSafetyCheck.
Constructor Details
#initialize ⇒ PartitionSafetyCheck
Returns a new instance of PartitionSafetyCheck.
17 18 19 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_safety_check.rb', line 17 def initialize @Kind = "PartitionSafetyCheck" end |
Instance Attribute Details
#Kind ⇒ Object
Returns the value of attribute Kind.
21 22 23 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_safety_check.rb', line 21 def Kind @Kind end |
#partition_id ⇒ Object
Returns Id of the partition which is undergoing the safety check.
24 25 26 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_safety_check.rb', line 24 def partition_id @partition_id end |
Class Method Details
.mapper ⇒ Object
Mapper for PartitionSafetyCheck class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/partition_safety_check.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PartitionSafetyCheck', type: { name: 'Composite', class_name: 'PartitionSafetyCheck', 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 |