class Azure::ServiceFabric::V6_3_0_9::Models::NodeDeactivationTask

The task representing the deactivation operation on the node.

Attributes

node_deactivation_intent[RW]

@return [NodeDeactivationIntent] The intent or the reason for deactivating the node. Following are the possible values for it. Possible values include: 'Invalid', 'Pause', 'Restart', 'RemoveData', 'RemoveNode'

node_deactivation_task_id[RW]

@return [NodeDeactivationTaskId] Identity of the task related to deactivation operation on the node.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.3.0.9/generated/azure_service_fabric/models/node_deactivation_task.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NodeDeactivationTask',
    type: {
      name: 'Composite',
      class_name: 'NodeDeactivationTask',
      model_properties: {
        node_deactivation_task_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeDeactivationTaskId',
          type: {
            name: 'Composite',
            class_name: 'NodeDeactivationTaskId'
          }
        },
        node_deactivation_intent: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeDeactivationIntent',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end