Get Action
- 印刷する
- PDF
Get Action
- 印刷する
- PDF
Article Summary
概要
特定アクションを照会します。
リクエスト
リクエスト URL
GET {CLOUD_FUNCTIONS_API_URL}/packages/{packageName}/actions/{actionName}
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}
Path Variables
パラメータ | 要否 | タイプ | 説明 |
---|---|---|---|
packageName | Yes | string | - パッケージ名 packageに属していない actionを照会する場合、packageNameに-を入力 |
actionName | Yes | string | アクション名 |
リクエストパラメータ
パラメータ名 | 要否 | タイプ | 制約事項 | 説明 |
---|---|---|---|---|
platform | No | string | (classic | vpc) | - プラットフォームタイプ default classicで処理 |
レスポンス
レスポンスボディ
Basic Action
{
"content": {
"name": "string",
"path": "string",
"description": "string",
"web": "boolean",
"raw-http": "boolean",
"custom-options": "boolean",
"parameters": {
},
"exec": {
"binary": "boolean",
"code": "string",
"kind": "string",
"main": "string"
},
"limits": {
"memory": "number",
"timeout": "number"
},
"vpc" : {
"vpcNo": "number",
"subnetNo": "number"
},
"resourceId": "string"
}
}
項目 | タイプ | 説明 | 備考 |
---|---|---|---|
content.name | string | アクション名 | |
content.path | string | アクションの path | |
content.description | string | アクションの説明 | |
content.web | boolean | ウェブアクション設定 | |
content.raw-http | boolean | HTTP原文使用の有無 | |
content.custom-options | boolean | ヘッダオプションの設定 | |
content.parameters | object | アクションのデフォルトパラメータ | |
content.exec.binary | boolean | コードのファイルバイナリの有無 | |
content.exec.code | string | ソースコード | |
content.exec.kind | string | 使用言語 | |
content.exec.main | string | コード内の実行する関数 | |
content.limits.memory | number | アクションコンテナに割り当てられるメモリサイズ | |
content.limits.timeout | number | アクションが実行される最大時間 | |
content.vpc | vpc情報。 | Platformが vpcの場合にのみ表示 | |
content.vpc.vpcNo | number | 連携された vpcの No | |
content.vpc.subnetNo | number | 連携された subnetの No | |
content.resourceId | string | アクションの resourceId |
Sequence Action
{
"content": {
"name": "string",
"path": "string",
"description": "string",
"resourceId": "string",
"web": "boolean",
"exec": {
"kind": "string",
"components": [
"string"
]
}
}
}
項目 | タイプ | 説明 | 備考 |
---|---|---|---|
content.name | string | アクション名 | |
content.path | string | アクションの path | |
content.description | string | アクションの説明 | |
content.resourceId | string | アクションの resourceId | |
content.web | boolean | ウェブアクション設定 | |
content.exec.kind | string | シーケンスアクション | |
content.exec.components | string array | 接続されたアクションリスト |
この記事は役に立ちましたか?