@volcengine/pulumi-volcenginecc 0.0.44 → 0.0.46

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 (248) hide show
  1. package/alb/acl.d.ts +20 -20
  2. package/alb/acl.js +1 -1
  3. package/alb/certificate.d.ts +19 -3
  4. package/alb/certificate.js +3 -4
  5. package/alb/certificate.js.map +1 -1
  6. package/alb/getAcl.d.ts +11 -11
  7. package/alb/getCertificate.d.ts +5 -1
  8. package/alb/getCertificate.js.map +1 -1
  9. package/alb/getListener.d.ts +20 -20
  10. package/alb/getServerGroup.d.ts +9 -9
  11. package/alb/listener.d.ts +52 -52
  12. package/alb/listener.js +1 -1
  13. package/alb/serverGroup.d.ts +24 -24
  14. package/alb/serverGroup.js +1 -1
  15. package/cbr/backupPolicy.d.ts +2 -2
  16. package/cbr/backupPolicy.js +2 -2
  17. package/cloudidentity/userProvisioning.d.ts +2 -2
  18. package/cloudidentity/userProvisioning.js +2 -2
  19. package/cloudmonitor/getRule.d.ts +11 -11
  20. package/cloudmonitor/rule.d.ts +33 -33
  21. package/cr/getRegistry.d.ts +11 -11
  22. package/cr/registry.d.ts +28 -28
  23. package/cr/registry.js +1 -1
  24. package/directconnect/connection.d.ts +332 -0
  25. package/directconnect/connection.js +163 -0
  26. package/directconnect/connection.js.map +1 -0
  27. package/directconnect/getConnection.d.ts +145 -0
  28. package/directconnect/getConnection.js +28 -0
  29. package/directconnect/getConnection.js.map +1 -0
  30. package/directconnect/getConnections.d.ts +22 -0
  31. package/directconnect/getConnections.js +24 -0
  32. package/directconnect/getConnections.js.map +1 -0
  33. package/directconnect/index.d.ts +9 -0
  34. package/directconnect/index.js +12 -1
  35. package/directconnect/index.js.map +1 -1
  36. package/fwcenter/addressBook.d.ts +210 -0
  37. package/fwcenter/addressBook.js +115 -0
  38. package/fwcenter/addressBook.js.map +1 -0
  39. package/fwcenter/controlPolicy.d.ts +437 -0
  40. package/fwcenter/controlPolicy.js +183 -0
  41. package/fwcenter/controlPolicy.js.map +1 -0
  42. package/fwcenter/getAddressBook.d.ts +93 -0
  43. package/fwcenter/getAddressBook.js +28 -0
  44. package/fwcenter/getAddressBook.js.map +1 -0
  45. package/fwcenter/getAddressBooks.d.ts +22 -0
  46. package/fwcenter/getAddressBooks.js +24 -0
  47. package/fwcenter/getAddressBooks.js.map +1 -0
  48. package/fwcenter/getControlPolicies.d.ts +22 -0
  49. package/fwcenter/getControlPolicies.js +24 -0
  50. package/fwcenter/getControlPolicies.js.map +1 -0
  51. package/fwcenter/getControlPolicy.d.ts +185 -0
  52. package/fwcenter/getControlPolicy.js +28 -0
  53. package/fwcenter/getControlPolicy.js.map +1 -0
  54. package/fwcenter/getNatFireWallControlPolicies.d.ts +22 -0
  55. package/fwcenter/getNatFireWallControlPolicies.js +24 -0
  56. package/fwcenter/getNatFireWallControlPolicies.js.map +1 -0
  57. package/fwcenter/getNatFireWallControlPolicy.d.ts +185 -0
  58. package/fwcenter/getNatFireWallControlPolicy.js +28 -0
  59. package/fwcenter/getNatFireWallControlPolicy.js.map +1 -0
  60. package/fwcenter/getVpcFireWallAclRule.d.ts +189 -0
  61. package/fwcenter/getVpcFireWallAclRule.js +28 -0
  62. package/fwcenter/getVpcFireWallAclRule.js.map +1 -0
  63. package/fwcenter/getVpcFireWallAclRules.d.ts +22 -0
  64. package/fwcenter/getVpcFireWallAclRules.js +24 -0
  65. package/fwcenter/getVpcFireWallAclRules.js.map +1 -0
  66. package/fwcenter/index.d.ts +36 -0
  67. package/fwcenter/index.js +45 -1
  68. package/fwcenter/index.js.map +1 -1
  69. package/fwcenter/natFireWallControlPolicy.d.ts +433 -0
  70. package/fwcenter/natFireWallControlPolicy.js +186 -0
  71. package/fwcenter/natFireWallControlPolicy.js.map +1 -0
  72. package/fwcenter/vpcFireWallAclRule.d.ts +446 -0
  73. package/fwcenter/vpcFireWallAclRule.js +186 -0
  74. package/fwcenter/vpcFireWallAclRule.js.map +1 -0
  75. package/gtm/getGtm.d.ts +9 -0
  76. package/gtm/getGtm.js.map +1 -1
  77. package/gtm/gtm.d.ts +18 -0
  78. package/gtm/gtm.js +4 -0
  79. package/gtm/gtm.js.map +1 -1
  80. package/id/authConfig.d.ts +142 -0
  81. package/id/authConfig.js +79 -0
  82. package/id/authConfig.js.map +1 -0
  83. package/id/getAuthConfig.d.ts +77 -0
  84. package/id/getAuthConfig.js +28 -0
  85. package/id/getAuthConfig.js.map +1 -0
  86. package/id/getAuthConfigs.d.ts +22 -0
  87. package/id/getAuthConfigs.js +24 -0
  88. package/id/getAuthConfigs.js.map +1 -0
  89. package/id/getPermissionNamespace.d.ts +73 -0
  90. package/id/getPermissionNamespace.js +28 -0
  91. package/id/getPermissionNamespace.js.map +1 -0
  92. package/id/getPermissionNamespaces.d.ts +22 -0
  93. package/id/getPermissionNamespaces.js +24 -0
  94. package/id/getPermissionNamespaces.js.map +1 -0
  95. package/id/getUserPool.d.ts +173 -0
  96. package/id/getUserPool.js +28 -0
  97. package/id/getUserPool.js.map +1 -0
  98. package/id/getUserPools.d.ts +22 -0
  99. package/id/getUserPools.js +24 -0
  100. package/id/getUserPools.js.map +1 -0
  101. package/id/getWorkloadPool.d.ts +81 -0
  102. package/id/getWorkloadPool.js +28 -0
  103. package/id/getWorkloadPool.js.map +1 -0
  104. package/id/getWorkloadPools.d.ts +22 -0
  105. package/id/getWorkloadPools.js +24 -0
  106. package/id/getWorkloadPools.js.map +1 -0
  107. package/id/index.d.ts +36 -0
  108. package/id/index.js +45 -1
  109. package/id/index.js.map +1 -1
  110. package/id/permissionNamespace.d.ts +143 -0
  111. package/id/permissionNamespace.js +94 -0
  112. package/id/permissionNamespace.js.map +1 -0
  113. package/id/userPool.d.ts +370 -0
  114. package/id/userPool.js +127 -0
  115. package/id/userPool.js.map +1 -0
  116. package/id/workloadPool.d.ts +159 -0
  117. package/id/workloadPool.js +98 -0
  118. package/id/workloadPool.js.map +1 -0
  119. package/index.d.ts +2 -1
  120. package/index.js +4 -2
  121. package/index.js.map +1 -1
  122. package/kafka/allowList.d.ts +0 -22
  123. package/kafka/allowList.js +0 -22
  124. package/kafka/allowList.js.map +1 -1
  125. package/kms/getKeyMaterial.d.ts +68 -0
  126. package/kms/getKeyMaterial.js +28 -0
  127. package/kms/getKeyMaterial.js.map +1 -0
  128. package/kms/getKeyMaterials.d.ts +22 -0
  129. package/kms/getKeyMaterials.js +24 -0
  130. package/kms/getKeyMaterials.js.map +1 -0
  131. package/kms/index.d.ts +9 -0
  132. package/kms/index.js +12 -1
  133. package/kms/index.js.map +1 -1
  134. package/kms/keyMaterial.d.ts +144 -0
  135. package/kms/keyMaterial.js +96 -0
  136. package/kms/keyMaterial.js.map +1 -0
  137. package/organization/getServiceControlPolicyEnabler.d.ts +48 -0
  138. package/organization/getServiceControlPolicyEnabler.js +28 -0
  139. package/organization/getServiceControlPolicyEnabler.js.map +1 -0
  140. package/organization/getServiceControlPolicyEnablers.d.ts +22 -0
  141. package/organization/getServiceControlPolicyEnablers.js +24 -0
  142. package/organization/getServiceControlPolicyEnablers.js.map +1 -0
  143. package/organization/index.d.ts +9 -0
  144. package/organization/index.js +12 -1
  145. package/organization/index.js.map +1 -1
  146. package/organization/serviceControlPolicyEnabler.d.ts +78 -0
  147. package/organization/serviceControlPolicyEnabler.js +71 -0
  148. package/organization/serviceControlPolicyEnabler.js.map +1 -0
  149. package/package.json +1 -1
  150. package/privatezone/getResolverRule.d.ts +8 -0
  151. package/privatezone/getResolverRule.js.map +1 -1
  152. package/privatezone/resolverRule.d.ts +24 -0
  153. package/privatezone/resolverRule.js +4 -0
  154. package/privatezone/resolverRule.js.map +1 -1
  155. package/rabbitmq/allowList.d.ts +0 -17
  156. package/rabbitmq/allowList.js +0 -17
  157. package/rabbitmq/allowList.js.map +1 -1
  158. package/rdsmysql/getInstance.d.ts +16 -0
  159. package/rdsmysql/getInstance.js.map +1 -1
  160. package/rdsmysql/getInstanceReadonlyNode.d.ts +92 -0
  161. package/rdsmysql/getInstanceReadonlyNode.js +28 -0
  162. package/rdsmysql/getInstanceReadonlyNode.js.map +1 -0
  163. package/rdsmysql/getInstanceReadonlyNodes.d.ts +22 -0
  164. package/rdsmysql/getInstanceReadonlyNodes.js +24 -0
  165. package/rdsmysql/getInstanceReadonlyNodes.js.map +1 -0
  166. package/rdsmysql/index.d.ts +9 -0
  167. package/rdsmysql/index.js +12 -1
  168. package/rdsmysql/index.js.map +1 -1
  169. package/rdsmysql/instance.d.ts +48 -0
  170. package/rdsmysql/instance.js +8 -0
  171. package/rdsmysql/instance.js.map +1 -1
  172. package/rdsmysql/instanceReadonlyNode.d.ts +192 -0
  173. package/rdsmysql/instanceReadonlyNode.js +105 -0
  174. package/rdsmysql/instanceReadonlyNode.js.map +1 -0
  175. package/redis/getInstance.d.ts +4 -0
  176. package/redis/getInstance.js.map +1 -1
  177. package/redis/instance.d.ts +3 -0
  178. package/redis/instance.js +3 -0
  179. package/redis/instance.js.map +1 -1
  180. package/redis/parameterGroup.d.ts +2 -2
  181. package/redis/parameterGroup.js +2 -2
  182. package/tls/alarmWebhookIntegrationType.d.ts +159 -0
  183. package/tls/alarmWebhookIntegrationType.js +108 -0
  184. package/tls/alarmWebhookIntegrationType.js.map +1 -0
  185. package/tls/getAlarmWebhookIntegrationType.d.ts +73 -0
  186. package/tls/getAlarmWebhookIntegrationType.js +28 -0
  187. package/tls/getAlarmWebhookIntegrationType.js.map +1 -0
  188. package/tls/getAlarmWebhookIntegrationTypes.d.ts +22 -0
  189. package/tls/getAlarmWebhookIntegrationTypes.js +24 -0
  190. package/tls/getAlarmWebhookIntegrationTypes.js.map +1 -0
  191. package/tls/index.d.ts +9 -0
  192. package/tls/index.js +13 -2
  193. package/tls/index.js.map +1 -1
  194. package/tos/bucketWebsite.d.ts +98 -0
  195. package/tos/bucketWebsite.js +69 -0
  196. package/tos/bucketWebsite.js.map +1 -0
  197. package/tos/getBucketWebsite.d.ts +57 -0
  198. package/tos/getBucketWebsite.js +28 -0
  199. package/tos/getBucketWebsite.js.map +1 -0
  200. package/tos/getBucketWebsites.d.ts +22 -0
  201. package/tos/getBucketWebsites.js +24 -0
  202. package/tos/getBucketWebsites.js.map +1 -0
  203. package/tos/index.d.ts +9 -0
  204. package/tos/index.js +12 -1
  205. package/tos/index.js.map +1 -1
  206. package/types/input.d.ts +1115 -55
  207. package/types/output.d.ts +2500 -330
  208. package/veenedge/cloudServer.d.ts +329 -0
  209. package/veenedge/cloudServer.js +126 -0
  210. package/veenedge/cloudServer.js.map +1 -0
  211. package/veenedge/getCloudServer.d.ts +153 -0
  212. package/veenedge/getCloudServer.js +28 -0
  213. package/veenedge/getCloudServer.js.map +1 -0
  214. package/veenedge/getCloudServers.d.ts +22 -0
  215. package/veenedge/getCloudServers.js +24 -0
  216. package/veenedge/getCloudServers.js.map +1 -0
  217. package/veenedge/getVpc.d.ts +101 -0
  218. package/veenedge/getVpc.js +28 -0
  219. package/veenedge/getVpc.js.map +1 -0
  220. package/veenedge/getVpcs.d.ts +22 -0
  221. package/veenedge/getVpcs.js +24 -0
  222. package/veenedge/getVpcs.js.map +1 -0
  223. package/veenedge/index.d.ts +18 -0
  224. package/veenedge/index.js +39 -0
  225. package/veenedge/index.js.map +1 -0
  226. package/veenedge/vpc.d.ts +216 -0
  227. package/veenedge/vpc.js +131 -0
  228. package/veenedge/vpc.js.map +1 -0
  229. package/vke/node.d.ts +1 -1
  230. package/vke/node.js +0 -3
  231. package/vke/node.js.map +1 -1
  232. package/vmp/ruleFile.d.ts +2 -2
  233. package/vmp/ruleFile.js +2 -2
  234. package/vpc/vpc.d.ts +4 -0
  235. package/vpc/vpc.js +1 -1
  236. package/vpc/vpc.js.map +1 -1
  237. package/waf/getHostGroup.d.ts +69 -0
  238. package/waf/getHostGroup.js +28 -0
  239. package/waf/getHostGroup.js.map +1 -0
  240. package/waf/getHostGroups.d.ts +22 -0
  241. package/waf/getHostGroups.js +24 -0
  242. package/waf/getHostGroups.js.map +1 -0
  243. package/waf/hostGroup.d.ts +135 -0
  244. package/waf/hostGroup.js +92 -0
  245. package/waf/hostGroup.js.map +1 -0
  246. package/waf/index.d.ts +9 -0
  247. package/waf/index.js +12 -1
  248. package/waf/index.js.map +1 -1
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::VeenEdge::CloudServer
4
+ */
5
+ export declare function getCloudServers(opts?: pulumi.InvokeOptions): Promise<GetCloudServersResult>;
6
+ /**
7
+ * A collection of values returned by getCloudServers.
8
+ */
9
+ export interface GetCloudServersResult {
10
+ /**
11
+ * Uniquely identifies the data source.
12
+ */
13
+ readonly id: string;
14
+ /**
15
+ * Set of Resource Identifiers.
16
+ */
17
+ readonly ids: string[];
18
+ }
19
+ /**
20
+ * Plural Data Source schema for Volcengine::VeenEdge::CloudServer
21
+ */
22
+ export declare function getCloudServersOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCloudServersResult>;
@@ -0,0 +1,24 @@
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.getCloudServersOutput = exports.getCloudServers = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::VeenEdge::CloudServer
10
+ */
11
+ function getCloudServers(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:veenedge/getCloudServers:getCloudServers", {}, opts);
14
+ }
15
+ exports.getCloudServers = getCloudServers;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::VeenEdge::CloudServer
18
+ */
19
+ function getCloudServersOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:veenedge/getCloudServers:getCloudServers", {}, opts);
22
+ }
23
+ exports.getCloudServersOutput = getCloudServersOutput;
24
+ //# sourceMappingURL=getCloudServers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCloudServers.js","sourceRoot":"","sources":["../../veenedge/getCloudServers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,eAAe,CAAC,IAA2B;IACvD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uDAAuD,EAAE,EACrF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0CAIC;AAeD;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAAiC;IACnE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uDAAuD,EAAE,EAC3F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sDAIC"}
@@ -0,0 +1,101 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Volcengine::VeenEdge::VPC
5
+ */
6
+ export declare function getVpc(args: GetVpcArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcResult>;
7
+ /**
8
+ * A collection of arguments for invoking getVpc.
9
+ */
10
+ export interface GetVpcArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getVpc.
18
+ */
19
+ export interface GetVpcResult {
20
+ /**
21
+ * Cluster Name of VPC Instance
22
+ */
23
+ readonly clusterName: string;
24
+ /**
25
+ * VPC Instance Creation Time, Unix Timestamp
26
+ */
27
+ readonly createTime: number;
28
+ /**
29
+ * Number of Cross-Account Virtual Gateways
30
+ */
31
+ readonly crossAccountVgwNum: number;
32
+ /**
33
+ * Description of VPC Instance
34
+ */
35
+ readonly desc: string;
36
+ /**
37
+ * Uniquely identifies the resource.
38
+ */
39
+ readonly id: string;
40
+ /**
41
+ * Is Custom VPC
42
+ */
43
+ readonly isCustom: boolean;
44
+ /**
45
+ * Is Default VPC
46
+ */
47
+ readonly isDefault: boolean;
48
+ /**
49
+ * Is VLAN Type VPC
50
+ */
51
+ readonly isVlan: boolean;
52
+ /**
53
+ * Number of Virtual Gateways for This Account
54
+ */
55
+ readonly localAccountVgwNum: number;
56
+ /**
57
+ * Project Name of VPC Instance
58
+ */
59
+ readonly project: string;
60
+ /**
61
+ * VPC Instance CIDR Block, e.g. 10.0.0.0/16
62
+ */
63
+ readonly segment: string;
64
+ /**
65
+ * VPC Instance Status: available (available), modifying (modifying), deleting (deleting)
66
+ */
67
+ readonly status: string;
68
+ /**
69
+ * List of subnets created when creating the VPC
70
+ */
71
+ readonly subnets: outputs.veenedge.GetVpcSubnet[];
72
+ /**
73
+ * Tag List of VPC Instance
74
+ */
75
+ readonly tags: outputs.veenedge.GetVpcTag[];
76
+ /**
77
+ * VPC Instance Update Time, Unix Timestamp
78
+ */
79
+ readonly updateTime: number;
80
+ /**
81
+ * Unique Identifier of VPC Instance
82
+ */
83
+ readonly vpcIdentity: string;
84
+ /**
85
+ * VPC Instance Name
86
+ */
87
+ readonly vpcName: string;
88
+ }
89
+ /**
90
+ * Data Source schema for Volcengine::VeenEdge::VPC
91
+ */
92
+ export declare function getVpcOutput(args: GetVpcOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVpcResult>;
93
+ /**
94
+ * A collection of arguments for invoking getVpc.
95
+ */
96
+ export interface GetVpcOutputArgs {
97
+ /**
98
+ * Uniquely identifies the resource.
99
+ */
100
+ id: pulumi.Input<string>;
101
+ }
@@ -0,0 +1,28 @@
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.getVpcOutput = exports.getVpc = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::VeenEdge::VPC
10
+ */
11
+ function getVpc(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:veenedge/getVpc:getVpc", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getVpc = getVpc;
18
+ /**
19
+ * Data Source schema for Volcengine::VeenEdge::VPC
20
+ */
21
+ function getVpcOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:veenedge/getVpc:getVpc", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getVpcOutput = getVpcOutput;
28
+ //# sourceMappingURL=getVpc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getVpc.js","sourceRoot":"","sources":["../../veenedge/getVpc.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wBAKC;AAqFD;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAAiC;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qCAAqC,EAAE;QACtE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Volcengine::VeenEdge::VPC
4
+ */
5
+ export declare function getVpcs(opts?: pulumi.InvokeOptions): Promise<GetVpcsResult>;
6
+ /**
7
+ * A collection of values returned by getVpcs.
8
+ */
9
+ export interface GetVpcsResult {
10
+ /**
11
+ * Uniquely identifies the data source.
12
+ */
13
+ readonly id: string;
14
+ /**
15
+ * Set of Resource Identifiers.
16
+ */
17
+ readonly ids: string[];
18
+ }
19
+ /**
20
+ * Plural Data Source schema for Volcengine::VeenEdge::VPC
21
+ */
22
+ export declare function getVpcsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVpcsResult>;
@@ -0,0 +1,24 @@
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.getVpcsOutput = exports.getVpcs = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Volcengine::VeenEdge::VPC
10
+ */
11
+ function getVpcs(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:veenedge/getVpcs:getVpcs", {}, opts);
14
+ }
15
+ exports.getVpcs = getVpcs;
16
+ /**
17
+ * Plural Data Source schema for Volcengine::VeenEdge::VPC
18
+ */
19
+ function getVpcsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("volcenginecc:veenedge/getVpcs:getVpcs", {}, opts);
22
+ }
23
+ exports.getVpcsOutput = getVpcsOutput;
24
+ //# sourceMappingURL=getVpcs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getVpcs.js","sourceRoot":"","sources":["../../veenedge/getVpcs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAA2B;IAC/C,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE,EACrE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0BAIC;AAeD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAiC;IAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uCAAuC,EAAE,EAC3E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sCAIC"}
@@ -0,0 +1,18 @@
1
+ export { CloudServerArgs, CloudServerState } from "./cloudServer";
2
+ export type CloudServer = import("./cloudServer").CloudServer;
3
+ export declare const CloudServer: typeof import("./cloudServer").CloudServer;
4
+ export { GetCloudServerArgs, GetCloudServerResult, GetCloudServerOutputArgs } from "./getCloudServer";
5
+ export declare const getCloudServer: typeof import("./getCloudServer").getCloudServer;
6
+ export declare const getCloudServerOutput: typeof import("./getCloudServer").getCloudServerOutput;
7
+ export { GetCloudServersResult } from "./getCloudServers";
8
+ export declare const getCloudServers: typeof import("./getCloudServers").getCloudServers;
9
+ export declare const getCloudServersOutput: typeof import("./getCloudServers").getCloudServersOutput;
10
+ export { GetVpcArgs, GetVpcResult, GetVpcOutputArgs } from "./getVpc";
11
+ export declare const getVpc: typeof import("./getVpc").getVpc;
12
+ export declare const getVpcOutput: typeof import("./getVpc").getVpcOutput;
13
+ export { GetVpcsResult } from "./getVpcs";
14
+ export declare const getVpcs: typeof import("./getVpcs").getVpcs;
15
+ export declare const getVpcsOutput: typeof import("./getVpcs").getVpcsOutput;
16
+ export { VpcArgs, VpcState } from "./vpc";
17
+ export type Vpc = import("./vpc").Vpc;
18
+ export declare const Vpc: typeof import("./vpc").Vpc;
@@ -0,0 +1,39 @@
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.Vpc = exports.getVpcsOutput = exports.getVpcs = exports.getVpcOutput = exports.getVpc = exports.getCloudServersOutput = exports.getCloudServers = exports.getCloudServerOutput = exports.getCloudServer = exports.CloudServer = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ exports.CloudServer = null;
9
+ utilities.lazyLoad(exports, ["CloudServer"], () => require("./cloudServer"));
10
+ exports.getCloudServer = null;
11
+ exports.getCloudServerOutput = null;
12
+ utilities.lazyLoad(exports, ["getCloudServer", "getCloudServerOutput"], () => require("./getCloudServer"));
13
+ exports.getCloudServers = null;
14
+ exports.getCloudServersOutput = null;
15
+ utilities.lazyLoad(exports, ["getCloudServers", "getCloudServersOutput"], () => require("./getCloudServers"));
16
+ exports.getVpc = null;
17
+ exports.getVpcOutput = null;
18
+ utilities.lazyLoad(exports, ["getVpc", "getVpcOutput"], () => require("./getVpc"));
19
+ exports.getVpcs = null;
20
+ exports.getVpcsOutput = null;
21
+ utilities.lazyLoad(exports, ["getVpcs", "getVpcsOutput"], () => require("./getVpcs"));
22
+ exports.Vpc = null;
23
+ utilities.lazyLoad(exports, ["Vpc"], () => require("./vpc"));
24
+ const _module = {
25
+ version: utilities.getVersion(),
26
+ construct: (name, type, urn) => {
27
+ switch (type) {
28
+ case "volcenginecc:veenedge/cloudServer:CloudServer":
29
+ return new exports.CloudServer(name, undefined, { urn });
30
+ case "volcenginecc:veenedge/vpc:Vpc":
31
+ return new exports.Vpc(name, undefined, { urn });
32
+ default:
33
+ throw new Error(`unknown resource type ${type}`);
34
+ }
35
+ },
36
+ };
37
+ pulumi.runtime.registerResourceModule("volcenginecc", "veenedge/cloudServer", _module);
38
+ pulumi.runtime.registerResourceModule("volcenginecc", "veenedge/vpc", _module);
39
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../veenedge/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,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;AAGhE,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC/E,QAAA,oBAAoB,GAA2D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,EAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAG7F,QAAA,eAAe,GAAuD,IAAW,CAAC;AAClF,QAAA,qBAAqB,GAA6D,IAAW,CAAC;AAC3G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,EAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAGhG,QAAA,MAA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1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Edge computing custom VPC instance, used to create independent virtual network environments on edge nodes
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
12
+ *
13
+ * const example = new volcenginecc.veenedge.Vpc("Example", {
14
+ * desc: "测试VPC实例",
15
+ * project: "default",
16
+ * subnets: [
17
+ * {
18
+ * desc: "测试子网1",
19
+ * cidr: "10.0.0.0/16",
20
+ * name: "test-subnet-1",
21
+ * },
22
+ * {
23
+ * desc: "测试子网2",
24
+ * cidr: "10.1.0.0/16",
25
+ * name: "test-subnet-2",
26
+ * },
27
+ * ],
28
+ * clusterName: "bdcdn-sxcu",
29
+ * vpcName: "ccapi-dx-2",
30
+ * segment: "10.0.0.0/8",
31
+ * tags: [{
32
+ * key: "env",
33
+ * value: "test",
34
+ * }],
35
+ * });
36
+ * ```
37
+ *
38
+ * ## Import
39
+ *
40
+ * ```sh
41
+ * $ pulumi import volcenginecc:veenedge/vpc:Vpc example "vpc_identity"
42
+ * ```
43
+ */
44
+ export declare class Vpc extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing Vpc resource's state with the given name, ID, and optional extra
47
+ * properties used to qualify the lookup.
48
+ *
49
+ * @param name The _unique_ name of the resulting resource.
50
+ * @param id The _unique_ provider ID of the resource to lookup.
51
+ * @param state Any extra arguments used during the lookup.
52
+ * @param opts Optional settings to control the behavior of the CustomResource.
53
+ */
54
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VpcState, opts?: pulumi.CustomResourceOptions): Vpc;
55
+ /**
56
+ * Returns true if the given object is an instance of Vpc. This is designed to work even
57
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
58
+ */
59
+ static isInstance(obj: any): obj is Vpc;
60
+ /**
61
+ * Cluster Name of VPC Instance
62
+ */
63
+ readonly clusterName: pulumi.Output<string>;
64
+ /**
65
+ * VPC Instance Creation Time, Unix Timestamp
66
+ */
67
+ readonly createTime: pulumi.Output<number>;
68
+ /**
69
+ * Number of Cross-Account Virtual Gateways
70
+ */
71
+ readonly crossAccountVgwNum: pulumi.Output<number>;
72
+ /**
73
+ * Description of VPC Instance
74
+ */
75
+ readonly desc: pulumi.Output<string>;
76
+ /**
77
+ * Is Custom VPC
78
+ */
79
+ readonly isCustom: pulumi.Output<boolean>;
80
+ /**
81
+ * Is Default VPC
82
+ */
83
+ readonly isDefault: pulumi.Output<boolean>;
84
+ /**
85
+ * Is VLAN Type VPC
86
+ */
87
+ readonly isVlan: pulumi.Output<boolean>;
88
+ /**
89
+ * Number of Virtual Gateways for This Account
90
+ */
91
+ readonly localAccountVgwNum: pulumi.Output<number>;
92
+ /**
93
+ * Project Name of VPC Instance
94
+ */
95
+ readonly project: pulumi.Output<string>;
96
+ /**
97
+ * VPC Instance CIDR Block, e.g. 10.0.0.0/16
98
+ */
99
+ readonly segment: pulumi.Output<string>;
100
+ /**
101
+ * VPC Instance Status: available (available), modifying (modifying), deleting (deleting)
102
+ */
103
+ readonly status: pulumi.Output<string>;
104
+ readonly subnets: pulumi.Output<outputs.veenedge.VpcSubnet[]>;
105
+ readonly tags: pulumi.Output<outputs.veenedge.VpcTag[]>;
106
+ /**
107
+ * VPC Instance Update Time, Unix Timestamp
108
+ */
109
+ readonly updateTime: pulumi.Output<number>;
110
+ /**
111
+ * Unique Identifier of VPC Instance
112
+ */
113
+ readonly vpcIdentity: pulumi.Output<string>;
114
+ /**
115
+ * VPC Instance Name
116
+ */
117
+ readonly vpcName: pulumi.Output<string>;
118
+ /**
119
+ * Create a Vpc resource with the given unique name, arguments, and options.
120
+ *
121
+ * @param name The _unique_ name of the resource.
122
+ * @param args The arguments to use to populate this resource's properties.
123
+ * @param opts A bag of options that control this resource's behavior.
124
+ */
125
+ constructor(name: string, args: VpcArgs, opts?: pulumi.CustomResourceOptions);
126
+ }
127
+ /**
128
+ * Input properties used for looking up and filtering Vpc resources.
129
+ */
130
+ export interface VpcState {
131
+ /**
132
+ * Cluster Name of VPC Instance
133
+ */
134
+ clusterName?: pulumi.Input<string>;
135
+ /**
136
+ * VPC Instance Creation Time, Unix Timestamp
137
+ */
138
+ createTime?: pulumi.Input<number>;
139
+ /**
140
+ * Number of Cross-Account Virtual Gateways
141
+ */
142
+ crossAccountVgwNum?: pulumi.Input<number>;
143
+ /**
144
+ * Description of VPC Instance
145
+ */
146
+ desc?: pulumi.Input<string>;
147
+ /**
148
+ * Is Custom VPC
149
+ */
150
+ isCustom?: pulumi.Input<boolean>;
151
+ /**
152
+ * Is Default VPC
153
+ */
154
+ isDefault?: pulumi.Input<boolean>;
155
+ /**
156
+ * Is VLAN Type VPC
157
+ */
158
+ isVlan?: pulumi.Input<boolean>;
159
+ /**
160
+ * Number of Virtual Gateways for This Account
161
+ */
162
+ localAccountVgwNum?: pulumi.Input<number>;
163
+ /**
164
+ * Project Name of VPC Instance
165
+ */
166
+ project?: pulumi.Input<string>;
167
+ /**
168
+ * VPC Instance CIDR Block, e.g. 10.0.0.0/16
169
+ */
170
+ segment?: pulumi.Input<string>;
171
+ /**
172
+ * VPC Instance Status: available (available), modifying (modifying), deleting (deleting)
173
+ */
174
+ status?: pulumi.Input<string>;
175
+ subnets?: pulumi.Input<pulumi.Input<inputs.veenedge.VpcSubnet>[]>;
176
+ tags?: pulumi.Input<pulumi.Input<inputs.veenedge.VpcTag>[]>;
177
+ /**
178
+ * VPC Instance Update Time, Unix Timestamp
179
+ */
180
+ updateTime?: pulumi.Input<number>;
181
+ /**
182
+ * Unique Identifier of VPC Instance
183
+ */
184
+ vpcIdentity?: pulumi.Input<string>;
185
+ /**
186
+ * VPC Instance Name
187
+ */
188
+ vpcName?: pulumi.Input<string>;
189
+ }
190
+ /**
191
+ * The set of arguments for constructing a Vpc resource.
192
+ */
193
+ export interface VpcArgs {
194
+ /**
195
+ * Cluster Name of VPC Instance
196
+ */
197
+ clusterName: pulumi.Input<string>;
198
+ /**
199
+ * Description of VPC Instance
200
+ */
201
+ desc: pulumi.Input<string>;
202
+ /**
203
+ * Project Name of VPC Instance
204
+ */
205
+ project?: pulumi.Input<string>;
206
+ /**
207
+ * VPC Instance CIDR Block, e.g. 10.0.0.0/16
208
+ */
209
+ segment: pulumi.Input<string>;
210
+ subnets?: pulumi.Input<pulumi.Input<inputs.veenedge.VpcSubnet>[]>;
211
+ tags?: pulumi.Input<pulumi.Input<inputs.veenedge.VpcTag>[]>;
212
+ /**
213
+ * VPC Instance Name
214
+ */
215
+ vpcName: pulumi.Input<string>;
216
+ }
@@ -0,0 +1,131 @@
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.Vpc = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Edge computing custom VPC instance, used to create independent virtual network environments on edge nodes
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
16
+ *
17
+ * const example = new volcenginecc.veenedge.Vpc("Example", {
18
+ * desc: "测试VPC实例",
19
+ * project: "default",
20
+ * subnets: [
21
+ * {
22
+ * desc: "测试子网1",
23
+ * cidr: "10.0.0.0/16",
24
+ * name: "test-subnet-1",
25
+ * },
26
+ * {
27
+ * desc: "测试子网2",
28
+ * cidr: "10.1.0.0/16",
29
+ * name: "test-subnet-2",
30
+ * },
31
+ * ],
32
+ * clusterName: "bdcdn-sxcu",
33
+ * vpcName: "ccapi-dx-2",
34
+ * segment: "10.0.0.0/8",
35
+ * tags: [{
36
+ * key: "env",
37
+ * value: "test",
38
+ * }],
39
+ * });
40
+ * ```
41
+ *
42
+ * ## Import
43
+ *
44
+ * ```sh
45
+ * $ pulumi import volcenginecc:veenedge/vpc:Vpc example "vpc_identity"
46
+ * ```
47
+ */
48
+ class Vpc extends pulumi.CustomResource {
49
+ /**
50
+ * Get an existing Vpc resource's state with the given name, ID, and optional extra
51
+ * properties used to qualify the lookup.
52
+ *
53
+ * @param name The _unique_ name of the resulting resource.
54
+ * @param id The _unique_ provider ID of the resource to lookup.
55
+ * @param state Any extra arguments used during the lookup.
56
+ * @param opts Optional settings to control the behavior of the CustomResource.
57
+ */
58
+ static get(name, id, state, opts) {
59
+ return new Vpc(name, state, Object.assign(Object.assign({}, opts), { id: id }));
60
+ }
61
+ /**
62
+ * Returns true if the given object is an instance of Vpc. This is designed to work even
63
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
64
+ */
65
+ static isInstance(obj) {
66
+ if (obj === undefined || obj === null) {
67
+ return false;
68
+ }
69
+ return obj['__pulumiType'] === Vpc.__pulumiType;
70
+ }
71
+ constructor(name, argsOrState, opts) {
72
+ let resourceInputs = {};
73
+ opts = opts || {};
74
+ if (opts.id) {
75
+ const state = argsOrState;
76
+ resourceInputs["clusterName"] = state ? state.clusterName : undefined;
77
+ resourceInputs["createTime"] = state ? state.createTime : undefined;
78
+ resourceInputs["crossAccountVgwNum"] = state ? state.crossAccountVgwNum : undefined;
79
+ resourceInputs["desc"] = state ? state.desc : undefined;
80
+ resourceInputs["isCustom"] = state ? state.isCustom : undefined;
81
+ resourceInputs["isDefault"] = state ? state.isDefault : undefined;
82
+ resourceInputs["isVlan"] = state ? state.isVlan : undefined;
83
+ resourceInputs["localAccountVgwNum"] = state ? state.localAccountVgwNum : undefined;
84
+ resourceInputs["project"] = state ? state.project : undefined;
85
+ resourceInputs["segment"] = state ? state.segment : undefined;
86
+ resourceInputs["status"] = state ? state.status : undefined;
87
+ resourceInputs["subnets"] = state ? state.subnets : undefined;
88
+ resourceInputs["tags"] = state ? state.tags : undefined;
89
+ resourceInputs["updateTime"] = state ? state.updateTime : undefined;
90
+ resourceInputs["vpcIdentity"] = state ? state.vpcIdentity : undefined;
91
+ resourceInputs["vpcName"] = state ? state.vpcName : undefined;
92
+ }
93
+ else {
94
+ const args = argsOrState;
95
+ if ((!args || args.clusterName === undefined) && !opts.urn) {
96
+ throw new Error("Missing required property 'clusterName'");
97
+ }
98
+ if ((!args || args.desc === undefined) && !opts.urn) {
99
+ throw new Error("Missing required property 'desc'");
100
+ }
101
+ if ((!args || args.segment === undefined) && !opts.urn) {
102
+ throw new Error("Missing required property 'segment'");
103
+ }
104
+ if ((!args || args.vpcName === undefined) && !opts.urn) {
105
+ throw new Error("Missing required property 'vpcName'");
106
+ }
107
+ resourceInputs["clusterName"] = args ? args.clusterName : undefined;
108
+ resourceInputs["desc"] = args ? args.desc : undefined;
109
+ resourceInputs["project"] = args ? args.project : undefined;
110
+ resourceInputs["segment"] = args ? args.segment : undefined;
111
+ resourceInputs["subnets"] = args ? args.subnets : undefined;
112
+ resourceInputs["tags"] = args ? args.tags : undefined;
113
+ resourceInputs["vpcName"] = args ? args.vpcName : undefined;
114
+ resourceInputs["createTime"] = undefined /*out*/;
115
+ resourceInputs["crossAccountVgwNum"] = undefined /*out*/;
116
+ resourceInputs["isCustom"] = undefined /*out*/;
117
+ resourceInputs["isDefault"] = undefined /*out*/;
118
+ resourceInputs["isVlan"] = undefined /*out*/;
119
+ resourceInputs["localAccountVgwNum"] = undefined /*out*/;
120
+ resourceInputs["status"] = undefined /*out*/;
121
+ resourceInputs["updateTime"] = undefined /*out*/;
122
+ resourceInputs["vpcIdentity"] = undefined /*out*/;
123
+ }
124
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
125
+ super(Vpc.__pulumiType, name, resourceInputs, opts);
126
+ }
127
+ }
128
+ exports.Vpc = Vpc;
129
+ /** @internal */
130
+ Vpc.__pulumiType = 'volcenginecc:veenedge/vpc:Vpc';
131
+ //# sourceMappingURL=vpc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vpc.js","sourceRo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**
235
235
  * Node pool ID. If no parameter value is provided: add existing ECS instances to the default node pool. If a parameter value is provided: add existing ECS instances to a custom node pool.
236
236
  */
237
- nodePoolId: pulumi.Input<string>;
237
+ nodePoolId?: pulumi.Input<string>;
238
238
  }