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.

The recommended Capacity Block extension that fits your search requirements.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.CapacityBlockExtensionOffering

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

Syntax

C#
public class CapacityBlockExtensionOffering

The CapacityBlockExtensionOffering type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AvailabilityZone System.String

Gets and sets the property AvailabilityZone.

The Availability Zone of the Capacity Block that will be extended.

Public Property AvailabilityZoneId System.String

Gets and sets the property AvailabilityZoneId.

The Availability Zone ID of the Capacity Block that will be extended.

Public Property CapacityBlockExtensionDurationHours System.Nullable<System.Int32>

Gets and sets the property CapacityBlockExtensionDurationHours.

The amount of time of the Capacity Block extension offering in hours.

Public Property CapacityBlockExtensionEndDate System.Nullable<System.DateTime>

Gets and sets the property CapacityBlockExtensionEndDate.

The date and time at which the Capacity Block extension expires. When a Capacity Block expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Block's state changes to expired when it reaches its end date

Public Property CapacityBlockExtensionOfferingId System.String

Gets and sets the property CapacityBlockExtensionOfferingId.

The ID of the Capacity Block extension offering.

Public Property CapacityBlockExtensionStartDate System.Nullable<System.DateTime>

Gets and sets the property CapacityBlockExtensionStartDate.

The date and time at which the Capacity Block extension will start. This date is also the same as the end date of the Capacity Block that will be extended.

Public Property CurrencyCode System.String

Gets and sets the property CurrencyCode.

The currency of the payment for the Capacity Block extension offering.

Public Property InstanceCount System.Nullable<System.Int32>

Gets and sets the property InstanceCount.

The number of instances in the Capacity Block extension offering.

Public Property InstanceType System.String

Gets and sets the property InstanceType.

The instance type of the Capacity Block that will be extended.

Public Property StartDate System.Nullable<System.DateTime>

Gets and sets the property StartDate.

The start date of the Capacity Block that will be extended.

Public Property Tenancy Amazon.EC2.CapacityReservationTenancy

Gets and sets the property Tenancy.

Indicates the tenancy of the Capacity Block extension offering. A Capacity Block can have one of the following tenancy settings:

  • default - The Capacity Block is created on hardware that is shared with other Amazon Web Services accounts.

  • dedicated - The Capacity Block is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.

Public Property UpfrontFee System.String

Gets and sets the property UpfrontFee.

The total price of the Capacity Block extension offering, 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.7.2 and newer