class Azure::Labservices::Mgmt::V2018_10_15::Models::EnvironmentSize

Represents a size category supported by this Lab Account (small, medium or large)

Attributes

max_price[RW]

@return The pay-as-you-go dollar price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost. This is the maximum price of all prices within this tier.

min_memory[RW]

@return [Float] The amount of memory available (in GB). This is the minimum amount of memory within this tier.

min_number_of_cores[RW]

@return [Integer] The number of cores a VM of this size has. This is the minimum number of cores within this tier.

name[RW]

@return [ManagedLabVmSize] The size category. Possible values include: 'Basic', 'Standard', 'Performance'

vm_sizes[RW]

@return [Array<SizeInfo>] Represents a set of compute sizes that can serve this given size type

Private Class Methods

mapper() click to toggle source

Mapper for EnvironmentSize class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_size.rb, line 43
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EnvironmentSize',
    type: {
      name: 'Composite',
      class_name: 'EnvironmentSize',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        vm_sizes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'vmSizes',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'SizeInfoElementType',
                type: {
                  name: 'Composite',
                  class_name: 'SizeInfo'
                }
            }
          }
        },
        max_price: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'maxPrice',
          type: {
            name: 'Number'
          }
        },
        min_number_of_cores: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'minNumberOfCores',
          type: {
            name: 'Number'
          }
        },
        min_memory: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'minMemory',
          type: {
            name: 'Double'
          }
        }
      }
    }
  }
end