Sha256: 04e9e6f2a66a16a7b243be472d88f31e6bae9943b1efbec6c7c1a7d075af749a

Contents?: true

Size: 1.67 KB

Versions: 3

Compression:

Stored size: 1.67 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::V6_5_0_36
  module Models
    #
    # Identity of the task related to deactivation operation on the node.
    #
    class NodeDeactivationTaskId

      include MsRestAzure

      # @return [String] Value of the task id.
      attr_accessor :id

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


      #
      # Mapper for NodeDeactivationTaskId class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.5.0.36/generated/azure_service_fabric/models/node_deactivation_task_id.rb
azure_service_fabric-0.18.0 lib/6.5.0.36/generated/azure_service_fabric/models/node_deactivation_task_id.rb
azure_service_fabric-0.17.2 lib/6.5.0.36/generated/azure_service_fabric/models/node_deactivation_task_id.rb