GetGCSIngestion - 擷取gcs匯入任務
更新時間:
Copy as MD
擷取GCP Cloud Storage檔案匯入任務
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求文法
GET /gcsingestions/{gcsIngestionName} HTTP/1.1
路徑參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| gcsIngestionName |
string |
是 |
gcs 匯入任務名稱 |
ingest-gcs-12345 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| project |
string |
是 |
project 名稱 |
test |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
| GCSIngestion |
gcs 匯入任務 |
樣本
正常返回樣本
JSON格式
{
"name": "ingest-gcs-123456",
"description": "gcs ingestion",
"displayName": "gcs ingestion",
"configuration": {
"logstore": "myLogstore",
"source": {
"endpoint": "oss-cn-hangzhou.aliyuncs.com",
"bucket": "gcsbucket",
"compressionCodec": "none",
"encoding": "UTF-8",
"interval": "never",
"pattern": ".*",
"prefix": "prefix",
"restoreObjectEnabled": true,
"startTime": 1714274081,
"endTime": 1714360481,
"timeField": "__time__",
"timeFormat": "yyyy-MM-dd HH:mm:ss",
"timePattern": "[0-9]{0,2}\\/[0-9a-zA-Z]+\\/[0-9:,]+",
"timeZone": "GMT+08:00",
"tagPackId": true,
"processorId": "ingest-processor-1756802123-953901",
"accessKeyId": "",
"accessKeySecret": "",
"format": {
"key": ""
}
}
},
"createTime": 1714360481,
"status": "RUNNING",
"scheduleId": "c7f01719d9feb105fc9d8df92af62010",
"lastModifiedTime": 1714360581
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。
该文章对您有帮助吗?