@volcengine/pulumi 0.0.18 → 0.0.21

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 (263) hide show
  1. package/autoscaling/scalingConfiguration.d.ts +18 -0
  2. package/autoscaling/scalingConfiguration.js +2 -0
  3. package/autoscaling/scalingConfiguration.js.map +1 -1
  4. package/autoscaling/scalingGroup.d.ts +62 -4
  5. package/autoscaling/scalingGroup.js +11 -1
  6. package/autoscaling/scalingGroup.js.map +1 -1
  7. package/autoscaling/scalingGroups.d.ts +12 -0
  8. package/autoscaling/scalingGroups.js +1 -0
  9. package/autoscaling/scalingGroups.js.map +1 -1
  10. package/autoscaling/scalingLifecycleHook.d.ts +31 -6
  11. package/autoscaling/scalingLifecycleHook.js +16 -3
  12. package/autoscaling/scalingLifecycleHook.js.map +1 -1
  13. package/bioos/cluster.d.ts +11 -11
  14. package/bioos/cluster.js +6 -6
  15. package/bioos/cluster.js.map +1 -1
  16. package/bioos/clusters.d.ts +3 -0
  17. package/bioos/clusters.js.map +1 -1
  18. package/bioos/workspace.d.ts +1 -1
  19. package/cen/grantInstance.d.ts +1 -1
  20. package/cen/grantInstance.js +1 -1
  21. package/clb/acl.d.ts +1 -1
  22. package/clb/certificate.d.ts +1 -1
  23. package/clb/clb.d.ts +68 -18
  24. package/clb/clb.js +38 -17
  25. package/clb/clb.js.map +1 -1
  26. package/clb/listener.d.ts +101 -0
  27. package/clb/listener.js +26 -0
  28. package/clb/listener.js.map +1 -1
  29. package/clb/serverGroup.d.ts +12 -0
  30. package/clb/serverGroup.js +2 -0
  31. package/clb/serverGroup.js.map +1 -1
  32. package/direct_connect/bgpPeer.d.ts +175 -0
  33. package/direct_connect/bgpPeer.js +100 -0
  34. package/direct_connect/bgpPeer.js.map +1 -0
  35. package/direct_connect/bgpPeers.d.ts +129 -0
  36. package/direct_connect/bgpPeers.js +52 -0
  37. package/direct_connect/bgpPeers.js.map +1 -0
  38. package/direct_connect/connection.d.ts +217 -0
  39. package/direct_connect/connection.js +133 -0
  40. package/direct_connect/connection.js.map +1 -0
  41. package/direct_connect/connections.d.ts +154 -0
  42. package/direct_connect/connections.js +54 -0
  43. package/direct_connect/connections.js.map +1 -0
  44. package/direct_connect/gateway.d.ts +100 -0
  45. package/direct_connect/gateway.js +79 -0
  46. package/direct_connect/gateway.js.map +1 -0
  47. package/direct_connect/gatewayRoute.d.ts +143 -0
  48. package/direct_connect/gatewayRoute.js +97 -0
  49. package/direct_connect/gatewayRoute.js.map +1 -0
  50. package/direct_connect/gatewayRoutes.d.ts +141 -0
  51. package/direct_connect/gatewayRoutes.js +58 -0
  52. package/direct_connect/gatewayRoutes.js.map +1 -0
  53. package/direct_connect/gateways.d.ts +118 -0
  54. package/direct_connect/gateways.js +51 -0
  55. package/direct_connect/gateways.js.map +1 -0
  56. package/direct_connect/index.d.ts +30 -0
  57. package/direct_connect/index.js +57 -0
  58. package/direct_connect/index.js.map +1 -0
  59. package/direct_connect/virtualInterface.d.ts +263 -0
  60. package/direct_connect/virtualInterface.js +127 -0
  61. package/direct_connect/virtualInterface.js.map +1 -0
  62. package/direct_connect/virtualInterfaces.d.ts +178 -0
  63. package/direct_connect/virtualInterfaces.js +56 -0
  64. package/direct_connect/virtualInterfaces.js.map +1 -0
  65. package/ebs/volume.d.ts +1 -1
  66. package/ecs/availableResources.d.ts +114 -0
  67. package/ecs/availableResources.js +50 -0
  68. package/ecs/availableResources.js.map +1 -0
  69. package/ecs/index.d.ts +3 -0
  70. package/ecs/index.js +4 -1
  71. package/ecs/index.js.map +1 -1
  72. package/ecs/instance.d.ts +24 -3
  73. package/ecs/instance.js +2 -0
  74. package/ecs/instance.js.map +1 -1
  75. package/eip/address.d.ts +1 -1
  76. package/iam/index.d.ts +15 -0
  77. package/iam/index.js +22 -1
  78. package/iam/index.js.map +1 -1
  79. package/iam/userGroup.d.ts +95 -0
  80. package/iam/userGroup.js +79 -0
  81. package/iam/userGroup.js.map +1 -0
  82. package/iam/userGroupAttachment.d.ts +92 -0
  83. package/iam/userGroupAttachment.js +89 -0
  84. package/iam/userGroupAttachment.js.map +1 -0
  85. package/iam/userGroupPolicyAttachment.d.ts +105 -0
  86. package/iam/userGroupPolicyAttachment.js +95 -0
  87. package/iam/userGroupPolicyAttachment.js.map +1 -0
  88. package/iam/userGroupPolicyAttachments.d.ts +107 -0
  89. package/iam/userGroupPolicyAttachments.js +78 -0
  90. package/iam/userGroupPolicyAttachments.js.map +1 -0
  91. package/iam/userGroups.d.ts +87 -0
  92. package/iam/userGroups.js +59 -0
  93. package/iam/userGroups.js.map +1 -0
  94. package/index.d.ts +4 -1
  95. package/index.js +7 -1
  96. package/index.js.map +1 -1
  97. package/mongodb/mongoAllowList.d.ts +0 -12
  98. package/mongodb/mongoAllowList.js +0 -2
  99. package/mongodb/mongoAllowList.js.map +1 -1
  100. package/nas/fileSystem.d.ts +241 -0
  101. package/nas/fileSystem.js +123 -0
  102. package/nas/fileSystem.js.map +1 -0
  103. package/nas/fileSystems.d.ts +231 -0
  104. package/nas/fileSystems.js +90 -0
  105. package/nas/fileSystems.js.map +1 -0
  106. package/nas/index.d.ts +30 -0
  107. package/nas/index.js +55 -0
  108. package/nas/index.js.map +1 -0
  109. package/nas/mountPoint.d.ts +103 -0
  110. package/nas/mountPoint.js +80 -0
  111. package/nas/mountPoint.js.map +1 -0
  112. package/nas/mountPoints.d.ts +91 -0
  113. package/nas/mountPoints.js +29 -0
  114. package/nas/mountPoints.js.map +1 -0
  115. package/nas/permissionGroup.d.ts +116 -0
  116. package/nas/permissionGroup.js +92 -0
  117. package/nas/permissionGroup.js.map +1 -0
  118. package/nas/permissionGroups.d.ts +116 -0
  119. package/nas/permissionGroups.js +87 -0
  120. package/nas/permissionGroups.js.map +1 -0
  121. package/nas/regions.d.ts +62 -0
  122. package/nas/regions.js +42 -0
  123. package/nas/regions.js.map +1 -0
  124. package/nas/snapshot.d.ts +167 -0
  125. package/nas/snapshot.js +100 -0
  126. package/nas/snapshot.js.map +1 -0
  127. package/nas/snapshots.d.ts +131 -0
  128. package/nas/snapshots.js +59 -0
  129. package/nas/snapshots.js.map +1 -0
  130. package/nas/zones.d.ts +62 -0
  131. package/nas/zones.js +42 -0
  132. package/nas/zones.js.map +1 -0
  133. package/nat/gateway.d.ts +1 -1
  134. package/package.json +2 -2
  135. package/redis/instance.d.ts +7 -4
  136. package/redis/instance.js +1 -1
  137. package/redis/instance.js.map +1 -1
  138. package/tls/alarmNotifyGroup.d.ts +1 -1
  139. package/transit_router/bandwidthPackage.d.ts +211 -0
  140. package/transit_router/bandwidthPackage.js +102 -0
  141. package/transit_router/bandwidthPackage.js.map +1 -0
  142. package/transit_router/bandwidthPackages.d.ts +115 -0
  143. package/transit_router/bandwidthPackages.js +65 -0
  144. package/transit_router/bandwidthPackages.js.map +1 -0
  145. package/transit_router/directConnectGatewayAttachment.d.ts +116 -0
  146. package/transit_router/directConnectGatewayAttachment.js +87 -0
  147. package/transit_router/directConnectGatewayAttachment.js.map +1 -0
  148. package/transit_router/directConnectGatewayAttachments.d.ts +99 -0
  149. package/transit_router/directConnectGatewayAttachments.js +48 -0
  150. package/transit_router/directConnectGatewayAttachments.js.map +1 -0
  151. package/transit_router/grantRule.d.ts +95 -0
  152. package/transit_router/grantRule.js +82 -0
  153. package/transit_router/grantRule.js.map +1 -0
  154. package/transit_router/grantRules.d.ts +90 -0
  155. package/transit_router/grantRules.js +47 -0
  156. package/transit_router/grantRules.js.map +1 -0
  157. package/transit_router/index.d.ts +69 -0
  158. package/transit_router/index.js +110 -0
  159. package/transit_router/index.js.map +1 -0
  160. package/transit_router/peerAttachment.d.ts +179 -0
  161. package/transit_router/peerAttachment.js +105 -0
  162. package/transit_router/peerAttachment.js.map +1 -0
  163. package/transit_router/peerAttachments.d.ts +132 -0
  164. package/transit_router/peerAttachments.js +52 -0
  165. package/transit_router/peerAttachments.js.map +1 -0
  166. package/transit_router/routeEntries.d.ts +122 -0
  167. package/transit_router/routeEntries.js +52 -0
  168. package/transit_router/routeEntries.js.map +1 -0
  169. package/transit_router/routeEntry.d.ts +173 -0
  170. package/transit_router/routeEntry.js +103 -0
  171. package/transit_router/routeEntry.js.map +1 -0
  172. package/transit_router/routeTable.d.ts +135 -0
  173. package/transit_router/routeTable.js +89 -0
  174. package/transit_router/routeTable.js.map +1 -0
  175. package/transit_router/routeTableAssociation.d.ts +82 -0
  176. package/transit_router/routeTableAssociation.js +79 -0
  177. package/transit_router/routeTableAssociation.js.map +1 -0
  178. package/transit_router/routeTableAssociations.d.ts +92 -0
  179. package/transit_router/routeTableAssociations.js +49 -0
  180. package/transit_router/routeTableAssociations.js.map +1 -0
  181. package/transit_router/routeTablePropagation.d.ts +82 -0
  182. package/transit_router/routeTablePropagation.js +79 -0
  183. package/transit_router/routeTablePropagation.js.map +1 -0
  184. package/transit_router/routeTablePropagations.d.ts +92 -0
  185. package/transit_router/routeTablePropagations.js +49 -0
  186. package/transit_router/routeTablePropagations.js.map +1 -0
  187. package/transit_router/routeTables.d.ts +98 -0
  188. package/transit_router/routeTables.js +50 -0
  189. package/transit_router/routeTables.js.map +1 -0
  190. package/transit_router/sharedTransitRouterState.d.ts +82 -0
  191. package/transit_router/sharedTransitRouterState.js +79 -0
  192. package/transit_router/sharedTransitRouterState.js.map +1 -0
  193. package/transit_router/transitRouter.d.ts +148 -0
  194. package/transit_router/transitRouter.js +89 -0
  195. package/transit_router/transitRouter.js.map +1 -0
  196. package/transit_router/transitRouters.d.ts +89 -0
  197. package/transit_router/transitRouters.js +50 -0
  198. package/transit_router/transitRouters.js.map +1 -0
  199. package/transit_router/vpcAttachment.d.ts +164 -0
  200. package/transit_router/vpcAttachment.js +108 -0
  201. package/transit_router/vpcAttachment.js.map +1 -0
  202. package/transit_router/vpcAttachments.d.ts +101 -0
  203. package/transit_router/vpcAttachments.js +50 -0
  204. package/transit_router/vpcAttachments.js.map +1 -0
  205. package/transit_router/vpnAttachment.d.ts +153 -0
  206. package/transit_router/vpnAttachment.js +99 -0
  207. package/transit_router/vpnAttachment.js.map +1 -0
  208. package/transit_router/vpnAttachments.d.ts +101 -0
  209. package/transit_router/vpnAttachments.js +50 -0
  210. package/transit_router/vpnAttachments.js.map +1 -0
  211. package/types/input.d.ts +299 -4
  212. package/types/output.d.ts +5396 -3373
  213. package/vke/index.d.ts +3 -0
  214. package/vke/index.js +4 -1
  215. package/vke/index.js.map +1 -1
  216. package/vke/nodePool.d.ts +3 -3
  217. package/vke/nodePool.js +3 -3
  218. package/vke/supportResourceTypes.d.ts +80 -0
  219. package/vke/supportResourceTypes.js +44 -0
  220. package/vke/supportResourceTypes.js.map +1 -0
  221. package/vpc/haVip.d.ts +206 -0
  222. package/vpc/haVip.js +120 -0
  223. package/vpc/haVip.js.map +1 -0
  224. package/vpc/haVipAssociate.d.ts +131 -0
  225. package/vpc/haVipAssociate.js +118 -0
  226. package/vpc/haVipAssociate.js.map +1 -0
  227. package/vpc/haVips.d.ts +192 -0
  228. package/vpc/haVips.js +90 -0
  229. package/vpc/haVips.js.map +1 -0
  230. package/vpc/index.d.ts +15 -0
  231. package/vpc/index.js +22 -1
  232. package/vpc/index.js.map +1 -1
  233. package/vpc/networkAcl.d.ts +1 -1
  234. package/vpc/networkInterface.d.ts +31 -1
  235. package/vpc/networkInterface.js +4 -0
  236. package/vpc/networkInterface.js.map +1 -1
  237. package/vpc/prefixList.d.ts +166 -0
  238. package/vpc/prefixList.js +106 -0
  239. package/vpc/prefixList.js.map +1 -0
  240. package/vpc/prefixLists.d.ts +151 -0
  241. package/vpc/prefixLists.js +92 -0
  242. package/vpc/prefixLists.js.map +1 -0
  243. package/vpc/routeTable.d.ts +1 -1
  244. package/vpn/connection.d.ts +1 -1
  245. package/vpn/customerGateway.d.ts +1 -1
  246. package/vpn/gateway.d.ts +37 -1
  247. package/vpn/gateway.js +6 -0
  248. package/vpn/gateway.js.map +1 -1
  249. package/vpn/index.d.ts +12 -0
  250. package/vpn/index.js +17 -1
  251. package/vpn/index.js.map +1 -1
  252. package/vpn/sslVpnClientCert.d.ts +201 -0
  253. package/vpn/sslVpnClientCert.js +131 -0
  254. package/vpn/sslVpnClientCert.js.map +1 -0
  255. package/vpn/sslVpnClientCerts.d.ts +192 -0
  256. package/vpn/sslVpnClientCerts.js +134 -0
  257. package/vpn/sslVpnClientCerts.js.map +1 -0
  258. package/vpn/sslVpnServer.d.ts +231 -0
  259. package/vpn/sslVpnServer.js +128 -0
  260. package/vpn/sslVpnServer.js.map +1 -0
  261. package/vpn/sslVpnServers.d.ts +167 -0
  262. package/vpn/sslVpnServers.js +117 -0
  263. package/vpn/sslVpnServers.js.map +1 -0
@@ -0,0 +1,173 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage transit router route entry
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@volcengine/pulumi";
9
+ *
10
+ * const foo = new volcengine.transit_router.RouteEntry("foo", {
11
+ * description: "tf test 23",
12
+ * destinationCidrBlock: "192.168.0.0/24",
13
+ * transitRouterRouteEntryName: "tf-entry-23",
14
+ * transitRouterRouteEntryNextHopType: "BlackHole",
15
+ * transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
16
+ * });
17
+ * ```
18
+ *
19
+ * ## Import
20
+ *
21
+ * transit router route entry can be imported using the table and entry id, e.g.
22
+ *
23
+ * ```sh
24
+ * $ pulumi import volcengine:transit_router/routeEntry:RouteEntry default tr-rtb-12b7qd3fmzf2817q7y2jkbd55:tr-rte-1i5i8khf9m58gae5kcx6***
25
+ * ```
26
+ */
27
+ export declare class RouteEntry extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing RouteEntry resource's state with the given name, ID, and optional extra
30
+ * properties used to qualify the lookup.
31
+ *
32
+ * @param name The _unique_ name of the resulting resource.
33
+ * @param id The _unique_ provider ID of the resource to lookup.
34
+ * @param state Any extra arguments used during the lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouteEntryState, opts?: pulumi.CustomResourceOptions): RouteEntry;
38
+ /**
39
+ * Returns true if the given object is an instance of RouteEntry. This is designed to work even
40
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
+ */
42
+ static isInstance(obj: any): obj is RouteEntry;
43
+ /**
44
+ * The creation time of the route entry.
45
+ */
46
+ readonly creationTime: pulumi.Output<string>;
47
+ /**
48
+ * Description of the transit router route entry.
49
+ */
50
+ readonly description: pulumi.Output<string>;
51
+ /**
52
+ * The target network segment of the route entry.
53
+ */
54
+ readonly destinationCidrBlock: pulumi.Output<string>;
55
+ /**
56
+ * The status of the route entry.
57
+ */
58
+ readonly status: pulumi.Output<string>;
59
+ /**
60
+ * The id of the route entry.
61
+ */
62
+ readonly transitRouterRouteEntryId: pulumi.Output<string>;
63
+ /**
64
+ * The name of the route entry.
65
+ */
66
+ readonly transitRouterRouteEntryName: pulumi.Output<string>;
67
+ /**
68
+ * The next hot id of the routing entry. When the parameter TransitRouterRouteEntryNextHopType is Attachment, this parameter must be filled.
69
+ */
70
+ readonly transitRouterRouteEntryNextHopId: pulumi.Output<string | undefined>;
71
+ /**
72
+ * The next hop type of the routing entry. The value can be Attachment or BlackHole.
73
+ */
74
+ readonly transitRouterRouteEntryNextHopType: pulumi.Output<string>;
75
+ /**
76
+ * The type of the route entry.
77
+ */
78
+ readonly transitRouterRouteEntryType: pulumi.Output<string>;
79
+ /**
80
+ * The id of the route table.
81
+ */
82
+ readonly transitRouterRouteTableId: pulumi.Output<string>;
83
+ /**
84
+ * The update time of the route entry.
85
+ */
86
+ readonly updateTime: pulumi.Output<string>;
87
+ /**
88
+ * Create a RouteEntry resource with the given unique name, arguments, and options.
89
+ *
90
+ * @param name The _unique_ name of the resource.
91
+ * @param args The arguments to use to populate this resource's properties.
92
+ * @param opts A bag of options that control this resource's behavior.
93
+ */
94
+ constructor(name: string, args: RouteEntryArgs, opts?: pulumi.CustomResourceOptions);
95
+ }
96
+ /**
97
+ * Input properties used for looking up and filtering RouteEntry resources.
98
+ */
99
+ export interface RouteEntryState {
100
+ /**
101
+ * The creation time of the route entry.
102
+ */
103
+ creationTime?: pulumi.Input<string>;
104
+ /**
105
+ * Description of the transit router route entry.
106
+ */
107
+ description?: pulumi.Input<string>;
108
+ /**
109
+ * The target network segment of the route entry.
110
+ */
111
+ destinationCidrBlock?: pulumi.Input<string>;
112
+ /**
113
+ * The status of the route entry.
114
+ */
115
+ status?: pulumi.Input<string>;
116
+ /**
117
+ * The id of the route entry.
118
+ */
119
+ transitRouterRouteEntryId?: pulumi.Input<string>;
120
+ /**
121
+ * The name of the route entry.
122
+ */
123
+ transitRouterRouteEntryName?: pulumi.Input<string>;
124
+ /**
125
+ * The next hot id of the routing entry. When the parameter TransitRouterRouteEntryNextHopType is Attachment, this parameter must be filled.
126
+ */
127
+ transitRouterRouteEntryNextHopId?: pulumi.Input<string>;
128
+ /**
129
+ * The next hop type of the routing entry. The value can be Attachment or BlackHole.
130
+ */
131
+ transitRouterRouteEntryNextHopType?: pulumi.Input<string>;
132
+ /**
133
+ * The type of the route entry.
134
+ */
135
+ transitRouterRouteEntryType?: pulumi.Input<string>;
136
+ /**
137
+ * The id of the route table.
138
+ */
139
+ transitRouterRouteTableId?: pulumi.Input<string>;
140
+ /**
141
+ * The update time of the route entry.
142
+ */
143
+ updateTime?: pulumi.Input<string>;
144
+ }
145
+ /**
146
+ * The set of arguments for constructing a RouteEntry resource.
147
+ */
148
+ export interface RouteEntryArgs {
149
+ /**
150
+ * Description of the transit router route entry.
151
+ */
152
+ description?: pulumi.Input<string>;
153
+ /**
154
+ * The target network segment of the route entry.
155
+ */
156
+ destinationCidrBlock: pulumi.Input<string>;
157
+ /**
158
+ * The name of the route entry.
159
+ */
160
+ transitRouterRouteEntryName?: pulumi.Input<string>;
161
+ /**
162
+ * The next hot id of the routing entry. When the parameter TransitRouterRouteEntryNextHopType is Attachment, this parameter must be filled.
163
+ */
164
+ transitRouterRouteEntryNextHopId?: pulumi.Input<string>;
165
+ /**
166
+ * The next hop type of the routing entry. The value can be Attachment or BlackHole.
167
+ */
168
+ transitRouterRouteEntryNextHopType: pulumi.Input<string>;
169
+ /**
170
+ * The id of the route table.
171
+ */
172
+ transitRouterRouteTableId: pulumi.Input<string>;
173
+ }
@@ -0,0 +1,103 @@
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.RouteEntry = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage transit router route entry
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * const foo = new volcengine.transit_router.RouteEntry("foo", {
17
+ * description: "tf test 23",
18
+ * destinationCidrBlock: "192.168.0.0/24",
19
+ * transitRouterRouteEntryName: "tf-entry-23",
20
+ * transitRouterRouteEntryNextHopType: "BlackHole",
21
+ * transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Import
26
+ *
27
+ * transit router route entry can be imported using the table and entry id, e.g.
28
+ *
29
+ * ```sh
30
+ * $ pulumi import volcengine:transit_router/routeEntry:RouteEntry default tr-rtb-12b7qd3fmzf2817q7y2jkbd55:tr-rte-1i5i8khf9m58gae5kcx6***
31
+ * ```
32
+ */
33
+ class RouteEntry extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing RouteEntry resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, state, opts) {
44
+ return new RouteEntry(name, state, Object.assign(Object.assign({}, opts), { id: id }));
45
+ }
46
+ /**
47
+ * Returns true if the given object is an instance of RouteEntry. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj) {
51
+ if (obj === undefined || obj === null) {
52
+ return false;
53
+ }
54
+ return obj['__pulumiType'] === RouteEntry.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["creationTime"] = state ? state.creationTime : undefined;
62
+ resourceInputs["description"] = state ? state.description : undefined;
63
+ resourceInputs["destinationCidrBlock"] = state ? state.destinationCidrBlock : undefined;
64
+ resourceInputs["status"] = state ? state.status : undefined;
65
+ resourceInputs["transitRouterRouteEntryId"] = state ? state.transitRouterRouteEntryId : undefined;
66
+ resourceInputs["transitRouterRouteEntryName"] = state ? state.transitRouterRouteEntryName : undefined;
67
+ resourceInputs["transitRouterRouteEntryNextHopId"] = state ? state.transitRouterRouteEntryNextHopId : undefined;
68
+ resourceInputs["transitRouterRouteEntryNextHopType"] = state ? state.transitRouterRouteEntryNextHopType : undefined;
69
+ resourceInputs["transitRouterRouteEntryType"] = state ? state.transitRouterRouteEntryType : undefined;
70
+ resourceInputs["transitRouterRouteTableId"] = state ? state.transitRouterRouteTableId : undefined;
71
+ resourceInputs["updateTime"] = state ? state.updateTime : undefined;
72
+ }
73
+ else {
74
+ const args = argsOrState;
75
+ if ((!args || args.destinationCidrBlock === undefined) && !opts.urn) {
76
+ throw new Error("Missing required property 'destinationCidrBlock'");
77
+ }
78
+ if ((!args || args.transitRouterRouteEntryNextHopType === undefined) && !opts.urn) {
79
+ throw new Error("Missing required property 'transitRouterRouteEntryNextHopType'");
80
+ }
81
+ if ((!args || args.transitRouterRouteTableId === undefined) && !opts.urn) {
82
+ throw new Error("Missing required property 'transitRouterRouteTableId'");
83
+ }
84
+ resourceInputs["description"] = args ? args.description : undefined;
85
+ resourceInputs["destinationCidrBlock"] = args ? args.destinationCidrBlock : undefined;
86
+ resourceInputs["transitRouterRouteEntryName"] = args ? args.transitRouterRouteEntryName : undefined;
87
+ resourceInputs["transitRouterRouteEntryNextHopId"] = args ? args.transitRouterRouteEntryNextHopId : undefined;
88
+ resourceInputs["transitRouterRouteEntryNextHopType"] = args ? args.transitRouterRouteEntryNextHopType : undefined;
89
+ resourceInputs["transitRouterRouteTableId"] = args ? args.transitRouterRouteTableId : undefined;
90
+ resourceInputs["creationTime"] = undefined /*out*/;
91
+ resourceInputs["status"] = undefined /*out*/;
92
+ resourceInputs["transitRouterRouteEntryId"] = undefined /*out*/;
93
+ resourceInputs["transitRouterRouteEntryType"] = undefined /*out*/;
94
+ resourceInputs["updateTime"] = undefined /*out*/;
95
+ }
96
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
97
+ super(RouteEntry.__pulumiType, name, resourceInputs, opts);
98
+ }
99
+ }
100
+ exports.RouteEntry = RouteEntry;
101
+ /** @internal */
102
+ RouteEntry.__pulumiType = 'volcengine:transit_router/routeEntry:RouteEntry';
103
+ //# sourceMappingURL=routeEntry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routeEntry.js","sourceRoot":"","sources":["../../transit_router/routeEntry.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE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IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC,CAAC,SAAS,CAAC;YACpG,cAAc,CAAC,kCAAkC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9G,cAAc,CAAC,oCAAoC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kCAAkC,CAAC,CAAC,CAAC,SAAS,CAAC;YAClH,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,2BAA2B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChE,cAAc,CAAC,6BAA6B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA1HL,gCA2HC;AA7GG,gBAAgB;AACO,uBAAY,GAAG,iDAAiD,CAAC"}
@@ -0,0 +1,135 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage transit router route table
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@volcengine/pulumi";
9
+ *
10
+ * const foo = new volcengine.transit_router.RouteTable("foo", {
11
+ * description: "tf test23",
12
+ * transitRouterId: "tr-2ff4v69tkxji859gp684cm14e",
13
+ * transitRouterRouteTableName: "tf-table-23",
14
+ * });
15
+ * ```
16
+ *
17
+ * ## Import
18
+ *
19
+ * transit router route table can be imported using the router id and route table id, e.g.
20
+ *
21
+ * ```sh
22
+ * $ pulumi import volcengine:transit_router/routeTable:RouteTable default tr-2ff4v69tkxji859gp684cm14e:tr-rtb-hy13n2l4c6c0v****
23
+ * ```
24
+ */
25
+ export declare class RouteTable extends pulumi.CustomResource {
26
+ /**
27
+ * Get an existing RouteTable resource's state with the given name, ID, and optional extra
28
+ * properties used to qualify the lookup.
29
+ *
30
+ * @param name The _unique_ name of the resulting resource.
31
+ * @param id The _unique_ provider ID of the resource to lookup.
32
+ * @param state Any extra arguments used during the lookup.
33
+ * @param opts Optional settings to control the behavior of the CustomResource.
34
+ */
35
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouteTableState, opts?: pulumi.CustomResourceOptions): RouteTable;
36
+ /**
37
+ * Returns true if the given object is an instance of RouteTable. This is designed to work even
38
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
39
+ */
40
+ static isInstance(obj: any): obj is RouteTable;
41
+ /**
42
+ * The creation time of the route table.
43
+ */
44
+ readonly creationTime: pulumi.Output<string>;
45
+ /**
46
+ * Description of the transit router route table.
47
+ */
48
+ readonly description: pulumi.Output<string>;
49
+ /**
50
+ * The status of the route table.
51
+ */
52
+ readonly status: pulumi.Output<string>;
53
+ /**
54
+ * Id of the transit router.
55
+ */
56
+ readonly transitRouterId: pulumi.Output<string>;
57
+ /**
58
+ * The id of the route table.
59
+ */
60
+ readonly transitRouterRouteTableId: pulumi.Output<string>;
61
+ /**
62
+ * The name of the route table.
63
+ */
64
+ readonly transitRouterRouteTableName: pulumi.Output<string>;
65
+ /**
66
+ * The type of route table.
67
+ */
68
+ readonly transitRouterRouteTableType: pulumi.Output<string>;
69
+ /**
70
+ * The update time of the route table.
71
+ */
72
+ readonly updateTime: pulumi.Output<string>;
73
+ /**
74
+ * Create a RouteTable resource with the given unique name, arguments, and options.
75
+ *
76
+ * @param name The _unique_ name of the resource.
77
+ * @param args The arguments to use to populate this resource's properties.
78
+ * @param opts A bag of options that control this resource's behavior.
79
+ */
80
+ constructor(name: string, args: RouteTableArgs, opts?: pulumi.CustomResourceOptions);
81
+ }
82
+ /**
83
+ * Input properties used for looking up and filtering RouteTable resources.
84
+ */
85
+ export interface RouteTableState {
86
+ /**
87
+ * The creation time of the route table.
88
+ */
89
+ creationTime?: pulumi.Input<string>;
90
+ /**
91
+ * Description of the transit router route table.
92
+ */
93
+ description?: pulumi.Input<string>;
94
+ /**
95
+ * The status of the route table.
96
+ */
97
+ status?: pulumi.Input<string>;
98
+ /**
99
+ * Id of the transit router.
100
+ */
101
+ transitRouterId?: pulumi.Input<string>;
102
+ /**
103
+ * The id of the route table.
104
+ */
105
+ transitRouterRouteTableId?: pulumi.Input<string>;
106
+ /**
107
+ * The name of the route table.
108
+ */
109
+ transitRouterRouteTableName?: pulumi.Input<string>;
110
+ /**
111
+ * The type of route table.
112
+ */
113
+ transitRouterRouteTableType?: pulumi.Input<string>;
114
+ /**
115
+ * The update time of the route table.
116
+ */
117
+ updateTime?: pulumi.Input<string>;
118
+ }
119
+ /**
120
+ * The set of arguments for constructing a RouteTable resource.
121
+ */
122
+ export interface RouteTableArgs {
123
+ /**
124
+ * Description of the transit router route table.
125
+ */
126
+ description?: pulumi.Input<string>;
127
+ /**
128
+ * Id of the transit router.
129
+ */
130
+ transitRouterId: pulumi.Input<string>;
131
+ /**
132
+ * The name of the route table.
133
+ */
134
+ transitRouterRouteTableName?: pulumi.Input<string>;
135
+ }
@@ -0,0 +1,89 @@
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.RouteTable = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage transit router route table
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * const foo = new volcengine.transit_router.RouteTable("foo", {
17
+ * description: "tf test23",
18
+ * transitRouterId: "tr-2ff4v69tkxji859gp684cm14e",
19
+ * transitRouterRouteTableName: "tf-table-23",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * transit router route table can be imported using the router id and route table id, e.g.
26
+ *
27
+ * ```sh
28
+ * $ pulumi import volcengine:transit_router/routeTable:RouteTable default tr-2ff4v69tkxji859gp684cm14e:tr-rtb-hy13n2l4c6c0v****
29
+ * ```
30
+ */
31
+ class RouteTable extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing RouteTable resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name, id, state, opts) {
42
+ return new RouteTable(name, state, Object.assign(Object.assign({}, opts), { id: id }));
43
+ }
44
+ /**
45
+ * Returns true if the given object is an instance of RouteTable. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj) {
49
+ if (obj === undefined || obj === null) {
50
+ return false;
51
+ }
52
+ return obj['__pulumiType'] === RouteTable.__pulumiType;
53
+ }
54
+ constructor(name, argsOrState, opts) {
55
+ let resourceInputs = {};
56
+ opts = opts || {};
57
+ if (opts.id) {
58
+ const state = argsOrState;
59
+ resourceInputs["creationTime"] = state ? state.creationTime : undefined;
60
+ resourceInputs["description"] = state ? state.description : undefined;
61
+ resourceInputs["status"] = state ? state.status : undefined;
62
+ resourceInputs["transitRouterId"] = state ? state.transitRouterId : undefined;
63
+ resourceInputs["transitRouterRouteTableId"] = state ? state.transitRouterRouteTableId : undefined;
64
+ resourceInputs["transitRouterRouteTableName"] = state ? state.transitRouterRouteTableName : undefined;
65
+ resourceInputs["transitRouterRouteTableType"] = state ? state.transitRouterRouteTableType : undefined;
66
+ resourceInputs["updateTime"] = state ? state.updateTime : undefined;
67
+ }
68
+ else {
69
+ const args = argsOrState;
70
+ if ((!args || args.transitRouterId === undefined) && !opts.urn) {
71
+ throw new Error("Missing required property 'transitRouterId'");
72
+ }
73
+ resourceInputs["description"] = args ? args.description : undefined;
74
+ resourceInputs["transitRouterId"] = args ? args.transitRouterId : undefined;
75
+ resourceInputs["transitRouterRouteTableName"] = args ? args.transitRouterRouteTableName : undefined;
76
+ resourceInputs["creationTime"] = undefined /*out*/;
77
+ resourceInputs["status"] = undefined /*out*/;
78
+ resourceInputs["transitRouterRouteTableId"] = undefined /*out*/;
79
+ resourceInputs["transitRouterRouteTableType"] = undefined /*out*/;
80
+ resourceInputs["updateTime"] = undefined /*out*/;
81
+ }
82
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
+ super(RouteTable.__pulumiType, name, resourceInputs, opts);
84
+ }
85
+ }
86
+ exports.RouteTable = RouteTable;
87
+ /** @internal */
88
+ RouteTable.__pulumiType = 'volcengine:transit_router/routeTable:RouteTable';
89
+ //# sourceMappingURL=routeTable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routeTable.js","sourceRoot":"","sources":["../../transit_router/routeTable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,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uBAAY,GAAG,iDAAiD,CAAC"}
@@ -0,0 +1,82 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage transit router route table association
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@volcengine/pulumi";
9
+ *
10
+ * const foo = new volcengine.transit_router.RouteTableAssociation("foo", {
11
+ * transitRouterAttachmentId: "tr-attach-im73ng3n5kao8gbssz2ddpuq",
12
+ * transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
13
+ * });
14
+ * ```
15
+ *
16
+ * ## Import
17
+ *
18
+ * TransitRouterRouteTableAssociation can be imported using the TransitRouterAttachmentId:TransitRouterRouteTableId, e.g.
19
+ *
20
+ * ```sh
21
+ * $ pulumi import volcengine:transit_router/routeTableAssociation:RouteTableAssociation default tr-attach-13n2l4c****:tr-rt-1i5i8khf9m58gae5kcx6****
22
+ * ```
23
+ */
24
+ export declare class RouteTableAssociation extends pulumi.CustomResource {
25
+ /**
26
+ * Get an existing RouteTableAssociation resource's state with the given name, ID, and optional extra
27
+ * properties used to qualify the lookup.
28
+ *
29
+ * @param name The _unique_ name of the resulting resource.
30
+ * @param id The _unique_ provider ID of the resource to lookup.
31
+ * @param state Any extra arguments used during the lookup.
32
+ * @param opts Optional settings to control the behavior of the CustomResource.
33
+ */
34
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RouteTableAssociationState, opts?: pulumi.CustomResourceOptions): RouteTableAssociation;
35
+ /**
36
+ * Returns true if the given object is an instance of RouteTableAssociation. This is designed to work even
37
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
38
+ */
39
+ static isInstance(obj: any): obj is RouteTableAssociation;
40
+ /**
41
+ * The ID of the network instance connection.
42
+ */
43
+ readonly transitRouterAttachmentId: pulumi.Output<string>;
44
+ /**
45
+ * The ID of the routing table associated with the transit router instance.
46
+ */
47
+ readonly transitRouterRouteTableId: pulumi.Output<string>;
48
+ /**
49
+ * Create a RouteTableAssociation resource with the given unique name, arguments, and options.
50
+ *
51
+ * @param name The _unique_ name of the resource.
52
+ * @param args The arguments to use to populate this resource's properties.
53
+ * @param opts A bag of options that control this resource's behavior.
54
+ */
55
+ constructor(name: string, args: RouteTableAssociationArgs, opts?: pulumi.CustomResourceOptions);
56
+ }
57
+ /**
58
+ * Input properties used for looking up and filtering RouteTableAssociation resources.
59
+ */
60
+ export interface RouteTableAssociationState {
61
+ /**
62
+ * The ID of the network instance connection.
63
+ */
64
+ transitRouterAttachmentId?: pulumi.Input<string>;
65
+ /**
66
+ * The ID of the routing table associated with the transit router instance.
67
+ */
68
+ transitRouterRouteTableId?: pulumi.Input<string>;
69
+ }
70
+ /**
71
+ * The set of arguments for constructing a RouteTableAssociation resource.
72
+ */
73
+ export interface RouteTableAssociationArgs {
74
+ /**
75
+ * The ID of the network instance connection.
76
+ */
77
+ transitRouterAttachmentId: pulumi.Input<string>;
78
+ /**
79
+ * The ID of the routing table associated with the transit router instance.
80
+ */
81
+ transitRouterRouteTableId: pulumi.Input<string>;
82
+ }
@@ -0,0 +1,79 @@
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.RouteTableAssociation = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage transit router route table association
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * const foo = new volcengine.transit_router.RouteTableAssociation("foo", {
17
+ * transitRouterAttachmentId: "tr-attach-im73ng3n5kao8gbssz2ddpuq",
18
+ * transitRouterRouteTableId: "tr-rtb-12b7qd3fmzf2817q7y2jkbd55",
19
+ * });
20
+ * ```
21
+ *
22
+ * ## Import
23
+ *
24
+ * TransitRouterRouteTableAssociation can be imported using the TransitRouterAttachmentId:TransitRouterRouteTableId, e.g.
25
+ *
26
+ * ```sh
27
+ * $ pulumi import volcengine:transit_router/routeTableAssociation:RouteTableAssociation default tr-attach-13n2l4c****:tr-rt-1i5i8khf9m58gae5kcx6****
28
+ * ```
29
+ */
30
+ class RouteTableAssociation extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing RouteTableAssociation resource's state with the given name, ID, and optional extra
33
+ * properties used to qualify the lookup.
34
+ *
35
+ * @param name The _unique_ name of the resulting resource.
36
+ * @param id The _unique_ provider ID of the resource to lookup.
37
+ * @param state Any extra arguments used during the lookup.
38
+ * @param opts Optional settings to control the behavior of the CustomResource.
39
+ */
40
+ static get(name, id, state, opts) {
41
+ return new RouteTableAssociation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
42
+ }
43
+ /**
44
+ * Returns true if the given object is an instance of RouteTableAssociation. This is designed to work even
45
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
46
+ */
47
+ static isInstance(obj) {
48
+ if (obj === undefined || obj === null) {
49
+ return false;
50
+ }
51
+ return obj['__pulumiType'] === RouteTableAssociation.__pulumiType;
52
+ }
53
+ constructor(name, argsOrState, opts) {
54
+ let resourceInputs = {};
55
+ opts = opts || {};
56
+ if (opts.id) {
57
+ const state = argsOrState;
58
+ resourceInputs["transitRouterAttachmentId"] = state ? state.transitRouterAttachmentId : undefined;
59
+ resourceInputs["transitRouterRouteTableId"] = state ? state.transitRouterRouteTableId : undefined;
60
+ }
61
+ else {
62
+ const args = argsOrState;
63
+ if ((!args || args.transitRouterAttachmentId === undefined) && !opts.urn) {
64
+ throw new Error("Missing required property 'transitRouterAttachmentId'");
65
+ }
66
+ if ((!args || args.transitRouterRouteTableId === undefined) && !opts.urn) {
67
+ throw new Error("Missing required property 'transitRouterRouteTableId'");
68
+ }
69
+ resourceInputs["transitRouterAttachmentId"] = args ? args.transitRouterAttachmentId : undefined;
70
+ resourceInputs["transitRouterRouteTableId"] = args ? args.transitRouterRouteTableId : undefined;
71
+ }
72
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
73
+ super(RouteTableAssociation.__pulumiType, name, resourceInputs, opts);
74
+ }
75
+ }
76
+ exports.RouteTableAssociation = RouteTableAssociation;
77
+ /** @internal */
78
+ RouteTableAssociation.__pulumiType = 'volcengine:transit_router/routeTableAssociation:RouteTableAssociation';
79
+ //# sourceMappingURL=routeTableAssociation.js.map