Enables the PrivateLink service.
Operation description
This operation is used only to enable PrivateLink for the first time. Before you call this operation, call CheckProductOpen to query the activation status. If Success is true, the service is already enabled and you do not need to call this operation again. If you call this operation for an account that has already enabled the service, the OrderOpend error is returned.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
privatelink:OpenPrivateLinkService |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D |
| OrderId |
string |
The order ID. |
3245**** |
Examples
Success response
JSON format
{
"RequestId": "427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D",
"OrderId": "3245****"
}
Error codes
|
HTTP status code |
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. | Submit a public preview application first and wait for approval before activation. |
| 400 | OrderOpend | You have already activated the service. Go to the console to start using it. | The service has already been activated. Go to the console to use it. |
| 400 | InvalidAccountStatus.NotEnoughBalance | Your account does not have enough balance. | Your account balance is insufficient. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.