Sha256: 1413b6d8fdb8cf425380bee9b03cbc6b52595ab853034d1d2ef3ab97aede8065

Contents?: true

Size: 1.67 KB

Versions: 2

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

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_id.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/node_deactivation_task_id.rb