class Azure::ServiceFabric::V6_3_0_9::Models::PartitionSafetyCheck

Represents a safety check for the service partition being performed by service fabric before continuing with operations.

Attributes

Kind[RW]
partition_id[RW]

@return Id of the partition which is undergoing the safety check.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.3.0.9/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
new() click to toggle source
# File lib/6.3.0.9/generated/azure_service_fabric/models/partition_safety_check.rb, line 17
def initialize
  @Kind = "PartitionSafetyCheck"
end