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 a Reserved Instance.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.ReservedInstances

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

Syntax

C#
public class ReservedInstances

The ReservedInstances type exposes the following members

Constructors

NameDescription
Public Method ReservedInstances()

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 CurrencyCode Amazon.EC2.CurrencyCodeValues

Gets and sets the property CurrencyCode.

The currency of the Reserved Instance. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

Public Property Duration System.Int64

Gets and sets the property Duration.

The duration of the Reserved Instance, in seconds.

Public Property End System.DateTime

Gets and sets the property End.

The time when the Reserved Instance expires.

Public Property FixedPrice System.Single

Gets and sets the property FixedPrice.

The purchase price of the Reserved Instance.

Public Property InstanceCount System.Int32

Gets and sets the property InstanceCount.

The number of reservations purchased.

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 OfferingClass Amazon.EC2.OfferingClassType

Gets and sets the property OfferingClass.

The offering class of the Reserved Instance.

Public Property OfferingType Amazon.EC2.OfferingTypeValues

Gets and sets the property OfferingType.

The Reserved Instance offering type.

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.

Public Property ReservedInstancesId System.String

Gets and sets the property ReservedInstancesId.

The ID of the Reserved Instance.

Public Property Scope Amazon.EC2.Scope

Gets and sets the property Scope.

The scope of the Reserved Instance.

Public Property Start System.DateTime

Gets and sets the property Start.

The date and time the Reserved Instance started.

Public Property State Amazon.EC2.ReservedInstanceState

Gets and sets the property State.

The state of the Reserved Instance purchase.

Public Property Tags System.Collections.Generic.List<Amazon.EC2.Model.Tag>

Gets and sets the property Tags.

Any tags assigned to the resource.

Public Property UsagePrice System.Single

Gets and sets the property UsagePrice.

The usage price of the Reserved Instance, per hour.

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