Memperbarui namespace untuk mesin Pusat Registrasi Nacos.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:UpdateEngineNamespace |
update |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
Nama kluster. |
name |
| Desc |
string |
No |
Deskripsi kluster. |
public |
| ServiceCount |
integer |
No |
Jumlah layanan aktif. |
3 |
| Id |
string |
Yes |
ID namespace. |
33ff74b6-d21e-4f9b-91a8-bc1ea4ef**** |
| ClusterId |
string |
No |
ID kluster. |
mse-09k1q11**** |
| InstanceId |
string |
No |
ID instans. |
mse-cn-st21ri2**** |
| AcceptLanguage |
string |
No |
Bahasa tanggapan. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Message |
string |
The message returned. |
The request is successfully processed. |
| RequestId |
string |
The ID of the request. |
4E9FDCFE-0738-493B-B801-82BDFBCB**** |
| Data |
object |
The details of the data. |
|
| Type |
integer |
The type of the namespace. Valid values:
|
1 |
| NamespaceShowName |
string |
The display name of the namespace. |
mytestshowname |
| Quota |
integer |
The quota of configurations. |
1 |
| Namespace |
string |
The namespace. |
public |
| NamespaceDesc |
string |
The description of the namespace. |
mytest |
| ConfigCount |
integer |
The quota value. |
1 |
| ErrorCode |
string |
The error code returned if the request failed. |
mse-100-000 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Contoh
Respons sukses
JSONformat
{
"Message": "The request is successfully processed.\n",
"RequestId": "4E9FDCFE-0738-493B-B801-82BDFBCB****",
"Data": {
"Type": 1,
"NamespaceShowName": "mytestshowname",
"Quota": 1,
"Namespace": "public",
"NamespaceDesc": "mytest",
"ConfigCount": 1
},
"ErrorCode": "mse-100-000",
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.