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)


6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6145

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)
  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)


6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6145

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)
  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)


6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6145

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)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_block_offering_id ⇒ String

The ID of the Capacity Block offering.

Returns:

  • (String)


6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6145

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)
  SENSITIVE = []
  include Aws::Structure
end

#currency_code ⇒ String

The currency of the payment for the Capacity Block.

Returns:

  • (String)


6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6145

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)
  SENSITIVE = []
  include Aws::Structure
end

#end_date ⇒ Time

The end date of the Capacity Block offering.

Returns:

  • (Time)


6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6145

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)
  SENSITIVE = []
  include Aws::Structure
end

#instance_count ⇒ Integer

The number of instances in the Capacity Block offering.

Returns:

  • (Integer)


6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6145

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)
  SENSITIVE = []
  include Aws::Structure
end

#instance_type ⇒ String

The instance type of the Capacity Block offering.

Returns:

  • (String)


6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6145

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)
  SENSITIVE = []
  include Aws::Structure
end

#start_date ⇒ Time

The start date of the Capacity Block offering.

Returns:

  • (Time)


6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6145

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)
  SENSITIVE = []
  include Aws::Structure
end

#tenancy ⇒ String

The tenancy of the Capacity Block.

Returns:

  • (String)


6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6145

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)
  SENSITIVE = []
  include Aws::Structure
end

#ultraserver_count ⇒ Integer

The number of EC2 UltraServers in the offering.

Returns:

  • (Integer)


6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6145

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)
  SENSITIVE = []
  include Aws::Structure
end

#ultraserver_type ⇒ String

The EC2 UltraServer type of the Capacity Block offering.

Returns:

  • (String)


6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6145

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)
  SENSITIVE = []
  include Aws::Structure
end

#upfront_fee ⇒ String

The total price to be paid up front.

Returns:

  • (String)


6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6145

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)
  SENSITIVE = []
  include Aws::Structure
end

#zone_type ⇒ String

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

Returns:

  • (String)


6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6145

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)
  SENSITIVE = []
  include Aws::Structure
end