GetServiceRegistration - 获取服务审核申请详情

获取服务审核申请详情。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。

  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。

  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:

    • 对于必选的资源类型,用前面加 * 表示。

    • 对于不支持资源级授权的操作,用全部资源表示。

  • 条件关键字:是指云产品自身定义的条件关键字。

  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。

操作

访问级别

资源类型

条件关键字

关联操作

computenestsupplier:GetServiceRegistration

get

*ServiceRegistration

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

请求参数

名称

类型

必填

描述

示例值

RegionId

string

地域 ID。

cn-hangzhou

RegistrationId

string

审核请求 ID。

sr-1b4aabc1c9eb4109****

返回参数

名称

类型

描述

示例值

object

Schema of Response

RequestId

string

请求 ID。

A361BA9E-xxxx-xxxx-xxxx-C26E5180456E

RegistrationId

string

审核请求 ID。

sr-1b4aabc1c9eb4109****

ServiceId

string

服务 ID。

service-c2d118c9193e49xxxxxx

Status

string

审核申请状态。 可选值:

  • Submitted 已提交

  • Approved 审核通过

  • Rejected 审核不通过

  • Canceled 已取消

  • Executed 服务版本已发布

Submitted

SubmitTime

string

提交时间。

2024-12-07T11:05:50Z

FinishTime

string

完成时间。

2024-12-07T11:05:50Z

Comment

string

评审意见。

comment message

ServiceInfo

object

服务详情。

ServiceType

string

服务类型。

private

VersionName

string

版本名称。

v1.0

TrialType

string

试用类型。

取值:

  • Trial:支持试用。

  • NotTrial:不支持试用。

Trial

Detail

object

审核详情。

HasRelatedArtifact

boolean

服务是否关联部署物。

true

TemplateDiffUrl

string

模板差异查看地址。

https://compute-nest-template-diff-bucket.oss-cn-hangzhou.aliyuncs.com/service-abc/diff

AtRisk

boolean

服务是否存在风险。

true

Reports

string

审核报告。

{ "模板":"https://compute-nest-security-audit-bucket.oss-cn-hangzhou.aliyuncs.com/report" }

ServiceVersion

string

服务版本。

beta

示例

正常返回示例

JSON格式

{
  "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"
}

错误码

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情