Class: Aws::EC2::Types::CapacityReservationStatus

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

Overview

Describes the availability of capacity for a Capacity Reservation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#capacity_reservation_idString

The ID of the Capacity Reservation.

Returns:

  • (String)


5958
5959
5960
5961
5962
5963
5964
5965
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 5958

class CapacityReservationStatus < Struct.new(
  :capacity_reservation_id,
  :total_capacity,
  :total_available_capacity,
  :total_unavailable_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#total_available_capacityInteger

The remaining capacity. Indicates the amount of resources that can be launched into the Capacity Reservation.

Returns:

  • (Integer)


5958
5959
5960
5961
5962
5963
5964
5965
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 5958

class CapacityReservationStatus < Struct.new(
  :capacity_reservation_id,
  :total_capacity,
  :total_available_capacity,
  :total_unavailable_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#total_capacityInteger

The combined amount of Available and Unavailable capacity in the Capacity Reservation.

Returns:

  • (Integer)


5958
5959
5960
5961
5962
5963
5964
5965
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 5958

class CapacityReservationStatus < Struct.new(
  :capacity_reservation_id,
  :total_capacity,
  :total_available_capacity,
  :total_unavailable_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#total_unavailable_capacityInteger

The used capacity. Indicates that the capacity is in use by resources that are running in the Capacity Reservation.

Returns:

  • (Integer)


5958
5959
5960
5961
5962
5963
5964
5965
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 5958

class CapacityReservationStatus < Struct.new(
  :capacity_reservation_id,
  :total_capacity,
  :total_available_capacity,
  :total_unavailable_capacity)
  SENSITIVE = []
  include Aws::Structure
end