Sha256: 2549d10ee248640b514851a206ee996b296720d9a1e278010f143ee52d3a3d36

Contents?: true

Size: 1.35 KB

Versions: 2

Compression:

Stored size: 1.35 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
    #
    # Describes the intent or reason for deactivating the node.
    #
    class DeactivationIntentDescription

      include MsRestAzure

      # @return [DeactivationIntent] Describes the intent or reason for
      # deactivating the node. The possible values are following. Possible
      # values include: 'Pause', 'Restart', 'RemoveData'
      attr_accessor :deactivation_intent


      #
      # Mapper for DeactivationIntentDescription class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'DeactivationIntentDescription',
          type: {
            name: 'Composite',
            class_name: 'DeactivationIntentDescription',
            model_properties: {
              deactivation_intent: {
                client_side_validation: true,
                required: false,
                serialized_name: 'DeactivationIntent',
                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/deactivation_intent_description.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/deactivation_intent_description.rb