GetCapacityBlockOfferingArgs class
Arguments for getCapacityBlockOffering. Arguments for getCapacityBlockOffering.
Constructors
-
GetCapacityBlockOfferingArgs({required Input<
int> capacityDurationHours, Input<String?> ? endDateRange, required Input<int> instanceCount, required Input<String> instanceType, Input<String?> ? region, Input<String?> ? startDateRange}) -
Creates a new GetCapacityBlockOfferingArgs.
capacityDurationHoursThe amount of time of the Capacity Block reservation in hours.endDateRangeThe date and time at which the Capacity Block Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. Valid values: RFC3339 time string (YYYY-MM-DDTHH:MM:SSZ)instanceCountThe number of instances for which to reserve capacity.instanceTypeThe instance type for which to reserve capacity.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.startDateRangeThe date and time at which the Capacity Block Reservation starts. Valid values: RFC3339 time string (YYYY-MM-DDTHH:MM:SSZ)const -
GetCapacityBlockOfferingArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
capacityDurationHours
→ Input<
int> -
The amount of time of the Capacity Block reservation in hours.
final
-
endDateRange
→ Input<
String?> ? -
The date and time at which the Capacity Block Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. Valid values: RFC3339 time string (
YYYY-MM-DDTHH:MM:SSZ)final - hashCode → int
-
The hash code for this object.
no setterinherited
-
instanceCount
→ Input<
int> -
The number of instances for which to reserve capacity.
final
-
instanceType
→ Input<
String> -
The instance type for which to reserve capacity.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
startDateRange
→ Input<
String?> ? -
The date and time at which the Capacity Block Reservation starts. Valid values: RFC3339 time string (
YYYY-MM-DDTHH:MM:SSZ)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