Sha256: 79cadfd0bab411db3360d87db70741d7687ffa46ee19dc94bad389234bdc63f1
Contents?: true
Size: 1.6 KB
Versions: 5
Compression:
Stored size: 1.6 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::V2020_03_01 module Models # # Cosmos DB resource throughput policy # class ThroughputPolicyResource include MsRestAzure # @return [Boolean] Determines whether the ThroughputPolicy is active or # not attr_accessor :is_enabled # @return [Integer] Represents the percentage by which throughput can # increase every time throughput policy kicks in. attr_accessor :increment_percent # # Mapper for ThroughputPolicyResource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ThroughputPolicyResource', type: { name: 'Composite', class_name: 'ThroughputPolicyResource', model_properties: { is_enabled: { client_side_validation: true, required: false, serialized_name: 'isEnabled', type: { name: 'Boolean' } }, increment_percent: { client_side_validation: true, required: false, serialized_name: 'incrementPercent', type: { name: 'Number' } } } } } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems