Modifies basic attributes of an office site (formerly a workspace), such as its name and whether to grant users local administrative permissions on their cloud computers.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:ModifyOfficeSiteAttribute |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call the DescribeRegions operation to query the regions where Elastic Desktop Service is available. |
cn-hangzhou |
| OfficeSiteId |
string |
Yes |
The ID of the office site. |
cn-hangzhou+dir-882398**** |
| DesktopAccessType |
string |
No |
The method for connecting to cloud computers. Note
VPC connections use Alibaba Cloud PrivateLink, a free service. If you set this parameter to VPC or Any, PrivateLink is automatically activated. Valid values:
|
INTERNET |
| OfficeSiteName |
string |
No |
The name of the office site. The name must be 2 to 255 characters long. The name must start with a letter or a Chinese character, and cannot start with http:// or https://. It can contain digits, colons (:), underscores (_), and hyphens (-). |
test |
| NeedVerifyLoginRisk |
boolean |
No |
Specifies whether to enable two-factor authentication. This parameter is applicable to only office sites that use convenience accounts. If enabled, the system performs a security check during logon. If the system detects a risk, it sends a verification code to the email address that is associated with the account. The user must enter the correct verification code to log on. |
false |
| NeedVerifyZeroDevice |
boolean |
No |
Specifies whether to enable device verification. This feature is available only for office sites that use convenience accounts. |
false |
| EnableAdminAccess |
boolean |
No |
Specifies whether to grant cloud computer users local administrative permissions. Valid values:
|
false |
| AuthorityHost |
string |
No |
||
| TenantId |
string |
No |
||
| DomainName |
string |
No |
||
| ClientId |
string |
No |
||
| ClientSecret |
string |
No |
||
| VSwitchId |
array |
No |
||
|
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Examples
Success response
JSON format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.