GetCapacityBlockReservationResult class
Result data returned by getCapacityBlockReservation.
Constructors
-
GetCapacityBlockReservationResult({String? arn, String? availabilityZone, String? availabilityZoneId, int? availableInstanceCount, String? capacityBlockId, GetCapacityBlockReservationCommitmentInfo? commitmentInfo, String? createdDate, String? deliveryPreference, bool? ebsOptimized, String? endDate, String? endDateType, List<
GetCapacityBlockReservationFilter> ? filters, String? id, int? instanceCount, String? instanceMatchCriteria, String? instancePlatform, String? instanceType, GetCapacityBlockReservationInterruptibleCapacityAllocation? interruptibleCapacityAllocation, GetCapacityBlockReservationInterruptionInfo? interruptionInfo, String? outpostArn, String? ownerId, String? placementGroupArn, String? region, String? reservationType, String? startDate, String? state, Map<String, String> ? tags, String? tenancy}) -
Creates a new GetCapacityBlockReservationResult.
arnARN of the Capacity Block reservation.availabilityZoneAvailability Zone in which the capacity is reserved.availabilityZoneIdID of the Availability Zone in which the capacity is reserved.availableInstanceCountRemaining capacity, indicating the number of instances that can still be launched into the Capacity Block reservation.capacityBlockIdID of the underlying Capacity Block.commitmentInfoInformation about your commitment for a future-dated Capacity Block reservation. SeecommitmentInfoAttribute Reference below.createdDateDate and time the Capacity Block reservation was created in RFC3339 format.deliveryPreferenceDelivery method for a future-dated Capacity Block reservation. Eitherfixedorincremental.ebsOptimizedWhether the Capacity Block reservation supports EBS-optimized instances.endDateDate and time the Capacity Block reservation expires in RFC3339 format.endDateTypeEnd type of the Capacity Block reservation. Eitherlimitedorunlimited.filtersOptional.idOptional.instanceCountNumber of instances allocated as interruptible capacity within the Capacity Block reservation.instanceMatchCriteriaType of instance launches that the Capacity Block accepts. Eitheropenortargeted.instancePlatformOperating system platform for which the Capacity Block reserves capacity.instanceTypeInstance type for which the Capacity Block reserves capacity.interruptibleCapacityAllocationInformation about the interruptible capacity allocation, if applicable. SeeinterruptibleCapacityAllocationAttribute Reference below.interruptionInfoInformation about an interrupted Capacity Block reservation, if applicable. SeeinterruptionInfoAttribute Reference below.outpostArnARN of the Outpost on which the Capacity Block was created, if applicable.ownerIdID of the AWS account that owns the Capacity Block reservation.placementGroupArnARN of the cluster placement group in which the Capacity Block was created, if applicable.regionOptional.reservationTypeType of Capacity Reservation. Alwayscapacity-blockfor this data source.startDateDate and time the Capacity Block reservation was started in RFC3339 format.stateCurrent state of the Capacity Block reservation. One ofactive,expired,cancelled,pending,failed,scheduled,payment-pending,payment-failed, orassessing.tagsMap of tags assigned to the Capacity Block reservation.tenancyTenancy of the Capacity Block. Eitherdefaultordedicated.const -
GetCapacityBlockReservationResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- arn → String?
-
ARN of the Capacity Block reservation.
final
- availabilityZone → String?
-
Availability Zone in which the capacity is reserved.
final
- availabilityZoneId → String?
-
ID of the Availability Zone in which the capacity is reserved.
final
- availableInstanceCount → int?
-
Remaining capacity, indicating the number of instances that can still be launched into the Capacity Block reservation.
final
- capacityBlockId → String?
-
ID of the underlying Capacity Block.
final
- commitmentInfo → GetCapacityBlockReservationCommitmentInfo?
-
Information about your commitment for a future-dated Capacity Block reservation. See
commitmentInfoAttribute Reference below.final - createdDate → String?
-
Date and time the Capacity Block reservation was created in RFC3339 format.
final
- deliveryPreference → String?
-
Delivery method for a future-dated Capacity Block reservation. Either
fixedorincremental.final - ebsOptimized → bool?
-
Whether the Capacity Block reservation supports EBS-optimized instances.
final
- endDate → String?
-
Date and time the Capacity Block reservation expires in RFC3339 format.
final
- endDateType → String?
-
End type of the Capacity Block reservation. Either
limitedorunlimited.final -
filters
→ List<
GetCapacityBlockReservationFilter> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
- instanceCount → int?
-
Number of instances allocated as interruptible capacity within the Capacity Block reservation.
final
- instanceMatchCriteria → String?
-
Type of instance launches that the Capacity Block accepts. Either
openortargeted.final - instancePlatform → String?
-
Operating system platform for which the Capacity Block reserves capacity.
final
- instanceType → String?
-
Instance type for which the Capacity Block reserves capacity.
final
- interruptibleCapacityAllocation → GetCapacityBlockReservationInterruptibleCapacityAllocation?
-
Information about the interruptible capacity allocation, if applicable. See
interruptibleCapacityAllocationAttribute Reference below.final - interruptionInfo → GetCapacityBlockReservationInterruptionInfo?
-
Information about an interrupted Capacity Block reservation, if applicable. See
interruptionInfoAttribute Reference below.final - outpostArn → String?
-
ARN of the Outpost on which the Capacity Block was created, if applicable.
final
- ownerId → String?
-
ID of the AWS account that owns the Capacity Block reservation.
final
- placementGroupArn → String?
-
ARN of the cluster placement group in which the Capacity Block was created, if applicable.
final
- region → String?
-
final
- reservationType → String?
-
Type of Capacity Reservation. Always
capacity-blockfor this data source.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startDate → String?
-
Date and time the Capacity Block reservation was started in RFC3339 format.
final
- state → String?
-
Current state of the Capacity Block reservation. One of
active,expired,cancelled,pending,failed,scheduled,payment-pending,payment-failed, orassessing.final -
Map of tags assigned to the Capacity Block reservation.
final
- tenancy → String?
-
Tenancy of the Capacity Block. Either
defaultordedicated.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited