Creates a Savings Plan.
See https://www.paws-r-sdk.com/docs/savingsplans_create_savings_plan/ for full documentation.
Usage
savingsplans_create_savings_plan(
savingsPlanOfferingId,
commitment,
upfrontPaymentAmount = NULL,
purchaseTime = NULL,
clientToken = NULL,
tags = NULL
)Arguments
- savingsPlanOfferingId
[required] The ID of the offering.
- commitment
[required] The hourly commitment, in the same currency of the
savingsPlanOfferingId. This is a value between 0.001 and 1 million. You cannot specify more than five digits after the decimal point.- upfrontPaymentAmount
The up-front payment amount. This is a whole number between 50 and 99 percent of the total value of the Savings Plan. This parameter is only supported if the payment option is
Partial Upfront.- purchaseTime
The purchase time of the Savings Plan in UTC format (YYYY-MM-DDTHH:MM:SSZ).
- clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
One or more tags.