Activates PrivateLink.

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 OpenPrivateLinkService

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

Response parameters

Parameter Type Example Description
OrderId String 32453453

The ID of the order.

RequestId String 427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=OpenPrivateLinkService
&<Common request parameters>

Sample success responses

XML format

<OpenPrivateLinkServiceResponse>
  <RequestId>427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D</RequestId>
  <OrderId>32453453</OrderId>
</OpenPrivateLinkServiceResponse>

JSON format

{"RequestId":"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D","OrderId":"32453453"}

Error codes

HttpCode Error code Error message Description
400 AccountTypeRestricted Please submit the application for beta testing first. You can activate the product after the application is approved. The error message returned because you are unauthorized to activate the service. Submit an application to apply for public preview. You can activate the service after your application is approved.
400 PermissionDenied The error message returned because the RAM user is unauthorized to perform the operation. You must use the Alibaba Cloud account to grant the required permissions to the RAM user. The error message returned because the RAM user is unauthorized to perform the operation. You must use the Alibaba Cloud account to grant the required permissions to the RAM user.
400 PriceWanHuaTongSys The error message returned because the system failed to query the pricing of PrivateLink through the Kaleidoscope API. The error message returned because the system failed to query the pricing of PrivateLink through the Kaleidoscope API.
400 OrderOpend You have already activated the service. Go to the console to start using it. You have activated PrivateLink. You can go to the PrivateLink console to use the service.

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