All Products
Search
Document Center

Elastic Desktop Service:ModifyEntitlement

Last Updated:Jun 11, 2026

Menetapkan komputer cloud ke pengguna akhir dan menghapus semua pengguna akhir asli komputer cloud.

Deskripsi operasi

  • The cloud computer must be in the Running state.

  • After you call this operation, the assignment result is immediately returned. You can call the DescribeDesktops operation to query the assignment of the cloud computer. The value of the ManagementFlags response parameter indicates the assignment of the cloud computer. A value of ASSIGNING indicates that the cloud computer is being assigned, and other values indicate that the cloud computer is assigned.

  • We recommend that you check the assignment every 2 to 5 seconds and perform the checks within 50 seconds. Typically, 1 to 5 seconds are required to complete the assignment.

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

RegionId

string

Yes

ID wilayah. Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar wilayah terbaru.

cn-hangzhou

DesktopId

string

Yes

ID komputer cloud.

ecd-7w78ozhjcwa3u****

EndUserId

array

No

ID nama pengguna. Pengguna akhir yang ditentukan oleh parameter ini menjadi pengguna akhir komputer cloud, dan pengguna akhir asli komputer cloud dihapus. Anda dapat menentukan 1 hingga 100 ID.

alice

string

No

The username ID of an end user.

  • For a convenience user, set the value to the username of the convenience user.

  • For an Active Directory (AD) user, set the value to the sAMAccountName value of the AD user.

Catatan

If you do not specify this parameter, all original end users of the cloud computer are removed and the cloud computer is not assigned to end users.

ModifyEntitlement

Elemen respons

Element

Type

Description

Example

object

Schema of response.

RequestId

string

The request ID.

1CBAFFAB-B697-4049-A9B1-67E1FC5F****

Contoh

Respons sukses

JSONformat

{
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.