class Azure::ServiceFabric::V6_2_0_9::Models::EnsureAvailabilitySafetyCheck

Safety check that waits to ensure the availability of the partition. It waits until there are replicas available such that bringing down this replica will not cause availability loss for the partition.

Attributes

Kind[RW]

Public Class Methods

mapper() click to toggle source

Mapper for EnsureAvailabilitySafetyCheck class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/6.2.0.9/generated/azure_service_fabric/models/ensure_availability_safety_check.rb, line 29
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EnsureAvailability',
    type: {
      name: 'Composite',
      class_name: 'EnsureAvailabilitySafetyCheck',
      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
new() click to toggle source
# File lib/6.2.0.9/generated/azure_service_fabric/models/ensure_availability_safety_check.rb, line 18
def initialize
  @Kind = "EnsureAvailability"
end