Sha256: 8cbe915d93242ea1b1df61cfeca4ac7618e39f8c8232f50a9396d3dc90c70f56
Contents?: true
Size: 1.76 KB
Versions: 2
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::V7_0_0_42 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
2 entries across 2 versions & 1 rubygems