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.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class ReservedInstances
The ReservedInstances type exposes the following members
Name | Description | |
---|---|---|
![]() |
ReservedInstances() |
Name | Type | Description | |
---|---|---|---|
![]() |
AvailabilityZone | System.String |
Gets and sets the property AvailabilityZone. The Availability Zone in which the Reserved Instance can be used. |
![]() |
AvailabilityZoneId | System.String |
Gets and sets the property AvailabilityZoneId. The ID of the Availability Zone. |
![]() |
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 |
![]() |
Duration | System.Nullable<System.Int64> |
Gets and sets the property Duration. The duration of the Reserved Instance, in seconds. |
![]() |
End | System.Nullable<System.DateTime> |
Gets and sets the property End. The time when the Reserved Instance expires. |
![]() |
FixedPrice | System.Nullable<System.Single> |
Gets and sets the property FixedPrice. The purchase price of the Reserved Instance. |
![]() |
InstanceCount | System.Nullable<System.Int32> |
Gets and sets the property InstanceCount. The number of reservations purchased. |
![]() |
InstanceTenancy | Amazon.EC2.Tenancy |
Gets and sets the property InstanceTenancy. The tenancy of the instance. |
![]() |
InstanceType | Amazon.EC2.InstanceType |
Gets and sets the property InstanceType. The instance type on which the Reserved Instance can be used. |
![]() |
OfferingClass | Amazon.EC2.OfferingClassType |
Gets and sets the property OfferingClass. The offering class of the Reserved Instance. |
![]() |
OfferingType | Amazon.EC2.OfferingTypeValues |
Gets and sets the property OfferingType. The Reserved Instance offering type. |
![]() |
ProductDescription | Amazon.EC2.RIProductDescription |
Gets and sets the property ProductDescription. The Reserved Instance product platform description. |
![]() |
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. |
![]() |
ReservedInstancesId | System.String |
Gets and sets the property ReservedInstancesId. The ID of the Reserved Instance. |
![]() |
Scope | Amazon.EC2.Scope |
Gets and sets the property Scope. The scope of the Reserved Instance. |
![]() |
Start | System.Nullable<System.DateTime> |
Gets and sets the property Start. The date and time the Reserved Instance started. |
![]() |
State | Amazon.EC2.ReservedInstanceState |
Gets and sets the property State. The state of the Reserved Instance purchase. |
![]() |
Tags | System.Collections.Generic.List<Amazon.EC2.Model.Tag> |
Gets and sets the property Tags. Any tags 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. |
![]() |
UsagePrice | System.Nullable<System.Single> |
Gets and sets the property UsagePrice. The usage price of the Reserved Instance, per hour. |
.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