Call GetRegisteredServiceNamespaces to retrieve a list of namespaces for registered services.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicemesh:GetRegisteredServiceNamespaces |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ServiceMeshId |
string |
Yes |
The ID of the ASM instance. |
cb8963379255149cb98c8686f274x**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| Namespaces |
array |
The list of namespaces. |
|
|
string |
The namespace. |
default |
|
| RequestId |
string |
The ID of the request. |
31d3a0f0-07ed-4f6e-9004-1804498c**** |
Examples
Success response
JSON format
{
"Namespaces": [
"default"
],
"RequestId": "31d3a0f0-07ed-4f6e-9004-1804498c****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ERR500 | An internal server error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.