@volcengine/pulumi-volcenginecc 0.0.48 → 0.0.49
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/apig/upstream.d.ts +12 -0
- package/apig/upstream.d.ts.map +1 -1
- package/apig/upstream.js +8 -1
- package/apig/upstream.js.map +1 -1
- package/ecs/getKeypair.d.ts +4 -0
- package/ecs/getKeypair.d.ts.map +1 -1
- package/ecs/getKeypair.js.map +1 -1
- package/ecs/keypair.d.ts +8 -0
- package/ecs/keypair.d.ts.map +1 -1
- package/ecs/keypair.js +2 -0
- package/ecs/keypair.js.map +1 -1
- package/escloud/getIpAllowList.d.ts +33 -0
- package/escloud/getIpAllowList.d.ts.map +1 -0
- package/escloud/getIpAllowList.js +51 -0
- package/escloud/getIpAllowList.js.map +1 -0
- package/escloud/getIpAllowLists.d.ts +23 -0
- package/escloud/getIpAllowLists.d.ts.map +1 -0
- package/escloud/getIpAllowLists.js +47 -0
- package/escloud/getIpAllowLists.js.map +1 -0
- package/escloud/index.d.ts +9 -0
- package/escloud/index.d.ts.map +1 -1
- package/escloud/index.js +12 -1
- package/escloud/index.js.map +1 -1
- package/escloud/ipAllowList.d.ts +146 -0
- package/escloud/ipAllowList.d.ts.map +1 -0
- package/escloud/ipAllowList.js +131 -0
- package/escloud/ipAllowList.js.map +1 -0
- package/package.json +1 -1
- package/tls/downloadTask.d.ts +295 -0
- package/tls/downloadTask.d.ts.map +1 -0
- package/tls/downloadTask.js +170 -0
- package/tls/downloadTask.js.map +1 -0
- package/tls/getDownloadTask.d.ts +118 -0
- package/tls/getDownloadTask.d.ts.map +1 -0
- package/tls/getDownloadTask.js +51 -0
- package/tls/getDownloadTask.js.map +1 -0
- package/tls/getDownloadTasks.d.ts +23 -0
- package/tls/getDownloadTasks.d.ts.map +1 -0
- package/tls/getDownloadTasks.js +47 -0
- package/tls/getDownloadTasks.js.map +1 -0
- package/tls/getRuleBoundHostGroup.d.ts +50 -0
- package/tls/getRuleBoundHostGroup.d.ts.map +1 -0
- package/tls/getRuleBoundHostGroup.js +51 -0
- package/tls/getRuleBoundHostGroup.js.map +1 -0
- package/tls/getRuleBoundHostGroups.d.ts +23 -0
- package/tls/getRuleBoundHostGroups.d.ts.map +1 -0
- package/tls/getRuleBoundHostGroups.js +47 -0
- package/tls/getRuleBoundHostGroups.js.map +1 -0
- package/tls/getTopic.d.ts +12 -0
- package/tls/getTopic.d.ts.map +1 -1
- package/tls/getTopic.js.map +1 -1
- package/tls/index.d.ts +18 -0
- package/tls/index.d.ts.map +1 -1
- package/tls/index.js +24 -2
- package/tls/index.js.map +1 -1
- package/tls/ruleBoundHostGroup.d.ts +92 -0
- package/tls/ruleBoundHostGroup.d.ts.map +1 -0
- package/tls/ruleBoundHostGroup.js +103 -0
- package/tls/ruleBoundHostGroup.js.map +1 -0
- package/tls/topic.d.ts +36 -0
- package/tls/topic.d.ts.map +1 -1
- package/tls/topic.js +8 -0
- package/tls/topic.js.map +1 -1
- package/tos/bucketReplication.d.ts +117 -0
- package/tos/bucketReplication.d.ts.map +1 -0
- package/tos/bucketReplication.js +124 -0
- package/tos/bucketReplication.js.map +1 -0
- package/tos/getBucketReplication.d.ts +50 -0
- package/tos/getBucketReplication.d.ts.map +1 -0
- package/tos/getBucketReplication.js +51 -0
- package/tos/getBucketReplication.js.map +1 -0
- package/tos/getBucketReplications.d.ts +23 -0
- package/tos/getBucketReplications.d.ts.map +1 -0
- package/tos/getBucketReplications.js +47 -0
- package/tos/getBucketReplications.js.map +1 -0
- package/tos/index.d.ts +9 -0
- package/tos/index.d.ts.map +1 -1
- package/tos/index.js +13 -2
- package/tos/index.js.map +1 -1
- package/types/input.d.ts +190 -4
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +380 -4
- package/types/output.d.ts.map +1 -1
- package/vmp/getIntegrationTask.d.ts +90 -0
- package/vmp/getIntegrationTask.d.ts.map +1 -0
- package/vmp/getIntegrationTask.js +51 -0
- package/vmp/getIntegrationTask.js.map +1 -0
- package/vmp/getIntegrationTasks.d.ts +23 -0
- package/vmp/getIntegrationTasks.d.ts.map +1 -0
- package/vmp/getIntegrationTasks.js +47 -0
- package/vmp/getIntegrationTasks.js.map +1 -0
- package/vmp/index.d.ts +9 -0
- package/vmp/index.d.ts.map +1 -1
- package/vmp/index.js +12 -1
- package/vmp/index.js.map +1 -1
- package/vmp/integrationTask.d.ts +229 -0
- package/vmp/integrationTask.d.ts.map +1 -0
- package/vmp/integrationTask.js +148 -0
- package/vmp/integrationTask.js.map +1 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.IpAllowList = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* IP allowlist information
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
39
|
+
*
|
|
40
|
+
* const example = new volcenginecc.escloud.IpAllowList("Example", {
|
|
41
|
+
* instanceId: "o-008wv7krnmw4",
|
|
42
|
+
* type: "PRIVATE_ES",
|
|
43
|
+
* allowLists: [
|
|
44
|
+
* "10.0.0.0/16",
|
|
45
|
+
* "192.168.1.1",
|
|
46
|
+
* ],
|
|
47
|
+
* groups: [
|
|
48
|
+
* {
|
|
49
|
+
* name: "group1",
|
|
50
|
+
* allow_list: [
|
|
51
|
+
* "10.0.0.0/16",
|
|
52
|
+
* "192.168.1.2",
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* {
|
|
56
|
+
* name: "group2",
|
|
57
|
+
* allow_list: [
|
|
58
|
+
* "192.168.2.1",
|
|
59
|
+
* "127.0.0.1",
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* ## Import
|
|
67
|
+
*
|
|
68
|
+
* ```sh
|
|
69
|
+
* $ pulumi import volcenginecc:escloud/ipAllowList:IpAllowList example "instance_id|type"
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
class IpAllowList extends pulumi.CustomResource {
|
|
73
|
+
/**
|
|
74
|
+
* Get an existing IpAllowList resource's state with the given name, ID, and optional extra
|
|
75
|
+
* properties used to qualify the lookup.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resulting resource.
|
|
78
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
79
|
+
* @param state Any extra arguments used during the lookup.
|
|
80
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
81
|
+
*/
|
|
82
|
+
static get(name, id, state, opts) {
|
|
83
|
+
return new IpAllowList(name, state, { ...opts, id: id });
|
|
84
|
+
}
|
|
85
|
+
/** @internal */
|
|
86
|
+
static __pulumiType = 'volcenginecc:escloud/ipAllowList:IpAllowList';
|
|
87
|
+
/**
|
|
88
|
+
* Returns true if the given object is an instance of IpAllowList. This is designed to work even
|
|
89
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
90
|
+
*/
|
|
91
|
+
static isInstance(obj) {
|
|
92
|
+
if (obj === undefined || obj === null) {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
return obj['__pulumiType'] === IpAllowList.__pulumiType;
|
|
96
|
+
}
|
|
97
|
+
constructor(name, argsOrState, opts) {
|
|
98
|
+
let resourceInputs = {};
|
|
99
|
+
opts = opts || {};
|
|
100
|
+
if (opts.id) {
|
|
101
|
+
const state = argsOrState;
|
|
102
|
+
resourceInputs["allowLists"] = state?.allowLists;
|
|
103
|
+
resourceInputs["groups"] = state?.groups;
|
|
104
|
+
resourceInputs["instanceId"] = state?.instanceId;
|
|
105
|
+
resourceInputs["type"] = state?.type;
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
const args = argsOrState;
|
|
109
|
+
if (args?.allowLists === undefined && !opts.urn) {
|
|
110
|
+
throw new Error("Missing required property 'allowLists'");
|
|
111
|
+
}
|
|
112
|
+
if (args?.groups === undefined && !opts.urn) {
|
|
113
|
+
throw new Error("Missing required property 'groups'");
|
|
114
|
+
}
|
|
115
|
+
if (args?.instanceId === undefined && !opts.urn) {
|
|
116
|
+
throw new Error("Missing required property 'instanceId'");
|
|
117
|
+
}
|
|
118
|
+
if (args?.type === undefined && !opts.urn) {
|
|
119
|
+
throw new Error("Missing required property 'type'");
|
|
120
|
+
}
|
|
121
|
+
resourceInputs["allowLists"] = args?.allowLists;
|
|
122
|
+
resourceInputs["groups"] = args?.groups;
|
|
123
|
+
resourceInputs["instanceId"] = args?.instanceId;
|
|
124
|
+
resourceInputs["type"] = args?.type;
|
|
125
|
+
}
|
|
126
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
127
|
+
super(IpAllowList.__pulumiType, name, resourceInputs, opts);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
exports.IpAllowList = IpAllowList;
|
|
131
|
+
//# sourceMappingURL=ipAllowList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ipAllowList.js","sourceRoot":"","sources":["../../escloud/ipAllowList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,8CAA8C,CAAC;IAErF;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC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ChD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAzFL,kCA0FC"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Log download task, used to export log data retrieved from a log topic as a file for user download.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
12
|
+
*
|
|
13
|
+
* const example = new volcenginecc.tls.DownloadTask("Example", {
|
|
14
|
+
* topicId: "22fca26e-xxxxx-a3ca-a9bb6d3fb9bd",
|
|
15
|
+
* taskName: "task-saie",
|
|
16
|
+
* query: "",
|
|
17
|
+
* startTime: 1767196800000,
|
|
18
|
+
* endTime: 1783585260783,
|
|
19
|
+
* compression: "gzip",
|
|
20
|
+
* dataFormat: "json",
|
|
21
|
+
* limit: 2000,
|
|
22
|
+
* sort: "desc",
|
|
23
|
+
* taskType: 0,
|
|
24
|
+
* allowIncomplete: false,
|
|
25
|
+
* logContextInfos: {
|
|
26
|
+
* source: "",
|
|
27
|
+
* context_flow: "",
|
|
28
|
+
* package_offset: 0,
|
|
29
|
+
* },
|
|
30
|
+
* mustComplete: true,
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## Import
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import volcenginecc:tls/downloadTask:DownloadTask example "topic_id|task_id"
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare class DownloadTask extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing DownloadTask resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DownloadTaskState, opts?: pulumi.CustomResourceOptions): DownloadTask;
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of DownloadTask. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj: any): obj is DownloadTask;
|
|
56
|
+
/**
|
|
57
|
+
* Whether to allow approximate results when the query statement cannot be calculated precisely.
|
|
58
|
+
*/
|
|
59
|
+
readonly allowIncomplete: pulumi.Output<boolean>;
|
|
60
|
+
/**
|
|
61
|
+
* Compression format of the exported file. none: no compression. Recommended only for small data volumes. gzip: compress using gzip format. ip: compress using ip format.
|
|
62
|
+
*/
|
|
63
|
+
readonly compression: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Download task creation time.
|
|
66
|
+
*/
|
|
67
|
+
readonly createTime: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* Exported file format. Supported values: csv: CSV format. json: JSON format. jsonl: JSONL format.
|
|
70
|
+
*/
|
|
71
|
+
readonly dataFormat: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Query end time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
|
|
74
|
+
*/
|
|
75
|
+
readonly endTime: pulumi.Output<number>;
|
|
76
|
+
/**
|
|
77
|
+
* Query end time.
|
|
78
|
+
*/
|
|
79
|
+
readonly endTimeStr: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Number of original log entries downloaded, or number of rows in the analysis result.
|
|
82
|
+
*/
|
|
83
|
+
readonly limit: pulumi.Output<number>;
|
|
84
|
+
/**
|
|
85
|
+
* Download the log information required for context queries, including the source host, LogGroup ID, and the log's sequence number within the LogGroup. Set this parameter when TaskType is 2.
|
|
86
|
+
*/
|
|
87
|
+
readonly logContextInfos: pulumi.Output<outputs.tls.DownloadTaskLogContextInfos>;
|
|
88
|
+
/**
|
|
89
|
+
* Number of log entries included in the download task.
|
|
90
|
+
*/
|
|
91
|
+
readonly logCount: pulumi.Output<number>;
|
|
92
|
+
/**
|
|
93
|
+
* Total size of logs included in the download task, in bytes.
|
|
94
|
+
*/
|
|
95
|
+
readonly logSize: pulumi.Output<number>;
|
|
96
|
+
/**
|
|
97
|
+
* Whether to use fully accurate query results for download. true: use fully accurate query results to ensure the downloaded log data exactly matches the query conditions. false: full accuracy is not required; allows downloading log data that may not exactly match the query conditions.
|
|
98
|
+
*/
|
|
99
|
+
readonly mustComplete: pulumi.Output<boolean>;
|
|
100
|
+
/**
|
|
101
|
+
* Query statement for analysis, with a maximum length of 4 KiB.
|
|
102
|
+
*/
|
|
103
|
+
readonly query: pulumi.Output<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Log sorting order when only retrieving without analysis. asc: ascending. desc: descending.
|
|
106
|
+
*/
|
|
107
|
+
readonly sort: pulumi.Output<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Query start time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
|
|
110
|
+
*/
|
|
111
|
+
readonly startTime: pulumi.Output<number>;
|
|
112
|
+
/**
|
|
113
|
+
* Query start time.
|
|
114
|
+
*/
|
|
115
|
+
readonly startTimeStr: pulumi.Output<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Download task ID.
|
|
118
|
+
*/
|
|
119
|
+
readonly taskId: pulumi.Output<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Download task name. Length range: 1–63 characters.
|
|
122
|
+
*/
|
|
123
|
+
readonly taskName: pulumi.Output<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Download task status, indicating the generation status of the log archive file. Includes: creating: file is being generated. created_cut: file has been partially generated. success: file has been generated. wait: waiting. fail: failed.
|
|
126
|
+
*/
|
|
127
|
+
readonly taskStatus: pulumi.Output<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Type of logs to download. 0: download search-type logs. 1: download analysis-type logs. 2: download context-type logs.
|
|
130
|
+
*/
|
|
131
|
+
readonly taskType: pulumi.Output<number>;
|
|
132
|
+
/**
|
|
133
|
+
* Log topic ID to which the download task belongs.
|
|
134
|
+
*/
|
|
135
|
+
readonly topicId: pulumi.Output<string>;
|
|
136
|
+
/**
|
|
137
|
+
* Create a DownloadTask resource with the given unique name, arguments, and options.
|
|
138
|
+
*
|
|
139
|
+
* @param name The _unique_ name of the resource.
|
|
140
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
141
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
142
|
+
*/
|
|
143
|
+
constructor(name: string, args: DownloadTaskArgs, opts?: pulumi.CustomResourceOptions);
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Input properties used for looking up and filtering DownloadTask resources.
|
|
147
|
+
*/
|
|
148
|
+
export interface DownloadTaskState {
|
|
149
|
+
/**
|
|
150
|
+
* Whether to allow approximate results when the query statement cannot be calculated precisely.
|
|
151
|
+
*/
|
|
152
|
+
allowIncomplete?: pulumi.Input<boolean | undefined>;
|
|
153
|
+
/**
|
|
154
|
+
* Compression format of the exported file. none: no compression. Recommended only for small data volumes. gzip: compress using gzip format. ip: compress using ip format.
|
|
155
|
+
*/
|
|
156
|
+
compression?: pulumi.Input<string | undefined>;
|
|
157
|
+
/**
|
|
158
|
+
* Download task creation time.
|
|
159
|
+
*/
|
|
160
|
+
createTime?: pulumi.Input<string | undefined>;
|
|
161
|
+
/**
|
|
162
|
+
* Exported file format. Supported values: csv: CSV format. json: JSON format. jsonl: JSONL format.
|
|
163
|
+
*/
|
|
164
|
+
dataFormat?: pulumi.Input<string | undefined>;
|
|
165
|
+
/**
|
|
166
|
+
* Query end time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
|
|
167
|
+
*/
|
|
168
|
+
endTime?: pulumi.Input<number | undefined>;
|
|
169
|
+
/**
|
|
170
|
+
* Query end time.
|
|
171
|
+
*/
|
|
172
|
+
endTimeStr?: pulumi.Input<string | undefined>;
|
|
173
|
+
/**
|
|
174
|
+
* Number of original log entries downloaded, or number of rows in the analysis result.
|
|
175
|
+
*/
|
|
176
|
+
limit?: pulumi.Input<number | undefined>;
|
|
177
|
+
/**
|
|
178
|
+
* Download the log information required for context queries, including the source host, LogGroup ID, and the log's sequence number within the LogGroup. Set this parameter when TaskType is 2.
|
|
179
|
+
*/
|
|
180
|
+
logContextInfos?: pulumi.Input<inputs.tls.DownloadTaskLogContextInfos | undefined>;
|
|
181
|
+
/**
|
|
182
|
+
* Number of log entries included in the download task.
|
|
183
|
+
*/
|
|
184
|
+
logCount?: pulumi.Input<number | undefined>;
|
|
185
|
+
/**
|
|
186
|
+
* Total size of logs included in the download task, in bytes.
|
|
187
|
+
*/
|
|
188
|
+
logSize?: pulumi.Input<number | undefined>;
|
|
189
|
+
/**
|
|
190
|
+
* Whether to use fully accurate query results for download. true: use fully accurate query results to ensure the downloaded log data exactly matches the query conditions. false: full accuracy is not required; allows downloading log data that may not exactly match the query conditions.
|
|
191
|
+
*/
|
|
192
|
+
mustComplete?: pulumi.Input<boolean | undefined>;
|
|
193
|
+
/**
|
|
194
|
+
* Query statement for analysis, with a maximum length of 4 KiB.
|
|
195
|
+
*/
|
|
196
|
+
query?: pulumi.Input<string | undefined>;
|
|
197
|
+
/**
|
|
198
|
+
* Log sorting order when only retrieving without analysis. asc: ascending. desc: descending.
|
|
199
|
+
*/
|
|
200
|
+
sort?: pulumi.Input<string | undefined>;
|
|
201
|
+
/**
|
|
202
|
+
* Query start time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
|
|
203
|
+
*/
|
|
204
|
+
startTime?: pulumi.Input<number | undefined>;
|
|
205
|
+
/**
|
|
206
|
+
* Query start time.
|
|
207
|
+
*/
|
|
208
|
+
startTimeStr?: pulumi.Input<string | undefined>;
|
|
209
|
+
/**
|
|
210
|
+
* Download task ID.
|
|
211
|
+
*/
|
|
212
|
+
taskId?: pulumi.Input<string | undefined>;
|
|
213
|
+
/**
|
|
214
|
+
* Download task name. Length range: 1–63 characters.
|
|
215
|
+
*/
|
|
216
|
+
taskName?: pulumi.Input<string | undefined>;
|
|
217
|
+
/**
|
|
218
|
+
* Download task status, indicating the generation status of the log archive file. Includes: creating: file is being generated. created_cut: file has been partially generated. success: file has been generated. wait: waiting. fail: failed.
|
|
219
|
+
*/
|
|
220
|
+
taskStatus?: pulumi.Input<string | undefined>;
|
|
221
|
+
/**
|
|
222
|
+
* Type of logs to download. 0: download search-type logs. 1: download analysis-type logs. 2: download context-type logs.
|
|
223
|
+
*/
|
|
224
|
+
taskType?: pulumi.Input<number | undefined>;
|
|
225
|
+
/**
|
|
226
|
+
* Log topic ID to which the download task belongs.
|
|
227
|
+
*/
|
|
228
|
+
topicId?: pulumi.Input<string | undefined>;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* The set of arguments for constructing a DownloadTask resource.
|
|
232
|
+
*/
|
|
233
|
+
export interface DownloadTaskArgs {
|
|
234
|
+
/**
|
|
235
|
+
* Whether to allow approximate results when the query statement cannot be calculated precisely.
|
|
236
|
+
*/
|
|
237
|
+
allowIncomplete?: pulumi.Input<boolean | undefined>;
|
|
238
|
+
/**
|
|
239
|
+
* Compression format of the exported file. none: no compression. Recommended only for small data volumes. gzip: compress using gzip format. ip: compress using ip format.
|
|
240
|
+
*/
|
|
241
|
+
compression: pulumi.Input<string>;
|
|
242
|
+
/**
|
|
243
|
+
* Exported file format. Supported values: csv: CSV format. json: JSON format. jsonl: JSONL format.
|
|
244
|
+
*/
|
|
245
|
+
dataFormat: pulumi.Input<string>;
|
|
246
|
+
/**
|
|
247
|
+
* Query end time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
|
|
248
|
+
*/
|
|
249
|
+
endTime: pulumi.Input<number>;
|
|
250
|
+
/**
|
|
251
|
+
* Query end time.
|
|
252
|
+
*/
|
|
253
|
+
endTimeStr?: pulumi.Input<string | undefined>;
|
|
254
|
+
/**
|
|
255
|
+
* Number of original log entries downloaded, or number of rows in the analysis result.
|
|
256
|
+
*/
|
|
257
|
+
limit: pulumi.Input<number>;
|
|
258
|
+
/**
|
|
259
|
+
* Download the log information required for context queries, including the source host, LogGroup ID, and the log's sequence number within the LogGroup. Set this parameter when TaskType is 2.
|
|
260
|
+
*/
|
|
261
|
+
logContextInfos?: pulumi.Input<inputs.tls.DownloadTaskLogContextInfos | undefined>;
|
|
262
|
+
/**
|
|
263
|
+
* Whether to use fully accurate query results for download. true: use fully accurate query results to ensure the downloaded log data exactly matches the query conditions. false: full accuracy is not required; allows downloading log data that may not exactly match the query conditions.
|
|
264
|
+
*/
|
|
265
|
+
mustComplete?: pulumi.Input<boolean | undefined>;
|
|
266
|
+
/**
|
|
267
|
+
* Query statement for analysis, with a maximum length of 4 KiB.
|
|
268
|
+
*/
|
|
269
|
+
query?: pulumi.Input<string | undefined>;
|
|
270
|
+
/**
|
|
271
|
+
* Log sorting order when only retrieving without analysis. asc: ascending. desc: descending.
|
|
272
|
+
*/
|
|
273
|
+
sort: pulumi.Input<string>;
|
|
274
|
+
/**
|
|
275
|
+
* Query start time, accurate to the millisecond. Unix timestamp format, representing the number of milliseconds since 1970-1-1 00:00:00 UTC.
|
|
276
|
+
*/
|
|
277
|
+
startTime: pulumi.Input<number>;
|
|
278
|
+
/**
|
|
279
|
+
* Query start time.
|
|
280
|
+
*/
|
|
281
|
+
startTimeStr?: pulumi.Input<string | undefined>;
|
|
282
|
+
/**
|
|
283
|
+
* Download task name. Length range: 1–63 characters.
|
|
284
|
+
*/
|
|
285
|
+
taskName: pulumi.Input<string>;
|
|
286
|
+
/**
|
|
287
|
+
* Type of logs to download. 0: download search-type logs. 1: download analysis-type logs. 2: download context-type logs.
|
|
288
|
+
*/
|
|
289
|
+
taskType?: pulumi.Input<number | undefined>;
|
|
290
|
+
/**
|
|
291
|
+
* Log topic ID to which the download task belongs.
|
|
292
|
+
*/
|
|
293
|
+
topicId: pulumi.Input<string>;
|
|
294
|
+
}
|
|
295
|
+
//# sourceMappingURL=downloadTask.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"downloadTask.d.ts","sourceRoot":"","sources":["../../tls/downloadTask.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,qBAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,YAAY;IAO1I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,YAAY;IAOvD;;OAEG;IACH,SAAwB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAChE;;OAEG;I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ejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.DownloadTask = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Log download task, used to export log data retrieved from a log topic as a file for user download.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
39
|
+
*
|
|
40
|
+
* const example = new volcenginecc.tls.DownloadTask("Example", {
|
|
41
|
+
* topicId: "22fca26e-xxxxx-a3ca-a9bb6d3fb9bd",
|
|
42
|
+
* taskName: "task-saie",
|
|
43
|
+
* query: "",
|
|
44
|
+
* startTime: 1767196800000,
|
|
45
|
+
* endTime: 1783585260783,
|
|
46
|
+
* compression: "gzip",
|
|
47
|
+
* dataFormat: "json",
|
|
48
|
+
* limit: 2000,
|
|
49
|
+
* sort: "desc",
|
|
50
|
+
* taskType: 0,
|
|
51
|
+
* allowIncomplete: false,
|
|
52
|
+
* logContextInfos: {
|
|
53
|
+
* source: "",
|
|
54
|
+
* context_flow: "",
|
|
55
|
+
* package_offset: 0,
|
|
56
|
+
* },
|
|
57
|
+
* mustComplete: true,
|
|
58
|
+
* });
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* ## Import
|
|
62
|
+
*
|
|
63
|
+
* ```sh
|
|
64
|
+
* $ pulumi import volcenginecc:tls/downloadTask:DownloadTask example "topic_id|task_id"
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
class DownloadTask extends pulumi.CustomResource {
|
|
68
|
+
/**
|
|
69
|
+
* Get an existing DownloadTask resource's state with the given name, ID, and optional extra
|
|
70
|
+
* properties used to qualify the lookup.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resulting resource.
|
|
73
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
74
|
+
* @param state Any extra arguments used during the lookup.
|
|
75
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
76
|
+
*/
|
|
77
|
+
static get(name, id, state, opts) {
|
|
78
|
+
return new DownloadTask(name, state, { ...opts, id: id });
|
|
79
|
+
}
|
|
80
|
+
/** @internal */
|
|
81
|
+
static __pulumiType = 'volcenginecc:tls/downloadTask:DownloadTask';
|
|
82
|
+
/**
|
|
83
|
+
* Returns true if the given object is an instance of DownloadTask. This is designed to work even
|
|
84
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
85
|
+
*/
|
|
86
|
+
static isInstance(obj) {
|
|
87
|
+
if (obj === undefined || obj === null) {
|
|
88
|
+
return false;
|
|
89
|
+
}
|
|
90
|
+
return obj['__pulumiType'] === DownloadTask.__pulumiType;
|
|
91
|
+
}
|
|
92
|
+
constructor(name, argsOrState, opts) {
|
|
93
|
+
let resourceInputs = {};
|
|
94
|
+
opts = opts || {};
|
|
95
|
+
if (opts.id) {
|
|
96
|
+
const state = argsOrState;
|
|
97
|
+
resourceInputs["allowIncomplete"] = state?.allowIncomplete;
|
|
98
|
+
resourceInputs["compression"] = state?.compression;
|
|
99
|
+
resourceInputs["createTime"] = state?.createTime;
|
|
100
|
+
resourceInputs["dataFormat"] = state?.dataFormat;
|
|
101
|
+
resourceInputs["endTime"] = state?.endTime;
|
|
102
|
+
resourceInputs["endTimeStr"] = state?.endTimeStr;
|
|
103
|
+
resourceInputs["limit"] = state?.limit;
|
|
104
|
+
resourceInputs["logContextInfos"] = state?.logContextInfos;
|
|
105
|
+
resourceInputs["logCount"] = state?.logCount;
|
|
106
|
+
resourceInputs["logSize"] = state?.logSize;
|
|
107
|
+
resourceInputs["mustComplete"] = state?.mustComplete;
|
|
108
|
+
resourceInputs["query"] = state?.query;
|
|
109
|
+
resourceInputs["sort"] = state?.sort;
|
|
110
|
+
resourceInputs["startTime"] = state?.startTime;
|
|
111
|
+
resourceInputs["startTimeStr"] = state?.startTimeStr;
|
|
112
|
+
resourceInputs["taskId"] = state?.taskId;
|
|
113
|
+
resourceInputs["taskName"] = state?.taskName;
|
|
114
|
+
resourceInputs["taskStatus"] = state?.taskStatus;
|
|
115
|
+
resourceInputs["taskType"] = state?.taskType;
|
|
116
|
+
resourceInputs["topicId"] = state?.topicId;
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
const args = argsOrState;
|
|
120
|
+
if (args?.compression === undefined && !opts.urn) {
|
|
121
|
+
throw new Error("Missing required property 'compression'");
|
|
122
|
+
}
|
|
123
|
+
if (args?.dataFormat === undefined && !opts.urn) {
|
|
124
|
+
throw new Error("Missing required property 'dataFormat'");
|
|
125
|
+
}
|
|
126
|
+
if (args?.endTime === undefined && !opts.urn) {
|
|
127
|
+
throw new Error("Missing required property 'endTime'");
|
|
128
|
+
}
|
|
129
|
+
if (args?.limit === undefined && !opts.urn) {
|
|
130
|
+
throw new Error("Missing required property 'limit'");
|
|
131
|
+
}
|
|
132
|
+
if (args?.sort === undefined && !opts.urn) {
|
|
133
|
+
throw new Error("Missing required property 'sort'");
|
|
134
|
+
}
|
|
135
|
+
if (args?.startTime === undefined && !opts.urn) {
|
|
136
|
+
throw new Error("Missing required property 'startTime'");
|
|
137
|
+
}
|
|
138
|
+
if (args?.taskName === undefined && !opts.urn) {
|
|
139
|
+
throw new Error("Missing required property 'taskName'");
|
|
140
|
+
}
|
|
141
|
+
if (args?.topicId === undefined && !opts.urn) {
|
|
142
|
+
throw new Error("Missing required property 'topicId'");
|
|
143
|
+
}
|
|
144
|
+
resourceInputs["allowIncomplete"] = args?.allowIncomplete;
|
|
145
|
+
resourceInputs["compression"] = args?.compression;
|
|
146
|
+
resourceInputs["dataFormat"] = args?.dataFormat;
|
|
147
|
+
resourceInputs["endTime"] = args?.endTime;
|
|
148
|
+
resourceInputs["endTimeStr"] = args?.endTimeStr;
|
|
149
|
+
resourceInputs["limit"] = args?.limit;
|
|
150
|
+
resourceInputs["logContextInfos"] = args?.logContextInfos;
|
|
151
|
+
resourceInputs["mustComplete"] = args?.mustComplete;
|
|
152
|
+
resourceInputs["query"] = args?.query;
|
|
153
|
+
resourceInputs["sort"] = args?.sort;
|
|
154
|
+
resourceInputs["startTime"] = args?.startTime;
|
|
155
|
+
resourceInputs["startTimeStr"] = args?.startTimeStr;
|
|
156
|
+
resourceInputs["taskName"] = args?.taskName;
|
|
157
|
+
resourceInputs["taskType"] = args?.taskType;
|
|
158
|
+
resourceInputs["topicId"] = args?.topicId;
|
|
159
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
160
|
+
resourceInputs["logCount"] = undefined /*out*/;
|
|
161
|
+
resourceInputs["logSize"] = undefined /*out*/;
|
|
162
|
+
resourceInputs["taskId"] = undefined /*out*/;
|
|
163
|
+
resourceInputs["taskStatus"] = undefined /*out*/;
|
|
164
|
+
}
|
|
165
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
166
|
+
super(DownloadTask.__pulumiType, name, resourceInputs, opts);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
exports.DownloadTask = DownloadTask;
|
|
170
|
+
//# sourceMappingURL=downloadTask.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"downloadTask.js","sourceRoot":"","sources":["../../tls/downloadTask.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,4CAA4C,CAAC;IAEnF;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA2FD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QA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