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.

Information about instance capacity usage for a Capacity Reservation.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.CapacityAllocation

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

Syntax

C#
public class CapacityAllocation

The CapacityAllocation type exposes the following members

Constructors

NameDescription
Public Method CapacityAllocation()

Properties

NameTypeDescription
Public Property AllocationType Amazon.EC2.AllocationType

Gets and sets the property AllocationType.

The usage type. used indicates that the instance capacity is in use by instances that are running in the Capacity Reservation.

Public Property Count System.Int32

Gets and sets the property Count.

The amount of instance capacity associated with the usage. For example a value of 4 indicates that instance capacity for 4 instances is currently in use.

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