Sha256: d2240840927d2e86f5629c01d5c4ce7e5d0b31d8f9c1694558302e2d7333f1f5
Contents?: true
Size: 1.81 KB
Versions: 9
Compression:
Stored size: 1.81 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::Web::Mgmt::V2018_02_01 module Models # # Metric limits set on an app. # class SiteLimits include MsRestAzure # @return [Float] Maximum allowed CPU usage percentage. attr_accessor :max_percentage_cpu # @return [Integer] Maximum allowed memory usage in MB. attr_accessor :max_memory_in_mb # @return [Integer] Maximum allowed disk size usage in MB. attr_accessor :max_disk_size_in_mb # # Mapper for SiteLimits class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SiteLimits', type: { name: 'Composite', class_name: 'SiteLimits', model_properties: { max_percentage_cpu: { client_side_validation: true, required: false, serialized_name: 'maxPercentageCpu', type: { name: 'Double' } }, max_memory_in_mb: { client_side_validation: true, required: false, serialized_name: 'maxMemoryInMb', type: { name: 'Number' } }, max_disk_size_in_mb: { client_side_validation: true, required: false, serialized_name: 'maxDiskSizeInMb', type: { name: 'Number' } } } } } end end end end
Version data entries
9 entries across 9 versions & 1 rubygems