| object | | |
PageSize | integer | The number of entries returned per page. | 10 |
RequestId | string | | 745CEC9F-0DD7-4451-9FE7-8B752F39**** |
PageNumber | integer | The number of the page returned. | 1 |
TotalCount | integer | The number of queried auto provisioning groups. | 10 |
AutoProvisioningGroups | object [] | Details about the auto provisioning groups. | |
CreationTime | string | | 2019-04-01T15:10:20Z |
AutoProvisioningGroupName | string | The name of the auto provisioning group. | EcsDocTest |
Status | string | The status of the auto provisioning group. Valid values:
- submitted: The auto provisioning group is created but has not started to execute scheduling tasks.
- active: The auto provisioning group is executing scheduling tasks.
- deleted: The auto provisioning group is deleted.
- deleted-running: The auto provisioning group is being deleted.
- modifying: The auto provisioning group is being modified.
| submitted |
TerminateInstances | boolean | Indicates whether the instances in the auto provisioning group are released when the auto provisioning group is deleted. Valid values:
- true: releases instances in the auto provisioning group.
- false: retains instances in the auto provisioning group.
| false |
MaxSpotPrice | float | The maximum price for preemptible instances in the auto provisioning group.
Note
If both the MaxSpotPrice and LaunchTemplateConfig.N.MaxPrice parameters are specified, the smaller one of the two parameter values is used.
The LaunchTemplateConfig.N.MaxPrice parameter is set when the auto provisioning group is created, and cannot be modified. | 2 |
State | string | The overall status of instance scheduling of the auto provisioning group. Valid values:
- fulfilled: Scheduling is complete and the instance cluster is delivered.
- pending-fulfillment: The instances are being created.
- pending-termination: The instances are being removed.
- error: An exception occurred during scheduling and the instance cluster is not delivered.
| fulfilled |
LaunchTemplateId | string | The ID of the launch template associated with the auto provisioning group. | lt-bp1fgzds4bdogu03**** |
ValidFrom | string | The time at which the auto provisioning group is started. The provisioning group is effective to the point in time specified by the ValidUntil parameter. | 2019-04-01T15:10:20Z |
LaunchTemplateVersion | string | The version of the launch template associated with the auto provisioning group. | 1 |
TerminateInstancesWithExpiration | boolean | Indicates whether the instances in the auto provisioning group are released when the auto provisioning group expires. Valid values:
- true: releases instances in the auto provisioning group.
- false: removes instances from the auto provisioning group but does not release them.
| true |
RegionId | string | The region ID of the auto provisioning group. | cn-hangzhou |
ValidUntil | string | The time at which the auto provisioning group expires. The provisioning group is started from the point in time specified by the ValidFrom parameter. | 2019-06-01T15:10:20Z |
AutoProvisioningGroupType | string | The delivery type of the auto provisioning group. Valid values:
- request: the one-time delivery. When the auto provisioning group is started, the system delivers clusters only once. If the clusters fail to be delivered, the system does not retry the delivery.
- maintain: continuous delivery. When the auto provisioning group is started, the system delivers clusters until the target capacity is reached. The system also monitors the capacity in real time. If the target capacity of the auto provisioning group is not reached, the system continues creating ECS instances until the target capacity is reached.
| maintain |
AutoProvisioningGroupId | string | The ID of the auto provisioning group. | apg-sn54avj8htgvtyh8**** |
ExcessCapacityTerminationPolicy | string | Specifies whether to release the removed instances when the capacity of the auto provisioning group exceeds the target capacity and a scale-in event is triggered. Valid values:
- termination: releases the removed instances.
- no-termination: removes the instances from the auto provisioning group but does not release them.
| termination |
LaunchTemplateConfigs | object [] | Details about the extended configurations. | |
MaxPrice | float | The maximum price of the instance type specified in the extended configurations. | 3 |
Priority | float | The priority of the instance type specified in the extended configurations. A value of 0 indicates the highest priority. | 1 |
VSwitchId | string | The ID of the vSwitch specified in the extended configurations. | vsw-sn5bsitu4lfzgc5o7**** |
WeightedCapacity | float | The weight of the instance type specified in the extended configurations. | 2 |
InstanceType | string | The instance type that is specified in the extended configurations. | ecs.g5.large |
SpotOptions | object | The policy related to preemptible instances. | |
InstancePoolsToUseCount | integer | The number of instances that the auto provisioning group creates by selecting the instance type of the lowest price.
Note
This parameter is set when the auto provisioning group is created, and cannot be modified.
| 2 |
AllocationStrategy | string | The policy for creating preemptible instances. Valid values:
- lowest-price: the cost optimization policy. The auto provisioning group selects the instance type of the lowest price to create preemptible instances.
- diversified: the balanced distribution policy. The auto provisioning group creates the instances in the zones that are specified in extended configurations and evenly distributes the instances across the zones.
| diversified |
InstanceInterruptionBehavior | string | The action to be performed after the extra preemptible instances are stopped. Valid values:
- stop: retains the extra preemptible instances in the stopped state.
- terminate: releases the excess preemptible instances.
| stop |
PayAsYouGoOptions | object | The policies related to pay-as-you-go instances. | |
AllocationStrategy | string | The policy for creating pay-as-you-go instances. Valid values:
- lowest-price: the cost optimization policy. The auto provisioning group selects the instance type of the lowest price to create pay-as-you-go instances.
- prioritized: the priority-based policy. This policy indicates that instances are created based on the priority specified by the LaunchTemplateConfig.N.Priority parameter.
Note
The LaunchTemplateConfig.N.Priority parameter is set when the auto provisioning group is created, and cannot be modified.
| prioritized |
TargetCapacitySpecification | object | The settings of the target capacity of the auto provisioning group. | |
SpotTargetCapacity | float | The target capacity of preemptible instances in the auto provisioning group. | 20 |
PayAsYouGoTargetCapacity | float | The target capacity of pay-as-you-go instances in the auto provisioning group. | 30 |
DefaultTargetCapacityType | string | The billing method of supplemental instances. The target capacity of the auto provisioning group must be at least the sum of the pay-as-you-go instance capacity specified by the PayAsYouGoTargetCapacity parameter and the preemptible instance capacity specified by the SpotTargetCapacity parameter. Valid values:
- PayAsYouGo: pay-as-you-go instances
- Spot: preemptible instances
| Spot |
TotalTargetCapacity | float | The target capacity of the auto provisioning group. The capacity consists of the following parts:
- PayAsYouGoTargetCapacity
- SpotTargetCapacity
- The supplemental capacity besides instance capacities specified by the PayAsYouGoTargetCapacity and SpotTargetCapacity parameters
| 60 |