Sha256: 78d49353199ab98745c9e1f22c4538848ca19c225324abb479122d09ac9f76e1
Contents?: true
Size: 1.6 KB
Versions: 8
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::ContainerInstance::Mgmt::V2018_06_01 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
8 entries across 8 versions & 1 rubygems