Class: Aws::EC2::Types::CapacityBlockOffering

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

Overview

The recommended Capacity Block that fits your search requirements.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zone ⇒ String

The Availability Zone of the Capacity Block offering.

Returns:

  • (String)


6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6467

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :ultraserver_type,
  :ultraserver_count,
  :capacity_block_duration_minutes,
  :zone_type,
  :capacity_block_offering_segments)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_block_duration_hours ⇒ Integer

The number of hours (in addition to capacityBlockDurationMinutes) for the duration of the Capacity Block reservation. For example, if a Capacity Block starts at 04:55 and ends at 11:30, the hours field would be 6.

Returns:

  • (Integer)


6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6467

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :ultraserver_type,
  :ultraserver_count,
  :capacity_block_duration_minutes,
  :zone_type,
  :capacity_block_offering_segments)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_block_duration_minutes ⇒ Integer

The number of minutes (in addition to capacityBlockDurationHours) for the duration of the Capacity Block reservation. For example, if a Capacity Block starts at 08:55 and ends at 11:30, the minutes field would be 35.

Returns:

  • (Integer)


6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6467

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :ultraserver_type,
  :ultraserver_count,
  :capacity_block_duration_minutes,
  :zone_type,
  :capacity_block_offering_segments)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_block_offering_id ⇒ String

The ID of the Capacity Block offering.

Returns:

  • (String)


6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6467

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :ultraserver_type,
  :ultraserver_count,
  :capacity_block_duration_minutes,
  :zone_type,
  :capacity_block_offering_segments)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_block_offering_segments ⇒ Array<Types::CapacityBlockOfferingSegment>

The individual segments that compose the Capacity Block offering. Each segment describes a distinct block of capacity with its own Availability Zone, instance type, schedule, and pricing.



6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6467

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :ultraserver_type,
  :ultraserver_count,
  :capacity_block_duration_minutes,
  :zone_type,
  :capacity_block_offering_segments)
  SENSITIVE = []
  include Aws::Structure
end

#currency_code ⇒ String

The currency of the payment for the Capacity Block.

Returns:

  • (String)


6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6467

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :ultraserver_type,
  :ultraserver_count,
  :capacity_block_duration_minutes,
  :zone_type,
  :capacity_block_offering_segments)
  SENSITIVE = []
  include Aws::Structure
end

#end_date ⇒ Time

The end date of the Capacity Block offering.

Returns:

  • (Time)


6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6467

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :ultraserver_type,
  :ultraserver_count,
  :capacity_block_duration_minutes,
  :zone_type,
  :capacity_block_offering_segments)
  SENSITIVE = []
  include Aws::Structure
end

#instance_count ⇒ Integer

The number of instances in the Capacity Block offering.

Returns:

  • (Integer)


6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6467

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :ultraserver_type,
  :ultraserver_count,
  :capacity_block_duration_minutes,
  :zone_type,
  :capacity_block_offering_segments)
  SENSITIVE = []
  include Aws::Structure
end

#instance_type ⇒ String

The instance type of the Capacity Block offering.

Returns:

  • (String)


6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6467

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :ultraserver_type,
  :ultraserver_count,
  :capacity_block_duration_minutes,
  :zone_type,
  :capacity_block_offering_segments)
  SENSITIVE = []
  include Aws::Structure
end

#start_date ⇒ Time

The start date of the Capacity Block offering.

Returns:

  • (Time)


6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6467

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :ultraserver_type,
  :ultraserver_count,
  :capacity_block_duration_minutes,
  :zone_type,
  :capacity_block_offering_segments)
  SENSITIVE = []
  include Aws::Structure
end

#tenancy ⇒ String

The tenancy of the Capacity Block.

Returns:

  • (String)


6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6467

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :ultraserver_type,
  :ultraserver_count,
  :capacity_block_duration_minutes,
  :zone_type,
  :capacity_block_offering_segments)
  SENSITIVE = []
  include Aws::Structure
end

#ultraserver_count ⇒ Integer

The number of EC2 UltraServers in the offering.

Returns:

  • (Integer)


6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6467

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :ultraserver_type,
  :ultraserver_count,
  :capacity_block_duration_minutes,
  :zone_type,
  :capacity_block_offering_segments)
  SENSITIVE = []
  include Aws::Structure
end

#ultraserver_type ⇒ String

The EC2 UltraServer type of the Capacity Block offering.

Returns:

  • (String)


6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6467

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :ultraserver_type,
  :ultraserver_count,
  :capacity_block_duration_minutes,
  :zone_type,
  :capacity_block_offering_segments)
  SENSITIVE = []
  include Aws::Structure
end

#upfront_fee ⇒ String

The total price to be paid up front.

Returns:

  • (String)


6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6467

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :ultraserver_type,
  :ultraserver_count,
  :capacity_block_duration_minutes,
  :zone_type,
  :capacity_block_offering_segments)
  SENSITIVE = []
  include Aws::Structure
end

#zone_type ⇒ String

The type of zone where the Capacity Block offering is available.

Returns:

  • (String)


6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6467

class CapacityBlockOffering < Struct.new(
  :capacity_block_offering_id,
  :instance_type,
  :availability_zone,
  :instance_count,
  :start_date,
  :end_date,
  :capacity_block_duration_hours,
  :upfront_fee,
  :currency_code,
  :tenancy,
  :ultraserver_type,
  :ultraserver_count,
  :capacity_block_duration_minutes,
  :zone_type,
  :capacity_block_offering_segments)
  SENSITIVE = []
  include Aws::Structure
end