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.

Reserve powerful GPU instances on a future date to support your short duration machine learning (ML) workloads. Instances that run inside a Capacity Block are automatically placed close together inside Amazon EC2 UltraClusters, for low-latency, petabit-scale, non-blocking networking.

You can also reserve Amazon EC2 UltraServers. UltraServers connect multiple EC2 instances using a low-latency, high-bandwidth accelerator interconnect (NeuronLink). They are built to tackle very large-scale AI/ML workloads that require significant processing power. For more information, see Amazon EC2 UltraServers.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.CapacityBlock

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

Syntax

C#
public class CapacityBlock

The CapacityBlock type exposes the following members

Constructors

NameDescription
Public Method CapacityBlock()

Properties

NameTypeDescription
Public Property AvailabilityZone System.String

Gets and sets the property AvailabilityZone.

The Availability Zone of the Capacity Block.

Public Property AvailabilityZoneId System.String

Gets and sets the property AvailabilityZoneId.

The Availability Zone ID of the Capacity Block.

Public Property CapacityBlockId System.String

Gets and sets the property CapacityBlockId.

The ID of the Capacity Block.

Public Property CapacityReservationIds System.Collections.Generic.List<System.String>

Gets and sets the property CapacityReservationIds.

The ID of the Capacity Reservation.

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.

Public Property CreateDate System.Nullable<System.DateTime>

Gets and sets the property CreateDate.

The date and time at which the Capacity Block was created.

Public Property EndDate System.Nullable<System.DateTime>

Gets and sets the property EndDate.

The date and time at which the Capacity Block expires. When a Capacity Block expires, all instances in the Capacity Block are terminated.

Public Property StartDate System.Nullable<System.DateTime>

Gets and sets the property StartDate.

The date and time at which the Capacity Block was started.

Public Property State Amazon.EC2.CapacityBlockResourceState

Gets and sets the property State.

The state of the Capacity Block.

Public Property Tags System.Collections.Generic.List<Amazon.EC2.Model.Tag>

Gets and sets the property Tags.

The tags assigned to the Capacity Block.

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.

Public Property UltraserverType System.String

Gets and sets the property UltraserverType.

The EC2 UltraServer type of the Capacity Block.

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