Sha256: 653808c8ff4e334c8f2d1546e6b9e759888573cf7a7c802e7248d68722db3a17

Contents?: true

Size: 1.85 KB

Versions: 2

Compression:

Stored size: 1.85 KB

Contents

# 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::V7_0_0_42
  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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/7.0.0.42/generated/azure_service_fabric/models/node_deactivation_task.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/node_deactivation_task.rb