All Products
Search
Document Center

Cloud Phone:SetAdbSecure

Last Updated:Jun 10, 2026

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

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

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:

  • 0 :

    Fitur otentikasi ADB dinonaktifkan.

  • 1 :

    Fitur otentikasi ADB diaktifkan.

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.