@volcengine/pulumi-volcenginecc 0.0.31 → 0.0.32
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/cen/getInterRegionBandwidth.d.ts +72 -0
- package/cen/getInterRegionBandwidth.js +28 -0
- package/cen/getInterRegionBandwidth.js.map +1 -0
- package/cen/getInterRegionBandwidths.d.ts +22 -0
- package/cen/getInterRegionBandwidths.js +24 -0
- package/cen/getInterRegionBandwidths.js.map +1 -0
- package/cen/getRouteEntries.d.ts +22 -0
- package/cen/getRouteEntries.js +24 -0
- package/cen/getRouteEntries.js.map +1 -0
- package/cen/getRouteEntry.d.ts +72 -0
- package/cen/getRouteEntry.js +28 -0
- package/cen/getRouteEntry.js.map +1 -0
- package/cen/getServiceRouteEntries.d.ts +22 -0
- package/cen/getServiceRouteEntries.js +24 -0
- package/cen/getServiceRouteEntries.js.map +1 -0
- package/cen/getServiceRouteEntry.d.ts +73 -0
- package/cen/getServiceRouteEntry.js +28 -0
- package/cen/getServiceRouteEntry.js.map +1 -0
- package/cen/index.d.ts +27 -0
- package/cen/index.js +34 -1
- package/cen/index.js.map +1 -1
- package/cen/interRegionBandwidth.d.ts +152 -0
- package/cen/interRegionBandwidth.js +101 -0
- package/cen/interRegionBandwidth.js.map +1 -0
- package/cen/routeEntry.d.ts +152 -0
- package/cen/routeEntry.js +104 -0
- package/cen/routeEntry.js.map +1 -0
- package/cen/serviceRouteEntry.d.ts +138 -0
- package/cen/serviceRouteEntry.js +83 -0
- package/cen/serviceRouteEntry.js.map +1 -0
- package/clb/getListener.d.ts +4 -0
- package/clb/getListener.js.map +1 -1
- package/clb/listener.d.ts +3 -0
- package/clb/listener.js +2 -0
- package/clb/listener.js.map +1 -1
- package/mongodb/getSslState.d.ts +56 -0
- package/mongodb/getSslState.js +28 -0
- package/mongodb/getSslState.js.map +1 -0
- package/mongodb/getSslStates.d.ts +22 -0
- package/mongodb/getSslStates.js +24 -0
- package/mongodb/getSslStates.js.map +1 -0
- package/mongodb/index.d.ts +9 -0
- package/mongodb/index.js +12 -1
- package/mongodb/index.js.map +1 -1
- package/mongodb/sslState.d.ts +105 -0
- package/mongodb/sslState.js +81 -0
- package/mongodb/sslState.js.map +1 -0
- package/package.json +1 -1
- package/privatelink/endpointService.d.ts +15 -3
- package/privatelink/endpointService.js +2 -0
- package/privatelink/endpointService.js.map +1 -1
- package/privatelink/getEndpointService.d.ts +5 -1
- package/privatelink/getEndpointService.js.map +1 -1
- package/privatelink/getVpcEndpointConnection.d.ts +89 -0
- package/privatelink/getVpcEndpointConnection.js +28 -0
- package/privatelink/getVpcEndpointConnection.js.map +1 -0
- package/privatelink/getVpcEndpointConnections.d.ts +22 -0
- package/privatelink/getVpcEndpointConnections.js +24 -0
- package/privatelink/getVpcEndpointConnections.js.map +1 -0
- package/privatelink/index.d.ts +9 -0
- package/privatelink/index.js +12 -1
- package/privatelink/index.js.map +1 -1
- package/privatelink/vpcEndpointConnection.d.ts +156 -0
- package/privatelink/vpcEndpointConnection.js +88 -0
- package/privatelink/vpcEndpointConnection.js.map +1 -0
- package/rabbitmq/allowList.d.ts +151 -0
- package/rabbitmq/allowList.js +100 -0
- package/rabbitmq/allowList.js.map +1 -0
- package/rabbitmq/getAllowList.d.ts +73 -0
- package/rabbitmq/getAllowList.js +28 -0
- package/rabbitmq/getAllowList.js.map +1 -0
- package/rabbitmq/getAllowLists.d.ts +22 -0
- package/rabbitmq/getAllowLists.js +24 -0
- package/rabbitmq/getAllowLists.js.map +1 -0
- package/rabbitmq/index.d.ts +9 -0
- package/rabbitmq/index.js +12 -1
- package/rabbitmq/index.js.map +1 -1
- package/redis/allowList.d.ts +148 -0
- package/redis/allowList.js +78 -0
- package/redis/allowList.js.map +1 -0
- package/redis/getAllowList.d.ts +81 -0
- package/redis/getAllowList.js +28 -0
- package/redis/getAllowList.js.map +1 -0
- package/redis/getAllowLists.d.ts +22 -0
- package/redis/getAllowLists.js +24 -0
- package/redis/getAllowLists.js.map +1 -0
- package/redis/index.d.ts +9 -0
- package/redis/index.js +12 -1
- package/redis/index.js.map +1 -1
- package/storageebs/getSnapshotGroup.d.ts +81 -0
- package/storageebs/getSnapshotGroup.js +28 -0
- package/storageebs/getSnapshotGroup.js.map +1 -0
- package/storageebs/getSnapshotGroups.d.ts +22 -0
- package/storageebs/getSnapshotGroups.js +24 -0
- package/storageebs/getSnapshotGroups.js.map +1 -0
- package/storageebs/index.d.ts +9 -0
- package/storageebs/index.js +12 -1
- package/storageebs/index.js.map +1 -1
- package/storageebs/snapshotGroup.d.ts +168 -0
- package/storageebs/snapshotGroup.js +105 -0
- package/storageebs/snapshotGroup.js.map +1 -0
- package/tls/alarmNotifyGroup.d.ts +113 -0
- package/tls/alarmNotifyGroup.js +75 -0
- package/tls/alarmNotifyGroup.js.map +1 -0
- package/tls/getAlarmNotifyGroup.d.ts +69 -0
- package/tls/getAlarmNotifyGroup.js +28 -0
- package/tls/getAlarmNotifyGroup.js.map +1 -0
- package/tls/getAlarmNotifyGroups.d.ts +22 -0
- package/tls/getAlarmNotifyGroups.js +24 -0
- package/tls/getAlarmNotifyGroups.js.map +1 -0
- package/tls/getRule.d.ts +109 -0
- package/tls/getRule.js +28 -0
- package/tls/getRule.js.map +1 -0
- package/tls/getRules.d.ts +22 -0
- package/tls/getRules.js +24 -0
- package/tls/getRules.js.map +1 -0
- package/tls/getShipper.d.ts +101 -0
- package/tls/getShipper.js +28 -0
- package/tls/getShipper.js.map +1 -0
- package/tls/getShippers.d.ts +22 -0
- package/tls/getShippers.js +24 -0
- package/tls/getShippers.js.map +1 -0
- package/tls/index.d.ts +27 -0
- package/tls/index.js +34 -1
- package/tls/index.js.map +1 -1
- package/tls/rule.d.ts +221 -0
- package/tls/rule.js +98 -0
- package/tls/rule.js.map +1 -0
- package/tls/shipper.d.ts +211 -0
- package/tls/shipper.js +97 -0
- package/tls/shipper.js.map +1 -0
- package/tos/bucketEncryption.d.ts +94 -0
- package/tos/bucketEncryption.js +78 -0
- package/tos/bucketEncryption.js.map +1 -0
- package/tos/bucketInventory.d.ts +155 -0
- package/tos/bucketInventory.js +95 -0
- package/tos/bucketInventory.js.map +1 -0
- package/tos/getBucketEncryption.d.ts +48 -0
- package/tos/getBucketEncryption.js +28 -0
- package/tos/getBucketEncryption.js.map +1 -0
- package/tos/getBucketEncryptions.d.ts +22 -0
- package/tos/getBucketEncryptions.js +24 -0
- package/tos/getBucketEncryptions.js.map +1 -0
- package/tos/getBucketInventories.d.ts +22 -0
- package/tos/getBucketInventories.js +24 -0
- package/tos/getBucketInventories.js.map +1 -0
- package/tos/getBucketInventory.d.ts +73 -0
- package/tos/getBucketInventory.js +28 -0
- package/tos/getBucketInventory.js.map +1 -0
- package/tos/index.d.ts +18 -0
- package/tos/index.js +23 -1
- package/tos/index.js.map +1 -1
- package/types/input.d.ts +934 -31
- package/types/output.d.ts +2309 -360
- package/vefaas/getRelease.d.ts +120 -0
- package/vefaas/getRelease.js +28 -0
- package/vefaas/getRelease.js.map +1 -0
- package/vefaas/getReleases.d.ts +22 -0
- package/vefaas/getReleases.js +24 -0
- package/vefaas/getReleases.js.map +1 -0
- package/vefaas/index.d.ts +9 -0
- package/vefaas/index.js +12 -1
- package/vefaas/index.js.map +1 -1
- package/vefaas/release.d.ts +253 -0
- package/vefaas/release.js +120 -0
- package/vefaas/release.js.map +1 -0
- package/vepfs/getMountService.d.ts +93 -0
- package/vepfs/getMountService.js +28 -0
- package/vepfs/getMountService.js.map +1 -0
- package/vepfs/getMountServices.d.ts +22 -0
- package/vepfs/getMountServices.js +24 -0
- package/vepfs/getMountServices.js.map +1 -0
- package/vepfs/index.d.ts +9 -0
- package/vepfs/index.js +12 -1
- package/vepfs/index.js.map +1 -1
- package/vepfs/mountService.d.ts +172 -0
- package/vepfs/mountService.js +99 -0
- package/vepfs/mountService.js.map +1 -0
- package/vke/getKubeconfig.d.ts +72 -0
- package/vke/getKubeconfig.js +28 -0
- package/vke/getKubeconfig.js.map +1 -0
- package/vke/getKubeconfigs.d.ts +22 -0
- package/vke/getKubeconfigs.js +24 -0
- package/vke/getKubeconfigs.js.map +1 -0
- package/vke/index.d.ts +9 -0
- package/vke/index.js +12 -1
- package/vke/index.js.map +1 -1
- package/vke/kubeconfig.d.ts +142 -0
- package/vke/kubeconfig.js +93 -0
- package/vke/kubeconfig.js.map +1 -0
package/tls/rule.d.ts
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* The log service provides log collection tools such as LogCollector and multi-language SDKs, supports various log collection methods, is compatible with open-source protocol frameworks like Kafka and OpenTelemetry, and supports log data collection from host applications, K8s clusters, mobile clients, Volcano Engine cloud products, and other cloud vendors.
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import volcenginecc:tls/rule:Rule example "rule_id"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class Rule extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing Rule resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RuleState, opts?: pulumi.CustomResourceOptions): Rule;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Rule. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is Rule;
|
|
29
|
+
/**
|
|
30
|
+
* Container log collection rules.
|
|
31
|
+
*/
|
|
32
|
+
readonly containerRule: pulumi.Output<outputs.tls.RuleContainerRule>;
|
|
33
|
+
/**
|
|
34
|
+
* Time when the collection configuration was created.
|
|
35
|
+
*/
|
|
36
|
+
readonly createTime: pulumi.Output<string>;
|
|
37
|
+
readonly excludePaths: pulumi.Output<outputs.tls.RuleExcludePath[]>;
|
|
38
|
+
/**
|
|
39
|
+
* Log extraction rules. Note: This parameter is required if LogType is set to any type other than minimalist*log or json*log.
|
|
40
|
+
*/
|
|
41
|
+
readonly extractRule: pulumi.Output<outputs.tls.RuleExtractRule>;
|
|
42
|
+
readonly hostGroupInfos: pulumi.Output<outputs.tls.RuleHostGroupInfo[]>;
|
|
43
|
+
/**
|
|
44
|
+
* Collection type. 0: (Default) Host log file. 1: K8s container stdout. 2: K8s container internal log file.
|
|
45
|
+
*/
|
|
46
|
+
readonly inputType: pulumi.Output<number>;
|
|
47
|
+
/**
|
|
48
|
+
* Log sample. Maximum length is 3000 characters. Log sample content must match the collection mode. Single-line full-text mode and JSON mode do not require a log sample. Other modes require a log sample, and the content must match the collection mode.
|
|
49
|
+
*/
|
|
50
|
+
readonly logSample: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Collection mode. minimalist*log: (Default) Single-line full-text mode. json*log: JSON mode. delimiter*log: Delimiter mode. multiline*log: Multi-line full-text mode. fullregex_log: Full regex mode.
|
|
53
|
+
*/
|
|
54
|
+
readonly logType: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Collection configuration modification time.
|
|
57
|
+
*/
|
|
58
|
+
readonly modifyTime: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Collection path list. You can create up to 10 collection paths. Collection paths must be specified as absolute paths; relative paths are not supported. When InputType=0 or InputType=2, collection paths support exact match and wildcard mode. Wildcards only support **, *, and ?, but you can configure at most one ** wildcard. When InputType=1, you do not need to configure the collection path list.
|
|
61
|
+
*/
|
|
62
|
+
readonly paths: pulumi.Output<string[]>;
|
|
63
|
+
/**
|
|
64
|
+
* Collection configuration status. 0: Running. 1: Paused.
|
|
65
|
+
*/
|
|
66
|
+
readonly pause: pulumi.Output<number>;
|
|
67
|
+
/**
|
|
68
|
+
* ID of the project to which the collection configuration belongs.
|
|
69
|
+
*/
|
|
70
|
+
readonly projectId: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Name of the project to which the collection configuration belongs
|
|
73
|
+
*/
|
|
74
|
+
readonly projectName: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Collection configuration ID.
|
|
77
|
+
*/
|
|
78
|
+
readonly ruleId: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Collection configuration name. Please refer to the resource naming rules. Must be unique within a log topic.
|
|
81
|
+
*/
|
|
82
|
+
readonly ruleName: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Log topic ID to which the collection configuration belongs.
|
|
85
|
+
*/
|
|
86
|
+
readonly topicId: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Name of the log topic to which the collection configuration belongs.
|
|
89
|
+
*/
|
|
90
|
+
readonly topicName: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* User-defined collection rules.
|
|
93
|
+
*/
|
|
94
|
+
readonly userDefineRule: pulumi.Output<outputs.tls.RuleUserDefineRule>;
|
|
95
|
+
/**
|
|
96
|
+
* Create a Rule resource with the given unique name, arguments, and options.
|
|
97
|
+
*
|
|
98
|
+
* @param name The _unique_ name of the resource.
|
|
99
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
100
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
101
|
+
*/
|
|
102
|
+
constructor(name: string, args: RuleArgs, opts?: pulumi.CustomResourceOptions);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Input properties used for looking up and filtering Rule resources.
|
|
106
|
+
*/
|
|
107
|
+
export interface RuleState {
|
|
108
|
+
/**
|
|
109
|
+
* Container log collection rules.
|
|
110
|
+
*/
|
|
111
|
+
containerRule?: pulumi.Input<inputs.tls.RuleContainerRule>;
|
|
112
|
+
/**
|
|
113
|
+
* Time when the collection configuration was created.
|
|
114
|
+
*/
|
|
115
|
+
createTime?: pulumi.Input<string>;
|
|
116
|
+
excludePaths?: pulumi.Input<pulumi.Input<inputs.tls.RuleExcludePath>[]>;
|
|
117
|
+
/**
|
|
118
|
+
* Log extraction rules. Note: This parameter is required if LogType is set to any type other than minimalist*log or json*log.
|
|
119
|
+
*/
|
|
120
|
+
extractRule?: pulumi.Input<inputs.tls.RuleExtractRule>;
|
|
121
|
+
hostGroupInfos?: pulumi.Input<pulumi.Input<inputs.tls.RuleHostGroupInfo>[]>;
|
|
122
|
+
/**
|
|
123
|
+
* Collection type. 0: (Default) Host log file. 1: K8s container stdout. 2: K8s container internal log file.
|
|
124
|
+
*/
|
|
125
|
+
inputType?: pulumi.Input<number>;
|
|
126
|
+
/**
|
|
127
|
+
* Log sample. Maximum length is 3000 characters. Log sample content must match the collection mode. Single-line full-text mode and JSON mode do not require a log sample. Other modes require a log sample, and the content must match the collection mode.
|
|
128
|
+
*/
|
|
129
|
+
logSample?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Collection mode. minimalist*log: (Default) Single-line full-text mode. json*log: JSON mode. delimiter*log: Delimiter mode. multiline*log: Multi-line full-text mode. fullregex_log: Full regex mode.
|
|
132
|
+
*/
|
|
133
|
+
logType?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Collection configuration modification time.
|
|
136
|
+
*/
|
|
137
|
+
modifyTime?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Collection path list. You can create up to 10 collection paths. Collection paths must be specified as absolute paths; relative paths are not supported. When InputType=0 or InputType=2, collection paths support exact match and wildcard mode. Wildcards only support **, *, and ?, but you can configure at most one ** wildcard. When InputType=1, you do not need to configure the collection path list.
|
|
140
|
+
*/
|
|
141
|
+
paths?: pulumi.Input<pulumi.Input<string>[]>;
|
|
142
|
+
/**
|
|
143
|
+
* Collection configuration status. 0: Running. 1: Paused.
|
|
144
|
+
*/
|
|
145
|
+
pause?: pulumi.Input<number>;
|
|
146
|
+
/**
|
|
147
|
+
* ID of the project to which the collection configuration belongs.
|
|
148
|
+
*/
|
|
149
|
+
projectId?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Name of the project to which the collection configuration belongs
|
|
152
|
+
*/
|
|
153
|
+
projectName?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* Collection configuration ID.
|
|
156
|
+
*/
|
|
157
|
+
ruleId?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* Collection configuration name. Please refer to the resource naming rules. Must be unique within a log topic.
|
|
160
|
+
*/
|
|
161
|
+
ruleName?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* Log topic ID to which the collection configuration belongs.
|
|
164
|
+
*/
|
|
165
|
+
topicId?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* Name of the log topic to which the collection configuration belongs.
|
|
168
|
+
*/
|
|
169
|
+
topicName?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* User-defined collection rules.
|
|
172
|
+
*/
|
|
173
|
+
userDefineRule?: pulumi.Input<inputs.tls.RuleUserDefineRule>;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* The set of arguments for constructing a Rule resource.
|
|
177
|
+
*/
|
|
178
|
+
export interface RuleArgs {
|
|
179
|
+
/**
|
|
180
|
+
* Container log collection rules.
|
|
181
|
+
*/
|
|
182
|
+
containerRule?: pulumi.Input<inputs.tls.RuleContainerRule>;
|
|
183
|
+
excludePaths?: pulumi.Input<pulumi.Input<inputs.tls.RuleExcludePath>[]>;
|
|
184
|
+
/**
|
|
185
|
+
* Log extraction rules. Note: This parameter is required if LogType is set to any type other than minimalist*log or json*log.
|
|
186
|
+
*/
|
|
187
|
+
extractRule?: pulumi.Input<inputs.tls.RuleExtractRule>;
|
|
188
|
+
hostGroupInfos?: pulumi.Input<pulumi.Input<inputs.tls.RuleHostGroupInfo>[]>;
|
|
189
|
+
/**
|
|
190
|
+
* Collection type. 0: (Default) Host log file. 1: K8s container stdout. 2: K8s container internal log file.
|
|
191
|
+
*/
|
|
192
|
+
inputType?: pulumi.Input<number>;
|
|
193
|
+
/**
|
|
194
|
+
* Log sample. Maximum length is 3000 characters. Log sample content must match the collection mode. Single-line full-text mode and JSON mode do not require a log sample. Other modes require a log sample, and the content must match the collection mode.
|
|
195
|
+
*/
|
|
196
|
+
logSample?: pulumi.Input<string>;
|
|
197
|
+
/**
|
|
198
|
+
* Collection mode. minimalist*log: (Default) Single-line full-text mode. json*log: JSON mode. delimiter*log: Delimiter mode. multiline*log: Multi-line full-text mode. fullregex_log: Full regex mode.
|
|
199
|
+
*/
|
|
200
|
+
logType?: pulumi.Input<string>;
|
|
201
|
+
/**
|
|
202
|
+
* Collection path list. You can create up to 10 collection paths. Collection paths must be specified as absolute paths; relative paths are not supported. When InputType=0 or InputType=2, collection paths support exact match and wildcard mode. Wildcards only support **, *, and ?, but you can configure at most one ** wildcard. When InputType=1, you do not need to configure the collection path list.
|
|
203
|
+
*/
|
|
204
|
+
paths?: pulumi.Input<pulumi.Input<string>[]>;
|
|
205
|
+
/**
|
|
206
|
+
* Collection configuration status. 0: Running. 1: Paused.
|
|
207
|
+
*/
|
|
208
|
+
pause?: pulumi.Input<number>;
|
|
209
|
+
/**
|
|
210
|
+
* Collection configuration name. Please refer to the resource naming rules. Must be unique within a log topic.
|
|
211
|
+
*/
|
|
212
|
+
ruleName: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* Log topic ID to which the collection configuration belongs.
|
|
215
|
+
*/
|
|
216
|
+
topicId: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* User-defined collection rules.
|
|
219
|
+
*/
|
|
220
|
+
userDefineRule?: pulumi.Input<inputs.tls.RuleUserDefineRule>;
|
|
221
|
+
}
|
package/tls/rule.js
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Rule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The log service provides log collection tools such as LogCollector and multi-language SDKs, supports various log collection methods, is compatible with open-source protocol frameworks like Kafka and OpenTelemetry, and supports log data collection from host applications, K8s clusters, mobile clients, Volcano Engine cloud products, and other cloud vendors.
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import volcenginecc:tls/rule:Rule example "rule_id"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class Rule extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing Rule resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new Rule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of Rule. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === Rule.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["containerRule"] = state ? state.containerRule : undefined;
|
|
46
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
47
|
+
resourceInputs["excludePaths"] = state ? state.excludePaths : undefined;
|
|
48
|
+
resourceInputs["extractRule"] = state ? state.extractRule : undefined;
|
|
49
|
+
resourceInputs["hostGroupInfos"] = state ? state.hostGroupInfos : undefined;
|
|
50
|
+
resourceInputs["inputType"] = state ? state.inputType : undefined;
|
|
51
|
+
resourceInputs["logSample"] = state ? state.logSample : undefined;
|
|
52
|
+
resourceInputs["logType"] = state ? state.logType : undefined;
|
|
53
|
+
resourceInputs["modifyTime"] = state ? state.modifyTime : undefined;
|
|
54
|
+
resourceInputs["paths"] = state ? state.paths : undefined;
|
|
55
|
+
resourceInputs["pause"] = state ? state.pause : undefined;
|
|
56
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
57
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
58
|
+
resourceInputs["ruleId"] = state ? state.ruleId : undefined;
|
|
59
|
+
resourceInputs["ruleName"] = state ? state.ruleName : undefined;
|
|
60
|
+
resourceInputs["topicId"] = state ? state.topicId : undefined;
|
|
61
|
+
resourceInputs["topicName"] = state ? state.topicName : undefined;
|
|
62
|
+
resourceInputs["userDefineRule"] = state ? state.userDefineRule : undefined;
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
const args = argsOrState;
|
|
66
|
+
if ((!args || args.ruleName === undefined) && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'ruleName'");
|
|
68
|
+
}
|
|
69
|
+
if ((!args || args.topicId === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'topicId'");
|
|
71
|
+
}
|
|
72
|
+
resourceInputs["containerRule"] = args ? args.containerRule : undefined;
|
|
73
|
+
resourceInputs["excludePaths"] = args ? args.excludePaths : undefined;
|
|
74
|
+
resourceInputs["extractRule"] = args ? args.extractRule : undefined;
|
|
75
|
+
resourceInputs["hostGroupInfos"] = args ? args.hostGroupInfos : undefined;
|
|
76
|
+
resourceInputs["inputType"] = args ? args.inputType : undefined;
|
|
77
|
+
resourceInputs["logSample"] = args ? args.logSample : undefined;
|
|
78
|
+
resourceInputs["logType"] = args ? args.logType : undefined;
|
|
79
|
+
resourceInputs["paths"] = args ? args.paths : undefined;
|
|
80
|
+
resourceInputs["pause"] = args ? args.pause : undefined;
|
|
81
|
+
resourceInputs["ruleName"] = args ? args.ruleName : undefined;
|
|
82
|
+
resourceInputs["topicId"] = args ? args.topicId : undefined;
|
|
83
|
+
resourceInputs["userDefineRule"] = args ? args.userDefineRule : undefined;
|
|
84
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["modifyTime"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["projectId"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["projectName"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["ruleId"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["topicName"] = undefined /*out*/;
|
|
90
|
+
}
|
|
91
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
92
|
+
super(Rule.__pulumiType, name, resourceInputs, opts);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.Rule = Rule;
|
|
96
|
+
/** @internal */
|
|
97
|
+
Rule.__pulumiType = 'volcenginecc:tls/rule:Rule';
|
|
98
|
+
//# sourceMappingURL=rule.js.map
|
package/tls/rule.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule.js","sourceRoot":"","sources":["../../tls/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,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA3JL,oBA4JC;AA9IG,gBAAgB;AACO,iBAAY,GAAG,4BAA4B,CAAC"}
|
package/tls/shipper.d.ts
ADDED
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Log delivery refers to sending data collected by the log service to TOS or other products for scenarios such as long-term storage of infrequently accessed data, integration with other systems for consumption, or data analysis.
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import volcenginecc:tls/shipper:Shipper example "shipper_id"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class Shipper extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing Shipper resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ShipperState, opts?: pulumi.CustomResourceOptions): Shipper;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Shipper. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is Shipper;
|
|
29
|
+
/**
|
|
30
|
+
* Log content delivery format configuration.
|
|
31
|
+
*/
|
|
32
|
+
readonly contentInfo: pulumi.Output<outputs.tls.ShipperContentInfo>;
|
|
33
|
+
/**
|
|
34
|
+
* Creation time.
|
|
35
|
+
*/
|
|
36
|
+
readonly createdTime: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Default built-in dashboard ID for delivery.
|
|
39
|
+
*/
|
|
40
|
+
readonly dashboardId: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Kafka delivery configuration.
|
|
43
|
+
*/
|
|
44
|
+
readonly kafkaShipperInfo: pulumi.Output<outputs.tls.ShipperKafkaShipperInfo>;
|
|
45
|
+
/**
|
|
46
|
+
* Log project ID.
|
|
47
|
+
*/
|
|
48
|
+
readonly projectId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Log project name.
|
|
51
|
+
*/
|
|
52
|
+
readonly projectName: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Delivery end time, in milliseconds. Note: Millisecond data will be ignored. For example, if 1776761323455 is entered, the result will be 1776761323000; if 1776761323 is entered, the result will be 1776761323000.
|
|
55
|
+
*/
|
|
56
|
+
readonly shipperEndTime: pulumi.Output<number>;
|
|
57
|
+
/**
|
|
58
|
+
* Delivery configuration ID.
|
|
59
|
+
*/
|
|
60
|
+
readonly shipperId: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Delivery configuration name, unique within a log project.
|
|
63
|
+
*/
|
|
64
|
+
readonly shipperName: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Delivery start time, in milliseconds. When delivering to Kafka, it is recommended to use the ShipperStartTime and ShipperEndTime fields to configure the delivery time range, and leave the StartTime and EndTime fields empty. Note: Millisecond data will be ignored. For example, if 1776761323455 is entered, the result will be 1776761323000; if 1776761323 is entered, the result will be 1776761323000.
|
|
67
|
+
*/
|
|
68
|
+
readonly shipperStartTime: pulumi.Output<number>;
|
|
69
|
+
/**
|
|
70
|
+
* Type of data source for delivery. Options: tos, kafka. Default is tos.
|
|
71
|
+
*/
|
|
72
|
+
readonly shipperType: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Whether to enable delivery configuration. Default is true.
|
|
75
|
+
*/
|
|
76
|
+
readonly status: pulumi.Output<boolean>;
|
|
77
|
+
/**
|
|
78
|
+
* Log topic ID.
|
|
79
|
+
*/
|
|
80
|
+
readonly topicId: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Log topic name.
|
|
83
|
+
*/
|
|
84
|
+
readonly topicName: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Information related to delivery to TOS object storage.
|
|
87
|
+
*/
|
|
88
|
+
readonly tosShipperInfo: pulumi.Output<outputs.tls.ShipperTosShipperInfo>;
|
|
89
|
+
/**
|
|
90
|
+
* Update time.
|
|
91
|
+
*/
|
|
92
|
+
readonly updatedTime: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Create a Shipper resource with the given unique name, arguments, and options.
|
|
95
|
+
*
|
|
96
|
+
* @param name The _unique_ name of the resource.
|
|
97
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
98
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
99
|
+
*/
|
|
100
|
+
constructor(name: string, args: ShipperArgs, opts?: pulumi.CustomResourceOptions);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Input properties used for looking up and filtering Shipper resources.
|
|
104
|
+
*/
|
|
105
|
+
export interface ShipperState {
|
|
106
|
+
/**
|
|
107
|
+
* Log content delivery format configuration.
|
|
108
|
+
*/
|
|
109
|
+
contentInfo?: pulumi.Input<inputs.tls.ShipperContentInfo>;
|
|
110
|
+
/**
|
|
111
|
+
* Creation time.
|
|
112
|
+
*/
|
|
113
|
+
createdTime?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Default built-in dashboard ID for delivery.
|
|
116
|
+
*/
|
|
117
|
+
dashboardId?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Kafka delivery configuration.
|
|
120
|
+
*/
|
|
121
|
+
kafkaShipperInfo?: pulumi.Input<inputs.tls.ShipperKafkaShipperInfo>;
|
|
122
|
+
/**
|
|
123
|
+
* Log project ID.
|
|
124
|
+
*/
|
|
125
|
+
projectId?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Log project name.
|
|
128
|
+
*/
|
|
129
|
+
projectName?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Delivery end time, in milliseconds. Note: Millisecond data will be ignored. For example, if 1776761323455 is entered, the result will be 1776761323000; if 1776761323 is entered, the result will be 1776761323000.
|
|
132
|
+
*/
|
|
133
|
+
shipperEndTime?: pulumi.Input<number>;
|
|
134
|
+
/**
|
|
135
|
+
* Delivery configuration ID.
|
|
136
|
+
*/
|
|
137
|
+
shipperId?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Delivery configuration name, unique within a log project.
|
|
140
|
+
*/
|
|
141
|
+
shipperName?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Delivery start time, in milliseconds. When delivering to Kafka, it is recommended to use the ShipperStartTime and ShipperEndTime fields to configure the delivery time range, and leave the StartTime and EndTime fields empty. Note: Millisecond data will be ignored. For example, if 1776761323455 is entered, the result will be 1776761323000; if 1776761323 is entered, the result will be 1776761323000.
|
|
144
|
+
*/
|
|
145
|
+
shipperStartTime?: pulumi.Input<number>;
|
|
146
|
+
/**
|
|
147
|
+
* Type of data source for delivery. Options: tos, kafka. Default is tos.
|
|
148
|
+
*/
|
|
149
|
+
shipperType?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Whether to enable delivery configuration. Default is true.
|
|
152
|
+
*/
|
|
153
|
+
status?: pulumi.Input<boolean>;
|
|
154
|
+
/**
|
|
155
|
+
* Log topic ID.
|
|
156
|
+
*/
|
|
157
|
+
topicId?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* Log topic name.
|
|
160
|
+
*/
|
|
161
|
+
topicName?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* Information related to delivery to TOS object storage.
|
|
164
|
+
*/
|
|
165
|
+
tosShipperInfo?: pulumi.Input<inputs.tls.ShipperTosShipperInfo>;
|
|
166
|
+
/**
|
|
167
|
+
* Update time.
|
|
168
|
+
*/
|
|
169
|
+
updatedTime?: pulumi.Input<string>;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* The set of arguments for constructing a Shipper resource.
|
|
173
|
+
*/
|
|
174
|
+
export interface ShipperArgs {
|
|
175
|
+
/**
|
|
176
|
+
* Log content delivery format configuration.
|
|
177
|
+
*/
|
|
178
|
+
contentInfo: pulumi.Input<inputs.tls.ShipperContentInfo>;
|
|
179
|
+
/**
|
|
180
|
+
* Kafka delivery configuration.
|
|
181
|
+
*/
|
|
182
|
+
kafkaShipperInfo?: pulumi.Input<inputs.tls.ShipperKafkaShipperInfo>;
|
|
183
|
+
/**
|
|
184
|
+
* Delivery end time, in milliseconds. Note: Millisecond data will be ignored. For example, if 1776761323455 is entered, the result will be 1776761323000; if 1776761323 is entered, the result will be 1776761323000.
|
|
185
|
+
*/
|
|
186
|
+
shipperEndTime?: pulumi.Input<number>;
|
|
187
|
+
/**
|
|
188
|
+
* Delivery configuration name, unique within a log project.
|
|
189
|
+
*/
|
|
190
|
+
shipperName: pulumi.Input<string>;
|
|
191
|
+
/**
|
|
192
|
+
* Delivery start time, in milliseconds. When delivering to Kafka, it is recommended to use the ShipperStartTime and ShipperEndTime fields to configure the delivery time range, and leave the StartTime and EndTime fields empty. Note: Millisecond data will be ignored. For example, if 1776761323455 is entered, the result will be 1776761323000; if 1776761323 is entered, the result will be 1776761323000.
|
|
193
|
+
*/
|
|
194
|
+
shipperStartTime?: pulumi.Input<number>;
|
|
195
|
+
/**
|
|
196
|
+
* Type of data source for delivery. Options: tos, kafka. Default is tos.
|
|
197
|
+
*/
|
|
198
|
+
shipperType?: pulumi.Input<string>;
|
|
199
|
+
/**
|
|
200
|
+
* Whether to enable delivery configuration. Default is true.
|
|
201
|
+
*/
|
|
202
|
+
status?: pulumi.Input<boolean>;
|
|
203
|
+
/**
|
|
204
|
+
* Log topic ID.
|
|
205
|
+
*/
|
|
206
|
+
topicId: pulumi.Input<string>;
|
|
207
|
+
/**
|
|
208
|
+
* Information related to delivery to TOS object storage.
|
|
209
|
+
*/
|
|
210
|
+
tosShipperInfo?: pulumi.Input<inputs.tls.ShipperTosShipperInfo>;
|
|
211
|
+
}
|
package/tls/shipper.js
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Shipper = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Log delivery refers to sending data collected by the log service to TOS or other products for scenarios such as long-term storage of infrequently accessed data, integration with other systems for consumption, or data analysis.
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import volcenginecc:tls/shipper:Shipper example "shipper_id"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class Shipper extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing Shipper resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new Shipper(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of Shipper. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === Shipper.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["contentInfo"] = state ? state.contentInfo : undefined;
|
|
46
|
+
resourceInputs["createdTime"] = state ? state.createdTime : undefined;
|
|
47
|
+
resourceInputs["dashboardId"] = state ? state.dashboardId : undefined;
|
|
48
|
+
resourceInputs["kafkaShipperInfo"] = state ? state.kafkaShipperInfo : undefined;
|
|
49
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
50
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
51
|
+
resourceInputs["shipperEndTime"] = state ? state.shipperEndTime : undefined;
|
|
52
|
+
resourceInputs["shipperId"] = state ? state.shipperId : undefined;
|
|
53
|
+
resourceInputs["shipperName"] = state ? state.shipperName : undefined;
|
|
54
|
+
resourceInputs["shipperStartTime"] = state ? state.shipperStartTime : undefined;
|
|
55
|
+
resourceInputs["shipperType"] = state ? state.shipperType : undefined;
|
|
56
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
57
|
+
resourceInputs["topicId"] = state ? state.topicId : undefined;
|
|
58
|
+
resourceInputs["topicName"] = state ? state.topicName : undefined;
|
|
59
|
+
resourceInputs["tosShipperInfo"] = state ? state.tosShipperInfo : undefined;
|
|
60
|
+
resourceInputs["updatedTime"] = state ? state.updatedTime : undefined;
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
const args = argsOrState;
|
|
64
|
+
if ((!args || args.contentInfo === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'contentInfo'");
|
|
66
|
+
}
|
|
67
|
+
if ((!args || args.shipperName === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'shipperName'");
|
|
69
|
+
}
|
|
70
|
+
if ((!args || args.topicId === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'topicId'");
|
|
72
|
+
}
|
|
73
|
+
resourceInputs["contentInfo"] = args ? args.contentInfo : undefined;
|
|
74
|
+
resourceInputs["kafkaShipperInfo"] = args ? args.kafkaShipperInfo : undefined;
|
|
75
|
+
resourceInputs["shipperEndTime"] = args ? args.shipperEndTime : undefined;
|
|
76
|
+
resourceInputs["shipperName"] = args ? args.shipperName : undefined;
|
|
77
|
+
resourceInputs["shipperStartTime"] = args ? args.shipperStartTime : undefined;
|
|
78
|
+
resourceInputs["shipperType"] = args ? args.shipperType : undefined;
|
|
79
|
+
resourceInputs["status"] = args ? args.status : undefined;
|
|
80
|
+
resourceInputs["topicId"] = args ? args.topicId : undefined;
|
|
81
|
+
resourceInputs["tosShipperInfo"] = args ? args.tosShipperInfo : undefined;
|
|
82
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["dashboardId"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["projectId"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["projectName"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["shipperId"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["topicName"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["updatedTime"] = undefined /*out*/;
|
|
89
|
+
}
|
|
90
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
91
|
+
super(Shipper.__pulumiType, name, resourceInputs, opts);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.Shipper = Shipper;
|
|
95
|
+
/** @internal */
|
|
96
|
+
Shipper.__pulumiType = 'volcenginecc:tls/shipper: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