Class: Aws::EC2::Types::GetCapacityReservationUsageResult
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::GetCapacityReservationUsageResult
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#available_instance_count ⇒ Integer
The remaining capacity.
-
#capacity_reservation_id ⇒ String
The ID of the Capacity Reservation.
-
#instance_type ⇒ String
The type of instance for which the Capacity Reservation reserves capacity.
-
#instance_usages ⇒ Array<Types::InstanceUsage>
Information about the Capacity Reservation usage.
-
#next_token ⇒ String
The token to use to retrieve the next page of results.
-
#state ⇒ String
The current state of the Capacity Reservation.
-
#total_instance_count ⇒ Integer
The number of instances for which the Capacity Reservation reserves capacity.
Instance Attribute Details
#available_instance_count ⇒ Integer
The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.
33794 33795 33796 33797 33798 33799 33800 33801 33802 33803 33804 |
# File 'lib/aws-sdk-ec2/types.rb', line 33794 class GetCapacityReservationUsageResult < Struct.new( :next_token, :capacity_reservation_id, :instance_type, :total_instance_count, :available_instance_count, :state, :instance_usages) SENSITIVE = [] include Aws::Structure end |
#capacity_reservation_id ⇒ String
The ID of the Capacity Reservation.
33794 33795 33796 33797 33798 33799 33800 33801 33802 33803 33804 |
# File 'lib/aws-sdk-ec2/types.rb', line 33794 class GetCapacityReservationUsageResult < Struct.new( :next_token, :capacity_reservation_id, :instance_type, :total_instance_count, :available_instance_count, :state, :instance_usages) SENSITIVE = [] include Aws::Structure end |
#instance_type ⇒ String
The type of instance for which the Capacity Reservation reserves capacity.
33794 33795 33796 33797 33798 33799 33800 33801 33802 33803 33804 |
# File 'lib/aws-sdk-ec2/types.rb', line 33794 class GetCapacityReservationUsageResult < Struct.new( :next_token, :capacity_reservation_id, :instance_type, :total_instance_count, :available_instance_count, :state, :instance_usages) SENSITIVE = [] include Aws::Structure end |
#instance_usages ⇒ Array<Types::InstanceUsage>
Information about the Capacity Reservation usage.
33794 33795 33796 33797 33798 33799 33800 33801 33802 33803 33804 |
# File 'lib/aws-sdk-ec2/types.rb', line 33794 class GetCapacityReservationUsageResult < Struct.new( :next_token, :capacity_reservation_id, :instance_type, :total_instance_count, :available_instance_count, :state, :instance_usages) SENSITIVE = [] include Aws::Structure end |
#next_token ⇒ String
The token to use to retrieve the next page of results. This value is ‘null` when there are no more results to return.
33794 33795 33796 33797 33798 33799 33800 33801 33802 33803 33804 |
# File 'lib/aws-sdk-ec2/types.rb', line 33794 class GetCapacityReservationUsageResult < Struct.new( :next_token, :capacity_reservation_id, :instance_type, :total_instance_count, :available_instance_count, :state, :instance_usages) SENSITIVE = [] include Aws::Structure end |
#state ⇒ String
The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:
-
‘active` - The Capacity Reservation is active and the capacity is available for your use.
-
‘expired` - The Capacity Reservation expired automatically at the date and time specified in your request. The reserved capacity is no longer available for your use.
-
‘cancelled` - The Capacity Reservation was cancelled. The reserved capacity is no longer available for your use.
-
‘pending` - The Capacity Reservation request was successful but the capacity provisioning is still pending.
-
‘failed` - The Capacity Reservation request has failed. A request might fail due to invalid request parameters, capacity constraints, or instance limit constraints. Failed requests are retained for 60 minutes.
33794 33795 33796 33797 33798 33799 33800 33801 33802 33803 33804 |
# File 'lib/aws-sdk-ec2/types.rb', line 33794 class GetCapacityReservationUsageResult < Struct.new( :next_token, :capacity_reservation_id, :instance_type, :total_instance_count, :available_instance_count, :state, :instance_usages) SENSITIVE = [] include Aws::Structure end |
#total_instance_count ⇒ Integer
The number of instances for which the Capacity Reservation reserves capacity.
33794 33795 33796 33797 33798 33799 33800 33801 33802 33803 33804 |
# File 'lib/aws-sdk-ec2/types.rb', line 33794 class GetCapacityReservationUsageResult < Struct.new( :next_token, :capacity_reservation_id, :instance_type, :total_instance_count, :available_instance_count, :state, :instance_usages) SENSITIVE = [] include Aws::Structure end |