Sha256: 6d4cbd032f4c7bd79bc80aaa6884e0531132bed9b1b59652b12df8ae245739ce
Contents?: true
Size: 1.81 KB
Versions: 11
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::V2016_09_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
11 entries across 11 versions & 1 rubygems