Menghapus instans aplikasi persisten dari Instans Pusat Registrasi Nacos di Microservices Engine (MSE).
Deskripsi operasi
The operation is not provided in Nacos SDKs. For information about Nacos SDKs, see the official documentation.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:DeleteNacosInstance |
delete |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID Instans Pusat Registrasi Nacos. |
mse-cn-st21v5**** |
| ServiceName |
string |
Yes |
Nama layanan. |
hello_service |
| NamespaceId |
string |
No |
ID namespace. |
9e78a671-4b9b-4dd4-99c1-0b9da87**** |
| GroupName |
string |
Yes |
Nama kelompok. |
DEFAULT_GROUP |
| ClusterName |
string |
No |
Alias Kluster. |
DEFAULT |
| Ip |
string |
Yes |
Alamat IP Instans Pusat Registrasi Nacos. |
10.237.1.32 |
| Port |
integer |
Yes |
Port Instans Pusat Registrasi Nacos. |
8080 |
| Ephemeral |
boolean |
Yes |
Apakah node merupakan node ephemeral. Nilai valid:
|
false |
| AcceptLanguage |
string |
No |
Bahasa tanggapan. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
RestResult |
||
| RequestId |
string |
The ID of the request. |
8BD1E58D-0755-42AC-A599-E6B55112**** |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Code |
integer |
The status code. The value 200 is returned if the request is successful. |
200 |
| ErrorCode |
string |
The error code returned if the request failed. |
mse-100-000 |
| HttpStatusCode |
integer |
The HTTP status code returned. |
200 |
| Message |
string |
The error message returned. |
The request was successfully processed. |
| DynamicMessage |
string |
The dynamic part in the error message. |
The specified parameter is invalid. |
| Data |
string |
The data of the node. |
OK |
Contoh
Respons sukses
JSONformat
{
"RequestId": "8BD1E58D-0755-42AC-A599-E6B55112****",
"Success": true,
"Code": 200,
"ErrorCode": "mse-100-000",
"HttpStatusCode": 200,
"Message": "The request was successfully processed.\n",
"DynamicMessage": "The specified parameter is invalid.",
"Data": "OK"
}
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.