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.

This is the response object from the CreateCapacityReservationFleet operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.EC2.Model.CreateCapacityReservationFleetResponse

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

Syntax

C#
public class CreateCapacityReservationFleetResponse : AmazonWebServiceResponse

The CreateCapacityReservationFleetResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AllocationStrategy System.String

Gets and sets the property AllocationStrategy.

The allocation strategy used by the Capacity Reservation Fleet.

Public Property CapacityReservationFleetId System.String

Gets and sets the property CapacityReservationFleetId.

The ID of the Capacity Reservation Fleet.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property CreateTime System.Nullable<System.DateTime>

Gets and sets the property CreateTime.

The date and time at which the Capacity Reservation Fleet was created.

Public Property EndDate System.Nullable<System.DateTime>

Gets and sets the property EndDate.

The date and time at which the Capacity Reservation Fleet expires.

Public Property FleetCapacityReservations System.Collections.Generic.List<Amazon.EC2.Model.FleetCapacityReservation>

Gets and sets the property FleetCapacityReservations.

Information about the individual Capacity Reservations in the Capacity Reservation Fleet.

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 HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property InstanceMatchCriteria Amazon.EC2.FleetInstanceMatchCriteria

Gets and sets the property InstanceMatchCriteria.

The instance matching criteria for the Capacity Reservation Fleet.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property State Amazon.EC2.CapacityReservationFleetState

Gets and sets the property State.

The status of the Capacity Reservation Fleet.

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

Gets and sets the property Tags.

The tags assigned to the Capacity Reservation Fleet.

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 Tenancy Amazon.EC2.FleetCapacityReservationTenancy

Gets and sets the property Tenancy.

Indicates the tenancy of Capacity Reservation Fleet.

Public Property TotalFulfilledCapacity System.Nullable<System.Double>

Gets and sets the property TotalFulfilledCapacity.

The requested capacity units that have been successfully reserved.

Public Property TotalTargetCapacity System.Nullable<System.Int32>

Gets and sets the property TotalTargetCapacity.

The total number of capacity units for which the Capacity Reservation Fleet reserves capacity.

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