pub struct ReservedInstancesOffering {
pub availability_zone: Option<String>,
pub currency_code: Option<String>,
pub duration: Option<i64>,
pub fixed_price: Option<f32>,
pub instance_tenancy: Option<String>,
pub instance_type: Option<String>,
pub marketplace: Option<bool>,
pub offering_class: Option<String>,
pub offering_type: Option<String>,
pub pricing_details: Option<Vec<PricingDetail>>,
pub product_description: Option<String>,
pub recurring_charges: Option<Vec<RecurringCharge>>,
pub reserved_instances_offering_id: Option<String>,
pub scope: Option<String>,
pub usage_price: Option<f32>,
}
Describes a Reserved Instance offering.
The Availability Zone in which the Reserved Instance can be used.
The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD
.
The duration of the Reserved Instance, in seconds.
The purchase price of the Reserved Instance.
The tenancy of the instance.
The instance type on which the Reserved Instance can be used.
Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS. If it's a Reserved Instance Marketplace offering, this is true
.
If convertible
it can be exchanged for Reserved Instances of the same or higher monetary value, with different configurations. If standard
, it is not possible to perform an exchange.
The Reserved Instance offering type.
The pricing details of the Reserved Instance offering.
The Reserved Instance product platform description.
The recurring charge tag assigned to the resource.
Whether the Reserved Instance is applied to instances in a region or an Availability Zone.
The usage price of the Reserved Instance, per hour.
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static