Sha256: 5cdf9535ced69feb6e5b30ad8566f4d013982604c7d6a6e4fd419ef23d309427

Contents?: true

Size: 1.7 KB

Versions: 1

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::V2020_12_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

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb