AWS SDK Version 3 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.

Container for the parameters to the DescribeReservedInstancesOfferings operation. Describes Reserved Instance offerings that are available for purchase. With Reserved Instances, you purchase the right to launch instances for a period of time. During that time period, you do not receive insufficient capacity errors, and you pay a lower usage rate than the rate charged for On-Demand instances for the actual time used.

If you have listed your own Reserved Instances for sale in the Reserved Instance Marketplace, they will be excluded from these results. This is to ensure that you do not purchase your own Reserved Instances.

For more information, see Reserved Instance Marketplace in the Amazon EC2 User Guide.

The order of the elements in the response, including those within nested structures, might vary. Applications should not assume the elements appear in a particular order.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.AmazonEC2Request
      Amazon.EC2.Model.DescribeReservedInstancesOfferingsRequest

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

Syntax

C#
public class DescribeReservedInstancesOfferingsRequest : AmazonEC2Request
         IAmazonWebServiceRequest

The DescribeReservedInstancesOfferingsRequest type exposes the following members

Constructors

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 Filters System.Collections.Generic.List<Amazon.EC2.Model.Filter>

Gets and sets the property Filters.

One or more filters.

  • availability-zone - The Availability Zone where the Reserved Instance can be used.

  • duration - The duration of the Reserved Instance (for example, one year or three years), in seconds (31536000 | 94608000).

  • fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

  • instance-type - The instance type that is covered by the reservation.

  • marketplace - Set to true to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both Amazon Web Services and the Reserved Instance Marketplace are listed.

  • product-description - The Reserved Instance product platform description (Linux/UNIX | Linux with SQL Server Standard | Linux with SQL Server Web | Linux with SQL Server Enterprise | SUSE Linux | Red Hat Enterprise Linux | Red Hat Enterprise Linux with HA | Windows | Windows with SQL Server Standard | Windows with SQL Server Web | Windows with SQL Server Enterprise).

  • reserved-instances-offering-id - The Reserved Instances offering ID.

  • scope - The scope of the Reserved Instance (Availability Zone or Region).

  • usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).

Public Property IncludeMarketplace System.Boolean

Gets and sets the property IncludeMarketplace.

Include Reserved Instance Marketplace offerings in the response.

Public Property InstanceTenancy Amazon.EC2.Tenancy

Gets and sets the property InstanceTenancy.

The tenancy of the instances covered by the reservation. A Reserved Instance with a tenancy of dedicated is applied to instances that run in a VPC on single-tenant hardware (i.e., Dedicated Instances).

Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

Default: default

Public Property InstanceType Amazon.EC2.InstanceType

Gets and sets the property InstanceType.

The instance type that the reservation will cover (for example, m1.small). For more information, see Instance types in the Amazon EC2 User Guide.

Public Property MaxDuration System.Int64

Gets and sets the property MaxDuration.

The maximum duration (in seconds) to filter when searching for offerings.

Default: 94608000 (3 years)

Public Property MaxInstanceCount System.Int32

Gets and sets the property MaxInstanceCount.

The maximum number of instances to filter when searching for offerings.

Default: 20

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. The maximum is 100.

Default: 100

Public Property MinDuration System.Int64

Gets and sets the property MinDuration.

The minimum duration (in seconds) to filter when searching for offerings.

Default: 2592000 (1 month)

Public Property NextToken System.String

Gets and sets the property NextToken.

The token to retrieve the next page of results.

Public Property OfferingClass Amazon.EC2.OfferingClassType

Gets and sets the property OfferingClass.

The offering class of the Reserved Instance. Can be standard or convertible.

Public Property OfferingType Amazon.EC2.OfferingTypeValues

Gets and sets the property OfferingType.

The Reserved Instance offering type. If you are using tools that predate the 2011-11-01 API version, you only have access to the Medium Utilization Reserved Instance offering type.

Public Property ProductDescription Amazon.EC2.RIProductDescription

Gets and sets the property ProductDescription.

The Reserved Instance product platform description. Instances that include (Amazon VPC) in the description are for use with Amazon VPC.

Public Property ReservedInstancesOfferingIds System.Collections.Generic.List<System.String>

Gets and sets the property ReservedInstancesOfferingIds.

One or more Reserved Instances offering IDs.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5