"use strict";(self.webpackChunkelementary_public_docs=self.webpackChunkelementary_public_docs||[]).push([[15674],{15680:(e,t,n)=>{n.d(t,{xA:()=>s,yg:()=>y});var a=n(96540);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var g=a.createContext({}),i=function(e){var t=a.useContext(g),n=t;return e&&(n="function"==typeof e?e(t):p(p({},t),e)),n},s=function(e){var t=i(e.components);return a.createElement(g.Provider,{value:t},e.children)},m="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},u=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,l=e.originalType,g=e.parentName,s=o(e,["components","mdxType","originalType","parentName"]),m=i(n),u=r,y=m["".concat(g,".").concat(u)]||m[u]||d[u]||l;return n?a.createElement(y,p(p({ref:t},s),{},{components:n})):a.createElement(y,p({ref:t},s))}));function y(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var l=n.length,p=new Array(l);p[0]=u;var o={};for(var g in t)hasOwnProperty.call(t,g)&&(o[g]=t[g]);o.originalType=e,o[m]="string"==typeof e?e:r,p[1]=o;for(var i=2;i{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>o,default:()=>c,frontMatter:()=>p,metadata:()=>g,toc:()=>s});var a=n(58168),r=(n(96540),n(15680)),l=n(96763);const p={sidebar_position:9},o="\u5217\u51fa\u6240\u6709\u7684\u65e5\u5fd7\u5bfc\u51fa\u4efb\u52a1",g={unversionedId:"developer-tools/cms/openapi/list-log-export-job",id:"developer-tools/cms/openapi/list-log-export-job",title:"\u5217\u51fa\u6240\u6709\u7684\u65e5\u5fd7\u5bfc\u51fa\u4efb\u52a1",description:"\u63a5\u53e3\u63cf\u8ff0",source:"@site/docs/developer-tools/cms/openapi/list-log-export-job.md",sourceDirName:"developer-tools/cms/openapi",slug:"/developer-tools/cms/openapi/list-log-export-job",permalink:"/help/docs/developer-tools/cms/openapi/list-log-export-job",draft:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/developer-tools/cms/openapi/list-log-export-job.md",tags:[],version:"current",sidebarPosition:9,frontMatter:{sidebar_position:9},sidebar:"tutorialSidebar",previous:{title:"\u521b\u5efa\u65e5\u5fd7\u5bfc\u51fa\u4efb\u52a1",permalink:"/help/docs/developer-tools/cms/openapi/create-log-export-job"},next:{title:"\u68c0\u67e5\u65e5\u5fd7\u5bfc\u51fa\u4efb\u52a1\u7684\u72b6\u6001",permalink:"/help/docs/developer-tools/cms/openapi/check-log-export-job-status"}},i={},s=[{value:"\u63a5\u53e3\u63cf\u8ff0",id:"\u63a5\u53e3\u63cf\u8ff0",level:2},{value:"\u8bf7\u6c42\u5934\uff08Request Header\uff09",id:"\u8bf7\u6c42\u5934request-header",level:2},{value:"\u8bf7\u6c42\u53c2\u6570\uff08Request Parameters\uff09",id:"\u8bf7\u6c42\u53c2\u6570request-parameters",level:2},{value:"\u8bf7\u6c42\u4f53\uff08Request Body\uff09",id:"\u8bf7\u6c42\u4f53request-body",level:2},{value:"\u8bf7\u6c42\u793a\u4f8b\uff08Request Example\uff09",id:"\u8bf7\u6c42\u793a\u4f8brequest-example",level:2},{value:"\u54cd\u5e94\uff08Response\uff09",id:"\u54cd\u5e94response",level:2},{value:"\u54cd\u5e94\u793a\u4f8b\uff08Response Example\uff09",id:"\u54cd\u5e94\u793a\u4f8bresponse-example",level:2}],m=(d="ApiLinkRegion",function(e){return l.warn("Component "+d+" was not imported, exported, or provided by MDXProvider as global scope"),(0,r.yg)("div",e)});var d;const u={toc:s},y="wrapper";function c(e){let{components:t,...n}=e;return(0,r.yg)(y,(0,a.A)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,r.yg)("h1",{id:"\u5217\u51fa\u6240\u6709\u7684\u65e5\u5fd7\u5bfc\u51fa\u4efb\u52a1"},"\u5217\u51fa\u6240\u6709\u7684\u65e5\u5fd7\u5bfc\u51fa\u4efb\u52a1"),(0,r.yg)("h2",{id:"\u63a5\u53e3\u63cf\u8ff0"},"\u63a5\u53e3\u63cf\u8ff0"),(0,r.yg)("p",null,(0,r.yg)("inlineCode",{parentName:"p"},"POST")),(0,r.yg)("p",null,(0,r.yg)("inlineCode",{parentName:"p"},"/monitor/ts/data/v1/subscriptions/:subscription_name/resourceGroups/:resource_group_name/zones/:zone/telemetryStations/:telemetry_station_name/exportLog/products/:product_name/exportJob/list")),(0,r.yg)("p",null,"\u5217\u51fa\u6240\u6709\u7684\u65e5\u5fd7\u5bfc\u51fa\u4efb\u52a1"),(0,r.yg)(m,{apiType:"cms",mdxType:"ApiLinkRegion"},(0,r.yg)("a",{href:"/docs/API/cms/workspace-service-list-logs-export-job",className:"but_to_APi"},"\u8c03\u8bd5\u63a5\u53e3")),(0,r.yg)("h2",{id:"\u8bf7\u6c42\u5934request-header"},"\u8bf7\u6c42\u5934\uff08Request Header\uff09"),(0,r.yg)("p",null,"\u53c2\u8003",(0,r.yg)("a",{parentName:"p",href:"/help/docs/developer-tools/cms/openapi/authentication"},"\u8ba4\u8bc1\uff08authentication\uff09")),(0,r.yg)("h2",{id:"\u8bf7\u6c42\u53c2\u6570request-parameters"},"\u8bf7\u6c42\u53c2\u6570\uff08Request Parameters\uff09"),(0,r.yg)("table",null,(0,r.yg)("thead",{parentName:"table"},(0,r.yg)("tr",{parentName:"thead"},(0,r.yg)("th",{parentName:"tr",align:null},"\u540d\u79f0"),(0,r.yg)("th",{parentName:"tr",align:null},"\u7c7b\u578b"),(0,r.yg)("th",{parentName:"tr",align:null},"\u5fc5\u987b"),(0,r.yg)("th",{parentName:"tr",align:null},"\u4f4d\u7f6e"),(0,r.yg)("th",{parentName:"tr",align:null},"\u9ed8\u8ba4\u503c"),(0,r.yg)("th",{parentName:"tr",align:null},"\u53d6\u503c\u8303\u56f4"),(0,r.yg)("th",{parentName:"tr",align:null},"\u63cf\u8ff0"))),(0,r.yg)("tbody",{parentName:"table"},(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"subscription_name"),(0,r.yg)("td",{parentName:"tr",align:null},"string"),(0,r.yg)("td",{parentName:"tr",align:null},"\u662f"),(0,r.yg)("td",{parentName:"tr",align:null},"path"),(0,r.yg)("td",{parentName:"tr",align:null},"-"),(0,r.yg)("td",{parentName:"tr",align:null},"-"),(0,r.yg)("td",{parentName:"tr",align:null},"\u8ba2\u9605")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"resource_group_name"),(0,r.yg)("td",{parentName:"tr",align:null},"string"),(0,r.yg)("td",{parentName:"tr",align:null},"\u662f"),(0,r.yg)("td",{parentName:"tr",align:null},"path"),(0,r.yg)("td",{parentName:"tr",align:null},"-"),(0,r.yg)("td",{parentName:"tr",align:null},"-"),(0,r.yg)("td",{parentName:"tr",align:null},"\u8d44\u6e90\u7ec4")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"zone"),(0,r.yg)("td",{parentName:"tr",align:null},"string"),(0,r.yg)("td",{parentName:"tr",align:null},"\u662f"),(0,r.yg)("td",{parentName:"tr",align:null},"path"),(0,r.yg)("td",{parentName:"tr",align:null},"-"),(0,r.yg)("td",{parentName:"tr",align:null},"-"),(0,r.yg)("td",{parentName:"tr",align:null},"\u53ef\u7528\u533a")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"telemetry_station_name"),(0,r.yg)("td",{parentName:"tr",align:null},"string"),(0,r.yg)("td",{parentName:"tr",align:null},"\u662f"),(0,r.yg)("td",{parentName:"tr",align:null},"path"),(0,r.yg)("td",{parentName:"tr",align:null},"-"),(0,r.yg)("td",{parentName:"tr",align:null},"-"),(0,r.yg)("td",{parentName:"tr",align:null},"\u76d1\u63a7\u7a7a\u95f4")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"product_name"),(0,r.yg)("td",{parentName:"tr",align:null},"string"),(0,r.yg)("td",{parentName:"tr",align:null},"\u662f"),(0,r.yg)("td",{parentName:"tr",align:null},"query"),(0,r.yg)("td",{parentName:"tr",align:null},"-"),(0,r.yg)("td",{parentName:"tr",align:null},"-"),(0,r.yg)("td",{parentName:"tr",align:null},"\u5b50\u4ea7\u54c1\u952e")))),(0,r.yg)("h2",{id:"\u8bf7\u6c42\u4f53request-body"},"\u8bf7\u6c42\u4f53\uff08Request Body\uff09"),(0,r.yg)("table",null,(0,r.yg)("thead",{parentName:"table"},(0,r.yg)("tr",{parentName:"thead"},(0,r.yg)("th",{parentName:"tr",align:null},"\u540d\u79f0"),(0,r.yg)("th",{parentName:"tr",align:null},"\u7c7b\u578b"),(0,r.yg)("th",{parentName:"tr",align:null},"\u63cf\u8ff0"))),(0,r.yg)("tbody",{parentName:"table"},(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"page_size"),(0,r.yg)("td",{parentName:"tr",align:null},"int"),(0,r.yg)("td",{parentName:"tr",align:null},"\u6bcf\u9875\u5927\u5c0f")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"offset"),(0,r.yg)("td",{parentName:"tr",align:null},"string"),(0,r.yg)("td",{parentName:"tr",align:null},"\u504f\u79fb\u91cf")))),(0,r.yg)("h2",{id:"\u8bf7\u6c42\u793a\u4f8brequest-example"},"\u8bf7\u6c42\u793a\u4f8b\uff08Request Example\uff09"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-shell"},"curl -XPOST 'https://monitor.sensecoreapi.tech/monitor/ts/data/v1/subscriptions/224bae0c-a98f-41f5-b5d3-9f54aa98455f/resourceGroups/default/zones/cn-sh-01z/telemetryStations/ts-user-a95a77a3-961f-43fa-9577-d5c8a2cb0149/exportLog/products/product.lepton-acp-new/exportJob/list' \\\n -H 'Content-Type: application/json' \\\n -d '{\"page_size\":10,\"offset\":\"0\"}'\n")),(0,r.yg)("h2",{id:"\u54cd\u5e94response"},"\u54cd\u5e94\uff08Response\uff09"),(0,r.yg)("table",null,(0,r.yg)("thead",{parentName:"table"},(0,r.yg)("tr",{parentName:"thead"},(0,r.yg)("th",{parentName:"tr",align:null},"\u540d\u79f0"),(0,r.yg)("th",{parentName:"tr",align:null},"\u7c7b\u578b"),(0,r.yg)("th",{parentName:"tr",align:null},"\u63cf\u8ff0"))),(0,r.yg)("tbody",{parentName:"table"},(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"export_jobs"),(0,r.yg)("td",{parentName:"tr",align:null},"[]ExportJob"),(0,r.yg)("td",{parentName:"tr",align:null},"\u5bfc\u51fa\u4efb\u52a1\u5217\u8868")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"page_size"),(0,r.yg)("td",{parentName:"tr",align:null},"int"),(0,r.yg)("td",{parentName:"tr",align:null},"\u6bcf\u9875\u5927\u5c0f")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"offset"),(0,r.yg)("td",{parentName:"tr",align:null},"string"),(0,r.yg)("td",{parentName:"tr",align:null},"\u504f\u79fb\u91cf")))),(0,r.yg)("p",null,"\u5176\u4e2d\uff0c",(0,r.yg)("inlineCode",{parentName:"p"},"ExportJob"),"\u5982\u4e0b\uff1a"),(0,r.yg)("table",null,(0,r.yg)("thead",{parentName:"table"},(0,r.yg)("tr",{parentName:"thead"},(0,r.yg)("th",{parentName:"tr",align:null},"\u540d\u79f0"),(0,r.yg)("th",{parentName:"tr",align:null},"\u7c7b\u578b"),(0,r.yg)("th",{parentName:"tr",align:null},"\u63cf\u8ff0"))),(0,r.yg)("tbody",{parentName:"table"},(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"export_job_id"),(0,r.yg)("td",{parentName:"tr",align:null},"string"),(0,r.yg)("td",{parentName:"tr",align:null},"\u5bfc\u51fa\u4efb\u52a1id")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"log_file_name"),(0,r.yg)("td",{parentName:"tr",align:null},"string"),(0,r.yg)("td",{parentName:"tr",align:null},"\u5bfc\u51fa\u6587\u4ef6\u540d")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"log_file_type"),(0,r.yg)("td",{parentName:"tr",align:null},"string"),(0,r.yg)("td",{parentName:"tr",align:null},"\u5bfc\u51fa\u6587\u4ef6\u683c\u5f0f")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"export_status"),(0,r.yg)("td",{parentName:"tr",align:null},"string"),(0,r.yg)("td",{parentName:"tr",align:null},"\u5bfc\u51fa\u6587\u4ef6\u72b6\u6001")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"download_uri"),(0,r.yg)("td",{parentName:"tr",align:null},"string"),(0,r.yg)("td",{parentName:"tr",align:null},"\u4e0b\u8f7d\u5730\u5740")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"log_type"),(0,r.yg)("td",{parentName:"tr",align:null},"string"),(0,r.yg)("td",{parentName:"tr",align:null},"\u65e5\u5fd7\u7c7b\u578b\uff1a\u666e\u901a\u65e5\u5fd7\uff1b\u64cd\u4f5c\u65e5\u5fd7")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"create_time"),(0,r.yg)("td",{parentName:"tr",align:null},"string"),(0,r.yg)("td",{parentName:"tr",align:null},"\u521b\u5efa\u65f6\u95f4")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"complete_time"),(0,r.yg)("td",{parentName:"tr",align:null},"string"),(0,r.yg)("td",{parentName:"tr",align:null},"\u5b8c\u6210\u65f6\u95f4")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"bucket"),(0,r.yg)("td",{parentName:"tr",align:null},"string"),(0,r.yg)("td",{parentName:"tr",align:null},"oss\u5b58\u50a8\u6876")),(0,r.yg)("tr",{parentName:"tbody"},(0,r.yg)("td",{parentName:"tr",align:null},"log_file_size"),(0,r.yg)("td",{parentName:"tr",align:null},"string"),(0,r.yg)("td",{parentName:"tr",align:null},"\u65e5\u5fd7\u5927\u5c0f")))),(0,r.yg)("h2",{id:"\u54cd\u5e94\u793a\u4f8bresponse-example"},"\u54cd\u5e94\u793a\u4f8b\uff08Response Example\uff09"),(0,r.yg)("pre",null,(0,r.yg)("code",{parentName:"pre",className:"language-json"},'{\n "export_jobs": [\n {\n "export_job_id": "wbx2p3KlqYP4meP7vcyzrlZYovPmOaB1",\n "log_file_name": "product.lepton-acp-new_1712663122.json",\n "log_file_type": "json",\n "export_status": "wait",\n "download_uri": "",\n "log_type": "product.lepton-acp-new",\n "create_time": "2024-04-09T11:45:22.863681Z",\n "complete_time": "0001-01-01T00:00:00Z",\n "bucket": "test1138",\n "log_file_size": 0\n },\n {\n "export_job_id": "ez2xnplWgMaVN3Bq2I24KlZ9q8OER03v",\n "log_file_name": "product.lepton-acp-new_1712662801.json",\n "log_file_type": "json",\n "export_status": "complete",\n "download_uri": "https://aoss.cn-sh-01.sensecoreapi-oss.tech/test1138/sensecore/telemetry/log/product.lepton-acp-new_1712662801.tar.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=1EC2B934FC52480FA172C7D1F88BB9A8%2F20240409%2Fcn-sh-01%2Fs3%2Faws4_request&X-Amz-Date=20240409T114850Z&X-Amz-Expires=259200&X-Amz-SignedHeaders=host&X-Amz-Signature=53aa7f61db3e224cd2e3ac922f89742509ef94dd3f61d776d09de00f083e1d42",\n "log_type": "product.lepton-acp-new",\n "create_time": "2024-04-09T11:40:01.219818Z",\n "complete_time": "2024-04-09T11:48:50.294469Z",\n "bucket": "test1138",\n "log_file_size": 172078943\n },\n {\n "export_job_id": "XgWbZqrwpAl60oRQgfZPK2DMQP1O0j3n",\n "log_file_name": "product.lepton-acp-new_1712662893.json",\n "log_file_type": "json",\n "export_status": "wait",\n "download_uri": "",\n "log_type": "product.lepton-acp-new",\n "create_time": "2024-04-09T11:41:33.258063Z",\n "complete_time": "0001-01-01T00:00:00Z",\n "bucket": "test1138",\n "log_file_size": 0\n }\n ],\n "page_size": 10,\n "offset": "0",\n "total": "3"\n}\n')))}c.isMDXComponent=!0}}]);