Creates a service-linked role for Elastic High Performance Computing (E-HPC). A service-linked role is required for you to use E-HPC.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The ID of the region where the service-linked role is created. You can call the ListRegions operation to obtain the IDs of regions supported by E-HPC. | cn-hangzhou |
ServiceName | string | No | The name of the service for which you must create a service-linked role. Valid values:
Note
This parameter is not publicly available.
| E-HPC |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE7****"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
500 | EntityAlreadyExists.RoleError | AliyunServiceRoleForEHPC already exists. | AliyunServiceRoleForEHPC already exists. |
501 | NoPermission | You are not authorized to perform the operation. | You are not authorized to perform the operation. |
503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | The request has failed due to a temporary failure of the server. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2024-01-18 | The Error code has changed. The request parameters of the API has changed | see changesets | ||||||||||||
|