@volcengine/pulumi 0.0.33 → 0.0.35

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.
Files changed (303) hide show
  1. package/apig/apigCustomDomain.d.ts +244 -0
  2. package/apig/apigCustomDomain.js +167 -0
  3. package/apig/apigCustomDomain.js.map +1 -0
  4. package/apig/apigGateway.d.ts +262 -0
  5. package/apig/apigGateway.js +150 -0
  6. package/apig/apigGateway.js.map +1 -0
  7. package/apig/apigGatewayService.d.ts +206 -0
  8. package/apig/apigGatewayService.js +159 -0
  9. package/apig/apigGatewayService.js.map +1 -0
  10. package/apig/apigRoute.d.ts +397 -0
  11. package/apig/apigRoute.js +299 -0
  12. package/apig/apigRoute.js.map +1 -0
  13. package/apig/apigUpstream.d.ts +375 -0
  14. package/apig/apigUpstream.js +278 -0
  15. package/apig/apigUpstream.js.map +1 -0
  16. package/apig/apigUpstreamSource.d.ts +214 -0
  17. package/apig/apigUpstreamSource.js +182 -0
  18. package/apig/apigUpstreamSource.js.map +1 -0
  19. package/apig/apigUpstreamVersion.d.ts +211 -0
  20. package/apig/apigUpstreamVersion.js +206 -0
  21. package/apig/apigUpstreamVersion.js.map +1 -0
  22. package/apig/customDomains.d.ts +112 -0
  23. package/apig/customDomains.js +55 -0
  24. package/apig/customDomains.js.map +1 -0
  25. package/apig/gatewayServices.d.ts +104 -0
  26. package/apig/gatewayServices.js +52 -0
  27. package/apig/gatewayServices.js.map +1 -0
  28. package/apig/gateways.d.ts +162 -0
  29. package/apig/gateways.js +63 -0
  30. package/apig/gateways.js.map +1 -0
  31. package/apig/getCustomDomains.d.ts +110 -0
  32. package/apig/getCustomDomains.js +52 -0
  33. package/apig/getCustomDomains.js.map +1 -0
  34. package/apig/getGatewayServices.d.ts +102 -0
  35. package/apig/getGatewayServices.js +49 -0
  36. package/apig/getGatewayServices.js.map +1 -0
  37. package/apig/getGateways.d.ts +160 -0
  38. package/apig/getGateways.js +60 -0
  39. package/apig/getGateways.js.map +1 -0
  40. package/apig/getRoutes.d.ts +153 -0
  41. package/apig/getRoutes.js +54 -0
  42. package/apig/getRoutes.js.map +1 -0
  43. package/apig/getUpstreamSources.d.ts +123 -0
  44. package/apig/getUpstreamSources.js +51 -0
  45. package/apig/getUpstreamSources.js.map +1 -0
  46. package/apig/getUpstreamVersions.d.ts +84 -0
  47. package/apig/getUpstreamVersions.js +47 -0
  48. package/apig/getUpstreamVersions.js.map +1 -0
  49. package/apig/getUpstreams.d.ts +140 -0
  50. package/apig/getUpstreams.js +60 -0
  51. package/apig/getUpstreams.js.map +1 -0
  52. package/apig/index.d.ts +63 -0
  53. package/apig/index.js +94 -0
  54. package/apig/index.js.map +1 -0
  55. package/apig/routes.d.ts +155 -0
  56. package/apig/routes.js +57 -0
  57. package/apig/routes.js.map +1 -0
  58. package/apig/upstreamSources.d.ts +125 -0
  59. package/apig/upstreamSources.js +54 -0
  60. package/apig/upstreamSources.js.map +1 -0
  61. package/apig/upstreamVersions.d.ts +86 -0
  62. package/apig/upstreamVersions.js +50 -0
  63. package/apig/upstreamVersions.js.map +1 -0
  64. package/apig/upstreams.d.ts +142 -0
  65. package/apig/upstreams.js +63 -0
  66. package/apig/upstreams.js.map +1 -0
  67. package/autoscaling/scalingGroup.d.ts +24 -0
  68. package/autoscaling/scalingGroup.js +4 -0
  69. package/autoscaling/scalingGroup.js.map +1 -1
  70. package/cen/interRegionBandwidth.d.ts +12 -0
  71. package/cen/interRegionBandwidth.js +2 -0
  72. package/cen/interRegionBandwidth.js.map +1 -1
  73. package/config/vars.d.ts +4 -0
  74. package/config/vars.js +6 -0
  75. package/config/vars.js.map +1 -1
  76. package/ecs/command.d.ts +65 -18
  77. package/ecs/command.js +10 -15
  78. package/ecs/command.js.map +1 -1
  79. package/ecs/commands.d.ts +26 -1
  80. package/ecs/commands.js +2 -0
  81. package/ecs/commands.js.map +1 -1
  82. package/ecs/getCommands.d.ts +26 -1
  83. package/ecs/getCommands.js +2 -0
  84. package/ecs/getCommands.js.map +1 -1
  85. package/ecs/getInvocations.d.ts +25 -0
  86. package/ecs/getInvocations.js +2 -0
  87. package/ecs/getInvocations.js.map +1 -1
  88. package/ecs/instance.d.ts +20 -0
  89. package/ecs/instance.js +4 -0
  90. package/ecs/instance.js.map +1 -1
  91. package/ecs/invocation.d.ts +53 -6
  92. package/ecs/invocation.js +15 -0
  93. package/ecs/invocation.js.map +1 -1
  94. package/ecs/invocations.d.ts +25 -0
  95. package/ecs/invocations.js +2 -0
  96. package/ecs/invocations.js.map +1 -1
  97. package/index.d.ts +3 -1
  98. package/index.js +6 -2
  99. package/index.js.map +1 -1
  100. package/kafka/instance.d.ts +12 -0
  101. package/kafka/instance.js +2 -0
  102. package/kafka/instance.js.map +1 -1
  103. package/package.json +1 -1
  104. package/provider.d.ts +4 -0
  105. package/provider.js +1 -0
  106. package/provider.js.map +1 -1
  107. package/redis/getParameterGroups.d.ts +22 -0
  108. package/redis/getParameterGroups.js +22 -0
  109. package/redis/getParameterGroups.js.map +1 -1
  110. package/redis/parameterGroups.d.ts +22 -0
  111. package/redis/parameterGroups.js +22 -0
  112. package/redis/parameterGroups.js.map +1 -1
  113. package/tos/bucketCors.d.ts +120 -0
  114. package/tos/bucketCors.js +115 -0
  115. package/tos/bucketCors.js.map +1 -0
  116. package/tos/bucketEncryption.d.ts +105 -0
  117. package/tos/bucketEncryption.js +100 -0
  118. package/tos/bucketEncryption.js.map +1 -0
  119. package/tos/bucketNotification.d.ts +166 -0
  120. package/tos/bucketNotification.js +155 -0
  121. package/tos/bucketNotification.js.map +1 -0
  122. package/tos/index.d.ts +9 -0
  123. package/tos/index.js +16 -1
  124. package/tos/index.js.map +1 -1
  125. package/types/input.d.ts +6104 -3944
  126. package/types/output.d.ts +35681 -27825
  127. package/vke/node.d.ts +12 -0
  128. package/vke/node.js +2 -0
  129. package/vke/node.js.map +1 -1
  130. package/vpc/cidrBlockAssociate.d.ts +83 -0
  131. package/vpc/cidrBlockAssociate.js +80 -0
  132. package/vpc/cidrBlockAssociate.js.map +1 -0
  133. package/vpc/flowLog.d.ts +266 -0
  134. package/vpc/flowLog.js +148 -0
  135. package/vpc/flowLog.js.map +1 -0
  136. package/vpc/flowLogActive.d.ts +103 -0
  137. package/vpc/flowLogActive.js +101 -0
  138. package/vpc/flowLogActive.js.map +1 -0
  139. package/vpc/flowLogs.d.ts +231 -0
  140. package/vpc/flowLogs.js +63 -0
  141. package/vpc/flowLogs.js.map +1 -0
  142. package/vpc/getFlowLogs.d.ts +229 -0
  143. package/vpc/getFlowLogs.js +60 -0
  144. package/vpc/getFlowLogs.js.map +1 -0
  145. package/vpc/getSubnets.d.ts +9 -0
  146. package/vpc/getSubnets.js +1 -0
  147. package/vpc/getSubnets.js.map +1 -1
  148. package/vpc/getTrafficMirrorFilterRules.d.ts +103 -0
  149. package/vpc/getTrafficMirrorFilterRules.js +50 -0
  150. package/vpc/getTrafficMirrorFilterRules.js.map +1 -0
  151. package/vpc/getTrafficMirrorFilters.d.ts +118 -0
  152. package/vpc/getTrafficMirrorFilters.js +51 -0
  153. package/vpc/getTrafficMirrorFilters.js.map +1 -0
  154. package/vpc/getTrafficMirrorSessions.d.ts +187 -0
  155. package/vpc/getTrafficMirrorSessions.js +57 -0
  156. package/vpc/getTrafficMirrorSessions.js.map +1 -0
  157. package/vpc/getTrafficMirrorTargets.d.ts +121 -0
  158. package/vpc/getTrafficMirrorTargets.js +51 -0
  159. package/vpc/getTrafficMirrorTargets.js.map +1 -0
  160. package/vpc/getVpcs.d.ts +9 -0
  161. package/vpc/getVpcs.js +1 -0
  162. package/vpc/getVpcs.js.map +1 -1
  163. package/vpc/index.d.ts +51 -0
  164. package/vpc/index.js +67 -2
  165. package/vpc/index.js.map +1 -1
  166. package/vpc/networkInterface.d.ts +27 -7
  167. package/vpc/networkInterface.js +27 -7
  168. package/vpc/networkInterface.js.map +1 -1
  169. package/vpc/subnets.d.ts +9 -0
  170. package/vpc/subnets.js +1 -0
  171. package/vpc/subnets.js.map +1 -1
  172. package/vpc/trafficMirrorFilter.d.ts +137 -0
  173. package/vpc/trafficMirrorFilter.js +88 -0
  174. package/vpc/trafficMirrorFilter.js.map +1 -0
  175. package/vpc/trafficMirrorFilterRule.d.ts +245 -0
  176. package/vpc/trafficMirrorFilterRule.js +144 -0
  177. package/vpc/trafficMirrorFilterRule.js.map +1 -0
  178. package/vpc/trafficMirrorFilterRules.d.ts +105 -0
  179. package/vpc/trafficMirrorFilterRules.js +53 -0
  180. package/vpc/trafficMirrorFilterRules.js.map +1 -0
  181. package/vpc/trafficMirrorFilters.d.ts +120 -0
  182. package/vpc/trafficMirrorFilters.js +54 -0
  183. package/vpc/trafficMirrorFilters.js.map +1 -0
  184. package/vpc/trafficMirrorSession.d.ts +330 -0
  185. package/vpc/trafficMirrorSession.js +221 -0
  186. package/vpc/trafficMirrorSession.js.map +1 -0
  187. package/vpc/trafficMirrorSessions.d.ts +189 -0
  188. package/vpc/trafficMirrorSessions.js +60 -0
  189. package/vpc/trafficMirrorSessions.js.map +1 -0
  190. package/vpc/trafficMirrorTarget.d.ts +222 -0
  191. package/vpc/trafficMirrorTarget.js +159 -0
  192. package/vpc/trafficMirrorTarget.js.map +1 -0
  193. package/vpc/trafficMirrorTargets.d.ts +123 -0
  194. package/vpc/trafficMirrorTargets.js +54 -0
  195. package/vpc/trafficMirrorTargets.js.map +1 -0
  196. package/vpc/vpc.d.ts +8 -0
  197. package/vpc/vpc.js +2 -0
  198. package/vpc/vpc.js.map +1 -1
  199. package/vpc/vpcs.d.ts +9 -0
  200. package/vpc/vpcs.js +1 -0
  201. package/vpc/vpcs.js.map +1 -1
  202. package/waf/aclRule.d.ts +326 -0
  203. package/waf/aclRule.js +150 -0
  204. package/waf/aclRule.js.map +1 -0
  205. package/waf/aclRules.d.ts +170 -0
  206. package/waf/aclRules.js +69 -0
  207. package/waf/aclRules.js.map +1 -0
  208. package/waf/botAnalyseProtectRule.d.ts +320 -0
  209. package/waf/botAnalyseProtectRule.js +171 -0
  210. package/waf/botAnalyseProtectRule.js.map +1 -0
  211. package/waf/botAnalyseProtectRules.d.ts +145 -0
  212. package/waf/botAnalyseProtectRules.js +57 -0
  213. package/waf/botAnalyseProtectRules.js.map +1 -0
  214. package/waf/ccRule.d.ts +337 -0
  215. package/waf/ccRule.js +182 -0
  216. package/waf/ccRule.js.map +1 -0
  217. package/waf/ccRules.d.ts +149 -0
  218. package/waf/ccRules.js +61 -0
  219. package/waf/ccRules.js.map +1 -0
  220. package/waf/customBot.d.ts +191 -0
  221. package/waf/customBot.js +127 -0
  222. package/waf/customBot.js.map +1 -0
  223. package/waf/customBots.d.ts +86 -0
  224. package/waf/customBots.js +51 -0
  225. package/waf/customBots.js.map +1 -0
  226. package/waf/customPage.d.ts +310 -0
  227. package/waf/customPage.js +160 -0
  228. package/waf/customPage.js.map +1 -0
  229. package/waf/customPages.d.ts +110 -0
  230. package/waf/customPages.js +52 -0
  231. package/waf/customPages.js.map +1 -0
  232. package/waf/domains.d.ts +94 -0
  233. package/waf/domains.js +48 -0
  234. package/waf/domains.js.map +1 -0
  235. package/waf/getAclRules.d.ts +168 -0
  236. package/waf/getAclRules.js +66 -0
  237. package/waf/getAclRules.js.map +1 -0
  238. package/waf/getBotAnalyseProtectRules.d.ts +143 -0
  239. package/waf/getBotAnalyseProtectRules.js +54 -0
  240. package/waf/getBotAnalyseProtectRules.js.map +1 -0
  241. package/waf/getCcRules.d.ts +147 -0
  242. package/waf/getCcRules.js +58 -0
  243. package/waf/getCcRules.js.map +1 -0
  244. package/waf/getCustomBots.d.ts +84 -0
  245. package/waf/getCustomBots.js +48 -0
  246. package/waf/getCustomBots.js.map +1 -0
  247. package/waf/getCustomPages.d.ts +108 -0
  248. package/waf/getCustomPages.js +49 -0
  249. package/waf/getCustomPages.js.map +1 -0
  250. package/waf/getDomains.d.ts +92 -0
  251. package/waf/getDomains.js +45 -0
  252. package/waf/getDomains.js.map +1 -0
  253. package/waf/getHostGroups.d.ts +146 -0
  254. package/waf/getHostGroups.js +55 -0
  255. package/waf/getHostGroups.js.map +1 -0
  256. package/waf/getIpGroups.d.ts +105 -0
  257. package/waf/getIpGroups.js +49 -0
  258. package/waf/getIpGroups.js.map +1 -0
  259. package/waf/getProhibitions.d.ts +127 -0
  260. package/waf/getProhibitions.js +55 -0
  261. package/waf/getProhibitions.js.map +1 -0
  262. package/waf/getServiceCertificates.d.ts +71 -0
  263. package/waf/getServiceCertificates.js +43 -0
  264. package/waf/getServiceCertificates.js.map +1 -0
  265. package/waf/getSystemBots.d.ts +84 -0
  266. package/waf/getSystemBots.js +47 -0
  267. package/waf/getSystemBots.js.map +1 -0
  268. package/waf/hostGroup.d.ts +152 -0
  269. package/waf/hostGroup.js +90 -0
  270. package/waf/hostGroup.js.map +1 -0
  271. package/waf/hostGroups.d.ts +148 -0
  272. package/waf/hostGroups.js +58 -0
  273. package/waf/hostGroups.js.map +1 -0
  274. package/waf/index.d.ts +99 -0
  275. package/waf/index.js +139 -0
  276. package/waf/index.js.map +1 -0
  277. package/waf/instanceCtl.d.ts +95 -0
  278. package/waf/instanceCtl.js +76 -0
  279. package/waf/instanceCtl.js.map +1 -0
  280. package/waf/ipGroup.d.ts +132 -0
  281. package/waf/ipGroup.js +93 -0
  282. package/waf/ipGroup.js.map +1 -0
  283. package/waf/ipGroups.d.ts +107 -0
  284. package/waf/ipGroups.js +52 -0
  285. package/waf/ipGroups.js.map +1 -0
  286. package/waf/prohibitions.d.ts +129 -0
  287. package/waf/prohibitions.js +58 -0
  288. package/waf/prohibitions.js.map +1 -0
  289. package/waf/serviceCertificates.d.ts +73 -0
  290. package/waf/serviceCertificates.js +46 -0
  291. package/waf/serviceCertificates.js.map +1 -0
  292. package/waf/systemBot.d.ts +137 -0
  293. package/waf/systemBot.js +92 -0
  294. package/waf/systemBot.js.map +1 -0
  295. package/waf/systemBots.d.ts +86 -0
  296. package/waf/systemBots.js +50 -0
  297. package/waf/systemBots.js.map +1 -0
  298. package/waf/vulnerability.d.ts +116 -0
  299. package/waf/vulnerability.js +72 -0
  300. package/waf/vulnerability.js.map +1 -0
  301. package/waf/wafDomain.d.ts +877 -0
  302. package/waf/wafDomain.js +252 -0
  303. package/waf/wafDomain.js.map +1 -0
@@ -0,0 +1,229 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Use this data source to query detailed information of flow logs
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as volcengine from "@pulumi/volcengine";
11
+ *
12
+ * const foo = volcengine.vpc.getFlowLogs({
13
+ * flowLogIds: ["fl-13g4fqngluhog3n6nu57o****"],
14
+ * });
15
+ * ```
16
+ */
17
+ export declare function getFlowLogs(args?: GetFlowLogsArgs, opts?: pulumi.InvokeOptions): Promise<GetFlowLogsResult>;
18
+ /**
19
+ * A collection of arguments for invoking getFlowLogs.
20
+ */
21
+ export interface GetFlowLogsArgs {
22
+ /**
23
+ * The aggregation interval of flow log. Unit: minute. Valid values: `1`, `5`, `10`.
24
+ */
25
+ aggregationInterval?: number;
26
+ /**
27
+ * The description of flow log.
28
+ */
29
+ description?: string;
30
+ /**
31
+ * A list of flow log IDs.
32
+ */
33
+ flowLogIds?: string[];
34
+ /**
35
+ * The name of flow log.
36
+ */
37
+ flowLogName?: string;
38
+ /**
39
+ * The ID of log project.
40
+ */
41
+ logProjectId?: string;
42
+ /**
43
+ * The ID of log topic.
44
+ */
45
+ logTopicId?: string;
46
+ /**
47
+ * A Name Regex of Resource.
48
+ */
49
+ nameRegex?: string;
50
+ /**
51
+ * File name where to save data source results.
52
+ */
53
+ outputFile?: string;
54
+ /**
55
+ * The project name of flow log.
56
+ */
57
+ projectName?: string;
58
+ /**
59
+ * The ID of resource.
60
+ */
61
+ resourceId?: string;
62
+ /**
63
+ * The type of resource. Valid values: `vpc`, `subnet`, `eni`.
64
+ */
65
+ resourceType?: string;
66
+ /**
67
+ * The status of flow log. Valid values: `Active`, `Pending`, `Inactive`, `Creating`, `Deleting`.
68
+ */
69
+ status?: string;
70
+ /**
71
+ * Tags.
72
+ */
73
+ tags?: inputs.vpc.GetFlowLogsTag[];
74
+ /**
75
+ * The type of traffic. Valid values: `All`, `Allow`, `Drop`.
76
+ */
77
+ trafficType?: string;
78
+ /**
79
+ * The ID of VPC.
80
+ */
81
+ vpcId?: string;
82
+ }
83
+ /**
84
+ * A collection of values returned by getFlowLogs.
85
+ */
86
+ export interface GetFlowLogsResult {
87
+ /**
88
+ * The aggregation interval of flow log. Unit: minute. Valid values: `1`, `5`, `10`.
89
+ */
90
+ readonly aggregationInterval?: number;
91
+ /**
92
+ * The description of flow log.
93
+ */
94
+ readonly description?: string;
95
+ readonly flowLogIds?: string[];
96
+ /**
97
+ * The name of flow log.
98
+ */
99
+ readonly flowLogName?: string;
100
+ /**
101
+ * The collection of query.
102
+ */
103
+ readonly flowLogs: outputs.vpc.GetFlowLogsFlowLog[];
104
+ /**
105
+ * The provider-assigned unique ID for this managed resource.
106
+ */
107
+ readonly id: string;
108
+ /**
109
+ * The ID of log project.
110
+ */
111
+ readonly logProjectId?: string;
112
+ /**
113
+ * The ID of log topic.
114
+ */
115
+ readonly logTopicId?: string;
116
+ readonly nameRegex?: string;
117
+ readonly outputFile?: string;
118
+ /**
119
+ * The project name of flow log.
120
+ */
121
+ readonly projectName?: string;
122
+ /**
123
+ * The ID of resource.
124
+ */
125
+ readonly resourceId?: string;
126
+ /**
127
+ * The type of resource. Valid values: `vpc`, `subnet`, `eni`.
128
+ */
129
+ readonly resourceType?: string;
130
+ /**
131
+ * The status of flow log. Valid values: `Active`, `Pending`, `Inactive`, `Creating`, `Deleting`.
132
+ */
133
+ readonly status?: string;
134
+ /**
135
+ * Tags.
136
+ */
137
+ readonly tags?: outputs.vpc.GetFlowLogsTag[];
138
+ /**
139
+ * The total count of query.
140
+ */
141
+ readonly totalCount: number;
142
+ /**
143
+ * The type of traffic. Valid values: `All`, `Allow`, `Drop`.
144
+ */
145
+ readonly trafficType?: string;
146
+ /**
147
+ * The ID of VPC.
148
+ */
149
+ readonly vpcId?: string;
150
+ }
151
+ /**
152
+ * Use this data source to query detailed information of flow logs
153
+ * ## Example Usage
154
+ *
155
+ * ```typescript
156
+ * import * as pulumi from "@pulumi/pulumi";
157
+ * import * as volcengine from "@pulumi/volcengine";
158
+ *
159
+ * const foo = volcengine.vpc.getFlowLogs({
160
+ * flowLogIds: ["fl-13g4fqngluhog3n6nu57o****"],
161
+ * });
162
+ * ```
163
+ */
164
+ export declare function getFlowLogsOutput(args?: GetFlowLogsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFlowLogsResult>;
165
+ /**
166
+ * A collection of arguments for invoking getFlowLogs.
167
+ */
168
+ export interface GetFlowLogsOutputArgs {
169
+ /**
170
+ * The aggregation interval of flow log. Unit: minute. Valid values: `1`, `5`, `10`.
171
+ */
172
+ aggregationInterval?: pulumi.Input<number>;
173
+ /**
174
+ * The description of flow log.
175
+ */
176
+ description?: pulumi.Input<string>;
177
+ /**
178
+ * A list of flow log IDs.
179
+ */
180
+ flowLogIds?: pulumi.Input<pulumi.Input<string>[]>;
181
+ /**
182
+ * The name of flow log.
183
+ */
184
+ flowLogName?: pulumi.Input<string>;
185
+ /**
186
+ * The ID of log project.
187
+ */
188
+ logProjectId?: pulumi.Input<string>;
189
+ /**
190
+ * The ID of log topic.
191
+ */
192
+ logTopicId?: pulumi.Input<string>;
193
+ /**
194
+ * A Name Regex of Resource.
195
+ */
196
+ nameRegex?: pulumi.Input<string>;
197
+ /**
198
+ * File name where to save data source results.
199
+ */
200
+ outputFile?: pulumi.Input<string>;
201
+ /**
202
+ * The project name of flow log.
203
+ */
204
+ projectName?: pulumi.Input<string>;
205
+ /**
206
+ * The ID of resource.
207
+ */
208
+ resourceId?: pulumi.Input<string>;
209
+ /**
210
+ * The type of resource. Valid values: `vpc`, `subnet`, `eni`.
211
+ */
212
+ resourceType?: pulumi.Input<string>;
213
+ /**
214
+ * The status of flow log. Valid values: `Active`, `Pending`, `Inactive`, `Creating`, `Deleting`.
215
+ */
216
+ status?: pulumi.Input<string>;
217
+ /**
218
+ * Tags.
219
+ */
220
+ tags?: pulumi.Input<pulumi.Input<inputs.vpc.GetFlowLogsTagArgs>[]>;
221
+ /**
222
+ * The type of traffic. Valid values: `All`, `Allow`, `Drop`.
223
+ */
224
+ trafficType?: pulumi.Input<string>;
225
+ /**
226
+ * The ID of VPC.
227
+ */
228
+ vpcId?: pulumi.Input<string>;
229
+ }
@@ -0,0 +1,60 @@
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.getFlowLogsOutput = exports.getFlowLogs = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of flow logs
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ *
16
+ * const foo = volcengine.vpc.getFlowLogs({
17
+ * flowLogIds: ["fl-13g4fqngluhog3n6nu57o****"],
18
+ * });
19
+ * ```
20
+ */
21
+ function getFlowLogs(args, opts) {
22
+ args = args || {};
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invoke("volcengine:vpc/getFlowLogs:getFlowLogs", {
25
+ "aggregationInterval": args.aggregationInterval,
26
+ "description": args.description,
27
+ "flowLogIds": args.flowLogIds,
28
+ "flowLogName": args.flowLogName,
29
+ "logProjectId": args.logProjectId,
30
+ "logTopicId": args.logTopicId,
31
+ "nameRegex": args.nameRegex,
32
+ "outputFile": args.outputFile,
33
+ "projectName": args.projectName,
34
+ "resourceId": args.resourceId,
35
+ "resourceType": args.resourceType,
36
+ "status": args.status,
37
+ "tags": args.tags,
38
+ "trafficType": args.trafficType,
39
+ "vpcId": args.vpcId,
40
+ }, opts);
41
+ }
42
+ exports.getFlowLogs = getFlowLogs;
43
+ /**
44
+ * Use this data source to query detailed information of flow logs
45
+ * ## Example Usage
46
+ *
47
+ * ```typescript
48
+ * import * as pulumi from "@pulumi/pulumi";
49
+ * import * as volcengine from "@pulumi/volcengine";
50
+ *
51
+ * const foo = volcengine.vpc.getFlowLogs({
52
+ * flowLogIds: ["fl-13g4fqngluhog3n6nu57o****"],
53
+ * });
54
+ * ```
55
+ */
56
+ function getFlowLogsOutput(args, opts) {
57
+ return pulumi.output(args).apply((a) => getFlowLogs(a, opts));
58
+ }
59
+ exports.getFlowLogsOutput = getFlowLogsOutput;
60
+ //# sourceMappingURL=getFlowLogs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFlowLogs.js","sourceRoot":"","sources":["../../vpc/getFlowLogs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AArBD,kCAqBC;AAwID;;;;;;;;;;;;GAYG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
@@ -39,6 +39,10 @@ export interface GetSubnetsArgs {
39
39
  * The subnet name to query.
40
40
  */
41
41
  subnetName?: string;
42
+ /**
43
+ * The owner ID of the subnet.
44
+ */
45
+ subnetOwnerId?: number;
42
46
  /**
43
47
  * Tags.
44
48
  */
@@ -71,6 +75,7 @@ export interface GetSubnetsResult {
71
75
  * The Name of Subnet.
72
76
  */
73
77
  readonly subnetName?: string;
78
+ readonly subnetOwnerId?: number;
74
79
  /**
75
80
  * The collection of Subnet query.
76
81
  */
@@ -130,6 +135,10 @@ export interface GetSubnetsOutputArgs {
130
135
  * The subnet name to query.
131
136
  */
132
137
  subnetName?: pulumi.Input<string>;
138
+ /**
139
+ * The owner ID of the subnet.
140
+ */
141
+ subnetOwnerId?: pulumi.Input<number>;
133
142
  /**
134
143
  * Tags.
135
144
  */
package/vpc/getSubnets.js CHANGED
@@ -27,6 +27,7 @@ function getSubnets(args, opts) {
27
27
  "outputFile": args.outputFile,
28
28
  "routeTableId": args.routeTableId,
29
29
  "subnetName": args.subnetName,
30
+ "subnetOwnerId": args.subnetOwnerId,
30
31
  "tags": args.tags,
31
32
  "vpcId": args.vpcId,
32
33
  "zoneId": args.zoneId,
@@ -1 +1 @@
1
- {"version":3,"file":"getSubnets.js","sourceRoot":"","sources":["../../vpc/getSubnets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,gCAcC;AAgFD;;;;;;;;;;;;GAYG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
1
+ {"version":3,"file":"getSubnets.js","sourceRoot":"","sources":["../../vpc/getSubnets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,gCAeC;AAqFD;;;;;;;;;;;;GAYG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
@@ -0,0 +1,103 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Use this data source to query detailed information of traffic mirror filter rules
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as volcengine from "@pulumi/volcengine";
11
+ *
12
+ * const foo = volcengine.vpc.getTrafficMirrorFilterRules({
13
+ * trafficMirrorFilterIds: ["tmf-mivro9v5x24g5smt1bsq****"],
14
+ * });
15
+ * ```
16
+ */
17
+ export declare function getTrafficMirrorFilterRules(args?: GetTrafficMirrorFilterRulesArgs, opts?: pulumi.InvokeOptions): Promise<GetTrafficMirrorFilterRulesResult>;
18
+ /**
19
+ * A collection of arguments for invoking getTrafficMirrorFilterRules.
20
+ */
21
+ export interface GetTrafficMirrorFilterRulesArgs {
22
+ /**
23
+ * File name where to save data source results.
24
+ */
25
+ outputFile?: string;
26
+ /**
27
+ * The project name of traffic mirror filter.
28
+ */
29
+ projectName?: string;
30
+ /**
31
+ * Tags.
32
+ */
33
+ tags?: inputs.vpc.GetTrafficMirrorFilterRulesTag[];
34
+ /**
35
+ * A list of traffic mirror filter IDs.
36
+ */
37
+ trafficMirrorFilterIds?: string[];
38
+ /**
39
+ * A list of traffic mirror filter names.
40
+ */
41
+ trafficMirrorFilterNames?: string[];
42
+ }
43
+ /**
44
+ * A collection of values returned by getTrafficMirrorFilterRules.
45
+ */
46
+ export interface GetTrafficMirrorFilterRulesResult {
47
+ /**
48
+ * The provider-assigned unique ID for this managed resource.
49
+ */
50
+ readonly id: string;
51
+ readonly outputFile?: string;
52
+ readonly projectName?: string;
53
+ readonly tags?: outputs.vpc.GetTrafficMirrorFilterRulesTag[];
54
+ /**
55
+ * The total count of query.
56
+ */
57
+ readonly totalCount: number;
58
+ readonly trafficMirrorFilterIds?: string[];
59
+ readonly trafficMirrorFilterNames?: string[];
60
+ /**
61
+ * The collection of query.
62
+ */
63
+ readonly trafficMirrorFilterRules: outputs.vpc.GetTrafficMirrorFilterRulesTrafficMirrorFilterRule[];
64
+ }
65
+ /**
66
+ * Use this data source to query detailed information of traffic mirror filter rules
67
+ * ## Example Usage
68
+ *
69
+ * ```typescript
70
+ * import * as pulumi from "@pulumi/pulumi";
71
+ * import * as volcengine from "@pulumi/volcengine";
72
+ *
73
+ * const foo = volcengine.vpc.getTrafficMirrorFilterRules({
74
+ * trafficMirrorFilterIds: ["tmf-mivro9v5x24g5smt1bsq****"],
75
+ * });
76
+ * ```
77
+ */
78
+ export declare function getTrafficMirrorFilterRulesOutput(args?: GetTrafficMirrorFilterRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTrafficMirrorFilterRulesResult>;
79
+ /**
80
+ * A collection of arguments for invoking getTrafficMirrorFilterRules.
81
+ */
82
+ export interface GetTrafficMirrorFilterRulesOutputArgs {
83
+ /**
84
+ * File name where to save data source results.
85
+ */
86
+ outputFile?: pulumi.Input<string>;
87
+ /**
88
+ * The project name of traffic mirror filter.
89
+ */
90
+ projectName?: pulumi.Input<string>;
91
+ /**
92
+ * Tags.
93
+ */
94
+ tags?: pulumi.Input<pulumi.Input<inputs.vpc.GetTrafficMirrorFilterRulesTagArgs>[]>;
95
+ /**
96
+ * A list of traffic mirror filter IDs.
97
+ */
98
+ trafficMirrorFilterIds?: pulumi.Input<pulumi.Input<string>[]>;
99
+ /**
100
+ * A list of traffic mirror filter names.
101
+ */
102
+ trafficMirrorFilterNames?: pulumi.Input<pulumi.Input<string>[]>;
103
+ }
@@ -0,0 +1,50 @@
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.getTrafficMirrorFilterRulesOutput = exports.getTrafficMirrorFilterRules = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of traffic mirror filter rules
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ *
16
+ * const foo = volcengine.vpc.getTrafficMirrorFilterRules({
17
+ * trafficMirrorFilterIds: ["tmf-mivro9v5x24g5smt1bsq****"],
18
+ * });
19
+ * ```
20
+ */
21
+ function getTrafficMirrorFilterRules(args, opts) {
22
+ args = args || {};
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invoke("volcengine:vpc/getTrafficMirrorFilterRules:getTrafficMirrorFilterRules", {
25
+ "outputFile": args.outputFile,
26
+ "projectName": args.projectName,
27
+ "tags": args.tags,
28
+ "trafficMirrorFilterIds": args.trafficMirrorFilterIds,
29
+ "trafficMirrorFilterNames": args.trafficMirrorFilterNames,
30
+ }, opts);
31
+ }
32
+ exports.getTrafficMirrorFilterRules = getTrafficMirrorFilterRules;
33
+ /**
34
+ * Use this data source to query detailed information of traffic mirror filter rules
35
+ * ## Example Usage
36
+ *
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as volcengine from "@pulumi/volcengine";
40
+ *
41
+ * const foo = volcengine.vpc.getTrafficMirrorFilterRules({
42
+ * trafficMirrorFilterIds: ["tmf-mivro9v5x24g5smt1bsq****"],
43
+ * });
44
+ * ```
45
+ */
46
+ function getTrafficMirrorFilterRulesOutput(args, opts) {
47
+ return pulumi.output(args).apply((a) => getTrafficMirrorFilterRules(a, opts));
48
+ }
49
+ exports.getTrafficMirrorFilterRulesOutput = getTrafficMirrorFilterRulesOutput;
50
+ //# sourceMappingURL=getTrafficMirrorFilterRules.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTrafficMirrorFilterRules.js","sourceRoot":"","sources":["../../vpc/getTrafficMirrorFilterRules.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,2BAA2B,CAAC,IAAsC,EAAE,IAA2B;IAC3G,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;KAC5D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kEAWC;AAkDD;;;;;;;;;;;;GAYG;AACH,SAAgB,iCAAiC,CAAC,IAA4C,EAAE,IAA2B;IACvH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,2BAA2B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtF,CAAC;AAFD,8EAEC"}
@@ -0,0 +1,118 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Use this data source to query detailed information of traffic mirror filters
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as volcengine from "@pulumi/volcengine";
11
+ *
12
+ * const foo = volcengine.vpc.getTrafficMirrorFilters({
13
+ * trafficMirrorFilterIds: ["tmf-mivro9v5x24g5smt1bsq****"],
14
+ * });
15
+ * ```
16
+ */
17
+ export declare function getTrafficMirrorFilters(args?: GetTrafficMirrorFiltersArgs, opts?: pulumi.InvokeOptions): Promise<GetTrafficMirrorFiltersResult>;
18
+ /**
19
+ * A collection of arguments for invoking getTrafficMirrorFilters.
20
+ */
21
+ export interface GetTrafficMirrorFiltersArgs {
22
+ /**
23
+ * A Name Regex of Resource.
24
+ */
25
+ nameRegex?: string;
26
+ /**
27
+ * File name where to save data source results.
28
+ */
29
+ outputFile?: string;
30
+ /**
31
+ * The project name of traffic mirror filter.
32
+ */
33
+ projectName?: string;
34
+ /**
35
+ * Tags.
36
+ */
37
+ tags?: inputs.vpc.GetTrafficMirrorFiltersTag[];
38
+ /**
39
+ * A list of traffic mirror filter IDs.
40
+ */
41
+ trafficMirrorFilterIds?: string[];
42
+ /**
43
+ * A list of traffic mirror filter names.
44
+ */
45
+ trafficMirrorFilterNames?: string[];
46
+ }
47
+ /**
48
+ * A collection of values returned by getTrafficMirrorFilters.
49
+ */
50
+ export interface GetTrafficMirrorFiltersResult {
51
+ /**
52
+ * The provider-assigned unique ID for this managed resource.
53
+ */
54
+ readonly id: string;
55
+ readonly nameRegex?: string;
56
+ readonly outputFile?: string;
57
+ /**
58
+ * The project name of traffic mirror filter.
59
+ */
60
+ readonly projectName?: string;
61
+ /**
62
+ * Tags.
63
+ */
64
+ readonly tags?: outputs.vpc.GetTrafficMirrorFiltersTag[];
65
+ /**
66
+ * The total count of query.
67
+ */
68
+ readonly totalCount: number;
69
+ readonly trafficMirrorFilterIds?: string[];
70
+ readonly trafficMirrorFilterNames?: string[];
71
+ /**
72
+ * The collection of query.
73
+ */
74
+ readonly trafficMirrorFilters: outputs.vpc.GetTrafficMirrorFiltersTrafficMirrorFilter[];
75
+ }
76
+ /**
77
+ * Use this data source to query detailed information of traffic mirror filters
78
+ * ## Example Usage
79
+ *
80
+ * ```typescript
81
+ * import * as pulumi from "@pulumi/pulumi";
82
+ * import * as volcengine from "@pulumi/volcengine";
83
+ *
84
+ * const foo = volcengine.vpc.getTrafficMirrorFilters({
85
+ * trafficMirrorFilterIds: ["tmf-mivro9v5x24g5smt1bsq****"],
86
+ * });
87
+ * ```
88
+ */
89
+ export declare function getTrafficMirrorFiltersOutput(args?: GetTrafficMirrorFiltersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTrafficMirrorFiltersResult>;
90
+ /**
91
+ * A collection of arguments for invoking getTrafficMirrorFilters.
92
+ */
93
+ export interface GetTrafficMirrorFiltersOutputArgs {
94
+ /**
95
+ * A Name Regex of Resource.
96
+ */
97
+ nameRegex?: pulumi.Input<string>;
98
+ /**
99
+ * File name where to save data source results.
100
+ */
101
+ outputFile?: pulumi.Input<string>;
102
+ /**
103
+ * The project name of traffic mirror filter.
104
+ */
105
+ projectName?: pulumi.Input<string>;
106
+ /**
107
+ * Tags.
108
+ */
109
+ tags?: pulumi.Input<pulumi.Input<inputs.vpc.GetTrafficMirrorFiltersTagArgs>[]>;
110
+ /**
111
+ * A list of traffic mirror filter IDs.
112
+ */
113
+ trafficMirrorFilterIds?: pulumi.Input<pulumi.Input<string>[]>;
114
+ /**
115
+ * A list of traffic mirror filter names.
116
+ */
117
+ trafficMirrorFilterNames?: pulumi.Input<pulumi.Input<string>[]>;
118
+ }
@@ -0,0 +1,51 @@
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.getTrafficMirrorFiltersOutput = exports.getTrafficMirrorFilters = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of traffic mirror filters
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ *
16
+ * const foo = volcengine.vpc.getTrafficMirrorFilters({
17
+ * trafficMirrorFilterIds: ["tmf-mivro9v5x24g5smt1bsq****"],
18
+ * });
19
+ * ```
20
+ */
21
+ function getTrafficMirrorFilters(args, opts) {
22
+ args = args || {};
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invoke("volcengine:vpc/getTrafficMirrorFilters:getTrafficMirrorFilters", {
25
+ "nameRegex": args.nameRegex,
26
+ "outputFile": args.outputFile,
27
+ "projectName": args.projectName,
28
+ "tags": args.tags,
29
+ "trafficMirrorFilterIds": args.trafficMirrorFilterIds,
30
+ "trafficMirrorFilterNames": args.trafficMirrorFilterNames,
31
+ }, opts);
32
+ }
33
+ exports.getTrafficMirrorFilters = getTrafficMirrorFilters;
34
+ /**
35
+ * Use this data source to query detailed information of traffic mirror filters
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as volcengine from "@pulumi/volcengine";
41
+ *
42
+ * const foo = volcengine.vpc.getTrafficMirrorFilters({
43
+ * trafficMirrorFilterIds: ["tmf-mivro9v5x24g5smt1bsq****"],
44
+ * });
45
+ * ```
46
+ */
47
+ function getTrafficMirrorFiltersOutput(args, opts) {
48
+ return pulumi.output(args).apply((a) => getTrafficMirrorFilters(a, opts));
49
+ }
50
+ exports.getTrafficMirrorFiltersOutput = getTrafficMirrorFiltersOutput;
51
+ //# sourceMappingURL=getTrafficMirrorFilters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTrafficMirrorFilters.js","sourceRoot":"","sources":["../../vpc/getTrafficMirrorFilters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;KAC5D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,0DAYC;AA6DD;;;;;;;;;;;;GAYG;AACH,SAAgB,6BAA6B,CAAC,IAAwC,EAAE,IAA2B;IAC/G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,uBAAuB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClF,CAAC;AAFD,sEAEC"}