Class: Aws::EC2::Types::CapacityBlockExtension

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

Overview

Describes a Capacity Block extension. With an extension, you can extend the duration of time for an existing Capacity Block.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zoneString

The Availability Zone of the Capacity Block extension.

Returns:

  • (String)


4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
# File 'lib/aws-sdk-ec2/types.rb', line 4739

class CapacityBlockExtension < Struct.new(
  :capacity_reservation_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :capacity_block_extension_offering_id,
  :capacity_block_extension_duration_hours,
  :capacity_block_extension_status,
  :capacity_block_extension_purchase_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :upfront_fee,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#availability_zone_idString

The Availability Zone ID of the Capacity Block extension.

Returns:

  • (String)


4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
# File 'lib/aws-sdk-ec2/types.rb', line 4739

class CapacityBlockExtension < Struct.new(
  :capacity_reservation_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :capacity_block_extension_offering_id,
  :capacity_block_extension_duration_hours,
  :capacity_block_extension_status,
  :capacity_block_extension_purchase_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :upfront_fee,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_block_extension_duration_hoursInteger

The duration of the Capacity Block extension in hours.

Returns:

  • (Integer)


4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
# File 'lib/aws-sdk-ec2/types.rb', line 4739

class CapacityBlockExtension < Struct.new(
  :capacity_reservation_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :capacity_block_extension_offering_id,
  :capacity_block_extension_duration_hours,
  :capacity_block_extension_status,
  :capacity_block_extension_purchase_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :upfront_fee,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_block_extension_end_dateTime

The end date of the Capacity Block extension.

Returns:

  • (Time)


4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
# File 'lib/aws-sdk-ec2/types.rb', line 4739

class CapacityBlockExtension < Struct.new(
  :capacity_reservation_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :capacity_block_extension_offering_id,
  :capacity_block_extension_duration_hours,
  :capacity_block_extension_status,
  :capacity_block_extension_purchase_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :upfront_fee,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_block_extension_offering_idString

The ID of the Capacity Block extension offering.

Returns:

  • (String)


4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
# File 'lib/aws-sdk-ec2/types.rb', line 4739

class CapacityBlockExtension < Struct.new(
  :capacity_reservation_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :capacity_block_extension_offering_id,
  :capacity_block_extension_duration_hours,
  :capacity_block_extension_status,
  :capacity_block_extension_purchase_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :upfront_fee,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_block_extension_purchase_dateTime

The date when the Capacity Block extension was purchased.

Returns:

  • (Time)


4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
# File 'lib/aws-sdk-ec2/types.rb', line 4739

class CapacityBlockExtension < Struct.new(
  :capacity_reservation_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :capacity_block_extension_offering_id,
  :capacity_block_extension_duration_hours,
  :capacity_block_extension_status,
  :capacity_block_extension_purchase_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :upfront_fee,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_block_extension_start_dateTime

The start date of the Capacity Block extension.

Returns:

  • (Time)


4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
# File 'lib/aws-sdk-ec2/types.rb', line 4739

class CapacityBlockExtension < Struct.new(
  :capacity_reservation_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :capacity_block_extension_offering_id,
  :capacity_block_extension_duration_hours,
  :capacity_block_extension_status,
  :capacity_block_extension_purchase_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :upfront_fee,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_block_extension_statusString

The status of the Capacity Block extension. A Capacity Block extension can have one of the following statuses:

  • ‘payment-pending` - The Capacity Block extension payment is processing. If your payment can’t be processed within 12 hours, the Capacity Block extension is failed.

  • ‘payment-failed` - Payment for the Capacity Block extension request was not successful.

  • ‘payment-succeeded` - Payment for the Capacity Block extension request was successful. You receive an invoice that reflects the one-time upfront payment. In the invoice, you can associate the paid amount with the Capacity Block reservation ID.

Returns:

  • (String)


4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
# File 'lib/aws-sdk-ec2/types.rb', line 4739

class CapacityBlockExtension < Struct.new(
  :capacity_reservation_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :capacity_block_extension_offering_id,
  :capacity_block_extension_duration_hours,
  :capacity_block_extension_status,
  :capacity_block_extension_purchase_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :upfront_fee,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_reservation_idString

The reservation ID of the Capacity Block extension.

Returns:

  • (String)


4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
# File 'lib/aws-sdk-ec2/types.rb', line 4739

class CapacityBlockExtension < Struct.new(
  :capacity_reservation_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :capacity_block_extension_offering_id,
  :capacity_block_extension_duration_hours,
  :capacity_block_extension_status,
  :capacity_block_extension_purchase_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :upfront_fee,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#currency_codeString

The currency of the payment for the Capacity Block extension.

Returns:

  • (String)


4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
# File 'lib/aws-sdk-ec2/types.rb', line 4739

class CapacityBlockExtension < Struct.new(
  :capacity_reservation_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :capacity_block_extension_offering_id,
  :capacity_block_extension_duration_hours,
  :capacity_block_extension_status,
  :capacity_block_extension_purchase_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :upfront_fee,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#instance_countInteger

The number of instances in the Capacity Block extension.

Returns:

  • (Integer)


4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
# File 'lib/aws-sdk-ec2/types.rb', line 4739

class CapacityBlockExtension < Struct.new(
  :capacity_reservation_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :capacity_block_extension_offering_id,
  :capacity_block_extension_duration_hours,
  :capacity_block_extension_status,
  :capacity_block_extension_purchase_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :upfront_fee,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#instance_typeString

The instance type of the Capacity Block extension.

Returns:

  • (String)


4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
# File 'lib/aws-sdk-ec2/types.rb', line 4739

class CapacityBlockExtension < Struct.new(
  :capacity_reservation_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :capacity_block_extension_offering_id,
  :capacity_block_extension_duration_hours,
  :capacity_block_extension_status,
  :capacity_block_extension_purchase_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :upfront_fee,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#upfront_feeString

The total price to be paid up front.

Returns:

  • (String)


4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
# File 'lib/aws-sdk-ec2/types.rb', line 4739

class CapacityBlockExtension < Struct.new(
  :capacity_reservation_id,
  :instance_type,
  :instance_count,
  :availability_zone,
  :availability_zone_id,
  :capacity_block_extension_offering_id,
  :capacity_block_extension_duration_hours,
  :capacity_block_extension_status,
  :capacity_block_extension_purchase_date,
  :capacity_block_extension_start_date,
  :capacity_block_extension_end_date,
  :upfront_fee,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end