All Products
Search
Document Center

Anti-DDoS:CreateTagResources

Last Updated:Jun 11, 2026

Menambahkan tag ke beberapa instans Anti-DDoS Proxy dalam satu pengatur waktu.

Deskripsi operasi

You can call the CreateTagResources operation to add tags to multiple Anti-DDoS Proxy instances at a time.

Limits

You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

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 instans Anti-DDoS Proxy.

cn-hangzhou

ResourceGroupId

string

No

ID kelompok sumber daya tempat instans berada di Manajemen Sumber Daya.

Jika Anda tidak menentukan parameter ini, instans akan masuk ke kelompok sumber daya default.

rg-acfm2pz25js****

ResourceType

string

Yes

Tipe Sumber daya yang memiliki tag. Tetapkan nilainya ke INSTANCE, yang menunjukkan instans Anti-DDoS Pro.

INSTANCE

ResourceIds

array

Yes

ID instans Anti-DDoS Proxy yang ingin Anda tambahkan tag.

ddoscoo-cn-mp91j1ao****

string

No

The ID of the Anti-DDoS Proxy instance to which you want to add tags.

Catatan

You can call the DescribeInstanceIds operation to query the IDs of all Anti-DDoS Proxy instances.

ddoscoo-cn-mp91j1ao****

Tags

array<object>

No

Array yang terdiri dari tag yang akan ditambahkan.

object

No

Key

string

No

The key of the tag to add.

testkey

Value

string

No

The value of the tag to add.

testvalue

Semua operasi API Alibaba Cloud harus menyertakan parameter permintaan umum. Untuk informasi selengkapnya tentang parameter permintaan umum, lihat Parameter umum.

Untuk informasi selengkapnya tentang contoh permintaan, lihat bagian "Contoh" pada topik ini.

Elemen respons

Element

Type

Description

Example

object

RequestId

string

The ID of the request.

C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E

Contoh

Respons sukses

JSONformat

{
  "RequestId": "C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E"
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.