Mengubah nama domain yang menyambungkan ke produk Cloud DNS.
Deskripsi operasi
-
You can call this operation to change the domain name that is attached to a Cloud DNS product. To detach a domain name, call this operation and leave the NewDomain parameter empty.
-
This operation applies to instances of earlier versions. If you use a new edition, such as Personal Edition, Enterprise Standard Edition, or Enterprise Ultimate Edition, call the BindInstanceDomains operation instead.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:ChangeDomainOfDnsProduct |
update |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
Bahasa permintaan dan tanggapan. Nilai valid:
Nilai default: zh. |
en |
| UserClientIp |
string |
No |
Alamat IP klien. |
1.1.XX.XX |
| InstanceId |
string |
Yes |
ID produk Cloud DNS. Anda dapat memperoleh ID dengan memanggil ListCloudGtmInstances. |
i-7XX |
| NewDomain |
string |
No |
Nama domain yang ingin Anda menyambungkan. Jika Anda mengosongkan parameter ini, nama domain yang saat ini menyambungkan akan dilepas. |
example.com |
| Force |
boolean |
No |
Apakah akan menyambungkan nama domain secara paksa. Nilai valid:
Nilai default: false. |
false |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
536E9CAD-DB30-4647-AC87-AA5CC38C5382 |
| OriginalDomain |
string |
The domain name that was originally attached. If this parameter is empty, it indicates that this is the first time a domain name is attached to the product. |
www.example.com |
Contoh
Respons sukses
JSONformat
{
"RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
"OriginalDomain": "www.example.com"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.