Membuat dan melampirkan tag ke satu atau beberapa instans Host Bastion.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah tempat instans Host Bastion berada. Catatan
Untuk informasi lebih lanjut tentang pemetaan antara ID wilayah dan nama wilayah, lihat Wilayah dan zona. |
cn-hangzhou |
| ResourceType |
string |
Yes |
Tipe Sumber daya. Tetapkan nilai ke |
INSTANCE |
| ResourceId |
array |
Yes |
ID instans Host Bastion. Anda dapat menentukan hingga 20 ID instans. N dapat dari 1 hingga 20. Catatan
Anda dapat memanggil operasi DescribeInstances untuk mengkueri ID instans Host Bastion. |
bastionhost-cn-78v1gc**** |
|
string |
No |
The ID of a Bastionhost instance. |
bastionhost-cn-78v1gc**** |
|
| Tag |
array<object> |
No |
Tag yang akan ditambahkan ke instans. Anda dapat menambahkan hingga 20 tag. |
|
|
object |
No |
A tag. |
||
| Key |
string |
No |
The key of the tag. Catatan
|
operation |
| Value |
string |
No |
The value of the tag. Catatan
|
operation_test |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| RequestId |
string |
The ID of the request. This ID is a unique identifier that is generated by Alibaba Cloud for the request. You can use this ID to troubleshoot and locate issues. |
2F24F0A8-4C69-4E89-9392-457D107E2D4A |
Contoh
Respons sukses
JSONformat
{
"RequestId": "2F24F0A8-4C69-4E89-9392-457D107E2D4A"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.