You can call ListClusterServiceQuickLink operation to query the shortcut links of a specified service or all services of a cluster.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ListClusterServiceQuickLink |
The operation that you want to perform. This parameter is required for API requests that you create by piecing together HTTP or HTTPS URLs. Set the value to ListClusterServiceQuickLink. |
ClusterId | String | Yes | C-A15B381E446C**** |
The ID of the cluster. You can call ListClusters Interface to view the cluster ID. |
RegionId | String | Yes | cn-hangzhou |
The region ID of the instance. You can call DescribeRegions Interface to view the latest list of Alibaba Cloud regions. |
DirectType | Boolean | No | true |
A reserved parameter that you do not need to specify. |
ServiceName | String | No | SPARK |
Service name:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
QuickLinkList | Array of QuickLink |
The list of links. |
|
QuickLink | |||
Port | String | 8443 |
The service port. |
Protocol | String | https |
The connection protocol. |
QuickLinkAddress | String | knox.C-A15B381E446C****.cn-hangzhou.emr.aliyuncs.com:8443/gateway/cluster-topo/sparkhistory/ |
The URL of the service. |
ServiceDisplayName | String | Spark |
The display name of the service. |
ServiceName | String | SPARK |
The name of the service. |
Type | String | KNOX |
Service type:
Note The HUE and ZEPPELIN services are added to the cluster.
|
RequestId | String | 621094BA-8C21-4199-9F04-CA9AA5B63955 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ListClusterServiceQuickLink
&ClusterId=C-A15B381E446C****
&RegionId=cn-hangzhou
&<common request parameters>
Sample success responses
XML
format
<RequestId>621094BA-8C21-4199-9F04-CA9AA5B63955</RequestId>
<QuickLinkList>
<QuickLink>
<QuickLinkAddress>knox.C-A15B381E446C****.cn-hangzhou.emr.aliyuncs.com:8443/gateway/cluster-topo/sparkhistory/</QuickLinkAddress>
<Type>KNOX</Type>
<ServiceName>SPARK</ServiceName>
<Port>8443</Port>
<Protocol>https</Protocol>
<ServiceDisplayName>Spark</ServiceDisplayName>
</QuickLink>
</QuickLinkList>
JSON
Syntax
{
"RequestId": "621094BA-8C21-4199-9F04-CA9AA5B63955",
"QuickLinkList": {
"QuickLink": [
{
"QuickLinkAddress": "knox.C-A15B381E446C****.cn-hangzhou.emr.aliyuncs.com:8443/gateway/cluster-topo/sparkhistory/",
"Type": "KNOX",
"ServiceName": "SPARK",
"Port": "8443",
"Protocol": "https",
"ServiceDisplayName": "Spark"
}
]
}
}