@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,206 @@
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.ApigUpstreamVersion = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage apig upstream version
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
+ * });
22
+ * const foo1 = new volcengine.vpc.Subnet("foo1", {
23
+ * subnetName: "acc-test-subnet",
24
+ * cidrBlock: "172.16.0.0/24",
25
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
26
+ * vpcId: fooVpc.id,
27
+ * });
28
+ * const foo2 = new volcengine.vpc.Subnet("foo2", {
29
+ * subnetName: "acc-test-subnet",
30
+ * cidrBlock: "172.16.1.0/24",
31
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[1]?.id),
32
+ * vpcId: fooVpc.id,
33
+ * });
34
+ * const fooApigGateway = new volcengine.apig.ApigGateway("fooApigGateway", {
35
+ * type: "standard",
36
+ * comments: "acc-test",
37
+ * projectName: "default",
38
+ * tags: [{
39
+ * key: "k1",
40
+ * value: "v1",
41
+ * }],
42
+ * networkSpec: {
43
+ * vpcId: fooVpc.id,
44
+ * subnetIds: [
45
+ * foo1.id,
46
+ * foo2.id,
47
+ * ],
48
+ * },
49
+ * resourceSpec: {
50
+ * replicas: 2,
51
+ * instanceSpecCode: "1c2g",
52
+ * clbSpecCode: "small_1",
53
+ * publicNetworkBillingType: "bandwidth",
54
+ * publicNetworkBandwidth: 1,
55
+ * networkType: {
56
+ * enablePublicNetwork: true,
57
+ * enablePrivateNetwork: true,
58
+ * },
59
+ * },
60
+ * logSpec: {
61
+ * enable: true,
62
+ * projectId: "d3cb87c0-faeb-4074-b1ee-9bd747865a76",
63
+ * topicId: "d339482e-d86d-4bd8-a9bb-f270417f00a1",
64
+ * },
65
+ * monitorSpec: {
66
+ * enable: true,
67
+ * workspaceId: "4ed1caf3-279d-4c5f-8301-87ea38e92ffc",
68
+ * },
69
+ * });
70
+ * const fooApigGatewayService = new volcengine.apig.ApigGatewayService("fooApigGatewayService", {
71
+ * gatewayId: fooApigGateway.id,
72
+ * serviceName: "acc-test-apig-service",
73
+ * comments: "acc-test",
74
+ * protocols: [
75
+ * "HTTP",
76
+ * "HTTPS",
77
+ * ],
78
+ * authSpec: {
79
+ * enable: false,
80
+ * },
81
+ * });
82
+ * const foo_k8sApigUpstreamSource = new volcengine.apig.ApigUpstreamSource("foo-k8sApigUpstreamSource", {
83
+ * gatewayId: fooApigGateway.id,
84
+ * comments: "acc-test-k8s",
85
+ * sourceType: "K8S",
86
+ * sourceSpec: {
87
+ * k8sSource: {
88
+ * clusterId: "cd197sac4mpmnruh7um80",
89
+ * },
90
+ * },
91
+ * ingressSettings: [{
92
+ * enableIngress: true,
93
+ * updateStatus: true,
94
+ * ingressClasses: ["test"],
95
+ * watchNamespaces: ["default"],
96
+ * }],
97
+ * });
98
+ * const foo_k8sApigUpstream = new volcengine.apig.ApigUpstream("foo-k8sApigUpstream", {
99
+ * gatewayId: fooApigGateway.id,
100
+ * comments: "acc-test",
101
+ * resourceType: "Console",
102
+ * protocol: "HTTP",
103
+ * loadBalancerSettings: {
104
+ * lbPolicy: "ConsistentHashLB",
105
+ * consistentHashLb: {
106
+ * hashKey: "HTTPCookie",
107
+ * httpCookie: {
108
+ * name: "test",
109
+ * path: "/",
110
+ * ttl: 300,
111
+ * },
112
+ * },
113
+ * },
114
+ * tlsSettings: {
115
+ * tlsMode: "SIMPLE",
116
+ * sni: "test",
117
+ * },
118
+ * circuitBreakingSettings: {
119
+ * enable: false,
120
+ * consecutiveErrors: 5,
121
+ * interval: 10000,
122
+ * baseEjectionTime: 30000,
123
+ * maxEjectionPercent: 20,
124
+ * minHealthPercent: 60,
125
+ * },
126
+ * sourceType: "K8S",
127
+ * upstreamSpec: {
128
+ * k8sService: {
129
+ * namespace: "default",
130
+ * name: "kubernetes",
131
+ * port: 443,
132
+ * },
133
+ * },
134
+ * }, {
135
+ * dependsOn: [foo_k8sApigUpstreamSource],
136
+ * });
137
+ * const fooApigUpstreamVersion = new volcengine.apig.ApigUpstreamVersion("fooApigUpstreamVersion", {
138
+ * upstreamId: foo_k8sApigUpstream.id,
139
+ * upstreamVersion: {
140
+ * name: "acc-test-version",
141
+ * labels: [{
142
+ * key: "k1",
143
+ * value: "v2",
144
+ * }],
145
+ * },
146
+ * });
147
+ * ```
148
+ *
149
+ * ## Import
150
+ *
151
+ * ApigUpstreamVersion can be imported using the id, e.g.
152
+ *
153
+ * ```sh
154
+ * $ pulumi import volcengine:apig/apigUpstreamVersion:ApigUpstreamVersion default resource_id
155
+ * ```
156
+ */
157
+ class ApigUpstreamVersion extends pulumi.CustomResource {
158
+ /**
159
+ * Get an existing ApigUpstreamVersion resource's state with the given name, ID, and optional extra
160
+ * properties used to qualify the lookup.
161
+ *
162
+ * @param name The _unique_ name of the resulting resource.
163
+ * @param id The _unique_ provider ID of the resource to lookup.
164
+ * @param state Any extra arguments used during the lookup.
165
+ * @param opts Optional settings to control the behavior of the CustomResource.
166
+ */
167
+ static get(name, id, state, opts) {
168
+ return new ApigUpstreamVersion(name, state, Object.assign(Object.assign({}, opts), { id: id }));
169
+ }
170
+ /**
171
+ * Returns true if the given object is an instance of ApigUpstreamVersion. This is designed to work even
172
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
173
+ */
174
+ static isInstance(obj) {
175
+ if (obj === undefined || obj === null) {
176
+ return false;
177
+ }
178
+ return obj['__pulumiType'] === ApigUpstreamVersion.__pulumiType;
179
+ }
180
+ constructor(name, argsOrState, opts) {
181
+ let resourceInputs = {};
182
+ opts = opts || {};
183
+ if (opts.id) {
184
+ const state = argsOrState;
185
+ resourceInputs["upstreamId"] = state ? state.upstreamId : undefined;
186
+ resourceInputs["upstreamVersion"] = state ? state.upstreamVersion : undefined;
187
+ }
188
+ else {
189
+ const args = argsOrState;
190
+ if ((!args || args.upstreamId === undefined) && !opts.urn) {
191
+ throw new Error("Missing required property 'upstreamId'");
192
+ }
193
+ if ((!args || args.upstreamVersion === undefined) && !opts.urn) {
194
+ throw new Error("Missing required property 'upstreamVersion'");
195
+ }
196
+ resourceInputs["upstreamId"] = args ? args.upstreamId : undefined;
197
+ resourceInputs["upstreamVersion"] = args ? args.upstreamVersion : undefined;
198
+ }
199
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
200
+ super(ApigUpstreamVersion.__pulumiType, name, resourceInputs, opts);
201
+ }
202
+ }
203
+ exports.ApigUpstreamVersion = ApigUpstreamVersion;
204
+ /** @internal */
205
+ ApigUpstreamVersion.__pulumiType = 'volcengine:apig/apigUpstreamVersion:ApigUpstreamVersion';
206
+ //# sourceMappingURL=apigUpstreamVersion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apigUpstreamVersion.js","sourceRoot":"","sources":["../../apig/apigUpstreamVersion.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoJG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;aAAM;YACH,MAAM,IAAI,GAAG,WAAkD,CAAC;YAChE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,eAAe,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5D,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;aAClE;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAjEL,kDAkEC;AApDG,gBAAgB;AACO,gCAAY,GAAG,yDAAyD,CAAC"}
@@ -0,0 +1,112 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Use this data source to query detailed information of apig custom domains
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const foo = volcengine.apig.getCustomDomains({
12
+ * gatewayId: "gd13d8c6eq1emkiunq6p0",
13
+ * serviceId: "sd142lm6kiaj519k4l640",
14
+ * });
15
+ * ```
16
+ */
17
+ /** @deprecated volcengine.apig.CustomDomains has been deprecated in favor of volcengine.apig.getCustomDomains */
18
+ export declare function customDomains(args?: CustomDomainsArgs, opts?: pulumi.InvokeOptions): Promise<CustomDomainsResult>;
19
+ /**
20
+ * A collection of arguments for invoking CustomDomains.
21
+ */
22
+ export interface CustomDomainsArgs {
23
+ /**
24
+ * The id of api gateway.
25
+ */
26
+ gatewayId?: string;
27
+ /**
28
+ * A Name Regex of Resource.
29
+ */
30
+ nameRegex?: string;
31
+ /**
32
+ * File name where to save data source results.
33
+ */
34
+ outputFile?: string;
35
+ /**
36
+ * The resource type of domain. Valid values: `Console`, `Ingress`.
37
+ */
38
+ resourceType?: string;
39
+ /**
40
+ * The id of api gateway service.
41
+ */
42
+ serviceId?: string;
43
+ }
44
+ /**
45
+ * A collection of values returned by CustomDomains.
46
+ */
47
+ export interface CustomDomainsResult {
48
+ /**
49
+ * The collection of query.
50
+ */
51
+ readonly customDomains: outputs.apig.CustomDomainsCustomDomain[];
52
+ readonly gatewayId?: string;
53
+ /**
54
+ * The provider-assigned unique ID for this managed resource.
55
+ */
56
+ readonly id: string;
57
+ readonly nameRegex?: string;
58
+ readonly outputFile?: string;
59
+ /**
60
+ * The resource type of domain.
61
+ */
62
+ readonly resourceType?: string;
63
+ /**
64
+ * The id of the api gateway service.
65
+ */
66
+ readonly serviceId?: string;
67
+ /**
68
+ * The total count of query.
69
+ */
70
+ readonly totalCount: number;
71
+ }
72
+ /**
73
+ * Use this data source to query detailed information of apig custom domains
74
+ * ## Example Usage
75
+ *
76
+ * ```typescript
77
+ * import * as pulumi from "@pulumi/pulumi";
78
+ * import * as volcengine from "@pulumi/volcengine";
79
+ *
80
+ * const foo = volcengine.apig.getCustomDomains({
81
+ * gatewayId: "gd13d8c6eq1emkiunq6p0",
82
+ * serviceId: "sd142lm6kiaj519k4l640",
83
+ * });
84
+ * ```
85
+ */
86
+ /** @deprecated volcengine.apig.CustomDomains has been deprecated in favor of volcengine.apig.getCustomDomains */
87
+ export declare function customDomainsOutput(args?: CustomDomainsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<CustomDomainsResult>;
88
+ /**
89
+ * A collection of arguments for invoking CustomDomains.
90
+ */
91
+ export interface CustomDomainsOutputArgs {
92
+ /**
93
+ * The id of api gateway.
94
+ */
95
+ gatewayId?: pulumi.Input<string>;
96
+ /**
97
+ * A Name Regex of Resource.
98
+ */
99
+ nameRegex?: pulumi.Input<string>;
100
+ /**
101
+ * File name where to save data source results.
102
+ */
103
+ outputFile?: pulumi.Input<string>;
104
+ /**
105
+ * The resource type of domain. Valid values: `Console`, `Ingress`.
106
+ */
107
+ resourceType?: pulumi.Input<string>;
108
+ /**
109
+ * The id of api gateway service.
110
+ */
111
+ serviceId?: pulumi.Input<string>;
112
+ }
@@ -0,0 +1,55 @@
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.customDomainsOutput = exports.customDomains = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of apig custom domains
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.apig.getCustomDomains({
17
+ * gatewayId: "gd13d8c6eq1emkiunq6p0",
18
+ * serviceId: "sd142lm6kiaj519k4l640",
19
+ * });
20
+ * ```
21
+ */
22
+ /** @deprecated volcengine.apig.CustomDomains has been deprecated in favor of volcengine.apig.getCustomDomains */
23
+ function customDomains(args, opts) {
24
+ pulumi.log.warn("customDomains is deprecated: volcengine.apig.CustomDomains has been deprecated in favor of volcengine.apig.getCustomDomains");
25
+ args = args || {};
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
27
+ return pulumi.runtime.invoke("volcengine:apig/customDomains:CustomDomains", {
28
+ "gatewayId": args.gatewayId,
29
+ "nameRegex": args.nameRegex,
30
+ "outputFile": args.outputFile,
31
+ "resourceType": args.resourceType,
32
+ "serviceId": args.serviceId,
33
+ }, opts);
34
+ }
35
+ exports.customDomains = customDomains;
36
+ /**
37
+ * Use this data source to query detailed information of apig custom domains
38
+ * ## Example Usage
39
+ *
40
+ * ```typescript
41
+ * import * as pulumi from "@pulumi/pulumi";
42
+ * import * as volcengine from "@pulumi/volcengine";
43
+ *
44
+ * const foo = volcengine.apig.getCustomDomains({
45
+ * gatewayId: "gd13d8c6eq1emkiunq6p0",
46
+ * serviceId: "sd142lm6kiaj519k4l640",
47
+ * });
48
+ * ```
49
+ */
50
+ /** @deprecated volcengine.apig.CustomDomains has been deprecated in favor of volcengine.apig.getCustomDomains */
51
+ function customDomainsOutput(args, opts) {
52
+ return pulumi.output(args).apply((a) => customDomains(a, opts));
53
+ }
54
+ exports.customDomainsOutput = customDomainsOutput;
55
+ //# sourceMappingURL=customDomains.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customDomains.js","sourceRoot":"","sources":["../../apig/customDomains.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,iHAAiH;AACjH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6HAA6H,CAAC,CAAA;IAC9I,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,6CAA6C,EAAE;QACxE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,sCAYC;AAwDD;;;;;;;;;;;;;GAaG;AACH,iHAAiH;AACjH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
@@ -0,0 +1,104 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Use this data source to query detailed information of apig gateway services
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const foo = volcengine.apig.getGatewayServices({
12
+ * gatewayId: "gd13d8c6eq1emkiunq6p0",
13
+ * });
14
+ * ```
15
+ */
16
+ /** @deprecated volcengine.apig.GatewayServices has been deprecated in favor of volcengine.apig.getGatewayServices */
17
+ export declare function gatewayServices(args?: GatewayServicesArgs, opts?: pulumi.InvokeOptions): Promise<GatewayServicesResult>;
18
+ /**
19
+ * A collection of arguments for invoking GatewayServices.
20
+ */
21
+ export interface GatewayServicesArgs {
22
+ /**
23
+ * The gateway id of api gateway service.
24
+ */
25
+ gatewayId?: string;
26
+ /**
27
+ * The name of api gateway service. This field support fuzzy query.
28
+ */
29
+ name?: string;
30
+ /**
31
+ * File name where to save data source results.
32
+ */
33
+ outputFile?: string;
34
+ /**
35
+ * The status of api gateway service.
36
+ */
37
+ status?: string;
38
+ }
39
+ /**
40
+ * A collection of values returned by GatewayServices.
41
+ */
42
+ export interface GatewayServicesResult {
43
+ /**
44
+ * The gateway id of the api gateway service.
45
+ */
46
+ readonly gatewayId?: string;
47
+ /**
48
+ * The collection of query.
49
+ */
50
+ readonly gatewayServices: outputs.apig.GatewayServicesGatewayService[];
51
+ /**
52
+ * The provider-assigned unique ID for this managed resource.
53
+ */
54
+ readonly id: string;
55
+ /**
56
+ * The name of the api gateway service.
57
+ */
58
+ readonly name?: string;
59
+ readonly outputFile?: string;
60
+ /**
61
+ * The status of the api gateway service.
62
+ */
63
+ readonly status?: string;
64
+ /**
65
+ * The total count of query.
66
+ */
67
+ readonly totalCount: number;
68
+ }
69
+ /**
70
+ * Use this data source to query detailed information of apig gateway services
71
+ * ## Example Usage
72
+ *
73
+ * ```typescript
74
+ * import * as pulumi from "@pulumi/pulumi";
75
+ * import * as volcengine from "@pulumi/volcengine";
76
+ *
77
+ * const foo = volcengine.apig.getGatewayServices({
78
+ * gatewayId: "gd13d8c6eq1emkiunq6p0",
79
+ * });
80
+ * ```
81
+ */
82
+ /** @deprecated volcengine.apig.GatewayServices has been deprecated in favor of volcengine.apig.getGatewayServices */
83
+ export declare function gatewayServicesOutput(args?: GatewayServicesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GatewayServicesResult>;
84
+ /**
85
+ * A collection of arguments for invoking GatewayServices.
86
+ */
87
+ export interface GatewayServicesOutputArgs {
88
+ /**
89
+ * The gateway id of api gateway service.
90
+ */
91
+ gatewayId?: pulumi.Input<string>;
92
+ /**
93
+ * The name of api gateway service. This field support fuzzy query.
94
+ */
95
+ name?: pulumi.Input<string>;
96
+ /**
97
+ * File name where to save data source results.
98
+ */
99
+ outputFile?: pulumi.Input<string>;
100
+ /**
101
+ * The status of api gateway service.
102
+ */
103
+ status?: pulumi.Input<string>;
104
+ }
@@ -0,0 +1,52 @@
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.gatewayServicesOutput = exports.gatewayServices = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of apig gateway services
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.apig.getGatewayServices({
17
+ * gatewayId: "gd13d8c6eq1emkiunq6p0",
18
+ * });
19
+ * ```
20
+ */
21
+ /** @deprecated volcengine.apig.GatewayServices has been deprecated in favor of volcengine.apig.getGatewayServices */
22
+ function gatewayServices(args, opts) {
23
+ pulumi.log.warn("gatewayServices is deprecated: volcengine.apig.GatewayServices has been deprecated in favor of volcengine.apig.getGatewayServices");
24
+ args = args || {};
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
+ return pulumi.runtime.invoke("volcengine:apig/gatewayServices:GatewayServices", {
27
+ "gatewayId": args.gatewayId,
28
+ "name": args.name,
29
+ "outputFile": args.outputFile,
30
+ "status": args.status,
31
+ }, opts);
32
+ }
33
+ exports.gatewayServices = gatewayServices;
34
+ /**
35
+ * Use this data source to query detailed information of apig gateway services
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.apig.getGatewayServices({
43
+ * gatewayId: "gd13d8c6eq1emkiunq6p0",
44
+ * });
45
+ * ```
46
+ */
47
+ /** @deprecated volcengine.apig.GatewayServices has been deprecated in favor of volcengine.apig.getGatewayServices */
48
+ function gatewayServicesOutput(args, opts) {
49
+ return pulumi.output(args).apply((a) => gatewayServices(a, opts));
50
+ }
51
+ exports.gatewayServicesOutput = gatewayServicesOutput;
52
+ //# sourceMappingURL=gatewayServices.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gatewayServices.js","sourceRoot":"","sources":["../../apig/gatewayServices.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,qHAAqH;AACrH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,mIAAmI,CAAC,CAAA;IACpJ,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,iDAAiD,EAAE;QAC5E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0CAWC;AAsDD;;;;;;;;;;;;GAYG;AACH,qHAAqH;AACrH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}