Mengatur status otentikasi untuk instans cloud phone. Jika Anda mengaktifkan otentikasi Android Debug Bridge (ADB) untuk instans cloud phone, sistem akan memverifikasi validitas key pair ADB yang disediakan oleh pengguna akhir saat mereka terhubung ke instans melalui ADB. Untuk memastikan otentikasi dan koneksi berjalan lancar, kami menyarankan Anda menyambungkan key pair ADB ke instans cloud phone. Jika Anda menonaktifkan otentikasi ADB untuk instans cloud phone, sistem tidak akan lagi memverifikasi validitas key pair ADB apa pun. Akibatnya, pengguna akhir dapat terhubung ke instans cloud phone melalui ADB tanpa otentikasi, asalkan koneksi jaringan berfungsi dengan baik.
Deskripsi operasi
Before you call this operation, make sure that the desired cloud phone instance is in the Running state.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceIds |
array |
No |
ID instans cloud phone. Anda dapat menentukan maksimal 50 instans cloud phone. |
|
|
string |
No |
The ID of the cloud phone instance. |
acp-5hh431emkt6ua**** |
|
| Status |
integer |
Yes |
Status fitur otentikasi ADB. Valid values:
|
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Data |
object |
The returned object. |
|
| TotalCount |
integer |
The total number of the cloud phone instances. |
100 |
| FailCount |
integer |
The number of the cloud phone instances for which the ADB authentication feature failed to be enabled. |
0 |
| InstanceIds |
array |
The IDs of the cloud phone instances for which the ADB authentication feature is enabled. |
|
|
string |
The ID of the cloud phone instance. |
acp-5hh431emkt6ua**** |
|
| RequestId |
string |
The ID of the request. |
69BCBBE4-FCF2-59B8-AD9D-531EB422**** |
Contoh
Respons sukses
JSONformat
{
"Data": {
"TotalCount": 100,
"FailCount": 0,
"InstanceIds": [
"acp-5hh431emkt6ua****"
]
},
"RequestId": "69BCBBE4-FCF2-59B8-AD9D-531EB422****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.