Sha256: 9b5b1535c510ef82e60dcb12df83634b0f1d83f4e2d59c7e01489f8a838e9e7a

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::Compute
  module Models
    #
    # Describes an upgrade policy - automatic or manual.
    #
    class UpgradePolicy

      include MsRestAzure

      # @return [UpgradeMode] the upgrade mode. Possible values include:
      # 'Automatic', 'Manual'
      attr_accessor :mode


      #
      # Mapper for UpgradePolicy class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'UpgradePolicy',
          type: {
            name: 'Composite',
            class_name: 'UpgradePolicy',
            model_properties: {
              mode: {
                required: false,
                serialized_name: 'mode',
                type: {
                  name: 'Enum',
                  module: 'UpgradeMode'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.8.0 lib/generated/azure_mgmt_compute/models/upgrade_policy.rb