Sha256: 0bd3ac0612880d50c241f9738eea3ebb708836113bf1de1cad8c05823e7e5af4

Contents?: true

Size: 1.92 KB

Versions: 2

Compression:

Stored size: 1.92 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
    #
    # Information about an NodeTransition operation.  This class contains an
    # OperationState and a NodeTransitionResult.  The NodeTransitionResult is
    # not valid until OperationState
    # is Completed or Faulted.
    #
    class NodeTransitionProgress

      include MsRestAzure

      # @return [OperationState] The state of the operation. Possible values
      # include: 'Invalid', 'Running', 'RollingBack', 'Completed', 'Faulted',
      # 'Cancelled', 'ForceCancelled'
      attr_accessor :state

      # @return [NodeTransitionResult] Represents information about an
      # operation in a terminal state (Completed or Faulted).
      attr_accessor :node_transition_result


      #
      # Mapper for NodeTransitionProgress class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'NodeTransitionProgress',
          type: {
            name: 'Composite',
            class_name: 'NodeTransitionProgress',
            model_properties: {
              state: {
                client_side_validation: true,
                required: false,
                serialized_name: 'State',
                type: {
                  name: 'String'
                }
              },
              node_transition_result: {
                client_side_validation: true,
                required: false,
                serialized_name: 'NodeTransitionResult',
                type: {
                  name: 'Composite',
                  class_name: 'NodeTransitionResult'
                }
              }
            }
          }
        }
      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_transition_progress.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/node_transition_progress.rb