@alicloud/agentloop20260520 2.8.0 → 2.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +110 -54
- package/dist/client.js +110 -54
- package/dist/client.js.map +1 -1
- package/dist/models/AnalysisTask.d.ts +16 -8
- package/dist/models/AnalysisTask.js.map +1 -1
- package/dist/models/AuditTaskState.d.ts +17 -7
- package/dist/models/AuditTaskState.js.map +1 -1
- package/dist/models/CancelPipelineRunResponseBody.d.ts +2 -2
- package/dist/models/ConnectorProperties.d.ts +21 -12
- package/dist/models/ConnectorProperties.js.map +1 -1
- package/dist/models/CreateContextStoreRequest.d.ts +44 -44
- package/dist/models/CreateContextStoreResponseBody.d.ts +1 -1
- package/dist/models/CreatePipelineRequest.d.ts +47 -30
- package/dist/models/CreatePipelineRequest.js +8 -0
- package/dist/models/CreatePipelineRequest.js.map +1 -1
- package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
- package/dist/models/GetAuditConversionSourceResponseBody.d.ts +3 -3
- package/dist/models/GetDatasetRequest.d.ts +1 -1
- package/dist/models/GetDatasetResponseBody.d.ts +26 -3
- package/dist/models/GetDatasetResponseBody.js.map +1 -1
- package/dist/models/GetPipelineResponseBody.d.ts +55 -38
- package/dist/models/GetPipelineResponseBody.js +8 -0
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/GetPipelineRunResponseBody.d.ts +7 -7
- package/dist/models/ListDatasetsRequest.d.ts +8 -3
- package/dist/models/ListDatasetsRequest.js.map +1 -1
- package/dist/models/ListDatasetsResponseBody.d.ts +12 -7
- package/dist/models/ListDatasetsResponseBody.js.map +1 -1
- package/dist/models/ListDatasetsShrinkRequest.d.ts +8 -3
- package/dist/models/ListDatasetsShrinkRequest.js.map +1 -1
- package/dist/models/ListPipelineRunsRequest.d.ts +1 -1
- package/dist/models/ListPipelineRunsResponseBody.d.ts +8 -6
- package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
- package/dist/models/ListPipelinesRequest.d.ts +5 -17
- package/dist/models/ListPipelinesRequest.js.map +1 -1
- package/dist/models/ListPipelinesResponseBody.d.ts +50 -33
- package/dist/models/ListPipelinesResponseBody.js +8 -0
- package/dist/models/ListPipelinesResponseBody.js.map +1 -1
- package/dist/models/PipelineOssSource.d.ts +69 -0
- package/dist/models/PipelineOssSource.js +69 -0
- package/dist/models/PipelineOssSource.js.map +1 -0
- package/dist/models/PreviewPipelineRequest.d.ts +37 -20
- package/dist/models/PreviewPipelineRequest.js +8 -0
- package/dist/models/PreviewPipelineRequest.js.map +1 -1
- package/dist/models/PreviewPipelineResponseBody.d.ts +30 -14
- package/dist/models/PreviewPipelineResponseBody.js +4 -0
- package/dist/models/PreviewPipelineResponseBody.js.map +1 -1
- package/dist/models/RunPipelineRequest.d.ts +3 -3
- package/dist/models/RunPipelineResponseBody.d.ts +1 -1
- package/dist/models/UpdatePipelineRequest.d.ts +50 -36
- package/dist/models/UpdatePipelineRequest.js +8 -0
- package/dist/models/UpdatePipelineRequest.js.map +1 -1
- package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +8 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +110 -54
- package/src/models/AnalysisTask.ts +16 -8
- package/src/models/AuditTaskState.ts +17 -7
- package/src/models/CancelPipelineRunResponseBody.ts +2 -2
- package/src/models/ConnectorProperties.ts +21 -12
- package/src/models/CreateContextStoreRequest.ts +44 -44
- package/src/models/CreateContextStoreResponseBody.ts +1 -1
- package/src/models/CreatePipelineRequest.ts +54 -30
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/GetAuditConversionSourceResponseBody.ts +3 -3
- package/src/models/GetDatasetRequest.ts +1 -1
- package/src/models/GetDatasetResponseBody.ts +26 -3
- package/src/models/GetPipelineResponseBody.ts +62 -38
- package/src/models/GetPipelineRunResponseBody.ts +7 -7
- package/src/models/ListDatasetsRequest.ts +8 -3
- package/src/models/ListDatasetsResponseBody.ts +12 -7
- package/src/models/ListDatasetsShrinkRequest.ts +8 -3
- package/src/models/ListPipelineRunsRequest.ts +1 -1
- package/src/models/ListPipelineRunsResponseBody.ts +8 -6
- package/src/models/ListPipelinesRequest.ts +5 -17
- package/src/models/ListPipelinesResponseBody.ts +57 -33
- package/src/models/PipelineOssSource.ts +91 -0
- package/src/models/PreviewPipelineRequest.ts +44 -20
- package/src/models/PreviewPipelineResponseBody.ts +34 -14
- package/src/models/RunPipelineRequest.ts +3 -3
- package/src/models/RunPipelineResponseBody.ts +1 -1
- package/src/models/UpdatePipelineRequest.ts +57 -36
- package/src/models/UpdatePipelineResponseBody.ts +1 -1
- package/src/models/model.ts +1 -0
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class AnalysisTask extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The task
|
|
5
|
+
* The time when the task was completed. The value is a UNIX timestamp in milliseconds.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 1789747260000
|
|
@@ -10,7 +10,7 @@ export declare class AnalysisTask extends $dara.Model {
|
|
|
10
10
|
completedAt?: number;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The task
|
|
13
|
+
* The time when the task was created. The value is a UNIX timestamp in milliseconds.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 1789747200000
|
|
@@ -18,7 +18,7 @@ export declare class AnalysisTask extends $dara.Model {
|
|
|
18
18
|
createdAt?: number;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The error code
|
|
21
|
+
* The error code returned when the task fails.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* NO_VALID_ATTRIBUTION_LABEL
|
|
@@ -26,7 +26,7 @@ export declare class AnalysisTask extends $dara.Model {
|
|
|
26
26
|
errorCode?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The error message
|
|
29
|
+
* The error message returned when the task fails.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* No valid attribution label was found
|
|
@@ -35,6 +35,14 @@ export declare class AnalysisTask extends $dara.Model {
|
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
37
|
* The generated analysis report. This field is typically not returned by list operations.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* {
|
|
41
|
+
* "rootReportId": "ffwqdqwdqwdqef",
|
|
42
|
+
* "reportUri": "https://test.test.test/",
|
|
43
|
+
* "reportSha256": "adevfadcasdqwcf",
|
|
44
|
+
* "reportBytes": 12471952812412
|
|
45
|
+
* }
|
|
38
46
|
*/
|
|
39
47
|
report?: {
|
|
40
48
|
[key: string]: any;
|
|
@@ -49,7 +57,7 @@ export declare class AnalysisTask extends $dara.Model {
|
|
|
49
57
|
selectedCount?: number;
|
|
50
58
|
/**
|
|
51
59
|
* @remarks
|
|
52
|
-
* The task
|
|
60
|
+
* The status of the task. Valid values: PENDING, RUNNING, SUCCEEDED, PARTIAL_SUCCEEDED, or FAILED.
|
|
53
61
|
*
|
|
54
62
|
* @example
|
|
55
63
|
* SUCCEEDED
|
|
@@ -57,7 +65,7 @@ export declare class AnalysisTask extends $dara.Model {
|
|
|
57
65
|
status?: string;
|
|
58
66
|
/**
|
|
59
67
|
* @remarks
|
|
60
|
-
* The analysis task
|
|
68
|
+
* The ID of the analysis task.
|
|
61
69
|
*
|
|
62
70
|
* @example
|
|
63
71
|
* analysis-task-8b36f2e2b1f94f9c91ce7a4b0f6d9c25
|
|
@@ -65,7 +73,7 @@ export declare class AnalysisTask extends $dara.Model {
|
|
|
65
73
|
taskId?: string;
|
|
66
74
|
/**
|
|
67
75
|
* @remarks
|
|
68
|
-
* The analysis task
|
|
76
|
+
* The name of the analysis task.
|
|
69
77
|
*
|
|
70
78
|
* @example
|
|
71
79
|
* Low-score sample attribution analysis
|
|
@@ -73,7 +81,7 @@ export declare class AnalysisTask extends $dara.Model {
|
|
|
73
81
|
taskName?: string;
|
|
74
82
|
/**
|
|
75
83
|
* @remarks
|
|
76
|
-
* The analysis task
|
|
84
|
+
* The type of the analysis task.
|
|
77
85
|
*
|
|
78
86
|
* @example
|
|
79
87
|
* ATTRIBUTION_SUMMARY
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalysisTask.js","sourceRoot":"","sources":["../../src/models/AnalysisTask.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,YAAa,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"AnalysisTask.js","sourceRoot":"","sources":["../../src/models/AnalysisTask.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,YAAa,SAAQ,KAAK,CAAC,KAAK;IAsF3C,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,eAAe;YAC9B,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,MAAM,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,KAAK,EAAE;YAClE,aAAa,EAAE,QAAQ;YACvB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,MAAM,EAAE,CAAC;YACf,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9HD,oCA8HC"}
|
|
@@ -12,7 +12,7 @@ export declare class AuditTaskStateRuntimeError extends $dara.Model {
|
|
|
12
12
|
code?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The error
|
|
15
|
+
* The error message.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* error
|
|
@@ -40,17 +40,17 @@ export declare class AuditTaskStateRuntimeError extends $dara.Model {
|
|
|
40
40
|
export declare class AuditTaskState extends $dara.Model {
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
* The
|
|
43
|
+
* The expected sharing toggle of the task.
|
|
44
44
|
*/
|
|
45
45
|
enabled?: boolean;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The runtime error, which is returned only when runtimeStatus is error.
|
|
48
|
+
* The runtime error, which is returned only when runtimeStatus is set to error.
|
|
49
49
|
*/
|
|
50
50
|
runtimeError?: AuditTaskStateRuntimeError;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* The runtime status, which
|
|
53
|
+
* The runtime status, which is returned only when includeRuntimeStatus=true is specified in the request. Valid values: pending, starting, stopping, running, stopped, missing, drifted, and error. The deleting value is not returned in list or get operations.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* running
|
|
@@ -58,7 +58,7 @@ export declare class AuditTaskState extends $dara.Model {
|
|
|
58
58
|
runtimeStatus?: string;
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
* The time when the remote status
|
|
61
|
+
* The time when the remote status was checked. This field is returned together with runtimeStatus.
|
|
62
62
|
*
|
|
63
63
|
* @example
|
|
64
64
|
* 1
|
|
@@ -66,7 +66,17 @@ export declare class AuditTaskState extends $dara.Model {
|
|
|
66
66
|
runtimeStatusCheckedAt?: string;
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
* The
|
|
69
|
+
* The specific JSON details of the task.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* {
|
|
73
|
+
* "ruleIds": ["custom_r1_reverse_shell"],
|
|
74
|
+
* "customFieldIds": [],
|
|
75
|
+
* "sources": [{
|
|
76
|
+
* "project": "agentloop-audit-example",
|
|
77
|
+
* "logstore": "agent-event"
|
|
78
|
+
* }]
|
|
79
|
+
* }
|
|
70
80
|
*/
|
|
71
81
|
task?: {
|
|
72
82
|
[key: string]: any;
|
|
@@ -81,7 +91,7 @@ export declare class AuditTaskState extends $dara.Model {
|
|
|
81
91
|
taskId?: string;
|
|
82
92
|
/**
|
|
83
93
|
* @remarks
|
|
84
|
-
* The current execution configuration version of the task. The minimum value is 1. Starting or stopping the task does not
|
|
94
|
+
* The current execution configuration version of the task. The minimum value is 1. Starting or stopping the task does not increase this version.
|
|
85
95
|
*
|
|
86
96
|
* @example
|
|
87
97
|
* 7
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuditTaskState.js","sourceRoot":"","sources":["../../src/models/AuditTaskState.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C;GACG;AACH,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAyBzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAA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OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,YAAY,EAAE,0BAA0B;YACxC,aAAa,EAAE,QAAQ;YACvB,sBAAsB,EAAE,QAAQ;YAChC,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,KAAK,EAAE;YAChE,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,QAAQ;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,YAAY,IAAI,OAAQ,IAAI,CAAC,YAAoB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjF,IAAI,CAAC,YAAoB,CAAC,QAAQ,EAAE,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,EAAE,CAAC;YACb,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/FD,wCA+FC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CancelPipelineRunResponseBody extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The time when the cancellation
|
|
5
|
+
* The time when the cancellation was completed. The time is in the ISO 8601 standard in UTC.
|
|
6
6
|
*
|
|
7
7
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ss.SSSZ
|
|
8
8
|
*
|
|
@@ -12,7 +12,7 @@ export declare class CancelPipelineRunResponseBody extends $dara.Model {
|
|
|
12
12
|
finishTime?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The request
|
|
15
|
+
* The ID of the request, which is used to locate the request during troubleshooting.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ConnectorProperties extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The channel type. Valid values: custom
|
|
5
|
+
* The channel type. Valid values: custom, apig. This parameter is optional for model_service. Default value: custom.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* custom
|
|
@@ -10,7 +10,7 @@ export declare class ConnectorProperties extends $dara.Model {
|
|
|
10
10
|
channelType?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
*
|
|
13
|
+
* The sample request body provided by the user to verify endpoint connectivity. This parameter is required when dryRun is set to All and type is set to agent_app, and is not persisted.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* {"input":"Hello"}
|
|
@@ -18,7 +18,7 @@ export declare class ConnectorProperties extends $dara.Model {
|
|
|
18
18
|
dryRunRequestBody?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The number of retry attempts
|
|
21
|
+
* The number of retry attempts to invoke the dial test registration service after a service invocation has failed. Valid values: 0 to 10. Default value: 3.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* 3
|
|
@@ -26,7 +26,7 @@ export declare class ConnectorProperties extends $dara.Model {
|
|
|
26
26
|
maxRetries?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The
|
|
29
|
+
* The supported model list in comma-separated format. This parameter is required for model_service.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* qwen-max
|
|
@@ -34,7 +34,7 @@ export declare class ConnectorProperties extends $dara.Model {
|
|
|
34
34
|
modelList?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The network type. Valid values: internet
|
|
37
|
+
* The network type. Valid values: internet, aliyun-vpc.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* internet
|
|
@@ -42,7 +42,7 @@ export declare class ConnectorProperties extends $dara.Model {
|
|
|
42
42
|
network?: string;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The protocol type. Valid values: openai, openai-compatible,
|
|
45
|
+
* The protocol type. Valid values: openai, openai-compatible, anthropic. This parameter is required for model_service.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* openai-compatible
|
|
@@ -50,7 +50,7 @@ export declare class ConnectorProperties extends $dara.Model {
|
|
|
50
50
|
protocol?: string;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* The
|
|
53
|
+
* The QPS limit for the dial test registration service. A value of 0 indicates no throttling. Otherwise, valid values are 0.1 to 1000. Default value: 20 for agent_app and 100 for model_service.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* 20
|
|
@@ -66,7 +66,7 @@ export declare class ConnectorProperties extends $dara.Model {
|
|
|
66
66
|
region?: string;
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
* The
|
|
69
|
+
* The JSON Path extraction path for the response body. This parameter is optional for agent_app.
|
|
70
70
|
*
|
|
71
71
|
* @example
|
|
72
72
|
* $.choices[0].message.content
|
|
@@ -74,12 +74,15 @@ export declare class ConnectorProperties extends $dara.Model {
|
|
|
74
74
|
responseBodyPath?: string;
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
* The
|
|
77
|
+
* The security group ID. This parameter is optional for agent_app.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* sg-bp1fg655nh68xyz9****
|
|
78
81
|
*/
|
|
79
82
|
securityGroupId?: string;
|
|
80
83
|
/**
|
|
81
84
|
* @remarks
|
|
82
|
-
* The timeout
|
|
85
|
+
* The timeout for a single call in milliseconds. Valid values: 1000 to 1800000. Default value: 300000.
|
|
83
86
|
*
|
|
84
87
|
* @example
|
|
85
88
|
* 30000
|
|
@@ -87,12 +90,18 @@ export declare class ConnectorProperties extends $dara.Model {
|
|
|
87
90
|
timeoutMs?: string;
|
|
88
91
|
/**
|
|
89
92
|
* @remarks
|
|
90
|
-
* The ID
|
|
93
|
+
* The vSwitch ID. This parameter is optional for agent_app.
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* vsw-bp1s5fnvk4gn2tws0****
|
|
91
97
|
*/
|
|
92
98
|
vSwitchId?: string;
|
|
93
99
|
/**
|
|
94
100
|
* @remarks
|
|
95
|
-
* The ID
|
|
101
|
+
* The VPC ID. This parameter is optional for agent_app.
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* vpc-bp1qpo0x2n5g0a4tz****
|
|
96
105
|
*/
|
|
97
106
|
vpcId?: string;
|
|
98
107
|
static names(): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectorProperties.js","sourceRoot":"","sources":["../../src/models/ConnectorProperties.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ConnectorProperties.js","sourceRoot":"","sources":["../../src/models/ConnectorProperties.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;IAyGlD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,iBAAiB,EAAE,mBAAmB;YACtC,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,MA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