Queries the list of persistent session application instances in a delivery group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:ListPersistentAppInstances |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProductType |
string |
Yes |
The product type. Valid values:
|
CloudApp |
| AppInstanceGroupId |
string |
Yes |
The delivery group ID. |
aig-0bxls9m9arax6**** |
| AppInstancePersistentIds |
array |
No |
The list of persistent session IDs. |
|
|
string |
Yes |
The persistent session ID. |
p-0cc7s3mw2fg4j**** |
|
| PageSize |
integer |
No |
The number of query results per page. Maximum value: 100. Default value: 20. |
20 |
| PageNumber |
integer |
No |
The page number of the query results to display. Minimum value: 1. Default value: 1. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
| TotalCount |
integer |
The total number of query results. |
15 |
| PageSize |
integer |
The number of query results per page. |
20 |
| PageNumber |
integer |
The page number of the query results currently displayed. |
1 |
| PersistentAppInstanceModels |
array<object> |
The list of persistent session application instances. |
|
|
object |
The persistent session application instance information. |
||
| AppInstancePersistentId |
string |
The persistent session ID. |
p-0cc7s3mw2fg4j**** |
| AppInstancePersistentName |
string |
The name of the persistent session application instance. |
test-persistent-name |
| AppInstancePersistentStatus |
string |
The instance status of the persistent session application. Valid values:
|
RUNNING |
| AppInstanceGroupId |
string |
The delivery group ID. |
aig-0bxls9m9arax6**** |
| AppInstanceId |
string |
The application instance ID. |
ai-azn3kmwruh1vl**** |
| AppInstanceStatus |
string |
The application instance status. Valid values:
|
RUNNING |
| GmtCreate |
string |
The creation time. |
2025-03-13T03:22:18.000+00:00 |
| AuthorizedUsers |
array |
The list of authorized usernames. |
|
|
string |
The authorized username. |
user-001 |
Examples
Success response
JSON format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
"TotalCount": 15,
"PageSize": 20,
"PageNumber": 1,
"PersistentAppInstanceModels": [
{
"AppInstancePersistentId": "p-0cc7s3mw2fg4j****",
"AppInstancePersistentName": "test-persistent-name",
"AppInstancePersistentStatus": "RUNNING",
"AppInstanceGroupId": "aig-0bxls9m9arax6****",
"AppInstanceId": "ai-azn3kmwruh1vl****",
"AppInstanceStatus": "RUNNING",
"GmtCreate": "2025-03-13T03:22:18.000+00:00",
"AuthorizedUsers": [
"user-001"
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.