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.
Container for the parameters to the MoveCapacityReservationInstances operation.
Move available capacity from a source Capacity Reservation to a destination Capacity
Reservation. The source Capacity Reservation and the destination Capacity Reservation
must be active
, owned by your Amazon Web Services account, and share the following:
Instance type
Platform
Availability Zone
Tenancy
Placement group
Capacity Reservation end time - At specific time
or Manually
.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class MoveCapacityReservationInstancesRequest : AmazonEC2Request IAmazonWebServiceRequest
The MoveCapacityReservationInstancesRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
MoveCapacityReservationInstancesRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
ClientToken | System.String |
Gets and sets the property ClientToken. Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency. |
![]() |
DestinationCapacityReservationId | System.String |
Gets and sets the property DestinationCapacityReservationId. The ID of the Capacity Reservation that you want to move capacity into. |
![]() |
DryRun | System.Nullable<System.Boolean> |
Gets and sets the property DryRun.
Checks whether you have the required permissions for the action, without actually
making the request, and provides an error response. If you have the required permissions,
the error response is |
![]() |
InstanceCount | System.Nullable<System.Int32> |
Gets and sets the property InstanceCount. The number of instances that you want to move from the source Capacity Reservation. |
![]() |
SourceCapacityReservationId | System.String |
Gets and sets the property SourceCapacityReservationId. The ID of the Capacity Reservation from which you want to move capacity. |
.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