Mengkueri detail kebijakan.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PolicyGroupIds |
array |
No |
Daftar ID kebijakan. |
|
|
string |
No |
ID kebijakan. |
pg-jc31jdxfdcsclk**** |
|
| PolicyGroupName |
string |
No |
Nama kebijakan. |
Default policy |
| MaxResults |
integer |
No |
Jumlah maksimum entri per halaman untuk kueri berhalaman. Nilai valid: 1 hingga 100. Nilai default: 20. |
20 |
| NextToken |
string |
No |
Token paginasi yang menandai posisi mulai membaca. Biarkan parameter ini kosong untuk membaca dari awal. |
AAAAAV3MpHK1AP0pfERHZN5pu6kU+SQXzm0H9mu/FiSc**** |
| PolicyType |
string |
No |
Tipe kebijakan. Valid values:
|
Instance |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter tanggapan. |
||
| RequestId |
string |
ID permintaan. |
7B9EFA4F-4305-5968-BAEE-BD8B8DE5**** |
| TotalCount |
integer |
Jumlah total entri. |
31 |
| NextToken |
string |
Token paginasi yang menunjukkan posisi hingga data telah dibaca dalam panggilan saat ini. Nilai kosong menunjukkan bahwa semua data telah dibaca. |
AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uON**** |
| PolicyGroupModel |
array<object> |
Informasi kebijakan. |
|
|
array<object> |
Informasi kebijakan. |
||
| PolicyGroupId |
string |
ID kebijakan. |
pg-9q6o8qpiy8opkj**** |
| PolicyGroupName |
string |
Nama kebijakan. |
Default policy. |
| GmtCreate |
string |
Waktu pembuatan. |
2024-06-04 10:28:54 |
| Clipboard |
string |
Izin clipboard. Valid values:
|
readwrite |
| Html5FileTransfer |
string |
Kebijakan transfer file untuk Klien HTML5. Valid values:
|
download |
| CameraRedirect |
string |
Apakah pengalihan Kamera lokal diaktifkan. Valid values:
|
on |
| LocalDrive |
string |
Izin Pemetaan disk lokal. Valid values:
|
off |
| LockResolution |
string |
Resolusi terkunci. Valid values:
|
off |
| NetRedirectPolicy |
object |
Pengaturan Pengalihan jaringan. |
|
| NetRedirect |
string |
Indicates whether the network redirection feature is enabled. When this feature is enabled, network traffic is automatically redirected to the on-premises network by default. Valid values:
|
off |
| CustomProxy |
string |
Indicates whether to manually configure a custom proxy. Valid values:
|
off |
| ProxyType |
string |
The type of the proxy protocol. Valid values:
|
socks5 |
| HostAddr |
string |
The IPv4 address of the custom proxy. |
47.100.XX.XX |
| Port |
string |
The port of the custom proxy. Valid values: 1 to 65535. |
1145 |
| ProxyUserName |
string |
The username of the proxy. The name must be 1 to 256 in length and cannot contain Chinese character or space characters. |
username |
| ProxyPassword |
string |
The password of the proxy. The password must be 1 to 256 in length and cannot contain Chinese character or space characters. |
password |
| Rules |
array<object> |
The proxy rules. |
|
|
object |
The proxy rule. |
||
| Target |
string |
The name of the application package or domain name. |
*.baidu.com |
| RuleType |
string |
The type of the rule. Valid values:
|
domain |
| SessionResolutionHeight |
integer |
Tinggi resolusi. |
1080 |
| SessionResolutionWidth |
integer |
Lebar resolusi. |
1920 |
| PolicyRelatedResources |
object |
Resource yang terkait dengan Kebijakan. |
|
| AndroidInstanceGroupIds |
array |
The instance group IDs. |
|
|
string |
The instance group ID. |
ag-2dzpub83srxt***** |
|
| CloudPhoneMatrixIds |
array |
The matrix IDs. |
|
|
string |
The matrix ID. |
cpn-3dskdfjj245s***** |
|
| Watermark |
object |
Pengaturan Watermark layar. |
|
| WatermarkSwitch |
string |
Specifies whether to enable the screen watermark. Valid values:
|
off |
| WatermarkTypes |
array |
The content of the screen watermark. |
|
|
string |
The content of the screen watermark. Valid values:
|
Username |
|
| WatermarkCustomText |
string |
The custom text for the watermark. The text can be up to 10 characters in length and cannot contain emoji characters. |
custom text |
| WatermarkFontSize |
integer |
The font size of the watermark. Valid values: 10 to 20. |
12 |
| WatermarkColor |
integer |
The font color of the watermark. Valid values: 0 to 16777215. |
0 |
| WatermarkTransparencyValue |
integer |
The opacity of the watermark. A larger value makes the watermark more opaque. Valid values: 10 to 100. |
25 |
| AccessPolicies |
array<object> |
||
|
object |
|||
| AccessPolicyRuleId |
integer |
||
| CidrIp |
string |
||
| Policy |
string |
||
| Priority |
integer |
||
| Description |
string |
Contoh
Respons sukses
JSONformat
{
"RequestId": "7B9EFA4F-4305-5968-BAEE-BD8B8DE5****",
"TotalCount": 31,
"NextToken": "AAAAAV3MpHK1AP0pfERHZN5pu6l5V9uON****",
"PolicyGroupModel": [
{
"PolicyGroupId": "pg-9q6o8qpiy8opkj****",
"PolicyGroupName": "Default policy.",
"GmtCreate": "2024-06-04 10:28:54",
"Clipboard": "readwrite",
"Html5FileTransfer": "download",
"CameraRedirect": "on",
"LocalDrive": "off",
"LockResolution": "off",
"NetRedirectPolicy": {
"NetRedirect": "off",
"CustomProxy": "off",
"ProxyType": "socks5",
"HostAddr": "47.100.XX.XX",
"Port": "1145",
"ProxyUserName": "username",
"ProxyPassword": "password",
"Rules": [
{
"Target": "*.baidu.com",
"RuleType": "domain"
}
]
},
"SessionResolutionHeight": 1080,
"SessionResolutionWidth": 1920,
"PolicyRelatedResources": {
"AndroidInstanceGroupIds": [
"ag-2dzpub83srxt*****"
],
"CloudPhoneMatrixIds": [
"cpn-3dskdfjj245s*****"
]
},
"Watermark": {
"WatermarkSwitch": "off",
"WatermarkTypes": [
"Username"
],
"WatermarkCustomText": "custom text",
"WatermarkFontSize": 12,
"WatermarkColor": 0,
"WatermarkTransparencyValue": 25
},
"AccessPolicies": [
{
"AccessPolicyRuleId": 0,
"CidrIp": "",
"Policy": "",
"Priority": 0,
"Description": ""
}
]
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.