@volcengine/pulumi 0.0.33 → 0.0.34

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 (246) 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/cen/interRegionBandwidth.d.ts +12 -0
  68. package/cen/interRegionBandwidth.js +2 -0
  69. package/cen/interRegionBandwidth.js.map +1 -1
  70. package/index.d.ts +3 -1
  71. package/index.js +6 -2
  72. package/index.js.map +1 -1
  73. package/package.json +1 -1
  74. package/types/input.d.ts +5918 -4016
  75. package/types/output.d.ts +35080 -27674
  76. package/vpc/cidrBlockAssociate.d.ts +83 -0
  77. package/vpc/cidrBlockAssociate.js +80 -0
  78. package/vpc/cidrBlockAssociate.js.map +1 -0
  79. package/vpc/flowLog.d.ts +266 -0
  80. package/vpc/flowLog.js +148 -0
  81. package/vpc/flowLog.js.map +1 -0
  82. package/vpc/flowLogActive.d.ts +103 -0
  83. package/vpc/flowLogActive.js +101 -0
  84. package/vpc/flowLogActive.js.map +1 -0
  85. package/vpc/flowLogs.d.ts +231 -0
  86. package/vpc/flowLogs.js +63 -0
  87. package/vpc/flowLogs.js.map +1 -0
  88. package/vpc/getFlowLogs.d.ts +229 -0
  89. package/vpc/getFlowLogs.js +60 -0
  90. package/vpc/getFlowLogs.js.map +1 -0
  91. package/vpc/getSubnets.d.ts +9 -0
  92. package/vpc/getSubnets.js +1 -0
  93. package/vpc/getSubnets.js.map +1 -1
  94. package/vpc/getTrafficMirrorFilterRules.d.ts +103 -0
  95. package/vpc/getTrafficMirrorFilterRules.js +50 -0
  96. package/vpc/getTrafficMirrorFilterRules.js.map +1 -0
  97. package/vpc/getTrafficMirrorFilters.d.ts +118 -0
  98. package/vpc/getTrafficMirrorFilters.js +51 -0
  99. package/vpc/getTrafficMirrorFilters.js.map +1 -0
  100. package/vpc/getTrafficMirrorSessions.d.ts +187 -0
  101. package/vpc/getTrafficMirrorSessions.js +57 -0
  102. package/vpc/getTrafficMirrorSessions.js.map +1 -0
  103. package/vpc/getTrafficMirrorTargets.d.ts +121 -0
  104. package/vpc/getTrafficMirrorTargets.js +51 -0
  105. package/vpc/getTrafficMirrorTargets.js.map +1 -0
  106. package/vpc/getVpcs.d.ts +9 -0
  107. package/vpc/getVpcs.js +1 -0
  108. package/vpc/getVpcs.js.map +1 -1
  109. package/vpc/index.d.ts +51 -0
  110. package/vpc/index.js +67 -2
  111. package/vpc/index.js.map +1 -1
  112. package/vpc/subnets.d.ts +9 -0
  113. package/vpc/subnets.js +1 -0
  114. package/vpc/subnets.js.map +1 -1
  115. package/vpc/trafficMirrorFilter.d.ts +137 -0
  116. package/vpc/trafficMirrorFilter.js +88 -0
  117. package/vpc/trafficMirrorFilter.js.map +1 -0
  118. package/vpc/trafficMirrorFilterRule.d.ts +245 -0
  119. package/vpc/trafficMirrorFilterRule.js +144 -0
  120. package/vpc/trafficMirrorFilterRule.js.map +1 -0
  121. package/vpc/trafficMirrorFilterRules.d.ts +105 -0
  122. package/vpc/trafficMirrorFilterRules.js +53 -0
  123. package/vpc/trafficMirrorFilterRules.js.map +1 -0
  124. package/vpc/trafficMirrorFilters.d.ts +120 -0
  125. package/vpc/trafficMirrorFilters.js +54 -0
  126. package/vpc/trafficMirrorFilters.js.map +1 -0
  127. package/vpc/trafficMirrorSession.d.ts +330 -0
  128. package/vpc/trafficMirrorSession.js +221 -0
  129. package/vpc/trafficMirrorSession.js.map +1 -0
  130. package/vpc/trafficMirrorSessions.d.ts +189 -0
  131. package/vpc/trafficMirrorSessions.js +60 -0
  132. package/vpc/trafficMirrorSessions.js.map +1 -0
  133. package/vpc/trafficMirrorTarget.d.ts +222 -0
  134. package/vpc/trafficMirrorTarget.js +159 -0
  135. package/vpc/trafficMirrorTarget.js.map +1 -0
  136. package/vpc/trafficMirrorTargets.d.ts +123 -0
  137. package/vpc/trafficMirrorTargets.js +54 -0
  138. package/vpc/trafficMirrorTargets.js.map +1 -0
  139. package/vpc/vpc.d.ts +8 -0
  140. package/vpc/vpc.js +2 -0
  141. package/vpc/vpc.js.map +1 -1
  142. package/vpc/vpcs.d.ts +9 -0
  143. package/vpc/vpcs.js +1 -0
  144. package/vpc/vpcs.js.map +1 -1
  145. package/waf/aclRule.d.ts +326 -0
  146. package/waf/aclRule.js +150 -0
  147. package/waf/aclRule.js.map +1 -0
  148. package/waf/aclRules.d.ts +170 -0
  149. package/waf/aclRules.js +69 -0
  150. package/waf/aclRules.js.map +1 -0
  151. package/waf/botAnalyseProtectRule.d.ts +320 -0
  152. package/waf/botAnalyseProtectRule.js +171 -0
  153. package/waf/botAnalyseProtectRule.js.map +1 -0
  154. package/waf/botAnalyseProtectRules.d.ts +145 -0
  155. package/waf/botAnalyseProtectRules.js +57 -0
  156. package/waf/botAnalyseProtectRules.js.map +1 -0
  157. package/waf/ccRule.d.ts +337 -0
  158. package/waf/ccRule.js +182 -0
  159. package/waf/ccRule.js.map +1 -0
  160. package/waf/ccRules.d.ts +149 -0
  161. package/waf/ccRules.js +61 -0
  162. package/waf/ccRules.js.map +1 -0
  163. package/waf/customBot.d.ts +191 -0
  164. package/waf/customBot.js +127 -0
  165. package/waf/customBot.js.map +1 -0
  166. package/waf/customBots.d.ts +86 -0
  167. package/waf/customBots.js +51 -0
  168. package/waf/customBots.js.map +1 -0
  169. package/waf/customPage.d.ts +310 -0
  170. package/waf/customPage.js +160 -0
  171. package/waf/customPage.js.map +1 -0
  172. package/waf/customPages.d.ts +110 -0
  173. package/waf/customPages.js +52 -0
  174. package/waf/customPages.js.map +1 -0
  175. package/waf/domains.d.ts +94 -0
  176. package/waf/domains.js +48 -0
  177. package/waf/domains.js.map +1 -0
  178. package/waf/getAclRules.d.ts +168 -0
  179. package/waf/getAclRules.js +66 -0
  180. package/waf/getAclRules.js.map +1 -0
  181. package/waf/getBotAnalyseProtectRules.d.ts +143 -0
  182. package/waf/getBotAnalyseProtectRules.js +54 -0
  183. package/waf/getBotAnalyseProtectRules.js.map +1 -0
  184. package/waf/getCcRules.d.ts +147 -0
  185. package/waf/getCcRules.js +58 -0
  186. package/waf/getCcRules.js.map +1 -0
  187. package/waf/getCustomBots.d.ts +84 -0
  188. package/waf/getCustomBots.js +48 -0
  189. package/waf/getCustomBots.js.map +1 -0
  190. package/waf/getCustomPages.d.ts +108 -0
  191. package/waf/getCustomPages.js +49 -0
  192. package/waf/getCustomPages.js.map +1 -0
  193. package/waf/getDomains.d.ts +92 -0
  194. package/waf/getDomains.js +45 -0
  195. package/waf/getDomains.js.map +1 -0
  196. package/waf/getHostGroups.d.ts +146 -0
  197. package/waf/getHostGroups.js +55 -0
  198. package/waf/getHostGroups.js.map +1 -0
  199. package/waf/getIpGroups.d.ts +105 -0
  200. package/waf/getIpGroups.js +49 -0
  201. package/waf/getIpGroups.js.map +1 -0
  202. package/waf/getProhibitions.d.ts +127 -0
  203. package/waf/getProhibitions.js +55 -0
  204. package/waf/getProhibitions.js.map +1 -0
  205. package/waf/getServiceCertificates.d.ts +71 -0
  206. package/waf/getServiceCertificates.js +43 -0
  207. package/waf/getServiceCertificates.js.map +1 -0
  208. package/waf/getSystemBots.d.ts +84 -0
  209. package/waf/getSystemBots.js +47 -0
  210. package/waf/getSystemBots.js.map +1 -0
  211. package/waf/hostGroup.d.ts +152 -0
  212. package/waf/hostGroup.js +90 -0
  213. package/waf/hostGroup.js.map +1 -0
  214. package/waf/hostGroups.d.ts +148 -0
  215. package/waf/hostGroups.js +58 -0
  216. package/waf/hostGroups.js.map +1 -0
  217. package/waf/index.d.ts +99 -0
  218. package/waf/index.js +139 -0
  219. package/waf/index.js.map +1 -0
  220. package/waf/instanceCtl.d.ts +95 -0
  221. package/waf/instanceCtl.js +76 -0
  222. package/waf/instanceCtl.js.map +1 -0
  223. package/waf/ipGroup.d.ts +132 -0
  224. package/waf/ipGroup.js +93 -0
  225. package/waf/ipGroup.js.map +1 -0
  226. package/waf/ipGroups.d.ts +107 -0
  227. package/waf/ipGroups.js +52 -0
  228. package/waf/ipGroups.js.map +1 -0
  229. package/waf/prohibitions.d.ts +129 -0
  230. package/waf/prohibitions.js +58 -0
  231. package/waf/prohibitions.js.map +1 -0
  232. package/waf/serviceCertificates.d.ts +73 -0
  233. package/waf/serviceCertificates.js +46 -0
  234. package/waf/serviceCertificates.js.map +1 -0
  235. package/waf/systemBot.d.ts +137 -0
  236. package/waf/systemBot.js +92 -0
  237. package/waf/systemBot.js.map +1 -0
  238. package/waf/systemBots.d.ts +86 -0
  239. package/waf/systemBots.js +50 -0
  240. package/waf/systemBots.js.map +1 -0
  241. package/waf/vulnerability.d.ts +116 -0
  242. package/waf/vulnerability.js +72 -0
  243. package/waf/vulnerability.js.map +1 -0
  244. package/waf/wafDomain.d.ts +877 -0
  245. package/waf/wafDomain.js +252 -0
  246. package/waf/wafDomain.js.map +1 -0
@@ -0,0 +1,103 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage flow log active
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@pulumi/volcengine";
9
+ * import * as volcengine from "@volcengine/pulumi";
10
+ *
11
+ * const fooZones = volcengine.ecs.getZones({});
12
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
13
+ * vpcName: "acc-test-vpc",
14
+ * cidrBlock: "172.16.0.0/16",
15
+ * projectName: "default",
16
+ * });
17
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
18
+ * subnetName: "acc-test-subnet",
19
+ * cidrBlock: "172.16.0.0/24",
20
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
21
+ * vpcId: fooVpc.id,
22
+ * });
23
+ * const fooFlowLog = new volcengine.vpc.FlowLog("fooFlowLog", {
24
+ * flowLogName: "acc-test-flow-log",
25
+ * description: "acc-test",
26
+ * resourceType: "subnet",
27
+ * resourceId: fooSubnet.id,
28
+ * trafficType: "All",
29
+ * logProjectName: "acc-test-project",
30
+ * logTopicName: "acc-test-topic",
31
+ * aggregationInterval: 10,
32
+ * projectName: "default",
33
+ * tags: [{
34
+ * key: "k1",
35
+ * value: "v1",
36
+ * }],
37
+ * });
38
+ * const fooFlowLogActive = new volcengine.vpc.FlowLogActive("fooFlowLogActive", {flowLogId: fooFlowLog.id});
39
+ * ```
40
+ *
41
+ * ## Import
42
+ *
43
+ * FlowLogActive can be imported using the id, e.g.
44
+ *
45
+ * ```sh
46
+ * $ pulumi import volcengine:vpc/flowLogActive:FlowLogActive default resource_id
47
+ * ```
48
+ */
49
+ export declare class FlowLogActive extends pulumi.CustomResource {
50
+ /**
51
+ * Get an existing FlowLogActive resource's state with the given name, ID, and optional extra
52
+ * properties used to qualify the lookup.
53
+ *
54
+ * @param name The _unique_ name of the resulting resource.
55
+ * @param id The _unique_ provider ID of the resource to lookup.
56
+ * @param state Any extra arguments used during the lookup.
57
+ * @param opts Optional settings to control the behavior of the CustomResource.
58
+ */
59
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FlowLogActiveState, opts?: pulumi.CustomResourceOptions): FlowLogActive;
60
+ /**
61
+ * Returns true if the given object is an instance of FlowLogActive. This is designed to work even
62
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
63
+ */
64
+ static isInstance(obj: any): obj is FlowLogActive;
65
+ /**
66
+ * The ID of flow log.
67
+ */
68
+ readonly flowLogId: pulumi.Output<string>;
69
+ /**
70
+ * The status of flow log.
71
+ */
72
+ readonly status: pulumi.Output<string>;
73
+ /**
74
+ * Create a FlowLogActive resource with the given unique name, arguments, and options.
75
+ *
76
+ * @param name The _unique_ name of the resource.
77
+ * @param args The arguments to use to populate this resource's properties.
78
+ * @param opts A bag of options that control this resource's behavior.
79
+ */
80
+ constructor(name: string, args: FlowLogActiveArgs, opts?: pulumi.CustomResourceOptions);
81
+ }
82
+ /**
83
+ * Input properties used for looking up and filtering FlowLogActive resources.
84
+ */
85
+ export interface FlowLogActiveState {
86
+ /**
87
+ * The ID of flow log.
88
+ */
89
+ flowLogId?: pulumi.Input<string>;
90
+ /**
91
+ * The status of flow log.
92
+ */
93
+ status?: pulumi.Input<string>;
94
+ }
95
+ /**
96
+ * The set of arguments for constructing a FlowLogActive resource.
97
+ */
98
+ export interface FlowLogActiveArgs {
99
+ /**
100
+ * The ID of flow log.
101
+ */
102
+ flowLogId: pulumi.Input<string>;
103
+ }
@@ -0,0 +1,101 @@
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.FlowLogActive = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage flow log active
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ * import * as volcengine from "@volcengine/pulumi";
16
+ *
17
+ * const fooZones = volcengine.ecs.getZones({});
18
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
19
+ * vpcName: "acc-test-vpc",
20
+ * cidrBlock: "172.16.0.0/16",
21
+ * projectName: "default",
22
+ * });
23
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
24
+ * subnetName: "acc-test-subnet",
25
+ * cidrBlock: "172.16.0.0/24",
26
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
27
+ * vpcId: fooVpc.id,
28
+ * });
29
+ * const fooFlowLog = new volcengine.vpc.FlowLog("fooFlowLog", {
30
+ * flowLogName: "acc-test-flow-log",
31
+ * description: "acc-test",
32
+ * resourceType: "subnet",
33
+ * resourceId: fooSubnet.id,
34
+ * trafficType: "All",
35
+ * logProjectName: "acc-test-project",
36
+ * logTopicName: "acc-test-topic",
37
+ * aggregationInterval: 10,
38
+ * projectName: "default",
39
+ * tags: [{
40
+ * key: "k1",
41
+ * value: "v1",
42
+ * }],
43
+ * });
44
+ * const fooFlowLogActive = new volcengine.vpc.FlowLogActive("fooFlowLogActive", {flowLogId: fooFlowLog.id});
45
+ * ```
46
+ *
47
+ * ## Import
48
+ *
49
+ * FlowLogActive can be imported using the id, e.g.
50
+ *
51
+ * ```sh
52
+ * $ pulumi import volcengine:vpc/flowLogActive:FlowLogActive default resource_id
53
+ * ```
54
+ */
55
+ class FlowLogActive extends pulumi.CustomResource {
56
+ /**
57
+ * Get an existing FlowLogActive resource's state with the given name, ID, and optional extra
58
+ * properties used to qualify the lookup.
59
+ *
60
+ * @param name The _unique_ name of the resulting resource.
61
+ * @param id The _unique_ provider ID of the resource to lookup.
62
+ * @param state Any extra arguments used during the lookup.
63
+ * @param opts Optional settings to control the behavior of the CustomResource.
64
+ */
65
+ static get(name, id, state, opts) {
66
+ return new FlowLogActive(name, state, Object.assign(Object.assign({}, opts), { id: id }));
67
+ }
68
+ /**
69
+ * Returns true if the given object is an instance of FlowLogActive. This is designed to work even
70
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
71
+ */
72
+ static isInstance(obj) {
73
+ if (obj === undefined || obj === null) {
74
+ return false;
75
+ }
76
+ return obj['__pulumiType'] === FlowLogActive.__pulumiType;
77
+ }
78
+ constructor(name, argsOrState, opts) {
79
+ let resourceInputs = {};
80
+ opts = opts || {};
81
+ if (opts.id) {
82
+ const state = argsOrState;
83
+ resourceInputs["flowLogId"] = state ? state.flowLogId : undefined;
84
+ resourceInputs["status"] = state ? state.status : undefined;
85
+ }
86
+ else {
87
+ const args = argsOrState;
88
+ if ((!args || args.flowLogId === undefined) && !opts.urn) {
89
+ throw new Error("Missing required property 'flowLogId'");
90
+ }
91
+ resourceInputs["flowLogId"] = args ? args.flowLogId : undefined;
92
+ resourceInputs["status"] = undefined /*out*/;
93
+ }
94
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
95
+ super(FlowLogActive.__pulumiType, name, resourceInputs, opts);
96
+ }
97
+ }
98
+ exports.FlowLogActive = FlowLogActive;
99
+ /** @internal */
100
+ FlowLogActive.__pulumiType = 'volcengine:vpc/flowLogActive:FlowLogActive';
101
+ //# sourceMappingURL=flowLogActive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flowLogActive.js","sourceRoot":"","sources":["../../vpc/flowLogActive.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAA4C,CAAC;YAC1D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA9DL,sCA+DC;AAjDG,gBAAgB;AACO,0BAAY,GAAG,4CAA4C,CAAC"}
@@ -0,0 +1,231 @@
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
+ /** @deprecated volcengine.vpc.FlowLogs has been deprecated in favor of volcengine.vpc.getFlowLogs */
18
+ export declare function flowLogs(args?: FlowLogsArgs, opts?: pulumi.InvokeOptions): Promise<FlowLogsResult>;
19
+ /**
20
+ * A collection of arguments for invoking FlowLogs.
21
+ */
22
+ export interface FlowLogsArgs {
23
+ /**
24
+ * The aggregation interval of flow log. Unit: minute. Valid values: `1`, `5`, `10`.
25
+ */
26
+ aggregationInterval?: number;
27
+ /**
28
+ * The description of flow log.
29
+ */
30
+ description?: string;
31
+ /**
32
+ * A list of flow log IDs.
33
+ */
34
+ flowLogIds?: string[];
35
+ /**
36
+ * The name of flow log.
37
+ */
38
+ flowLogName?: string;
39
+ /**
40
+ * The ID of log project.
41
+ */
42
+ logProjectId?: string;
43
+ /**
44
+ * The ID of log topic.
45
+ */
46
+ logTopicId?: string;
47
+ /**
48
+ * A Name Regex of Resource.
49
+ */
50
+ nameRegex?: string;
51
+ /**
52
+ * File name where to save data source results.
53
+ */
54
+ outputFile?: string;
55
+ /**
56
+ * The project name of flow log.
57
+ */
58
+ projectName?: string;
59
+ /**
60
+ * The ID of resource.
61
+ */
62
+ resourceId?: string;
63
+ /**
64
+ * The type of resource. Valid values: `vpc`, `subnet`, `eni`.
65
+ */
66
+ resourceType?: string;
67
+ /**
68
+ * The status of flow log. Valid values: `Active`, `Pending`, `Inactive`, `Creating`, `Deleting`.
69
+ */
70
+ status?: string;
71
+ /**
72
+ * Tags.
73
+ */
74
+ tags?: inputs.vpc.FlowLogsTag[];
75
+ /**
76
+ * The type of traffic. Valid values: `All`, `Allow`, `Drop`.
77
+ */
78
+ trafficType?: string;
79
+ /**
80
+ * The ID of VPC.
81
+ */
82
+ vpcId?: string;
83
+ }
84
+ /**
85
+ * A collection of values returned by FlowLogs.
86
+ */
87
+ export interface FlowLogsResult {
88
+ /**
89
+ * The aggregation interval of flow log. Unit: minute. Valid values: `1`, `5`, `10`.
90
+ */
91
+ readonly aggregationInterval?: number;
92
+ /**
93
+ * The description of flow log.
94
+ */
95
+ readonly description?: string;
96
+ readonly flowLogIds?: string[];
97
+ /**
98
+ * The name of flow log.
99
+ */
100
+ readonly flowLogName?: string;
101
+ /**
102
+ * The collection of query.
103
+ */
104
+ readonly flowLogs: outputs.vpc.FlowLogsFlowLog[];
105
+ /**
106
+ * The provider-assigned unique ID for this managed resource.
107
+ */
108
+ readonly id: string;
109
+ /**
110
+ * The ID of log project.
111
+ */
112
+ readonly logProjectId?: string;
113
+ /**
114
+ * The ID of log topic.
115
+ */
116
+ readonly logTopicId?: string;
117
+ readonly nameRegex?: string;
118
+ readonly outputFile?: string;
119
+ /**
120
+ * The project name of flow log.
121
+ */
122
+ readonly projectName?: string;
123
+ /**
124
+ * The ID of resource.
125
+ */
126
+ readonly resourceId?: string;
127
+ /**
128
+ * The type of resource. Valid values: `vpc`, `subnet`, `eni`.
129
+ */
130
+ readonly resourceType?: string;
131
+ /**
132
+ * The status of flow log. Valid values: `Active`, `Pending`, `Inactive`, `Creating`, `Deleting`.
133
+ */
134
+ readonly status?: string;
135
+ /**
136
+ * Tags.
137
+ */
138
+ readonly tags?: outputs.vpc.FlowLogsTag[];
139
+ /**
140
+ * The total count of query.
141
+ */
142
+ readonly totalCount: number;
143
+ /**
144
+ * The type of traffic. Valid values: `All`, `Allow`, `Drop`.
145
+ */
146
+ readonly trafficType?: string;
147
+ /**
148
+ * The ID of VPC.
149
+ */
150
+ readonly vpcId?: string;
151
+ }
152
+ /**
153
+ * Use this data source to query detailed information of flow logs
154
+ * ## Example Usage
155
+ *
156
+ * ```typescript
157
+ * import * as pulumi from "@pulumi/pulumi";
158
+ * import * as volcengine from "@pulumi/volcengine";
159
+ *
160
+ * const foo = volcengine.vpc.getFlowLogs({
161
+ * flowLogIds: ["fl-13g4fqngluhog3n6nu57o****"],
162
+ * });
163
+ * ```
164
+ */
165
+ /** @deprecated volcengine.vpc.FlowLogs has been deprecated in favor of volcengine.vpc.getFlowLogs */
166
+ export declare function flowLogsOutput(args?: FlowLogsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<FlowLogsResult>;
167
+ /**
168
+ * A collection of arguments for invoking FlowLogs.
169
+ */
170
+ export interface FlowLogsOutputArgs {
171
+ /**
172
+ * The aggregation interval of flow log. Unit: minute. Valid values: `1`, `5`, `10`.
173
+ */
174
+ aggregationInterval?: pulumi.Input<number>;
175
+ /**
176
+ * The description of flow log.
177
+ */
178
+ description?: pulumi.Input<string>;
179
+ /**
180
+ * A list of flow log IDs.
181
+ */
182
+ flowLogIds?: pulumi.Input<pulumi.Input<string>[]>;
183
+ /**
184
+ * The name of flow log.
185
+ */
186
+ flowLogName?: pulumi.Input<string>;
187
+ /**
188
+ * The ID of log project.
189
+ */
190
+ logProjectId?: pulumi.Input<string>;
191
+ /**
192
+ * The ID of log topic.
193
+ */
194
+ logTopicId?: pulumi.Input<string>;
195
+ /**
196
+ * A Name Regex of Resource.
197
+ */
198
+ nameRegex?: pulumi.Input<string>;
199
+ /**
200
+ * File name where to save data source results.
201
+ */
202
+ outputFile?: pulumi.Input<string>;
203
+ /**
204
+ * The project name of flow log.
205
+ */
206
+ projectName?: pulumi.Input<string>;
207
+ /**
208
+ * The ID of resource.
209
+ */
210
+ resourceId?: pulumi.Input<string>;
211
+ /**
212
+ * The type of resource. Valid values: `vpc`, `subnet`, `eni`.
213
+ */
214
+ resourceType?: pulumi.Input<string>;
215
+ /**
216
+ * The status of flow log. Valid values: `Active`, `Pending`, `Inactive`, `Creating`, `Deleting`.
217
+ */
218
+ status?: pulumi.Input<string>;
219
+ /**
220
+ * Tags.
221
+ */
222
+ tags?: pulumi.Input<pulumi.Input<inputs.vpc.FlowLogsTagArgs>[]>;
223
+ /**
224
+ * The type of traffic. Valid values: `All`, `Allow`, `Drop`.
225
+ */
226
+ trafficType?: pulumi.Input<string>;
227
+ /**
228
+ * The ID of VPC.
229
+ */
230
+ vpcId?: pulumi.Input<string>;
231
+ }
@@ -0,0 +1,63 @@
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.flowLogsOutput = exports.flowLogs = 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
+ /** @deprecated volcengine.vpc.FlowLogs has been deprecated in favor of volcengine.vpc.getFlowLogs */
22
+ function flowLogs(args, opts) {
23
+ pulumi.log.warn("flowLogs is deprecated: volcengine.vpc.FlowLogs has been deprecated in favor of volcengine.vpc.getFlowLogs");
24
+ args = args || {};
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
+ return pulumi.runtime.invoke("volcengine:vpc/flowLogs:FlowLogs", {
27
+ "aggregationInterval": args.aggregationInterval,
28
+ "description": args.description,
29
+ "flowLogIds": args.flowLogIds,
30
+ "flowLogName": args.flowLogName,
31
+ "logProjectId": args.logProjectId,
32
+ "logTopicId": args.logTopicId,
33
+ "nameRegex": args.nameRegex,
34
+ "outputFile": args.outputFile,
35
+ "projectName": args.projectName,
36
+ "resourceId": args.resourceId,
37
+ "resourceType": args.resourceType,
38
+ "status": args.status,
39
+ "tags": args.tags,
40
+ "trafficType": args.trafficType,
41
+ "vpcId": args.vpcId,
42
+ }, opts);
43
+ }
44
+ exports.flowLogs = flowLogs;
45
+ /**
46
+ * Use this data source to query detailed information of flow logs
47
+ * ## Example Usage
48
+ *
49
+ * ```typescript
50
+ * import * as pulumi from "@pulumi/pulumi";
51
+ * import * as volcengine from "@pulumi/volcengine";
52
+ *
53
+ * const foo = volcengine.vpc.getFlowLogs({
54
+ * flowLogIds: ["fl-13g4fqngluhog3n6nu57o****"],
55
+ * });
56
+ * ```
57
+ */
58
+ /** @deprecated volcengine.vpc.FlowLogs has been deprecated in favor of volcengine.vpc.getFlowLogs */
59
+ function flowLogsOutput(args, opts) {
60
+ return pulumi.output(args).apply((a) => flowLogs(a, opts));
61
+ }
62
+ exports.flowLogsOutput = flowLogsOutput;
63
+ //# sourceMappingURL=flowLogs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flowLogs.js","sourceRoot":"","sources":["../../vpc/flowLogs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,qGAAqG;AACrG,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,4GAA4G,CAAC,CAAA;IAC7H,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,kCAAkC,EAAE;QAC7D,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;AAtBD,4BAsBC;AAwID;;;;;;;;;;;;GAYG;AACH,qGAAqG;AACrG,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}