Sha256: af1ea0251b234ec5cf58760ad5d8fdb0a0c2e4fe68924e2f869a9688485d2c3e
Contents?: true
Size: 1.61 KB
Versions: 9
Compression:
Stored size: 1.61 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::ContainerInstance::Mgmt::V2017_12_01_preview module Models # # The resource requirements. # class ResourceRequirements include MsRestAzure # @return [ResourceRequests] The resource requests of this container # instance. attr_accessor :requests # @return [ResourceLimits] The resource limits of this container # instance. attr_accessor :limits # # Mapper for ResourceRequirements class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ResourceRequirements', type: { name: 'Composite', class_name: 'ResourceRequirements', model_properties: { requests: { client_side_validation: true, required: true, serialized_name: 'requests', type: { name: 'Composite', class_name: 'ResourceRequests' } }, limits: { client_side_validation: true, required: false, serialized_name: 'limits', type: { name: 'Composite', class_name: 'ResourceLimits' } } } } } end end end end
Version data entries
9 entries across 9 versions & 1 rubygems