Class: Azure::ServiceFabric::V6_4_0_36::Models::WaitForInbuildReplicaSafetyCheck

Inherits:
PartitionSafetyCheck show all
Includes:
MsRestAzure
Defined in:
lib/6.4.0.36/generated/azure_service_fabric/models/wait_for_inbuild_replica_safety_check.rb

Overview

Safety check that waits for the replica build operation to finish. This indicates that there is a replica that is going through the copy or is providing data for building another replica. Bring the node down will abort this copy operation which are typically expensive involving data movements.

Instance Attribute Summary collapse

Attributes inherited from PartitionSafetyCheck

#partition_id

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeWaitForInbuildReplicaSafetyCheck

Returns a new instance of WaitForInbuildReplicaSafetyCheck.



20
21
22
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/wait_for_inbuild_replica_safety_check.rb', line 20

def initialize
  @Kind = "WaitForInbuildReplica"
end

Instance Attribute Details

#KindObject

Returns the value of attribute Kind.



24
25
26
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/wait_for_inbuild_replica_safety_check.rb', line 24

def Kind
  @Kind
end

Class Method Details

.mapperObject

Mapper for WaitForInbuildReplicaSafetyCheck 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.4.0.36/generated/azure_service_fabric/models/wait_for_inbuild_replica_safety_check.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'WaitForInbuildReplica',
    type: {
      name: 'Composite',
      class_name: 'WaitForInbuildReplicaSafetyCheck',
      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