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.

The recommended Capacity Block that fits your search requirements.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.CapacityBlockOffering

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

Syntax

C#
public class CapacityBlockOffering

The CapacityBlockOffering type exposes the following members

Constructors

NameDescription
Public Method CapacityBlockOffering()

Properties

NameTypeDescription
Public Property AvailabilityZone System.String

Gets and sets the property AvailabilityZone.

The Availability Zone of the Capacity Block offering.

Public Property CapacityBlockDurationHours System.Int32

Gets and sets the property CapacityBlockDurationHours.

The number of hours (in addition to capacityBlockDurationMinutes) for the duration of the Capacity Block reservation. For example, if a Capacity Block starts at 04:55 and ends at 11:30, the hours field would be 6.

Public Property CapacityBlockDurationMinutes System.Int32

Gets and sets the property CapacityBlockDurationMinutes.

The number of minutes (in addition to capacityBlockDurationHours) for the duration of the Capacity Block reservation. For example, if a Capacity Block starts at 08:55 and ends at 11:30, the minutes field would be 35.

Public Property CapacityBlockOfferingId System.String

Gets and sets the property CapacityBlockOfferingId.

The ID of the Capacity Block offering.

Public Property CurrencyCode System.String

Gets and sets the property CurrencyCode.

The currency of the payment for the Capacity Block.

Public Property EndDate System.DateTime

Gets and sets the property EndDate.

The end date of the Capacity Block offering.

Public Property InstanceCount System.Int32

Gets and sets the property InstanceCount.

The number of instances in the Capacity Block offering.

Public Property InstanceType System.String

Gets and sets the property InstanceType.

The instance type of the Capacity Block offering.

Public Property StartDate System.DateTime

Gets and sets the property StartDate.

The start date of the Capacity Block offering.

Public Property Tenancy Amazon.EC2.CapacityReservationTenancy

Gets and sets the property Tenancy.

The tenancy of the Capacity Block.

Public Property UpfrontFee System.String

Gets and sets the property UpfrontFee.

The total price to be paid up front.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5