Queries the configurations of a specified hybrid cloud cluster or a specified compute node.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes GetHybridClusterConfig

The operation that you want to perform. Set the value to GetHybridClusterConfig

ClusterId String Yes ehpc-hz-FYUr32****

The ID of the cluster.

Node String No testNode

The name of the on-premises compute node. You can call this operation to query the configurations of the on-premises compute node.

By default, the operation queries the configurations of a cluster.

Response parameters

Parameter Type Example Description
ClusterConfig String ClNjaGcyI6W119Cg****

The configurations returned.

  • If the parameter Node is null, you can obtain the configurations of the hybrid cloud cluster.
  • If the parameter Node is a specified on-premises compute node, you can obtain the configurations of the on-premises compute node.

This parameter is returned in the ini format. You can use this parameter to configure on-premises cluster nodes.

RequestId String 04F0F334-1335-436C-A1D7-6C044FE73368

The ID of the request.

Examples

Sample requests

https://ehpc.cn-hangzhou.aliyuncs.com/?Action=GetHybridClusterConfig
&ClusterId=ehpc-hz-FYUr32****
&<Common request parameters>

Sample success responses

XML format

<AddLocalNodesResponse>
              <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
              <ClusterConfig>ClNjaGcyI6W119Cg****</ClusterConfig>
</AddLocalNodesResponse>

JSON format

{
    "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
    "ClusterConfig": "ClNjaGcyI6W119Cg****"
}

Error codes

HttpCode Error code Error message Description
503 ServiceUnavailable The request has failed due to a temporary failure of the server The error message returned because the request has failed. The server is temporarily unavailable.

For a list of error codes, visit the API Error Center.