获取云产品的列表
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
advisor:GetProductList |
none |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Token |
string |
否 |
所需的 Token。 |
**** |
| Language |
string |
否 |
使用的语言。 |
zh |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
566331F9-****-550F-B745-A730331F97A9 |
| Data |
array<object> |
请求返回数据。 |
|
|
array<object> |
请求返回数据。 |
||
| Category |
string |
云产品分类: |
"大数据计算" |
| ProductList |
array<object> |
阿里云产品列表 |
|
|
object |
接入的产品列表。 |
||
| Product |
string |
云产品 Code。 |
hologres |
| NewLabel |
string |
云产品中文描述 |
实时数仓 Hologres |
| Success |
boolean |
请求是否成功。 |
True |
| Code |
string |
请求编码。 |
200 |
| Message |
string |
详细信息 |
success |
| UserMessage |
string |
提示详情 |
操作成功。 |
| AccessDeniedDetail |
object |
权限校验失败详情。 |
|
| AuthAction |
string |
鉴权 Action |
advisor:GetProductList |
| AuthPrincipalDisplayName |
string |
授权主体显示名称。 |
example-user |
| AuthPrincipalOwnerId |
string |
鉴权主账号 id。 |
* |
| AuthPrincipalType |
string |
授权类型 |
* |
| EncodedDiagnosticMessage |
string |
异常信息 |
**** |
| NoPermissionType |
string |
无权限类型。 |
* |
| PolicyType |
string |
鉴权类型 |
* |
示例
正常返回示例
JSON格式
{
"RequestId": "566331F9-****-550F-B745-A730331F97A9\n",
"Data": [
{
"Category": "\"大数据计算\"\n",
"ProductList": [
{
"Product": "hologres",
"NewLabel": "实时数仓 Hologres"
}
]
}
],
"Success": true,
"Code": "200",
"Message": "success",
"UserMessage": "操作成功。",
"AccessDeniedDetail": {
"AuthAction": "advisor:GetProductList",
"AuthPrincipalDisplayName": "example-user",
"AuthPrincipalOwnerId": "*",
"AuthPrincipalType": "*",
"EncodedDiagnosticMessage": "****",
"NoPermissionType": "*",
"PolicyType": "*"
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. | 服务端错误。 |
| 403 | Rd.NoManagePermission | The RD management account does not have the specified member account management permission. | RD管理账号没有指定成员账号管理权限 |
| 403 | Rd.NoMasterRole | Login account is not RD management or co-management role. | 登录账号不是RD管理或协管角色 |
| 403 | Forbidden.NotActivated | User has not activated Advisor Service. | 用户未开通Advisor产品。 |
| 403 | Forbidden.NotAuthorized | User has not authorized Advisor to provide services. | |
| 403 | Forbidden.RAM | The user is not authorized to operate on the specified resource, or this API does not support RAM. | 未授权错误。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。