Describes the network partition configurations for multiple Kubernetes clusters in a Service Mesh instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicemesh:DescribeMeshMultiClusterNetwork |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ServiceMeshId |
string |
Yes |
The ID of the Service Mesh (ASM) instance. |
ccb37ff104caf419fbf48fb38e6f3**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
71680038-8009-5073-B43E-C057E9****** |
| MultiClusterNetworks |
object |
The network partition configurations for multiple Kubernetes clusters. The key is the cluster ID, and the value is the network partition configuration for the cluster. |
|
|
object |
The network partition configuration for the cluster. |
||
| Network |
string |
The name of the network partition. |
network1 |
| EnableGateway |
boolean |
Specifies whether to enable the east-west gateway for the cluster.
|
true |
| GatewayName |
string |
The name of the east-west gateway that provides cross-cluster access. |
asm-cross-network-ccb37ff104*** |
| CustomGatewayAddress |
string |
The custom endpoint of the east-west gateway. The value must be in the `ip:port` format. |
8.16x.1x.1x:15443 |
Examples
Success response
JSON format
{
"RequestId": "71680038-8009-5073-B43E-C057E9******",
"MultiClusterNetworks": {
"key": {
"Network": "network1",
"EnableGateway": true,
"GatewayName": "asm-cross-network-ccb37ff104***",
"CustomGatewayAddress": "8.16x.1x.1x:15443"
}
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | ERR404 | Not found |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.