Sha256: a087a24caaad81f6ad43a1477cb5f06185bcaf044cd00be849ad87433c31bd32
Contents?: true
Size: 1.67 KB
Versions: 3
Compression:
Stored size: 1.67 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::ServiceFabric::V6_5_0_36 module Models # # This type describes the resource requirements for a container or a # service. # class ResourceRequirements include MsRestAzure # @return [ResourceRequests] Describes the requested resources for a # given container. attr_accessor :requests # @return [ResourceLimits] Describes the maximum limits on the resources # for a given container. 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
3 entries across 3 versions & 1 rubygems