class Azure::ServiceFabric::V6_2_0_9::Models::NodeDeactivationTaskId

Identity of the task related to deactivation operation on the node.

Attributes

id[RW]

@return [String] Value of the task id.

node_deactivation_task_type[RW]

@return [NodeDeactivationTaskType] The type of the task that performed the node deactivation. Following are the possible values. Possible values include: 'Invalid', 'Infrastructure', 'Repair', 'Client'

Public Class Methods

mapper() click to toggle source

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

# File lib/6.2.0.9/generated/azure_service_fabric/models/node_deactivation_task_id.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NodeDeactivationTaskId',
    type: {
      name: 'Composite',
      class_name: 'NodeDeactivationTaskId',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Id',
          type: {
            name: 'String'
          }
        },
        node_deactivation_task_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeDeactivationTaskType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end