GetBootAndAntiUninstallPolicy
Queries the details of the auto-start and anti-uninstall policy for your Alibaba Cloud account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
csas:GetBootAndAntiUninstallPolicy |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response schema |
||
| RequestId |
string |
The ID of this request. |
CB67D866-1E54-5106-89DF-6D70C73E5989 |
| Strategy |
object |
The auto-start and anti-uninstall policy. |
|
| CreateTime |
string |
The time when the policy was created. |
2023-04-16 10:50:05 |
| UpdateTime |
string |
The time when the policy was last updated. |
2024-06-14 10:17:14 |
| IsBoot |
boolean |
Indicates whether auto-start is enabled. |
true |
| IsAntiUninstall |
boolean |
Indicates whether anti-uninstall is enabled. |
true |
| AllowReport |
boolean |
Indicates whether end users can submit approval requests. |
true |
| WhitelistUsers |
array |
The list of users in the whitelist. |
|
|
string |
A username in the whitelist. |
王先生 |
|
| UserGroupIds |
array |
The list of user group IDs to which the policy applies. |
|
|
string |
A user group ID to which the policy applies. |
usergroup-086bcf2d650b**** |
|
| PolicyId |
string |
The ID of the policy. |
auto-boot-anti-uninstall-6f6cbf5f6605**** |
| BlockContent |
object |
The content shown in the client block pop-up window. |
|
| BlockTextZh |
object |
Chinese content. |
|
| Title |
string |
The title of the pop-up window. |
防卸载警告 |
| Content |
string |
The body text of the pop-up window. |
卸载后该设备无法再用于公司办公,同时该设备将失去进入公司内网权限! |
| MainButtonText |
string |
The label on the primary button of the pop-up window. |
去报备 |
| MinorButtonText |
string |
The label on the secondary button of the pop-up window. |
我知道了 |
| BlockTextEn |
object |
English content. |
|
| Title |
string |
The title of the pop-up window. |
Anti-Uninstall Warning |
| Content |
string |
The body text of the pop-up window. |
After uninstalling, the device can no longer be used for company work, and it will lose access to the company's intranet! |
| MainButtonText |
string |
The label on the primary button of the pop-up window. |
Report |
| MinorButtonText |
string |
The label on the secondary button of the pop-up window. |
Ignore |
| ReportProcessId |
string |
The ID of the approval process associated with the policy. |
approval-process-300abfb970cc**** |
Examples
Success response
JSON format
{
"RequestId": "CB67D866-1E54-5106-89DF-6D70C73E5989",
"Strategy": {
"CreateTime": "2023-04-16 10:50:05",
"UpdateTime": "2024-06-14 10:17:14",
"IsBoot": true,
"IsAntiUninstall": true,
"AllowReport": true,
"WhitelistUsers": [
"王先生"
],
"UserGroupIds": [
"usergroup-086bcf2d650b****"
],
"PolicyId": "auto-boot-anti-uninstall-6f6cbf5f6605****",
"BlockContent": {
"BlockTextZh": {
"Title": "防卸载警告",
"Content": "卸载后该设备无法再用于公司办公,同时该设备将失去进入公司内网权限!",
"MainButtonText": "去报备",
"MinorButtonText": "我知道了"
},
"BlockTextEn": {
"Title": "Anti-Uninstall Warning",
"Content": "After uninstalling, the device can no longer be used for company work, and it will lose access to the company's intranet!",
"MainButtonText": "Report",
"MinorButtonText": "Ignore"
}
},
"ReportProcessId": "approval-process-300abfb970cc****"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.