Registers a Service deployment.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenestsupplier:RegisterService |
update |
*Service
*ServiceRegistration
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| ServiceId |
string |
Yes |
The service ID. |
service-f7024a22ea5149xxxxxx |
| ClientToken |
string |
No |
A client token to ensure the idempotence of the request. Generate a unique value from the client for this parameter. The ClientToken value can contain only ASCII characters and must be no more than 64 characters long. |
10CM943JP0EN9D51H |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RegistrationId |
string |
The registration ID. |
sr-72dd5071e90c40xxxxxx |
| RequestId |
string |
The request ID. |
A361BA9E-2713-52C8-AFFC-C26E5180456E |
Examples
Success response
JSON format
{
"RegistrationId": "sr-72dd5071e90c40xxxxxx",
"RequestId": "A361BA9E-2713-52C8-AFFC-C26E5180456E"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.