All Products
Search
Document Center

Alibaba Cloud Service Mesh:DescribeImportedServicesDetail

Last Updated:Mar 05, 2024

Queries the details of the imported services on a Service Mesh (ASM) gateway.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ServiceMeshIdstringYes

The ASM instance ID.

cb8963379255149cb98c8686f274x****
ASMGatewayNamestringNo

The name of the ASM gateway.

ingressgateway
ServiceNamespacestringNo

The namespace in which the services reside.

default

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

E0496204-7586-5B4C-B364-2361CC0EDxxxx
Detailsobject []

The details of the services.

ServiceNamestring

The name of a service.

productpage
Namespacestring

The namespace in which the service resides.

default
Labelsobject

The labels of the service.

string

The label of the service.

app: productpage
ClusterIdsarray

The clusters on the data plane.

string

The IDs of the clusters to which the service belongs.

c7894c929677643a5bfe1a732d778****
ServiceTypestring

The type of the service.

Kubernetes
Portsobject []

The ports declared for the service.

Namestring

The name of a port.

http-0
Protocolstring

The protocol of the port.

tcp
Portinteger

The port number.

80
TargetPortinteger

The container port.

8080
NodePortinteger

The node port.

12345

Examples

Sample success responses

JSONformat

{
  "RequestId": "E0496204-7586-5B4C-B364-2361CC0EDxxxx",
  "Details": [
    {
      "ServiceName": "productpage",
      "Namespace": "default",
      "Labels": {
        "key": "app: productpage"
      },
      "ClusterIds": [
        "c7894c929677643a5bfe1a732d778****"
      ],
      "ServiceType": "Kubernetes",
      "Ports": [
        {
          "Name": "http-0",
          "Protocol": "tcp",
          "Port": 80,
          "TargetPort": 8080,
          "NodePort": 12345
        }
      ]
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history