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.

Describes the price for a Reserved Instance.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.PriceSchedule

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

Syntax

C#
public class PriceSchedule

The PriceSchedule type exposes the following members

Constructors

NameDescription
Public Method PriceSchedule()

Properties

NameTypeDescription
Public Property Active System.Boolean

Gets and sets the property Active.

The current price schedule, as determined by the term remaining for the Reserved Instance in the listing.

A specific price schedule is always in effect, but only one price schedule can be active at any time. Take, for example, a Reserved Instance listing that has five months remaining in its term. When you specify price schedules for five months and two months, this means that schedule 1, covering the first three months of the remaining term, will be active during months 5, 4, and 3. Then schedule 2, covering the last two months of the term, will be active for months 2 and 1.

Public Property CurrencyCode Amazon.EC2.CurrencyCodeValues

Gets and sets the property CurrencyCode.

The currency for transacting the Reserved Instance resale. At this time, the only supported currency is USD.

Public Property Price System.Double

Gets and sets the property Price.

The fixed price for the term.

Public Property Term System.Int64

Gets and sets the property Term.

The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms