You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EC2::Types::AvailableCapacity

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

The capacity information for instances launched onto the Dedicated Host.

Instance Attribute Summary collapse

Instance Attribute Details

#available_instance_capacityArray<Types::InstanceCapacity>

The total number of instances that the Dedicated Host supports.

Returns:



1329
1330
1331
1332
1333
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1329

class AvailableCapacity < Struct.new(
  :available_instance_capacity,
  :available_v_cpus)
  include Aws::Structure
end

#available_v_cpusInteger

The number of vCPUs available on the Dedicated Host.

Returns:

  • (Integer)


1329
1330
1331
1332
1333
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1329

class AvailableCapacity < Struct.new(
  :available_instance_capacity,
  :available_v_cpus)
  include Aws::Structure
end