カスタムクエリテンプレートを作成します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
resourcecenter:CreateSavedQuery |
create |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| Name |
string |
必須 |
テンプレートの名前。
|
查询我的所有资源。 |
| Expression |
string |
必須 |
テンプレートの式。 |
SELECT * FROM resources; |
| Description |
string |
任意 |
テンプレートの説明。 説明の長さは 1~256 文字である必要があります。 |
查询所有资源。 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| QueryId |
string |
テンプレート ID。 |
cq-GeAck**** |
| RequestId |
string |
リクエスト ID。 |
EFA806B9-7F36-55AB-8B7A-D680C2C5EE57 |
例
成功レスポンス
JSONJSON
{
"QueryId": "cq-GeAck****",
"RequestId": "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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。