アプリケーションのデフォルトのアルゴリズムインスタンスを照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
opensearch:DescribeFunction |
get |
*FunctionDefaultInstance
|
なし | なし |
リクエスト構文
GET /v4/openapi/app-groups/{appGroupIdentity}/functions/{functionName}/default-instance HTTP/1.1
パスパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| appGroupIdentity |
string |
必須 |
アプリケーションの名前。 |
my_app_group_name |
| functionName |
string |
必須 |
機能の名前。 |
ctr |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
リクエストパラメーターは必要ありません。
リクエストの例
GET /v4/openapi/app-groups/my-app/functions/pop/default-instances
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答本文。 |
||
| Status |
string |
リクエストのステータス。 |
OK |
| HttpCode |
integer |
HTTP ステータスコード。 |
200 |
| RequestId |
string |
リクエスト ID。 |
062BA91F-A568-5779-8A5B-9E62C9BB3DC1 |
| Message |
string |
エラーメッセージ。 |
default instance not set. |
| Code |
string |
エラーコード。 |
DefaultInstance.NotExist |
| Result |
object |
結果。 |
{'Pagination': {'TotalCount': 0, 'PageNumber': 1, 'PageSize': 10}, 'AntConsortiums': []} |
| InstanceName |
string |
デフォルトのインスタンス名。 |
model1 |
| Latency |
integer |
デフォルトのランタイム。 |
123 |
| InstanceName |
string |
インスタンスの名前。 |
sh-bp1oi31w1jn4ctdyv |
| FunctionName |
string |
機能の名前。 |
cdn_waf |
応答の例
{
"status": "OK",
"requestId": "",
"httpCode": 200,
"code": "",
"message": "",
"latency": 123,
"result": {
"instanceName": "pop_test"
}
}
例
成功レスポンス
JSONJSON
{
"Status": "OK",
"HttpCode": 200,
"RequestId": "062BA91F-A568-5779-8A5B-9E62C9BB3DC1",
"Message": "default instance not set.",
"Code": "DefaultInstance.NotExist",
"Result": {
"InstanceName": "model1"
},
"Latency": 123,
"InstanceName": "sh-bp1oi31w1jn4ctdyv",
"FunctionName": "cdn_waf"
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。