class Azure::Labservices::Mgmt::V2018_10_15::Models::SizeInfo
Contains detailed information about a size
Attributes
compute_size[RW]
@return [String] Represents the actual compute size, e.g. Standard_A2_v2.
memory[RW]
@return [Float] The amount of memory available (in GB).
number_of_cores[RW]
@return [Integer] The number of cores a VM of this size has.
price[RW]
@return The pay-as-you-go price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost.
Private Class Methods
mapper()
click to toggle source
Mapper for SizeInfo
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-10-15/generated/azure_mgmt_labservices/models/size_info.rb, line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SizeInfo', type: { name: 'Composite', class_name: 'SizeInfo', model_properties: { compute_size: { client_side_validation: true, required: false, serialized_name: 'computeSize', type: { name: 'String' } }, price: { client_side_validation: true, required: false, serialized_name: 'price', type: { name: 'Number' } }, number_of_cores: { client_side_validation: true, required: false, serialized_name: 'numberOfCores', type: { name: 'Number' } }, memory: { client_side_validation: true, required: false, serialized_name: 'memory', type: { name: 'Double' } } } } } end