ユーザーが作成したEdge Routineのページネーションリストとクォータ情報を取得します。
操作説明
この操作により、アカウントで作成されたすべてのEdge Routineに対してページクエリを実行できます。また、現在のプランのEdge Routineクォータと、すでに使用中のEdge Routineの数も返されます。PageNumberとPageSizeのページングパラメータを指定して返される結果の数を制御したり、SearchKeyWordを使用してあいまい検索でRoutine 名をフィルタリングしたりできます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
esa:ListUserRoutines |
list |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| PageNumber |
integer |
任意 |
ページ番号。デフォルト値:1。最大値:10。 |
1 |
| PageSize |
integer |
任意 |
1ページあたりのエントリ数。有効な値:1~20。 |
20 |
| SearchKeyWord |
string |
任意 |
あいまい検索のキーワード。 |
hello |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスのスキーマ |
||
| RequestId |
string |
リクエストID。 |
1234567890ABCDEF |
| PageNumber |
integer |
現在のページ番号。 |
1 |
| PageSize |
integer |
1ページあたりのエントリ数。 |
20 |
| TotalCount |
integer |
エントリの合計数。 |
3 |
| QuotaRoutineNumber |
integer |
現在のプランのRoutineクォータ。 |
20 |
| UsedRoutineNumber |
integer |
作成済みのRoutine 数。 |
5 |
| Routines |
array<object> |
Routineのリスト。 |
|
|
object |
Routineエントリの配列。 |
||
| RoutineName |
string |
Routine 名。 |
hello |
| Description |
string |
Routineの説明。 |
ZWRpdCByb3V0aW5lIGNvbmZpZyBkZXNjcmlwdGlvbg== |
| CreateTime |
string |
Edge Routineが作成された時刻。時刻はUTCタイムゾーンのRFC 3339 標準に準拠します。 |
2024-03-11T01:23:02.883361712Z |
| HasAssets |
boolean |
Routineにアセットファイルが含まれているかどうかを示します。 |
false |
| DefaultRelatedRecord |
string |
Routineに関連付けられたデフォルトのアクセスレコード。 |
serverless-test-2.154edaf6.er.aliyun-esa.net |
例
成功レスポンス
JSONJSON
{
"RequestId": "1234567890ABCDEF",
"PageNumber": 1,
"PageSize": 20,
"TotalCount": 3,
"QuotaRoutineNumber": 20,
"UsedRoutineNumber": 5,
"Routines": [
{
"RoutineName": "hello",
"Description": "ZWRpdCByb3V0aW5lIGNvbmZpZyBkZXNjcmlwdGlvbg==",
"CreateTime": "2024-03-11T01:23:02.883361712Z",
"HasAssets": false,
"DefaultRelatedRecord": "serverless-test-2.154edaf6.er.aliyun-esa.net"
}
]
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | |
| 400 | InvalidParameter | The specified parameter is invalid. | |
| 400 | InternalOperationError | Failed to call the service. Try again later or contact technical support. | |
| 400 | ParameterNotExist | The specified parameter does not exist. Check your configurations and try again. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。