@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,47 @@
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.getUpstreamVersionsOutput = exports.getUpstreamVersions = 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 upstream versions
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.getUpstreamVersions({
17
+ * upstreamId: "ud18p5krj5ce3htvrd0v0",
18
+ * });
19
+ * ```
20
+ */
21
+ function getUpstreamVersions(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invoke("volcengine:apig/getUpstreamVersions:getUpstreamVersions", {
24
+ "nameRegex": args.nameRegex,
25
+ "outputFile": args.outputFile,
26
+ "upstreamId": args.upstreamId,
27
+ }, opts);
28
+ }
29
+ exports.getUpstreamVersions = getUpstreamVersions;
30
+ /**
31
+ * Use this data source to query detailed information of apig upstream versions
32
+ * ## Example Usage
33
+ *
34
+ * ```typescript
35
+ * import * as pulumi from "@pulumi/pulumi";
36
+ * import * as volcengine from "@pulumi/volcengine";
37
+ *
38
+ * const foo = volcengine.apig.getUpstreamVersions({
39
+ * upstreamId: "ud18p5krj5ce3htvrd0v0",
40
+ * });
41
+ * ```
42
+ */
43
+ function getUpstreamVersionsOutput(args, opts) {
44
+ return pulumi.output(args).apply((a) => getUpstreamVersions(a, opts));
45
+ }
46
+ exports.getUpstreamVersionsOutput = getUpstreamVersionsOutput;
47
+ //# sourceMappingURL=getUpstreamVersions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getUpstreamVersions.js","sourceRoot":"","sources":["../../apig/getUpstreamVersions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAE1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yDAAyD,EAAE;QACpF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kDAQC;AAwCD;;;;;;;;;;;;GAYG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
@@ -0,0 +1,140 @@
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 upstreams
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.getUpstreams({
12
+ * gatewayId: "gd13d8c6eq1emkiunq6p0",
13
+ * ids: [
14
+ * "ud18p5krj5ce3htvrd0v0",
15
+ * "ud18ouitrjp6fhvu61n7g",
16
+ * ],
17
+ * });
18
+ * ```
19
+ */
20
+ export declare function getUpstreams(args?: GetUpstreamsArgs, opts?: pulumi.InvokeOptions): Promise<GetUpstreamsResult>;
21
+ /**
22
+ * A collection of arguments for invoking getUpstreams.
23
+ */
24
+ export interface GetUpstreamsArgs {
25
+ /**
26
+ * The id of api gateway.
27
+ */
28
+ gatewayId?: string;
29
+ /**
30
+ * A list of apig upstream IDs.
31
+ */
32
+ ids?: string[];
33
+ /**
34
+ * The name of apig upstream. This field support fuzzy query.
35
+ */
36
+ name?: string;
37
+ /**
38
+ * A Name Regex of Resource.
39
+ */
40
+ nameRegex?: string;
41
+ /**
42
+ * File name where to save data source results.
43
+ */
44
+ outputFile?: string;
45
+ /**
46
+ * The resource type of apig upstream. Valid values: `Console`, `Ingress`.
47
+ */
48
+ resourceType?: string;
49
+ /**
50
+ * The source type of apig upstream. Valid values: `VeFaas`, `ECS`, `FixedIP`, `K8S`, `Nacos`, `Domain`, `AIProvider`, `VeMLP`.
51
+ */
52
+ sourceType?: string;
53
+ }
54
+ /**
55
+ * A collection of values returned by getUpstreams.
56
+ */
57
+ export interface GetUpstreamsResult {
58
+ /**
59
+ * The id of api gateway.
60
+ */
61
+ readonly gatewayId?: string;
62
+ /**
63
+ * The provider-assigned unique ID for this managed resource.
64
+ */
65
+ readonly id: string;
66
+ readonly ids?: string[];
67
+ /**
68
+ * The name of apig upstream version.
69
+ */
70
+ readonly name?: string;
71
+ readonly nameRegex?: string;
72
+ readonly outputFile?: string;
73
+ /**
74
+ * The resource type of apig upstream.
75
+ */
76
+ readonly resourceType?: string;
77
+ /**
78
+ * The source type of apig upstream.
79
+ */
80
+ readonly sourceType?: string;
81
+ /**
82
+ * The total count of query.
83
+ */
84
+ readonly totalCount: number;
85
+ /**
86
+ * The collection of query.
87
+ */
88
+ readonly upstreams: outputs.apig.GetUpstreamsUpstream[];
89
+ }
90
+ /**
91
+ * Use this data source to query detailed information of apig upstreams
92
+ * ## Example Usage
93
+ *
94
+ * ```typescript
95
+ * import * as pulumi from "@pulumi/pulumi";
96
+ * import * as volcengine from "@pulumi/volcengine";
97
+ *
98
+ * const foo = volcengine.apig.getUpstreams({
99
+ * gatewayId: "gd13d8c6eq1emkiunq6p0",
100
+ * ids: [
101
+ * "ud18p5krj5ce3htvrd0v0",
102
+ * "ud18ouitrjp6fhvu61n7g",
103
+ * ],
104
+ * });
105
+ * ```
106
+ */
107
+ export declare function getUpstreamsOutput(args?: GetUpstreamsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUpstreamsResult>;
108
+ /**
109
+ * A collection of arguments for invoking getUpstreams.
110
+ */
111
+ export interface GetUpstreamsOutputArgs {
112
+ /**
113
+ * The id of api gateway.
114
+ */
115
+ gatewayId?: pulumi.Input<string>;
116
+ /**
117
+ * A list of apig upstream IDs.
118
+ */
119
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
120
+ /**
121
+ * The name of apig upstream. This field support fuzzy query.
122
+ */
123
+ name?: pulumi.Input<string>;
124
+ /**
125
+ * A Name Regex of Resource.
126
+ */
127
+ nameRegex?: pulumi.Input<string>;
128
+ /**
129
+ * File name where to save data source results.
130
+ */
131
+ outputFile?: pulumi.Input<string>;
132
+ /**
133
+ * The resource type of apig upstream. Valid values: `Console`, `Ingress`.
134
+ */
135
+ resourceType?: pulumi.Input<string>;
136
+ /**
137
+ * The source type of apig upstream. Valid values: `VeFaas`, `ECS`, `FixedIP`, `K8S`, `Nacos`, `Domain`, `AIProvider`, `VeMLP`.
138
+ */
139
+ sourceType?: pulumi.Input<string>;
140
+ }
@@ -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.getUpstreamsOutput = exports.getUpstreams = 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 upstreams
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.getUpstreams({
17
+ * gatewayId: "gd13d8c6eq1emkiunq6p0",
18
+ * ids: [
19
+ * "ud18p5krj5ce3htvrd0v0",
20
+ * "ud18ouitrjp6fhvu61n7g",
21
+ * ],
22
+ * });
23
+ * ```
24
+ */
25
+ function getUpstreams(args, opts) {
26
+ args = args || {};
27
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
28
+ return pulumi.runtime.invoke("volcengine:apig/getUpstreams:getUpstreams", {
29
+ "gatewayId": args.gatewayId,
30
+ "ids": args.ids,
31
+ "name": args.name,
32
+ "nameRegex": args.nameRegex,
33
+ "outputFile": args.outputFile,
34
+ "resourceType": args.resourceType,
35
+ "sourceType": args.sourceType,
36
+ }, opts);
37
+ }
38
+ exports.getUpstreams = getUpstreams;
39
+ /**
40
+ * Use this data source to query detailed information of apig upstreams
41
+ * ## Example Usage
42
+ *
43
+ * ```typescript
44
+ * import * as pulumi from "@pulumi/pulumi";
45
+ * import * as volcengine from "@pulumi/volcengine";
46
+ *
47
+ * const foo = volcengine.apig.getUpstreams({
48
+ * gatewayId: "gd13d8c6eq1emkiunq6p0",
49
+ * ids: [
50
+ * "ud18p5krj5ce3htvrd0v0",
51
+ * "ud18ouitrjp6fhvu61n7g",
52
+ * ],
53
+ * });
54
+ * ```
55
+ */
56
+ function getUpstreamsOutput(args, opts) {
57
+ return pulumi.output(args).apply((a) => getUpstreams(a, opts));
58
+ }
59
+ exports.getUpstreamsOutput = getUpstreamsOutput;
60
+ //# sourceMappingURL=getUpstreams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getUpstreams.js","sourceRoot":"","sources":["../../apig/getUpstreams.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,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,2CAA2C,EAAE;QACtE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,oCAaC;AAwED;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
@@ -0,0 +1,63 @@
1
+ export { ApigCustomDomainArgs, ApigCustomDomainState } from "./apigCustomDomain";
2
+ export type ApigCustomDomain = import("./apigCustomDomain").ApigCustomDomain;
3
+ export declare const ApigCustomDomain: typeof import("./apigCustomDomain").ApigCustomDomain;
4
+ export { ApigGatewayArgs, ApigGatewayState } from "./apigGateway";
5
+ export type ApigGateway = import("./apigGateway").ApigGateway;
6
+ export declare const ApigGateway: typeof import("./apigGateway").ApigGateway;
7
+ export { ApigGatewayServiceArgs, ApigGatewayServiceState } from "./apigGatewayService";
8
+ export type ApigGatewayService = import("./apigGatewayService").ApigGatewayService;
9
+ export declare const ApigGatewayService: typeof import("./apigGatewayService").ApigGatewayService;
10
+ export { ApigRouteArgs, ApigRouteState } from "./apigRoute";
11
+ export type ApigRoute = import("./apigRoute").ApigRoute;
12
+ export declare const ApigRoute: typeof import("./apigRoute").ApigRoute;
13
+ export { ApigUpstreamArgs, ApigUpstreamState } from "./apigUpstream";
14
+ export type ApigUpstream = import("./apigUpstream").ApigUpstream;
15
+ export declare const ApigUpstream: typeof import("./apigUpstream").ApigUpstream;
16
+ export { ApigUpstreamSourceArgs, ApigUpstreamSourceState } from "./apigUpstreamSource";
17
+ export type ApigUpstreamSource = import("./apigUpstreamSource").ApigUpstreamSource;
18
+ export declare const ApigUpstreamSource: typeof import("./apigUpstreamSource").ApigUpstreamSource;
19
+ export { ApigUpstreamVersionArgs, ApigUpstreamVersionState } from "./apigUpstreamVersion";
20
+ export type ApigUpstreamVersion = import("./apigUpstreamVersion").ApigUpstreamVersion;
21
+ export declare const ApigUpstreamVersion: typeof import("./apigUpstreamVersion").ApigUpstreamVersion;
22
+ export { CustomDomainsArgs, CustomDomainsResult, CustomDomainsOutputArgs } from "./customDomains";
23
+ export declare const customDomains: typeof import("./customDomains").customDomains;
24
+ export declare const customDomainsOutput: typeof import("./customDomains").customDomainsOutput;
25
+ export { GatewayServicesArgs, GatewayServicesResult, GatewayServicesOutputArgs } from "./gatewayServices";
26
+ export declare const gatewayServices: typeof import("./gatewayServices").gatewayServices;
27
+ export declare const gatewayServicesOutput: typeof import("./gatewayServices").gatewayServicesOutput;
28
+ export { GatewaysArgs, GatewaysResult, GatewaysOutputArgs } from "./gateways";
29
+ export declare const gateways: typeof import("./gateways").gateways;
30
+ export declare const gatewaysOutput: typeof import("./gateways").gatewaysOutput;
31
+ export { GetCustomDomainsArgs, GetCustomDomainsResult, GetCustomDomainsOutputArgs } from "./getCustomDomains";
32
+ export declare const getCustomDomains: typeof import("./getCustomDomains").getCustomDomains;
33
+ export declare const getCustomDomainsOutput: typeof import("./getCustomDomains").getCustomDomainsOutput;
34
+ export { GetGatewayServicesArgs, GetGatewayServicesResult, GetGatewayServicesOutputArgs } from "./getGatewayServices";
35
+ export declare const getGatewayServices: typeof import("./getGatewayServices").getGatewayServices;
36
+ export declare const getGatewayServicesOutput: typeof import("./getGatewayServices").getGatewayServicesOutput;
37
+ export { GetGatewaysArgs, GetGatewaysResult, GetGatewaysOutputArgs } from "./getGateways";
38
+ export declare const getGateways: typeof import("./getGateways").getGateways;
39
+ export declare const getGatewaysOutput: typeof import("./getGateways").getGatewaysOutput;
40
+ export { GetRoutesArgs, GetRoutesResult, GetRoutesOutputArgs } from "./getRoutes";
41
+ export declare const getRoutes: typeof import("./getRoutes").getRoutes;
42
+ export declare const getRoutesOutput: typeof import("./getRoutes").getRoutesOutput;
43
+ export { GetUpstreamSourcesArgs, GetUpstreamSourcesResult, GetUpstreamSourcesOutputArgs } from "./getUpstreamSources";
44
+ export declare const getUpstreamSources: typeof import("./getUpstreamSources").getUpstreamSources;
45
+ export declare const getUpstreamSourcesOutput: typeof import("./getUpstreamSources").getUpstreamSourcesOutput;
46
+ export { GetUpstreamVersionsArgs, GetUpstreamVersionsResult, GetUpstreamVersionsOutputArgs } from "./getUpstreamVersions";
47
+ export declare const getUpstreamVersions: typeof import("./getUpstreamVersions").getUpstreamVersions;
48
+ export declare const getUpstreamVersionsOutput: typeof import("./getUpstreamVersions").getUpstreamVersionsOutput;
49
+ export { GetUpstreamsArgs, GetUpstreamsResult, GetUpstreamsOutputArgs } from "./getUpstreams";
50
+ export declare const getUpstreams: typeof import("./getUpstreams").getUpstreams;
51
+ export declare const getUpstreamsOutput: typeof import("./getUpstreams").getUpstreamsOutput;
52
+ export { RoutesArgs, RoutesResult, RoutesOutputArgs } from "./routes";
53
+ export declare const routes: typeof import("./routes").routes;
54
+ export declare const routesOutput: typeof import("./routes").routesOutput;
55
+ export { UpstreamSourcesArgs, UpstreamSourcesResult, UpstreamSourcesOutputArgs } from "./upstreamSources";
56
+ export declare const upstreamSources: typeof import("./upstreamSources").upstreamSources;
57
+ export declare const upstreamSourcesOutput: typeof import("./upstreamSources").upstreamSourcesOutput;
58
+ export { UpstreamVersionsArgs, UpstreamVersionsResult, UpstreamVersionsOutputArgs } from "./upstreamVersions";
59
+ export declare const upstreamVersions: typeof import("./upstreamVersions").upstreamVersions;
60
+ export declare const upstreamVersionsOutput: typeof import("./upstreamVersions").upstreamVersionsOutput;
61
+ export { UpstreamsArgs, UpstreamsResult, UpstreamsOutputArgs } from "./upstreams";
62
+ export declare const upstreams: typeof import("./upstreams").upstreams;
63
+ export declare const upstreamsOutput: typeof import("./upstreams").upstreamsOutput;
package/apig/index.js ADDED
@@ -0,0 +1,94 @@
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.upstreamsOutput = exports.upstreams = exports.upstreamVersionsOutput = exports.upstreamVersions = exports.upstreamSourcesOutput = exports.upstreamSources = exports.routesOutput = exports.routes = exports.getUpstreamsOutput = exports.getUpstreams = exports.getUpstreamVersionsOutput = exports.getUpstreamVersions = exports.getUpstreamSourcesOutput = exports.getUpstreamSources = exports.getRoutesOutput = exports.getRoutes = exports.getGatewaysOutput = exports.getGateways = exports.getGatewayServicesOutput = exports.getGatewayServices = exports.getCustomDomainsOutput = exports.getCustomDomains = exports.gatewaysOutput = exports.gateways = exports.gatewayServicesOutput = exports.gatewayServices = exports.customDomainsOutput = exports.customDomains = exports.ApigUpstreamVersion = exports.ApigUpstreamSource = exports.ApigUpstream = exports.ApigRoute = exports.ApigGatewayService = exports.ApigGateway = exports.ApigCustomDomain = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ exports.ApigCustomDomain = null;
9
+ utilities.lazyLoad(exports, ["ApigCustomDomain"], () => require("./apigCustomDomain"));
10
+ exports.ApigGateway = null;
11
+ utilities.lazyLoad(exports, ["ApigGateway"], () => require("./apigGateway"));
12
+ exports.ApigGatewayService = null;
13
+ utilities.lazyLoad(exports, ["ApigGatewayService"], () => require("./apigGatewayService"));
14
+ exports.ApigRoute = null;
15
+ utilities.lazyLoad(exports, ["ApigRoute"], () => require("./apigRoute"));
16
+ exports.ApigUpstream = null;
17
+ utilities.lazyLoad(exports, ["ApigUpstream"], () => require("./apigUpstream"));
18
+ exports.ApigUpstreamSource = null;
19
+ utilities.lazyLoad(exports, ["ApigUpstreamSource"], () => require("./apigUpstreamSource"));
20
+ exports.ApigUpstreamVersion = null;
21
+ utilities.lazyLoad(exports, ["ApigUpstreamVersion"], () => require("./apigUpstreamVersion"));
22
+ exports.customDomains = null;
23
+ exports.customDomainsOutput = null;
24
+ utilities.lazyLoad(exports, ["customDomains", "customDomainsOutput"], () => require("./customDomains"));
25
+ exports.gatewayServices = null;
26
+ exports.gatewayServicesOutput = null;
27
+ utilities.lazyLoad(exports, ["gatewayServices", "gatewayServicesOutput"], () => require("./gatewayServices"));
28
+ exports.gateways = null;
29
+ exports.gatewaysOutput = null;
30
+ utilities.lazyLoad(exports, ["gateways", "gatewaysOutput"], () => require("./gateways"));
31
+ exports.getCustomDomains = null;
32
+ exports.getCustomDomainsOutput = null;
33
+ utilities.lazyLoad(exports, ["getCustomDomains", "getCustomDomainsOutput"], () => require("./getCustomDomains"));
34
+ exports.getGatewayServices = null;
35
+ exports.getGatewayServicesOutput = null;
36
+ utilities.lazyLoad(exports, ["getGatewayServices", "getGatewayServicesOutput"], () => require("./getGatewayServices"));
37
+ exports.getGateways = null;
38
+ exports.getGatewaysOutput = null;
39
+ utilities.lazyLoad(exports, ["getGateways", "getGatewaysOutput"], () => require("./getGateways"));
40
+ exports.getRoutes = null;
41
+ exports.getRoutesOutput = null;
42
+ utilities.lazyLoad(exports, ["getRoutes", "getRoutesOutput"], () => require("./getRoutes"));
43
+ exports.getUpstreamSources = null;
44
+ exports.getUpstreamSourcesOutput = null;
45
+ utilities.lazyLoad(exports, ["getUpstreamSources", "getUpstreamSourcesOutput"], () => require("./getUpstreamSources"));
46
+ exports.getUpstreamVersions = null;
47
+ exports.getUpstreamVersionsOutput = null;
48
+ utilities.lazyLoad(exports, ["getUpstreamVersions", "getUpstreamVersionsOutput"], () => require("./getUpstreamVersions"));
49
+ exports.getUpstreams = null;
50
+ exports.getUpstreamsOutput = null;
51
+ utilities.lazyLoad(exports, ["getUpstreams", "getUpstreamsOutput"], () => require("./getUpstreams"));
52
+ exports.routes = null;
53
+ exports.routesOutput = null;
54
+ utilities.lazyLoad(exports, ["routes", "routesOutput"], () => require("./routes"));
55
+ exports.upstreamSources = null;
56
+ exports.upstreamSourcesOutput = null;
57
+ utilities.lazyLoad(exports, ["upstreamSources", "upstreamSourcesOutput"], () => require("./upstreamSources"));
58
+ exports.upstreamVersions = null;
59
+ exports.upstreamVersionsOutput = null;
60
+ utilities.lazyLoad(exports, ["upstreamVersions", "upstreamVersionsOutput"], () => require("./upstreamVersions"));
61
+ exports.upstreams = null;
62
+ exports.upstreamsOutput = null;
63
+ utilities.lazyLoad(exports, ["upstreams", "upstreamsOutput"], () => require("./upstreams"));
64
+ const _module = {
65
+ version: utilities.getVersion(),
66
+ construct: (name, type, urn) => {
67
+ switch (type) {
68
+ case "volcengine:apig/apigCustomDomain:ApigCustomDomain":
69
+ return new exports.ApigCustomDomain(name, undefined, { urn });
70
+ case "volcengine:apig/apigGateway:ApigGateway":
71
+ return new exports.ApigGateway(name, undefined, { urn });
72
+ case "volcengine:apig/apigGatewayService:ApigGatewayService":
73
+ return new exports.ApigGatewayService(name, undefined, { urn });
74
+ case "volcengine:apig/apigRoute:ApigRoute":
75
+ return new exports.ApigRoute(name, undefined, { urn });
76
+ case "volcengine:apig/apigUpstream:ApigUpstream":
77
+ return new exports.ApigUpstream(name, undefined, { urn });
78
+ case "volcengine:apig/apigUpstreamSource:ApigUpstreamSource":
79
+ return new exports.ApigUpstreamSource(name, undefined, { urn });
80
+ case "volcengine:apig/apigUpstreamVersion:ApigUpstreamVersion":
81
+ return new exports.ApigUpstreamVersion(name, undefined, { urn });
82
+ default:
83
+ throw new Error(`unknown resource type ${type}`);
84
+ }
85
+ },
86
+ };
87
+ pulumi.runtime.registerResourceModule("volcengine", "apig/apigCustomDomain", _module);
88
+ pulumi.runtime.registerResourceModule("volcengine", "apig/apigGateway", _module);
89
+ pulumi.runtime.registerResourceModule("volcengine", "apig/apigGatewayService", _module);
90
+ pulumi.runtime.registerResourceModule("volcengine", "apig/apigRoute", _module);
91
+ pulumi.runtime.registerResourceModule("volcengine", "apig/apigUpstream", _module);
92
+ pulumi.runtime.registerResourceModule("volcengine", "apig/apigUpstreamSource", _module);
93
+ pulumi.runtime.registerResourceModule("volcengine", "apig/apigUpstreamVersion", _module);
94
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../apig/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAI1E,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAIhE,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAI9E,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAI5D,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAIlE,QAAA,kBAA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AAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,155 @@
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 routes
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.getRoutes({
12
+ * gatewayId: "gd1ek1ki9optek6ooabh0",
13
+ * });
14
+ * ```
15
+ */
16
+ /** @deprecated volcengine.apig.Routes has been deprecated in favor of volcengine.apig.getRoutes */
17
+ export declare function routes(args?: RoutesArgs, opts?: pulumi.InvokeOptions): Promise<RoutesResult>;
18
+ /**
19
+ * A collection of arguments for invoking Routes.
20
+ */
21
+ export interface RoutesArgs {
22
+ /**
23
+ * The id of api gateway.
24
+ */
25
+ gatewayId?: string;
26
+ /**
27
+ * The name of api gateway route. This field support fuzzy query.
28
+ */
29
+ name?: string;
30
+ /**
31
+ * A Name Regex of Resource.
32
+ */
33
+ nameRegex?: string;
34
+ /**
35
+ * File name where to save data source results.
36
+ */
37
+ outputFile?: string;
38
+ /**
39
+ * The path of api gateway route.
40
+ */
41
+ path?: string;
42
+ /**
43
+ * The resource type of route. Valid values: `Console`, `Ingress`.
44
+ */
45
+ resourceType?: string;
46
+ /**
47
+ * The id of api gateway service.
48
+ */
49
+ serviceId?: string;
50
+ /**
51
+ * The id of api gateway upstream.
52
+ */
53
+ upstreamId?: string;
54
+ /**
55
+ * The version of api gateway upstream.
56
+ */
57
+ upstreamVersion?: string;
58
+ }
59
+ /**
60
+ * A collection of values returned by Routes.
61
+ */
62
+ export interface RoutesResult {
63
+ readonly gatewayId?: string;
64
+ /**
65
+ * The provider-assigned unique ID for this managed resource.
66
+ */
67
+ readonly id: string;
68
+ /**
69
+ * The name of the api gateway route.
70
+ */
71
+ readonly name?: string;
72
+ readonly nameRegex?: string;
73
+ readonly outputFile?: string;
74
+ /**
75
+ * The path of the api gateway route.
76
+ */
77
+ readonly path?: string;
78
+ /**
79
+ * The resource type of route. Valid values: `Console`, `Ingress`.
80
+ */
81
+ readonly resourceType?: string;
82
+ /**
83
+ * The collection of query.
84
+ */
85
+ readonly routes: outputs.apig.RoutesRoute[];
86
+ /**
87
+ * The id of the api gateway service.
88
+ */
89
+ readonly serviceId?: string;
90
+ /**
91
+ * The total count of query.
92
+ */
93
+ readonly totalCount: number;
94
+ /**
95
+ * The id of the api gateway upstream.
96
+ */
97
+ readonly upstreamId?: string;
98
+ readonly upstreamVersion?: string;
99
+ }
100
+ /**
101
+ * Use this data source to query detailed information of apig routes
102
+ * ## Example Usage
103
+ *
104
+ * ```typescript
105
+ * import * as pulumi from "@pulumi/pulumi";
106
+ * import * as volcengine from "@pulumi/volcengine";
107
+ *
108
+ * const foo = volcengine.apig.getRoutes({
109
+ * gatewayId: "gd1ek1ki9optek6ooabh0",
110
+ * });
111
+ * ```
112
+ */
113
+ /** @deprecated volcengine.apig.Routes has been deprecated in favor of volcengine.apig.getRoutes */
114
+ export declare function routesOutput(args?: RoutesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<RoutesResult>;
115
+ /**
116
+ * A collection of arguments for invoking Routes.
117
+ */
118
+ export interface RoutesOutputArgs {
119
+ /**
120
+ * The id of api gateway.
121
+ */
122
+ gatewayId?: pulumi.Input<string>;
123
+ /**
124
+ * The name of api gateway route. This field support fuzzy query.
125
+ */
126
+ name?: pulumi.Input<string>;
127
+ /**
128
+ * A Name Regex of Resource.
129
+ */
130
+ nameRegex?: pulumi.Input<string>;
131
+ /**
132
+ * File name where to save data source results.
133
+ */
134
+ outputFile?: pulumi.Input<string>;
135
+ /**
136
+ * The path of api gateway route.
137
+ */
138
+ path?: pulumi.Input<string>;
139
+ /**
140
+ * The resource type of route. Valid values: `Console`, `Ingress`.
141
+ */
142
+ resourceType?: pulumi.Input<string>;
143
+ /**
144
+ * The id of api gateway service.
145
+ */
146
+ serviceId?: pulumi.Input<string>;
147
+ /**
148
+ * The id of api gateway upstream.
149
+ */
150
+ upstreamId?: pulumi.Input<string>;
151
+ /**
152
+ * The version of api gateway upstream.
153
+ */
154
+ upstreamVersion?: pulumi.Input<string>;
155
+ }
package/apig/routes.js ADDED
@@ -0,0 +1,57 @@
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.routesOutput = exports.routes = 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 routes
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.getRoutes({
17
+ * gatewayId: "gd1ek1ki9optek6ooabh0",
18
+ * });
19
+ * ```
20
+ */
21
+ /** @deprecated volcengine.apig.Routes has been deprecated in favor of volcengine.apig.getRoutes */
22
+ function routes(args, opts) {
23
+ pulumi.log.warn("routes is deprecated: volcengine.apig.Routes has been deprecated in favor of volcengine.apig.getRoutes");
24
+ args = args || {};
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
+ return pulumi.runtime.invoke("volcengine:apig/routes:Routes", {
27
+ "gatewayId": args.gatewayId,
28
+ "name": args.name,
29
+ "nameRegex": args.nameRegex,
30
+ "outputFile": args.outputFile,
31
+ "path": args.path,
32
+ "resourceType": args.resourceType,
33
+ "serviceId": args.serviceId,
34
+ "upstreamId": args.upstreamId,
35
+ "upstreamVersion": args.upstreamVersion,
36
+ }, opts);
37
+ }
38
+ exports.routes = routes;
39
+ /**
40
+ * Use this data source to query detailed information of apig routes
41
+ * ## Example Usage
42
+ *
43
+ * ```typescript
44
+ * import * as pulumi from "@pulumi/pulumi";
45
+ * import * as volcengine from "@pulumi/volcengine";
46
+ *
47
+ * const foo = volcengine.apig.getRoutes({
48
+ * gatewayId: "gd1ek1ki9optek6ooabh0",
49
+ * });
50
+ * ```
51
+ */
52
+ /** @deprecated volcengine.apig.Routes has been deprecated in favor of volcengine.apig.getRoutes */
53
+ function routesOutput(args, opts) {
54
+ return pulumi.output(args).apply((a) => routes(a, opts));
55
+ }
56
+ exports.routesOutput = routesOutput;
57
+ //# sourceMappingURL=routes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routes.js","sourceRoot":"","sources":["../../apig/routes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,mGAAmG;AACnG,SAAgB,MAAM,CAAC,IAAiB,EAAE,IAA2B;IACjE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,wGAAwG,CAAC,CAAA;IACzH,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,+BAA+B,EAAE;QAC1D,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAhBD,wBAgBC;AAqFD;;;;;;;;;;;;GAYG;AACH,mGAAmG;AACnG,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,oCAEC"}