Queries the details of a service registration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenestsupplier:GetServiceRegistration |
get |
*ServiceRegistration
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| RegistrationId |
string |
No |
The ID of the review request. |
sr-1b4aabc1c9eb4109**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
A361BA9E-xxxx-xxxx-xxxx-C26E5180456E |
| RegistrationId |
string |
The ID of the review request. |
sr-1b4aabc1c9eb4109**** |
| ServiceId |
string |
The service ID. |
service-c2d118c9193e49xxxxxx |
| Status |
string |
The status of the review request. Valid values:
|
Submitted |
| SubmitTime |
string |
The time when the request was submitted. |
2024-12-07T11:05:50Z |
| FinishTime |
string |
The time when the review was completed. |
2024-12-07T11:05:50Z |
| Comment |
string |
The review comments. |
comment message |
| ServiceInfo |
object |
The service details. |
|
| ServiceType |
string |
The service type. |
private |
| VersionName |
string |
The version name. |
v1.0 |
| TrialType |
string |
The trial type. Valid values:
|
Trial |
| Detail |
object |
The review details. |
|
| HasRelatedArtifact |
boolean |
Indicates whether the service is associated with an artifact. |
true |
| TemplateDiffUrl |
string |
The URL to view the differences in the template. |
https://compute-nest-template-diff-bucket.oss-cn-hangzhou.aliyuncs.com/service-abc/diff |
| AtRisk |
boolean |
Indicates whether the service has risks. |
true |
| Reports |
string |
The review reports. |
{ "模板":"https://compute-nest-security-audit-bucket.oss-cn-hangzhou.aliyuncs.com/report" } |
| ServiceVersion |
string |
The service version. |
beta |
Examples
Success response
JSON format
{
"RequestId": "A361BA9E-xxxx-xxxx-xxxx-C26E5180456E",
"RegistrationId": "sr-1b4aabc1c9eb4109****",
"ServiceId": "service-c2d118c9193e49xxxxxx",
"Status": "Submitted",
"SubmitTime": "2024-12-07T11:05:50Z",
"FinishTime": "2024-12-07T11:05:50Z",
"Comment": "comment message",
"ServiceInfo": {
"ServiceType": "private",
"VersionName": "v1.0",
"TrialType": "Trial"
},
"Detail": {
"HasRelatedArtifact": true,
"TemplateDiffUrl": "https://compute-nest-template-diff-bucket.oss-cn-hangzhou.aliyuncs.com/service-abc/diff",
"AtRisk": true,
"Reports": "{ \"模板\":\"https://compute-nest-security-audit-bucket.oss-cn-hangzhou.aliyuncs.com/report\" }"
},
"ServiceVersion": "beta"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.