特定のユーザーのタスクの配信設定とステータスを照会します。
操作説明
機能:この操作は、Alibaba Cloud ユーザーの特定のタスクに関する詳細な配信情報 (タスク名、破棄率、リージョン、ビジネスタイプ、ステータス、配信タイプ、配信設定、フィルター ルールなど) を取得します。
ユースケース:この操作を使用して、特定のタスクのログ処理と配信設定を確認します。これは、処理効率の分析や問題のトラブルシューティングに役立ちます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
esa:GetUserDeliveryTask |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| TaskName |
string |
必須 |
タスク名。 |
test_project |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスボディ。 |
||
| RequestId |
string |
リクエスト ID。 |
7072132a-bd3c-46a6-9e81-aba3e0e3f861 |
| TaskName |
string |
タスク名。 |
testoss11 |
| DiscardRate |
number |
破棄率。 |
0 |
| DataCenter |
string |
データセンター。有効な値:
|
cn |
| BusinessType |
string |
ビジネスタイプ。有効な値:
|
dcdn_log_er |
| Status |
string |
タスクのステータス。 |
online |
| DeliveryType |
string |
配信タイプ。有効な値:
|
oss |
| FieldList |
string |
フィールドのカンマ区切りリスト。 |
ClientRequestID,ClientRequestHost |
| FilterRules |
string |
フィルター ルール。 |
[{"ClientSSLProtocol": {"equals": ["TLSv1.3"]}}] |
| SinkConfig |
any |
配信設定。 |
{'Project': 'er-online-hjy-pro', 'Logstore': 'er-online-hjy-log', 'Region': 'cn-hangzhou', 'Endpoint': 'cn-hangzhou.log.aliyuncs.com', 'Aliuid': '1077912128805410'} |
| Details |
string |
||
| RawRule |
string |
||
| FilterVer |
string |
例
成功レスポンス
JSONJSON
{
"RequestId": "7072132a-bd3c-46a6-9e81-aba3e0e3f861",
"TaskName": "testoss11",
"DiscardRate": 0,
"DataCenter": "cn",
"BusinessType": "dcdn_log_er",
"Status": "online",
"DeliveryType": "oss",
"FieldList": "ClientRequestID,ClientRequestHost",
"FilterRules": "[{\"ClientSSLProtocol\": {\"equals\": [\"TLSv1.3\"]}}]",
"SinkConfig": "{'Project': 'er-online-hjy-pro', 'Logstore': 'er-online-hjy-log', 'Region': 'cn-hangzhou', 'Endpoint': 'cn-hangzhou.log.aliyuncs.com', 'Aliuid': '1077912128805410'}",
"Details": "",
"RawRule": "",
"FilterVer": ""
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | |
| 400 | InternalError | An internal exception occurred, please try again later. | |
| 403 | EsaService.NotOpen | ESA service has not opend. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。