GetActionPlan
Queries the details of an execution plan.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ehpc:GetActionPlan |
get |
*All Resource
|
None | None |
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ActionPlanId |
string |
No |
ID of the execution plan. |
ap-hz036ubmx2qmw93k**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response schema |
||
| RequestId |
string |
ID of the request. |
896D338C-E4F4-41EC-A154-D605E5DE**** |
| ActionPlanId |
string |
ID of the execution plan. |
ap-hz036ubmx2qmw93k**** |
| ActionPlanName |
string |
Name of the execution plan. |
TestActionPlan |
| CreateTime |
string |
Time when the execution plan was created. |
2025-08-10 18:28:05 |
| UpdateTime |
string |
Last time the execution plan was modified. |
2025-08-10 18:28:05 |
| AppId |
string |
ID of the application. |
ci-vm-rYfypJKwlN9Y |
| PrologScript |
string |
Prologue script. Must be Base64-encoded. |
bHMgLWFsCmxzIC1hbGggfCB3YyAtbA== |
| ResourceType |
string |
Type of target resource for the execution plan. Valid values are:
|
VCpuCapacity |
| DesiredCapacity |
number |
Target resource size for the execution plan. If ResourceType is VCpuCapacity, this value represents the target vCPU count. |
1000 |
| TotalCapacity |
number |
Current resource size managed by the execution plan. |
1000 |
| Status |
string |
Status of the execution plan. Valid values are:
|
Active |
| Resources |
array<object> |
List of resource configurations for the execution plan's runtime environment. |
|
|
object |
Resource configuration for the execution plan's runtime environment. |
||
| Cores |
number |
Number of CPUs in the runtime environment. |
64 |
| Memory |
number |
Memory size in the runtime environment, in GiB. |
128 |
| Regions |
array<object> |
List of region-specific resource configurations for the execution plan's runtime environment. |
|
|
object |
Region-specific resource configuration for the execution plan's runtime environment. |
||
| RegionId |
string |
ID of the region. |
cn-hangzhou |
| VSwitchIds |
array |
List of vSwitches available to the execution plan in this region. |
|
|
string |
ID of the vSwitch. |
vsw-bp14v5eikr8wrgoqje7hr |
|
| SecurityGroupIds |
array |
List of security groups available to the execution plan in this region. |
|
|
string |
vSwitch ID. |
sg-uf6j4pp39x9k3x05c3vw |
|
| AllocationSpec |
string |
Resource type. |
Standard |
| Level |
string |
Computing power level. |
General |
| IntervalMinutes |
integer |
60 |
Examples
Success response
JSON format
{
"RequestId": "896D338C-E4F4-41EC-A154-D605E5DE****",
"ActionPlanId": "ap-hz036ubmx2qmw93k****",
"ActionPlanName": "TestActionPlan",
"CreateTime": "2025-08-10 18:28:05",
"UpdateTime": "2025-08-10 18:28:05\n",
"AppId": "ci-vm-rYfypJKwlN9Y",
"PrologScript": "bHMgLWFsCmxzIC1hbGggfCB3YyAtbA==",
"ResourceType": "VCpuCapacity",
"DesiredCapacity": 1000,
"TotalCapacity": 1000,
"Status": "Active",
"Resources": [
{
"Cores": 64,
"Memory": 128
}
],
"Regions": [
{
"RegionId": "cn-hangzhou",
"VSwitchIds": [
"vsw-bp14v5eikr8wrgoqje7hr"
],
"SecurityGroupIds": [
"sg-uf6j4pp39x9k3x05c3vw"
]
}
],
"AllocationSpec": "Standard",
"Level": "General",
"IntervalMinutes": 60
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NotExisted.ActionPlan | The specified action plan does not exist. | The specified execution plan does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.