Sha256: 975e40a56a64a0549a11512eac350f2a666fae9c3273d18fdbd035f2f661f8e5

Contents?: true

Size: 1.7 KB

Versions: 7

Compression:

Stored size: 1.7 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
    #
    # Dedicated host unutilized capacity.
    #
    class DedicatedHostAvailableCapacity

      include MsRestAzure

      # @return [Array<DedicatedHostAllocatableVM>] The unutilized capacity of
      # the dedicated host represented in terms of each VM size that is allowed
      # to be deployed to the dedicated host.
      attr_accessor :allocatable_vms


      #
      # Mapper for DedicatedHostAvailableCapacity class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'DedicatedHostAvailableCapacity',
          type: {
            name: 'Composite',
            class_name: 'DedicatedHostAvailableCapacity',
            model_properties: {
              allocatable_vms: {
                client_side_validation: true,
                required: false,
                serialized_name: 'allocatableVMs',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'DedicatedHostAllocatableVMElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'DedicatedHostAllocatableVM'
                      }
                  }
                }
              }
            }
          }
        }
      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_available_capacity.rb
azure_mgmt_compute-0.21.1 lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb
azure_mgmt_compute-0.20.0 lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb
azure_mgmt_compute-0.19.3 lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb
azure_mgmt_compute-0.19.2 lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb
azure_mgmt_compute-0.19.1 lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb
azure_mgmt_compute-0.19.0 lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb