ec2_purchase_host_reservation: Purchase a reservation with configurations that match those...

View source: R/ec2_operations.R

ec2_purchase_host_reservationR Documentation

Purchase a reservation with configurations that match those of your Dedicated Host

Description

Purchase a reservation with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation. This action results in the specified reservation being purchased and charged to your account.

See https://www.paws-r-sdk.com/docs/ec2_purchase_host_reservation/ for full documentation.

Usage

ec2_purchase_host_reservation(
  ClientToken = NULL,
  CurrencyCode = NULL,
  HostIdSet,
  LimitPrice = NULL,
  OfferingId,
  TagSpecifications = NULL
)

Arguments

ClientToken

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

CurrencyCode

The currency in which the totalUpfrontPrice, LimitPrice, and totalHourlyPrice amounts are specified. At this time, the only supported currency is USD.

HostIdSet

[required] The IDs of the Dedicated Hosts with which the reservation will be associated.

LimitPrice

The specified limit is checked against the total upfront cost of the reservation (calculated as the offering's upfront cost multiplied by the host count). If the total upfront cost is greater than the specified price limit, the request fails. This is used to ensure that the purchase does not exceed the expected upfront cost of the purchase. At this time, the only supported currency is USD. For example, to indicate a limit price of USD 100, specify 100.00.

OfferingId

[required] The ID of the offering.

TagSpecifications

The tags to apply to the Dedicated Host Reservation during purchase.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.