列出AzureBlob匯入任務。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求文法
GET /azureblobingestions HTTP/1.1
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| project |
string |
是 |
Project 名稱。 |
ali-test-project |
| offset |
integer |
否 |
查詢開始行。預設值為 0。 |
0 |
| size |
integer |
否 |
指定查詢數量,預設值為 100。 |
100 |
| logstore |
string |
否 |
Logstore 名稱。 |
ali-test-logstore |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| count |
integer |
目前列出的 AzureBlob 匯入任務數量。 |
10 |
| results |
array |
具體 AzureBlob 匯入任務列表。 |
|
| AzureBlobIngestion |
AzureBlob 匯入任務設定。 |
||
| total |
integer |
指定 Project 下 AzureBlob 匯入任務數量。 |
20 |
樣本
正常返回樣本
JSON格式
{
"count": 10,
"results": [
{
"configuration": {
"logstore": "myLogstore",
"source": {
"accountKey": "dGVzdGtleQ==",
"accountName": "test001",
"advancedParameters": {
"key": "{\"key\": \"xxx\"}"
},
"compressionCodec": "none",
"containerName": "test-container",
"encoding": "UTF-8",
"endTime": 1714360481,
"endpoint": "https://your-storage.blob.core.windows.net",
"format": {
"key": "{\"type\": \"line\"}"
},
"interval": "30m",
"pattern": ".*",
"prefix": "prefix",
"processorId": "ingest-processor-1756802123-953901",
"startTime": 1714274081,
"tagPackId": false,
"timeField": "__time__",
"timeFormat": "yyyy-MM-dd HH:mm:ss",
"timePattern": "[0-9]{0,2}\\/[0-9a-zA-Z]+\\/[0-9:,]+",
"timeZone": "GMT+08:00"
}
},
"createTime": 1714360481,
"description": "azure blob ingestion",
"displayName": "azure blob ingestion",
"lastModifiedTime": 1714360481,
"name": "ingest-azure-blob-123456",
"processorId": "ingest-processor-1756802123-953901",
"schedule": {
"type": "FixedRate",
"cronExpression": "0/5 * * * *",
"runImmediately": false,
"timeZone": "+0800",
"delay": 4,
"interval": "60s"
},
"scheduleId": "c7f01719d9feb105fc9d8df92af62010",
"status": "RUNNING"
}
],
"total": 20
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。