Modifies the general policies of a delivery group, including the number of concurrent sessions and the retention period of disconnected sessions.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| appstreaming:ModifyAppInstanceGroupAttribute | update | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| ProductType | string | Yes | The product type. Valid value:
| CloudApp |
| AppInstanceGroupId | string | Yes | The ID of the delivery group. | aig-9ciijz60n4xsv**** |
| AppInstanceGroupName | string | No | The name of the delivery group. | |
| SessionTimeout | integer | No | The duration for which sessions are retained after disconnection. Unit: minutes. After an end user disconnects from a session, the session is closed only after the specified duration elapses. If you want to permanently retain sessions, set this parameter to | 15 |
| NodePool | object | No | The information about the resource group. | |
| NodePoolId | string | No | The ID of the resource group. | rg-ew7va2g1wl3vm**** |
| NodeCapacity | integer | No | The maximum number of sessions to which a resource can connect at the same time. If a resource connects to a large number of sessions at the same time, user experience can be compromised. The value range varies based on the resource type. The following items describe the value ranges of different resource types:
| 2 |
| StoragePolicy | object | No | The storage policy. | |
| StorageTypeList | array | No | The storage types. | |
| string | No | The storage type. Valid values:
| PDS | |
| UserProfile | object | No | The configurations of user data roaming. | |
| UserProfileSwitch | boolean | No | Specifies whether user data roaming is enabled. Valid values:
| false |
| FileSystemId | string | No | The ID of the File Storage NAS (NAS) file system used to store user data. | 06ae94**** |
| SecurityPolicy | object | No | The security policy. | |
| SkipUserAuthCheck | boolean | No | Specifies whether to skip user permission verification. Valid values:
| false |
| ResetAfterUnbind | boolean | No | Specifies whether to reset after unbinding from a delivery group. Valid values:
| true |
| PreOpenMode | string | No | The pre-open mode. Valid values:
| OFF |
| PreOpenAppId | string | No | The application ID of the pre-open application. If you set | ca-b2ronxxd**** |
| PerSessionPerApp | boolean | No | Specifies whether only one application can be opened in a session.
Valid values:
| false |
| Network | object | No | The network settings. Note
If you want to use this parameter, submit a ticket.
| |
| DomainRules | array<object> | No | The domain name rules. | |
| object | No | |||
| Domain | string | No | The domain name. | www.example.com |
| Policy | string | No | The policy used for the domain name. Valid values:
| block |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
"Code": "InvalidParameter.ProductType",
"Message": "The parameter ProductType is invalid."
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-02-13 | The internal configuration of the API is changed, but the call is not affected | View Change Details |
| 2024-11-27 | The request parameters of the API has changed | View Change Details |
| 2023-08-21 | The request parameters of the API has changed | View Change Details |
| 2023-06-08 | The request parameters of the API has changed | View Change Details |
| 2023-04-28 | The request parameters of the API has changed | View Change Details |
