# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ServiceFabric::V6_3_0_9 module Models # # The task representing the deactivation operation on the node. # class NodeDeactivationTask include MsRestAzure # @return [NodeDeactivationTaskId] Identity of the task related to # deactivation operation on the node. attr_accessor :node_deactivation_task_id # @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' attr_accessor :node_deactivation_intent # # Mapper for NodeDeactivationTask class as Ruby Hash. # This will be used for serialization/deserialization. # 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 end end end