Sha256: 5aa4a380996dab653a1bea9237dfaa73188d3fda047e9e975f68f944d0489cd2
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::V2019_12_12 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