Queries a list of service meshes.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicemesh:DescribeServiceMeshes |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tag |
array<object> |
No |
The list of tags. |
|
|
object |
No |
The tag of the resource. |
||
| Key |
string |
No |
The tag key. |
test |
| Value |
string |
No |
The tag value. |
yahaha |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
BD65C0AD-D3C6-48D3-8D93-38D2015C**** |
| ServiceMeshes |
array<object> |
The details of the service meshes. |
|
|
object |
|||
| Endpoints |
object |
The endpoint details. |
|
| IntranetPilotEndpoint |
string |
The internal endpoint of Istio Pilot. |
192.168.xx.xx:15011 |
| IntranetApiServerEndpoint |
string |
The internal endpoint of the API server. |
https://192.168.xx.xx:6443 |
| PublicApiServerEndpoint |
string |
The public endpoint of the API server. |
https://123.56.xx.xx:6443 |
| ReverseTunnelEndpoint |
string |
The endpoint of the reverse tunnel. This parameter is deprecated. |
none |
| PublicPilotEndpoint |
string |
The public endpoint of the Istio Pilot for the mesh instance. |
xx.xx.xx.xx |
| ServiceMeshInfo |
object |
The basic information about the service mesh. |
|
| Profile |
string |
The edition of the service mesh instance before commercialization. Valid values:
|
Pro |
| CreationTime |
string |
The time when the service mesh was created. |
2020-04-21T09:42:20+08:00 |
| UpdateTime |
string |
The time when the service mesh was last modified. |
2020-04-21T09:42:20+08:00 |
| ErrorMessage |
string |
The error message. |
error |
| Version |
string |
The version of the service mesh. |
1 |
| State |
string |
The status of the service mesh. |
success |
| ServiceMeshId |
string |
The service mesh ID. |
cb8963379255149cb98c8686f274x**** |
| Name |
string |
The name of the service mesh. |
test |
| RegionId |
string |
The ID of the region where the service mesh resides. |
cn-beijing |
| Spec |
object |
The specifications. |
|
| Network |
object |
The network configurations of the service mesh. |
|
| VpcId |
string |
The virtual private cloud (VPC) ID. |
vpc-2zew0rajjkmxy2369**** |
| SecurityGroupId |
string |
The security group ID. |
sg-2ze384sxttxbctnj**** |
| VSwitches |
array |
The list of virtual switch IDs. |
|
|
string |
The list of virtual switch IDs. |
["1","2"] |
|
| LoadBalancer |
object |
The Server Load Balancer information. |
|
| PilotPublicEip |
boolean |
Indicates whether to expose Istio Pilot to the internet. Valid values:
|
true |
| PilotPublicLoadbalancerId |
string |
The ID of the Server Load Balancer instance that is used to expose Istio Pilot. |
lb-2zesa8qs8kbkj9jkl**** |
| ApiServerLoadbalancerId |
string |
The ID of the Server Load Balancer instance that is used to expose the API server. |
lb-2zekaak10uxds44vx**** |
| ApiServerPublicEip |
boolean |
Indicates whether to expose the API server to the internet. Valid values:
|
true |
| MeshConfig |
object |
The configurations of the service mesh. |
|
| Telemetry |
boolean |
Indicates whether to enable Prometheus to collect metrics. (Managed Service for Prometheus is recommended.) Valid values:
|
true |
| OutboundTrafficPolicy |
string |
The outbound traffic policy. Valid values:
|
ALLOW_ANY |
| Tracing |
boolean |
Indicates whether to enable Tracing Analysis. To enable this feature, activate Managed Service for OpenTelemetry. Valid values:
|
true |
| StrictMtls |
boolean |
The mode. |
true |
| Pilot |
object |
The control plane configurations. |
|
| Http10Enabled |
boolean |
Indicates whether to enable HTTP 1.0. Valid values:
|
true |
| TraceSampling |
number |
The sample rate for Tracing Analysis. |
0.2 |
| Mtls |
boolean |
Indicates whether to enable locality load balancing. Valid values:
|
true |
| SidecarInjector |
object |
The configurations of the sidecar injector. |
|
| EnableNamespacesByDefault |
boolean |
Indicates whether to enable automatic sidecar injection for all namespaces.
|
false |
| AutoInjectionPolicyEnabled |
boolean |
Indicates whether to enable automatic sidecar injection using pod annotations. |
true |
| InitCNIConfiguration |
object |
The configurations of Container Network Interface (CNI) initialization. |
|
| ExcludeNamespaces |
string |
The namespaces that are excluded from the Istio pod check. |
default,foo |
| Enabled |
boolean |
Indicates whether the istio-init container has privileged permissions for traffic redirection to istio-proxy. Valid values:
|
true |
| ExtraConfiguration |
object |
The extended configurations of the Service Mesh instance. |
|
| Playground |
object |
The configurations of the ASM lab. This parameter is valid only for ASM lab instances. |
|
| Scene |
string |
The ID of the ASM lab scenario. |
ewmaLb |
| Clusters |
array |
The list of clusters. |
|
|
string |
The list of clusters. |
["caf089e56daba4c51a8906fe43ea1****","c80f45444b3da447da60a911390c2****"] |
|
| ClusterSpec |
string |
The instance type of the Service Mesh instance. Valid values:
|
standard |
| OwnerType |
string |
The type of the cloud service that created the mesh. Valid values:
|
ackone |
| OwnerId |
string |
The ID of the cloud service instance that created the mesh. |
cc3e96f249d124eb38b72718ec5***** |
| Tag |
array<object> |
The collection of tags. |
|
|
object |
The resource tag. |
||
| Key |
string |
The tag key. |
test |
| Value |
string |
The tag value. |
yahaha |
| Upgradable |
boolean |
Indicates whether the mesh can be upgraded. |
false |
Examples
Success response
JSON format
{
"RequestId": "BD65C0AD-D3C6-48D3-8D93-38D2015C****",
"ServiceMeshes": [
{
"Endpoints": {
"IntranetPilotEndpoint": "192.168.xx.xx:15011",
"IntranetApiServerEndpoint": "https://192.168.xx.xx:6443",
"PublicApiServerEndpoint": "https://123.56.xx.xx:6443",
"ReverseTunnelEndpoint": "none",
"PublicPilotEndpoint": "xx.xx.xx.xx"
},
"ServiceMeshInfo": {
"Profile": "Pro",
"CreationTime": "2020-04-21T09:42:20+08:00",
"UpdateTime": "2020-04-21T09:42:20+08:00",
"ErrorMessage": "error",
"Version": "1",
"State": "success",
"ServiceMeshId": "cb8963379255149cb98c8686f274x****",
"Name": "test",
"RegionId": "cn-beijing"
},
"Spec": {
"Network": {
"VpcId": "vpc-2zew0rajjkmxy2369****",
"SecurityGroupId": "sg-2ze384sxttxbctnj****",
"VSwitches": [
"[\"1\",\"2\"]"
]
},
"LoadBalancer": {
"PilotPublicEip": true,
"PilotPublicLoadbalancerId": "lb-2zesa8qs8kbkj9jkl****",
"ApiServerLoadbalancerId": "lb-2zekaak10uxds44vx****",
"ApiServerPublicEip": true
},
"MeshConfig": {
"Telemetry": true,
"OutboundTrafficPolicy": "ALLOW_ANY",
"Tracing": true,
"StrictMtls": true,
"Pilot": {
"Http10Enabled": true,
"TraceSampling": 0.2
},
"Mtls": true,
"SidecarInjector": {
"EnableNamespacesByDefault": false,
"AutoInjectionPolicyEnabled": true,
"InitCNIConfiguration": {
"ExcludeNamespaces": "default,foo",
"Enabled": true
}
},
"ExtraConfiguration": {
"Playground": {
"Scene": "ewmaLb"
}
}
}
},
"Clusters": [
"[\"caf089e56daba4c51a8906fe43ea1****\",\"c80f45444b3da447da60a911390c2****\"]"
],
"ClusterSpec": "standard",
"OwnerType": "ackone",
"OwnerId": "cc3e96f249d124eb38b72718ec5*****",
"Tag": [
{
"Key": "test",
"Value": "yahaha"
}
],
"Upgradable": false
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.