Sha256: e2a9031e3b052e55c6864ed356dd318f4dae7b997db3744d6e468e997d5c08ae
Contents?: true
Size: 1.61 KB
Versions: 10
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_08_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
10 entries across 10 versions & 1 rubygems