Retrieves the values of all input template variables for an application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bpstudio:GetApplicationVariables |
get |
*Application
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
No |
The ID of the application. Obtain the ID by calling the ListApplication operation. |
Q2P4O9YSOKCQ35L9 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
7036DDBE-0ABA-52D7-A39D-75E511970F07 |
| Message |
string |
The error message. |
Success |
| Data |
array<object> |
The instances and variables of the application. |
|
|
object |
The return value. |
||
| InstanceId |
string |
The ID of the instance. |
ob5epf79uv**** |
| VariableList |
array<object> |
A collection of variables. |
|
|
object |
A list of variables. |
||
| Variable |
string |
The name of the variable. |
${instance_type} |
| Value |
string |
The value of the variable. |
ecs.c6.4xlarge |
| Code |
integer |
The response code. |
200 |
Examples
Success response
JSON format
{
"RequestId": "7036DDBE-0ABA-52D7-A39D-75E511970F07",
"Message": "Success",
"Data": [
{
"InstanceId": "ob5epf79uv****",
"VariableList": [
{
"Variable": "${instance_type}",
"Value": "ecs.c6.4xlarge"
}
]
}
],
"Code": 200
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.