All Products
Search
Document Center

Compute Nest:GetServiceRegistration

Last Updated:Oct 23, 2025

Queries the details of a service registration.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

computenestsupplier:GetServiceRegistration

get

*ServiceRegistration

acs:computenestsupplier:{#regionId}:{#accountId}:serviceregistration/{#registrationId}

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

  • Approved

  • Rejected

  • Canceled

  • Executed: The service version is published.

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: The service supports trial.

  • NotTrial: The service does not support trial.

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.