class Azure::ServiceFabric::V6_2_0_9::Models::DeactivationIntentDescription

Describes the intent or reason for deactivating the node.

Attributes

deactivation_intent[RW]

@return [DeactivationIntent] Describes the intent or reason for deactivating the node. The possible values are following. Possible values include: 'Pause', 'Restart', 'RemoveData'

Public Class Methods

mapper() click to toggle source

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

# File lib/6.2.0.9/generated/azure_service_fabric/models/deactivation_intent_description.rb, line 25
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeactivationIntentDescription',
    type: {
      name: 'Composite',
      class_name: 'DeactivationIntentDescription',
      model_properties: {
        deactivation_intent: {
          client_side_validation: true,
          required: false,
          serialized_name: 'DeactivationIntent',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end