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.

Instantiates PurchaseReservedInstancesOfferingRequest with the parameterized properties

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

Syntax

C#
public PurchaseReservedInstancesOfferingRequest(
         String reservedInstancesOfferingId,
         Nullable<Int32> instanceCount
)

Parameters

reservedInstancesOfferingId
Type: System.String

The ID of the Reserved Instance offering to purchase.

instanceCount
Type: System.Nullable<System.Int32>

The number of Reserved Instances to purchase.

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