Modifies the cloud computer policy.
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 |
|---|---|---|---|---|
| ecd:ModifyPolicyGroup | update | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| RegionId | string | Yes | The region ID. You can call the DescribeRegions operation to query the regions supported by Elastic Desktop Service (EDS). | cn-hangzhou |
| PolicyGroupId | string | Yes | The ID of the cloud computer policy. | pg-gx2x1dhsmthe9**** |
| Name | string | No | The name of the cloud computer policy. | testPolicyGroupName |
| Clipboard | string | No | The permissions on the clipboard. Valid values:
| off |
| LocalDrive | string | No | The permissions on local disk mapping. Valid values:
| off |
| UsbRedirect | string | No | Specifies whether to enable the USB redirection feature. Valid values:
| off |
| VisualQuality | string | No | The image display quality. Valid values:
| low |
| Html5Access | string | No | Specifies whether to allow web client access. Note
We recommend that you specify the ClientType-related parameters to control the Alibaba Cloud Workspace client type for cloud computer connection.``
Valid values:
| off |
| Html5FileTransfer | string | No | The file transfer feature on the web client. Valid values:
| off |
| Watermark | string | No | The watermarking feature. Valid values:
| off |
| WatermarkType | string | No | The watermark content. You can select up to three items as the watermark content. Separate multiple items with commas (,). Note
If you set this parameter to Custom, you must specify WatermarkCustomText.
Valid values:
| EndUserId |
| WatermarkTransparency | string | No | The watermark transparency. Valid values:
| LIGHT |
| PreemptLogin | string | No | The cloud computer preemption feature. Note
To ensure user experience and data security, when a cloud computer is used by an end user, other end users cannot connect to the cloud computer. By default, this parameter is set to off, which cannot be modified.
Valid values:
| off |
| DomainList | string | No | Specifies whether the access control for domain names is enabled. Domain names support wildcards (*). Separate multiple domain names with commas (,). Valid values:
| [black:],example1.com,example2.com |
| PrinterRedirection | string | No | The printer redirection feature. Valid values:
| off |
| PreemptLoginUser | array | No | The usernames that are allowed to connect to the cloud computer in use. You can specify up to five usernames. Note
To ensure user experience and data security, other end users cannot connect to the cloud computer that is used by an end user.
| |
| string | No | The username that can preempt to connect to the cloud computer in use. | Alice | |
| AuthorizeSecurityPolicyRule | array<object> | No | The security group rules. | |
| object | No | The security group rule. | ||
| Type | string | No | The direction of the security group rule. Valid values:
| inflow |
| Policy | string | No | The authorization of the security group rule. Valid values:
| accept |
| PortRange | string | No | The port range of the security group rule. The value range of this parameter varies based on the value of the IpProtocol parameter.
For more information about the common ports applied in EDS, see Common ports. | 22/22 |
| Description | string | No | The description of the security group rule. | test |
| IpProtocol | string | No | The protocol type of the security group rule. Valid values:
| tcp |
| Priority | string | No | The priority of the security group rule. A smaller value indicates a higher priority. Valid values: 1 to 60. Default value: 1 | 1 |
| CidrIp | string | No | The object to which the security group rule applies. The value is an IPv4 CIDR block. | 10.0.XX.XX/8 |
| RevokeSecurityPolicyRule | array<object> | No | The security group rules that you want to delete. | |
| object | No | The security group rule that you want to delete. | ||
| Type | string | No | The direction of the security group rule that you want to delete. Valid values:
| outflow |
| Policy | string | No | The authorization of the security group rule that you want to delete. Valid values:
| accept |
| PortRange | string | No | The port range of the security group rule that you want to delete. The value range of this parameter varies based on the value of the IpProtocol parameter.
For more information about the common ports applied in EDS, see Common ports. | 22/22 |
| Description | string | No | The description of the security group rule that you want to delete. | test |
| IpProtocol | string | No | The protocol type of the security group rule that you want to delete. Valid values:
| tcp |
| Priority | string | No | The priority of the security group rule that you want to delete. A smaller value indicates a higher priority. Valid values: 1 to 60. Default value: 1. | 1 |
| CidrIp | string | No | The object of the security group rule that you want to delete. The value is an IPv4 CIDR block. | 47.100.XX.XX/16 |
| AuthorizeAccessPolicyRule | array<object> | No | The client IP address whitelists. | |
| object | No | The client IP address whitelists. | ||
| Description | string | No | The description of the client IP address whitelist. | test |
| CidrIp | string | Yes | The client CIDR block. Specify an IPv4 CIDR block. | 47.100.XX.XX/16 |
| RevokeAccessPolicyRule | array<object> | No | The client IP address whitelists that you want to delete. | |
| object | No | The client IP address whitelist that you want to delete. | ||
| Description | string | No | The description of the client IP address whitelist that you want to delete. | test |
| CidrIp | string | No | The client CIDR block that you want to delete. Specify an IPv4 CIDR block. | 47.100.XX.XX/16 |
| ClientType | array<object> | No | The logon method control rules to limit the type of the Alibaba Cloud Workspace client used by end users to connect to cloud computers. | |
| object | No | The logon method control rule. | ||
| ClientType | string | No | The type of the Alibaba Cloud Workspace client. Note
If you do not specify the ClientType parameter, all types of the client are allowed by default.
Valid values:
| windows |
| Status | string | No | Specifies whether to allow end users to use a specific type of the client to connect to cloud computers. Note
If you do not specify the ClientType parameter, all types of the client are allowed by default.
Valid values:
| ON |
| GpuAcceleration | string | No | Specifies whether to enable the Image Quality Control feature for Graphic-based cloud computers. If you have high requirements on the performance and user experience in scenarios such as professional design, we recommend that you enable this feature. Valid values:
| off |
| UsbSupplyRedirectRule | array<object> | No | The USB redirection rules. | |
| object | No | The USB redirection rules. | ||
| VendorId | string | No | The vendor ID (VID). For more information, see Valid USB VIDs. | 04** |
| ProductId | string | No | The product ID (PID). | 08** |
| Description | string | No | The rule description. | Test rule |
| UsbRedirectType | long | No | Specifies whether to allow USB redirection. Valid values:
| 1 |
| DeviceClass | string | No | The device class. This parameter is required when | 0Eh |
| DeviceSubclass | string | No | The device subclass. This parameter is required when | xxh |
| UsbRuleType | long | No | The type of the USB redirection rule. Valid values:
| 1 |
| DomainResolveRuleType | string | No | The type of the domain name resolution rule. Valid values:
| OFF |
| DomainResolveRule | array<object> | No | The domain resolution rules. | |
| object | No | The domain resolution rule. | ||
| Domain | string | No | The domain name. | *.igetget.com |
| Policy | string | No | The resolution policy. Valid values:
| block |
| Description | string | No | The policy description. | description policy |
| Recording | string | No | Specifies whether to enable the screen recording feature. Valid values:
| OFF |
| RecordingStartTime | string | No | The time when the screen recording starts. Specify the value in the HH:MM:SS format. The value is meaningful only when you set the | 08:00:00 |
| RecordingEndTime | string | No | The time when the screen recording stops. Specify the value in the HH:MM:SS format. The value is meaningful only when you set | 08:59:00 |
| RecordingFps | long | No | The frame rate of screen recording. Unit: fps. Valid values:
| 5 |
| RecordingExpires | long | No | The retention period of the screen recording file. Valid values: 1 to 180. Unit: days. | 30 |
| NetRedirect | string | No | Specifies whether to enable network redirection. Note
This parameter is in invitational preview for specific users and not available to the public.
Valid values:
| on |
| CameraRedirect | string | No | Specifies whether to enable the webcam redirection feature. Valid values:
| on |
| AppContentProtection | string | No | Specifies whether to enable the anti-screenshot feature. Valid values:
| on |
| RecordContent | string | No | Specifies whether to enable the custom screen recording feature. Valid values:
| OFF |
| RecordContentExpires | long | No | The duration in which the custom screen recording is valid. Default value: 30. Unit: days. | 30 |
| RemoteCoordinate | string | No | The permissions on keyboard and mouse control during remote assistance. Valid values:
| fullControl |
| RecordingDuration | integer | No | The file length of the screen recording. Unit: minutes. Screen recording files are split based on the specified file length and uploaded to Object Storage Service (OSS) buckets. When a screen recording file reaches 300 MB in size, the system preferentially performs rolling update for the file. Valid values:
| 15 |
| Scope | string | No | The effective scope of the policy. Valid values:
| GLOBAL |
| ScopeValue | array | No | This parameter is required when the | |
| string | No | The effective scope specified by a CIDR block. | 47.100.XX.XX/24 | |
| RecordingAudio | string | No | Specifies whether to record the audio files generated from cloud computers. Valid values:
| on |
| InternetCommunicationProtocol | string | No | The protocol for network communication. Valid values:
| BOTH |
| VideoRedirect | string | No | The multimedia redirection feature. | on |
| WatermarkTransparencyValue | integer | No | The watermark opacity. A larger value indicates more opaque watermarks. Valid values: 10 to 100. | 10 |
| WatermarkColor | integer | No | The font color in red, green, and blue (RGB) of the watermark. Valid values: 0 to 16777215. | 0 |
| WatermarkDegree | double | No | The watermark rotation. Valid values: -10 to -30. | -10 |
| WatermarkFontSize | integer | No | The watermark font size. Valid values: 10 to 20. | 10 |
| WatermarkFontStyle | string | No | The watermark font style. Valid values:
| plain |
| WatermarkRowAmount | integer | No | The number of watermark rows. Note
This parameter is not available for public use.
| 3 |
| EndUserApplyAdminCoordinate | string | No | Specifies whether to turn on the Contact Administrator for Help switch. Valid values:
| on |
| EndUserGroupCoordinate | string | No | Specifies whether to turn on the User Stream Collaboration switch. Valid values:
| on |
| WatermarkSecurity | string | No | Specifies whether to enable the security priority feature for invisible watermarks. Valid values:
| off |
| AdminAccess | string | No | Specifies whether end users have the administrator permissions. Note
This parameter is in invitational preview for specific users and not available to the public.
| deny |
| WatermarkAntiCam | string | No | Specifies whether to enable the anti-screen photo feature for invisible watermarks. Valid values:
| off |
| WatermarkPower | string | No | The watermark enhancement feature. Valid values:
| medium |
| RecordingUserNotify | string | No | Specifies whether to enable the screen recording notification feature after end users log on to the Alibaba Cloud Workspace client. Valid values:
| off |
| RecordingUserNotifyMessage | string | No | The notification content of screen recording. By default, this parameter is left empty. | Your desktop is being recorded. |
| MaxReconnectTime | integer | No | The maximum retry period for reconnecting to cloud computers when the cloud computers are disconnected due to none-human reasons. Valid values: 30 to 7200. Unit: seconds. | 120 |
| DeviceRedirects | array<object> | No | The device redirection rules. | |
| object | No | The device redirection rule. | ||
| DeviceType | string | No | The peripheral type. Valid values:
| camera |
| RedirectType | string | No | The redirection type. Valid values:
| usbRedirect |
| DeviceRules | array<object> | No | The custom peripheral rules. | |
| object | No | The custom peripheral rule. | ||
| DeviceType | string | No | The peripheral type. Valid values:
| storage |
| DeviceName | string | No | The device name. | sandisk |
| DevicePid | string | No | The product ID (PID). | 0x0781 |
| DeviceVid | string | No | The vendor ID (VID). For more information, see Valid USB VIDs. | 0x55b1 |
| RedirectType | string | No | The redirection type. Valid values:
| usbRedirect |
| OptCommand | string | No | The link optimization command. | 2:0 |
| WyAssistant | string | No | Specifies whether to display the Xiaoying AI Assistant entry in the DesktopAssistant menu. Valid values:
| on |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-02-14 | The internal configuration of the API is changed, but the call is not affected | View Change Details |
| 2024-08-15 | The internal configuration of the API is changed, but the call is not affected | View Change Details |
| 2024-08-05 | The request parameters of the API has changed | View Change Details |
| 2024-07-19 | The request parameters of the API has changed | View Change Details |
| 2024-07-01 | The request parameters of the API has changed | View Change Details |
| 2024-01-26 | The request parameters of the API has changed | View Change Details |
| 2024-01-05 | The request parameters of the API has changed | View Change Details |
| 2023-09-20 | The request parameters of the API has changed | View Change Details |
| 2023-07-31 | The request parameters of the API has changed | View Change Details |
| 2022-11-04 | The request parameters of the API has changed | View Change Details |
| 2022-10-08 | The request parameters of the API has changed | View Change Details |
| 2022-01-11 | The request parameters of the API has changed | View Change Details |
| 2021-11-30 | The request parameters of the API has changed | View Change Details |
