Sha256: cfcb62b82b28405262169b7970ecd3b86eac8a91402b7c8474e3078c810d052c

Contents?: true

Size: 1.61 KB

Versions: 7

Compression:

Stored size: 1.61 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::Compute::Mgmt::V2019_07_01
  module Models
    #
    # Represents the dedicated host unutilized capacity in terms of a specific
    # VM size.
    #
    class DedicatedHostAllocatableVM

      include MsRestAzure

      # @return [String] VM size in terms of which the unutilized capacity is
      # represented.
      attr_accessor :vm_size

      # @return [Float] Maximum number of VMs of size vmSize that can fit in
      # the dedicated host's remaining capacity.
      attr_accessor :count


      #
      # Mapper for DedicatedHostAllocatableVM class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'DedicatedHostAllocatableVM',
          type: {
            name: 'Composite',
            class_name: 'DedicatedHostAllocatableVM',
            model_properties: {
              vm_size: {
                client_side_validation: true,
                required: false,
                serialized_name: 'vmSize',
                type: {
                  name: 'String'
                }
              },
              count: {
                client_side_validation: true,
                required: false,
                serialized_name: 'count',
                type: {
                  name: 'Double'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb
azure_mgmt_compute-0.21.1 lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb
azure_mgmt_compute-0.20.0 lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb
azure_mgmt_compute-0.19.3 lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb
azure_mgmt_compute-0.19.2 lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb
azure_mgmt_compute-0.19.1 lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb
azure_mgmt_compute-0.19.0 lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb