Sha256: d415be732b955fc75e5a6b2be383c98dc6721d9340c46f6d75a3b30229487769
Contents?: true
Size: 1.76 KB
Versions: 5
Compression:
Stored size: 1.76 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_4_0_36 module Models # # This type describes the requested resources for a given container. It # describes the least amount of resources required for the container. A # container can consume more than requested resources up to the specified # limits before being restarted. Currently, the requested resources are # treated as limits. # class ResourceRequests include MsRestAzure # @return [Float] The memory request in GB for this container. attr_accessor :memory_in_gb # @return [Float] Requested number of CPU cores. At present, only full # cores are supported. attr_accessor :cpu # # Mapper for ResourceRequests class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ResourceRequests', type: { name: 'Composite', class_name: 'ResourceRequests', model_properties: { memory_in_gb: { client_side_validation: true, required: true, serialized_name: 'memoryInGB', type: { name: 'Double' } }, cpu: { client_side_validation: true, required: true, serialized_name: 'cpu', type: { name: 'Double' } } } } } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems