Retrieves information about clusters in a Service Mesh instance.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
servicemesh:DescribeClustersInServiceMesh | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
ServiceMeshId | string | Yes | The ID of the Service Mesh instance. | cb8963379255149cb98c8686f274x**** |
Response elements
Element | Type | Description | Example |
object | The response body. | ||
RequestId | string | The request ID. | 31d3a0f0-07ed-4f6e-9004-1804498c**** |
| Clusters | array<object> | The list of clusters. | |
object | The information about the cluster. | ||
SgId | string | The security group ID. | sg-bp197668l6iupljy**** |
VpcId | string | The ID of the virtual private cloud (VPC). | vpc-2zew0rajjkmxy2369**** |
CreationTime | string | The time when the cluster was created. | 2020-05-12T15:38:16+08:00 |
UpdateTime | string | The time when the cluster was last modified. | 2020-05-12T15:38:16+08:00 |
ErrorMessage | string | The error message. | , |
State | string | The status of the cluster. | running |
| AccessLogDashboards | array<object> | The list of access log configurations. | |
object | The information about the access log configuration. | ||
Url | string | The URL of the access log. | https://sls.console.alibabacloud.com/next/project/****/dashboard/mesh-access-log_details_cn |
Title | string | The title of the access log. | mesh-access-log_details_cn |
RegionId | string | The ID of the region where the cluster resides. | cn-hangzhou |
ClusterDomain | string | The domain name of the cluster. | example.com |
Version | string | The version number of the cluster. | v1.16.6-aliyun.1 |
ClusterType | string | The type of the cluster. | Ask |
Name | string | The name of the cluster. | ask1 |
ClusterId | string | The cluster ID. | c80f45444b3da447da60a911390c2**** |
LogtailInstalledState | string | The installation status of the Logtail component in the cluster. Valid values:
-
| logtail_installed |
| GuestClusterConfig | object | ||
| SMC | object | ||
Enabled | boolean |
Examples
Success response
JSON format
{
"RequestId": "31d3a0f0-07ed-4f6e-9004-1804498c****",
"Clusters": [
{
"SgId": "sg-bp197668l6iupljy****",
"VpcId": "vpc-2zew0rajjkmxy2369****",
"CreationTime": "2020-05-12T15:38:16+08:00",
"UpdateTime": "2020-05-12T15:38:16+08:00",
"ErrorMessage": ",",
"State": "running",
"AccessLogDashboards": [
{
"Url": "https://sls.console.alibabacloud.com/next/project/****/dashboard/mesh-access-log_details_cn",
"Title": "mesh-access-log_details_cn"
}
],
"RegionId": "cn-hangzhou",
"ClusterDomain": "example.com",
"Version": "v1.16.6-aliyun.1",
"ClusterType": "Ask",
"Name": "ask1",
"ClusterId": "c80f45444b3da447da60a911390c2****",
"LogtailInstalledState": "logtail_installed",
"GuestClusterConfig": {
"SMC": {
"Enabled": true
}
}
}
]
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.