AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes a Reserved Instance offering.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.ReservedInstancesOffering

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class ReservedInstancesOffering

The ReservedInstancesOffering type exposes the following members

Constructors

NameDescription
Public Method ReservedInstancesOffering()

Properties

NameTypeDescription
Public Property AvailabilityZone System.String

Gets and sets the property AvailabilityZone.

The Availability Zone in which the Reserved Instance can be used.

Public Property AvailabilityZoneId System.String

Gets and sets the property AvailabilityZoneId.

The ID of the Availability Zone.

Public Property CurrencyCode Amazon.EC2.CurrencyCodeValues

Gets and sets the property CurrencyCode.

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.

Public Property Duration System.Nullable<System.Int64>

Gets and sets the property Duration.

The duration of the Reserved Instance, in seconds.

Public Property FixedPrice System.Nullable<System.Single>

Gets and sets the property FixedPrice.

The purchase price of the Reserved Instance.

Public Property InstanceTenancy Amazon.EC2.Tenancy

Gets and sets the property InstanceTenancy.

The tenancy of the instance.

Public Property InstanceType Amazon.EC2.InstanceType

Gets and sets the property InstanceType.

The instance type on which the Reserved Instance can be used.

Public Property Marketplace System.Nullable<System.Boolean>

Gets and sets the property Marketplace.

Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or Amazon Web Services. If it's a Reserved Instance Marketplace offering, this is true.

Public Property OfferingClass Amazon.EC2.OfferingClassType

Gets and sets the property OfferingClass.

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.

Public Property OfferingType Amazon.EC2.OfferingTypeValues

Gets and sets the property OfferingType.

The Reserved Instance offering type.

Public Property PricingDetails System.Collections.Generic.List<Amazon.EC2.Model.PricingDetail>

Gets and sets the property PricingDetails.

The pricing details of the Reserved Instance offering.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property ProductDescription Amazon.EC2.RIProductDescription

Gets and sets the property ProductDescription.

The Reserved Instance product platform description.

Public Property RecurringCharges System.Collections.Generic.List<Amazon.EC2.Model.RecurringCharge>

Gets and sets the property RecurringCharges.

The recurring charge tag assigned to the resource.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property ReservedInstancesOfferingId System.String

Gets and sets the property ReservedInstancesOfferingId.

The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote to confirm that an exchange can be made.

Public Property Scope Amazon.EC2.Scope

Gets and sets the property Scope.

Whether the Reserved Instance is applied to instances in a Region or an Availability Zone.

Public Property UsagePrice System.Nullable<System.Single>

Gets and sets the property UsagePrice.

The usage price of the Reserved Instance, per hour.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer