Meng-query instans Nacos Microservices Engine (MSE) yang ada yang merupakan sumber layanan dari gateway.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:GetMseSource |
get |
*Gateway
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| GatewayUniqueId |
string |
No |
ID unik dari gateway. |
gw-7ea3da97b96543e19f6c597cd4a9**** |
| VpcId |
string |
No |
ID VPC. |
vpc-bp1t50e045b5g7i3p**** |
| Type |
string |
No |
Jenis mesin MSE. Nilai yang valid:
|
NACOS |
| AcceptLanguage |
string |
No |
Bahasa dari respons. Nilai yang valid:
Valid values:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Struktur data. |
||
| RequestId |
string |
ID dari permintaan. |
5EB2D865-B43F-5526-8F92-857718CF73A2 |
| HttpStatusCode |
integer |
Kode status HTTP yang dikembalikan. |
200 |
| Message |
string |
Pesan yang dikembalikan.
|
The request is successfully processed. |
| Code |
integer |
Kode status yang dikembalikan. |
1 |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
| Data |
array<object> |
Struktur data. |
|
|
object |
Struktur data. |
||
| InstanceId |
string |
ID dari instans. |
mse_prepaid_public_cn-7pp2eec**** |
| Address |
string |
Endpoint dari instans. |
mse-af1****-nacos-ans.mse.aliyuncs.com:8848 |
| Type |
string |
Jenisnya. |
Nacos |
| Name |
string |
Namanya. |
test |
| ClusterId |
string |
ID dari kluster. |
mse_ |
Contoh
Respons sukses
JSONformat
{
"RequestId": "5EB2D865-B43F-5526-8F92-857718CF73A2",
"HttpStatusCode": 200,
"Message": "The request is successfully processed.\n",
"Code": 1,
"Success": true,
"Data": [
{
"InstanceId": "mse_prepaid_public_cn-7pp2eec****",
"Address": "mse-af1****-nacos-ans.mse.aliyuncs.com:8848",
"Type": "Nacos",
"Name": "test",
"ClusterId": "mse_"
}
]
}
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.