Sha256: 7b56308c5c0d9f36638d3a931c4fb3904d1822cc0c60b9797caa147614eda0d6

Contents?: true

Size: 1.29 KB

Versions: 5

Compression:

Stored size: 1.29 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::Cosmosdb::Mgmt::V2019_12_12
  module Models
    #
    # Cosmos DB resource auto-upgrade policy
    #
    class AutoUpgradePolicyResource

      include MsRestAzure

      # @return [ThroughputPolicyResource] Represents throughput policy which
      # service must adhere to for auto-upgrade
      attr_accessor :throughput_policy


      #
      # Mapper for AutoUpgradePolicyResource class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'AutoUpgradePolicyResource',
          type: {
            name: 'Composite',
            class_name: 'AutoUpgradePolicyResource',
            model_properties: {
              throughput_policy: {
                client_side_validation: true,
                required: false,
                serialized_name: 'throughputPolicy',
                type: {
                  name: 'Composite',
                  class_name: 'ThroughputPolicyResource'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_cosmosdb-0.24.1 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/auto_upgrade_policy_resource.rb
azure_mgmt_cosmosdb-0.24.0 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/auto_upgrade_policy_resource.rb
azure_mgmt_cosmosdb-0.23.1 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/auto_upgrade_policy_resource.rb
azure_mgmt_cosmosdb-0.22.0 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/auto_upgrade_policy_resource.rb
azure_mgmt_cosmosdb-0.21.2 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/auto_upgrade_policy_resource.rb