CreateSavedQuery_资源中心_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

请求速率为50/1(s)。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
resourcecenter:CreateSavedQuery
Create
全部资源
*

请求参数

字段名称字段详情
Namestring

模板名称。展开详情

示例值:查询我的所有资源。
Expressionstring

模板表达式。

示例值:SELECT * FROM resources;
Descriptionstring

模板描述。展开详情

示例值:查询所有资源。

返回参数

字段名称字段详情
QueryIdstring

模板 ID。

示例值:cq-GeAck****
RequestIdstring

请求 ID。

示例值:EFA806B9-7F36-55AB-8B7A-D680C2C5EE57

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
NoPermission
You are not authorized to perform this operation.诊断
409
LengthExceedLimit.Description
The length of parameter Description exceed limit.诊断
409
LengthExceedLimit.Expression
The length of parameter Expression exceed limit.诊断
409
LengthExceedLimit.Name
The length of parameter Name exceed limit.诊断
409
InvalidParameter.Name
The specified parameter Name is not valid.诊断
409
AlreadyExists.Name
The Query Template Name already exists.诊断

变更历史

暂无变更历史

相关示例