@byteplus/pulumi-bytepluscc 0.0.52 → 0.0.54

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 (198) hide show
  1. package/billing/financialRelation.d.ts +211 -0
  2. package/billing/financialRelation.d.ts.map +1 -0
  3. package/billing/financialRelation.js +130 -0
  4. package/billing/financialRelation.js.map +1 -0
  5. package/billing/getFinancialRelation.d.ts +102 -0
  6. package/billing/getFinancialRelation.d.ts.map +1 -0
  7. package/billing/getFinancialRelation.js +51 -0
  8. package/billing/getFinancialRelation.js.map +1 -0
  9. package/billing/getFinancialRelations.d.ts +23 -0
  10. package/billing/getFinancialRelations.d.ts.map +1 -0
  11. package/billing/getFinancialRelations.js +47 -0
  12. package/billing/getFinancialRelations.js.map +1 -0
  13. package/billing/index.d.ts +10 -0
  14. package/billing/index.d.ts.map +1 -0
  15. package/billing/index.js +51 -0
  16. package/billing/index.js.map +1 -0
  17. package/cloudmonitor/alertTemplate.d.ts +252 -0
  18. package/cloudmonitor/alertTemplate.d.ts.map +1 -0
  19. package/cloudmonitor/alertTemplate.js +172 -0
  20. package/cloudmonitor/alertTemplate.js.map +1 -0
  21. package/cloudmonitor/getAlertTemplate.d.ts +90 -0
  22. package/cloudmonitor/getAlertTemplate.d.ts.map +1 -0
  23. package/cloudmonitor/getAlertTemplate.js +51 -0
  24. package/cloudmonitor/getAlertTemplate.js.map +1 -0
  25. package/cloudmonitor/getAlertTemplates.d.ts +23 -0
  26. package/cloudmonitor/getAlertTemplates.d.ts.map +1 -0
  27. package/cloudmonitor/getAlertTemplates.js +47 -0
  28. package/cloudmonitor/getAlertTemplates.js.map +1 -0
  29. package/cloudmonitor/getObjectGroup.d.ts +66 -0
  30. package/cloudmonitor/getObjectGroup.d.ts.map +1 -0
  31. package/cloudmonitor/getObjectGroup.js +51 -0
  32. package/cloudmonitor/getObjectGroup.js.map +1 -0
  33. package/cloudmonitor/getObjectGroups.d.ts +23 -0
  34. package/cloudmonitor/getObjectGroups.d.ts.map +1 -0
  35. package/cloudmonitor/getObjectGroups.js +47 -0
  36. package/cloudmonitor/getObjectGroups.js.map +1 -0
  37. package/cloudmonitor/index.d.ts +18 -0
  38. package/cloudmonitor/index.d.ts.map +1 -1
  39. package/cloudmonitor/index.js +23 -1
  40. package/cloudmonitor/index.js.map +1 -1
  41. package/cloudmonitor/objectGroup.d.ts +143 -0
  42. package/cloudmonitor/objectGroup.d.ts.map +1 -0
  43. package/cloudmonitor/objectGroup.js +124 -0
  44. package/cloudmonitor/objectGroup.js.map +1 -0
  45. package/ecs/getInstance.d.ts +1 -0
  46. package/ecs/getInstance.d.ts.map +1 -1
  47. package/ecs/getInstance.js.map +1 -1
  48. package/ecs/instance.d.ts +8 -0
  49. package/ecs/instance.d.ts.map +1 -1
  50. package/ecs/instance.js +2 -0
  51. package/ecs/instance.js.map +1 -1
  52. package/hbase/instance.d.ts +0 -5
  53. package/hbase/instance.d.ts.map +1 -1
  54. package/hbase/instance.js +1 -1
  55. package/hbase/instance.js.map +1 -1
  56. package/index.d.ts +3 -1
  57. package/index.d.ts.map +1 -1
  58. package/index.js +6 -1
  59. package/index.js.map +1 -1
  60. package/mongodb/getInstance.d.ts +25 -1
  61. package/mongodb/getInstance.d.ts.map +1 -1
  62. package/mongodb/getInstance.js.map +1 -1
  63. package/mongodb/instance.d.ts +71 -3
  64. package/mongodb/instance.d.ts.map +1 -1
  65. package/mongodb/instance.js +12 -0
  66. package/mongodb/instance.js.map +1 -1
  67. package/package.json +1 -1
  68. package/rdsmssql/getInstance.d.ts +12 -0
  69. package/rdsmssql/getInstance.d.ts.map +1 -1
  70. package/rdsmssql/getInstance.js.map +1 -1
  71. package/rdsmssql/instance.d.ts +32 -0
  72. package/rdsmssql/instance.d.ts.map +1 -1
  73. package/rdsmssql/instance.js +6 -0
  74. package/rdsmssql/instance.js.map +1 -1
  75. package/rdspostgresql/getInstance.d.ts +4 -0
  76. package/rdspostgresql/getInstance.d.ts.map +1 -1
  77. package/rdspostgresql/getInstance.js.map +1 -1
  78. package/rdspostgresql/instance.d.ts +12 -0
  79. package/rdspostgresql/instance.d.ts.map +1 -1
  80. package/rdspostgresql/instance.js +2 -0
  81. package/rdspostgresql/instance.js.map +1 -1
  82. package/redis/getInstance.d.ts +4 -0
  83. package/redis/getInstance.d.ts.map +1 -1
  84. package/redis/getInstance.js.map +1 -1
  85. package/redis/instance.d.ts +12 -0
  86. package/redis/instance.d.ts.map +1 -1
  87. package/redis/instance.js +2 -0
  88. package/redis/instance.js.map +1 -1
  89. package/securitycenter/agent.d.ts +221 -0
  90. package/securitycenter/agent.d.ts.map +1 -0
  91. package/securitycenter/agent.js +131 -0
  92. package/securitycenter/agent.js.map +1 -0
  93. package/securitycenter/getAgent.d.ts +118 -0
  94. package/securitycenter/getAgent.d.ts.map +1 -0
  95. package/securitycenter/getAgent.js +51 -0
  96. package/securitycenter/getAgent.js.map +1 -0
  97. package/securitycenter/getAgents.d.ts +23 -0
  98. package/securitycenter/getAgents.d.ts.map +1 -0
  99. package/securitycenter/getAgents.js +47 -0
  100. package/securitycenter/getAgents.js.map +1 -0
  101. package/securitycenter/index.d.ts +10 -0
  102. package/securitycenter/index.d.ts.map +1 -0
  103. package/securitycenter/index.js +51 -0
  104. package/securitycenter/index.js.map +1 -0
  105. package/transitrouter/getTransitRouterForwardPolicyEntries.d.ts +23 -0
  106. package/transitrouter/getTransitRouterForwardPolicyEntries.d.ts.map +1 -0
  107. package/transitrouter/getTransitRouterForwardPolicyEntries.js +47 -0
  108. package/transitrouter/getTransitRouterForwardPolicyEntries.js.map +1 -0
  109. package/transitrouter/getTransitRouterForwardPolicyEntry.d.ts +77 -0
  110. package/transitrouter/getTransitRouterForwardPolicyEntry.d.ts.map +1 -0
  111. package/transitrouter/getTransitRouterForwardPolicyEntry.js +51 -0
  112. package/transitrouter/getTransitRouterForwardPolicyEntry.js.map +1 -0
  113. package/transitrouter/getTransitRouterRoutePolicyTable.d.ts +73 -0
  114. package/transitrouter/getTransitRouterRoutePolicyTable.d.ts.map +1 -0
  115. package/transitrouter/getTransitRouterRoutePolicyTable.js +51 -0
  116. package/transitrouter/getTransitRouterRoutePolicyTable.js.map +1 -0
  117. package/transitrouter/getTransitRouterRoutePolicyTables.d.ts +23 -0
  118. package/transitrouter/getTransitRouterRoutePolicyTables.d.ts.map +1 -0
  119. package/transitrouter/getTransitRouterRoutePolicyTables.js +47 -0
  120. package/transitrouter/getTransitRouterRoutePolicyTables.js.map +1 -0
  121. package/transitrouter/index.d.ts +18 -0
  122. package/transitrouter/index.d.ts.map +1 -1
  123. package/transitrouter/index.js +24 -2
  124. package/transitrouter/index.js.map +1 -1
  125. package/transitrouter/transitRouterForwardPolicyEntry.d.ts +166 -0
  126. package/transitrouter/transitRouterForwardPolicyEntry.d.ts.map +1 -0
  127. package/transitrouter/transitRouterForwardPolicyEntry.js +127 -0
  128. package/transitrouter/transitRouterForwardPolicyEntry.js.map +1 -0
  129. package/transitrouter/transitRouterRoutePolicyTable.d.ts +148 -0
  130. package/transitrouter/transitRouterRoutePolicyTable.d.ts.map +1 -0
  131. package/transitrouter/transitRouterRoutePolicyTable.js +117 -0
  132. package/transitrouter/transitRouterRoutePolicyTable.js.map +1 -0
  133. package/types/input.d.ts +774 -81
  134. package/types/input.d.ts.map +1 -1
  135. package/types/output.d.ts +1594 -221
  136. package/types/output.d.ts.map +1 -1
  137. package/vke/getNodePool.d.ts +3 -3
  138. package/vke/getNodepoolScalingPolicies.d.ts +23 -0
  139. package/vke/getNodepoolScalingPolicies.d.ts.map +1 -0
  140. package/vke/getNodepoolScalingPolicies.js +47 -0
  141. package/vke/getNodepoolScalingPolicies.js.map +1 -0
  142. package/vke/getNodepoolScalingPolicy.d.ts +82 -0
  143. package/vke/getNodepoolScalingPolicy.d.ts.map +1 -0
  144. package/vke/getNodepoolScalingPolicy.js +51 -0
  145. package/vke/getNodepoolScalingPolicy.js.map +1 -0
  146. package/vke/index.d.ts +9 -0
  147. package/vke/index.d.ts.map +1 -1
  148. package/vke/index.js +12 -1
  149. package/vke/index.js.map +1 -1
  150. package/vke/nodePool.d.ts +9 -9
  151. package/vke/nodepoolScalingPolicy.d.ts +191 -0
  152. package/vke/nodepoolScalingPolicy.d.ts.map +1 -0
  153. package/vke/nodepoolScalingPolicy.js +140 -0
  154. package/vke/nodepoolScalingPolicy.js.map +1 -0
  155. package/vpc/getIpamResourceDiscoveries.d.ts +23 -0
  156. package/vpc/getIpamResourceDiscoveries.d.ts.map +1 -0
  157. package/vpc/getIpamResourceDiscoveries.js +47 -0
  158. package/vpc/getIpamResourceDiscoveries.js.map +1 -0
  159. package/vpc/getIpamResourceDiscovery.d.ts +90 -0
  160. package/vpc/getIpamResourceDiscovery.d.ts.map +1 -0
  161. package/vpc/getIpamResourceDiscovery.js +51 -0
  162. package/vpc/getIpamResourceDiscovery.js.map +1 -0
  163. package/vpc/index.d.ts +9 -0
  164. package/vpc/index.d.ts.map +1 -1
  165. package/vpc/index.js +14 -3
  166. package/vpc/index.js.map +1 -1
  167. package/vpc/ipamResourceDiscovery.d.ts +194 -0
  168. package/vpc/ipamResourceDiscovery.d.ts.map +1 -0
  169. package/vpc/ipamResourceDiscovery.js +128 -0
  170. package/vpc/ipamResourceDiscovery.js.map +1 -0
  171. package/waf/botAnalyseProtectRule.d.ts +316 -0
  172. package/waf/botAnalyseProtectRule.d.ts.map +1 -0
  173. package/waf/botAnalyseProtectRule.js +171 -0
  174. package/waf/botAnalyseProtectRule.js.map +1 -0
  175. package/waf/customBot.d.ts +207 -0
  176. package/waf/customBot.d.ts.map +1 -0
  177. package/waf/customBot.js +150 -0
  178. package/waf/customBot.js.map +1 -0
  179. package/waf/getBotAnalyseProtectRule.d.ts +126 -0
  180. package/waf/getBotAnalyseProtectRule.d.ts.map +1 -0
  181. package/waf/getBotAnalyseProtectRule.js +51 -0
  182. package/waf/getBotAnalyseProtectRule.js.map +1 -0
  183. package/waf/getBotAnalyseProtectRules.d.ts +23 -0
  184. package/waf/getBotAnalyseProtectRules.d.ts.map +1 -0
  185. package/waf/getBotAnalyseProtectRules.js +47 -0
  186. package/waf/getBotAnalyseProtectRules.js.map +1 -0
  187. package/waf/getCustomBot.d.ts +86 -0
  188. package/waf/getCustomBot.d.ts.map +1 -0
  189. package/waf/getCustomBot.js +51 -0
  190. package/waf/getCustomBot.js.map +1 -0
  191. package/waf/getCustomBots.d.ts +23 -0
  192. package/waf/getCustomBots.d.ts.map +1 -0
  193. package/waf/getCustomBots.js +47 -0
  194. package/waf/getCustomBots.js.map +1 -0
  195. package/waf/index.d.ts +18 -0
  196. package/waf/index.d.ts.map +1 -1
  197. package/waf/index.js +23 -1
  198. package/waf/index.js.map +1 -1
@@ -0,0 +1,166 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Forwarding policy entry of the transit router. The forwarding policy entry matches source and destination address segments and forwards matching traffic to the specified transit router route table.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
10
+ *
11
+ * const example = new bytepluscc.transitrouter.TransitRouterForwardPolicyEntry("example", {
12
+ * transitRouterForwardPolicyTableId: "policy_table_xxxxx",
13
+ * transitRouterRouteTableId: "route_table-xxxxx",
14
+ * sourceCidrBlock: "172.16.0.0/12",
15
+ * destinationCidrBlock: "192.168.0.0/16",
16
+ * priority: 100,
17
+ * description: "ccapi transit router forward policy entry full",
18
+ * });
19
+ * ```
20
+ *
21
+ * ## Import
22
+ *
23
+ * ```sh
24
+ * $ pulumi import bytepluscc:transitrouter/transitRouterForwardPolicyEntry:TransitRouterForwardPolicyEntry example "transit_router_forward_policy_table_id|transit_router_forward_policy_entry_id"
25
+ * ```
26
+ */
27
+ export declare class TransitRouterForwardPolicyEntry extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing TransitRouterForwardPolicyEntry 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?: TransitRouterForwardPolicyEntryState, opts?: pulumi.CustomResourceOptions): TransitRouterForwardPolicyEntry;
38
+ /**
39
+ * Returns true if the given object is an instance of TransitRouterForwardPolicyEntry. 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 TransitRouterForwardPolicyEntry;
43
+ /**
44
+ * Creation time of the forwarding policy entry.
45
+ */
46
+ readonly creationTime: pulumi.Output<string>;
47
+ /**
48
+ * Description of the forwarding policy entry. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters.
49
+ */
50
+ readonly description: pulumi.Output<string>;
51
+ /**
52
+ * Destination address segment of the forwarding policy entry. Supports IPv4 and IPv6 subnets. If this parameter is empty, it matches all destination addresses.
53
+ */
54
+ readonly destinationCidrBlock: pulumi.Output<string>;
55
+ /**
56
+ * Priority of the forwarding policy entry. Value range: 1–10000. Priorities cannot be duplicated within the same forwarding policy.
57
+ */
58
+ readonly priority: pulumi.Output<number>;
59
+ /**
60
+ * Source address segment of the forwarding policy entry. Supports IPv4 and IPv6 subnets.
61
+ */
62
+ readonly sourceCidrBlock: pulumi.Output<string>;
63
+ /**
64
+ * Status of the forwarding policy entry. Available: available. Creating: creating. Pending: configuring. Deleting: deleting. Conflicted: not effective.
65
+ */
66
+ readonly status: pulumi.Output<string>;
67
+ /**
68
+ * ID of the forwarding policy entry.
69
+ */
70
+ readonly transitRouterForwardPolicyEntryId: pulumi.Output<string>;
71
+ /**
72
+ * ID of the forwarding policy to which the entry belongs.
73
+ */
74
+ readonly transitRouterForwardPolicyTableId: pulumi.Output<string>;
75
+ /**
76
+ * ID of the transit router route table to which traffic matching this forwarding policy entry is forwarded.
77
+ */
78
+ readonly transitRouterRouteTableId: pulumi.Output<string>;
79
+ /**
80
+ * Last operation time of the forwarding policy entry.
81
+ */
82
+ readonly updateTime: pulumi.Output<string>;
83
+ /**
84
+ * Create a TransitRouterForwardPolicyEntry resource with the given unique name, arguments, and options.
85
+ *
86
+ * @param name The _unique_ name of the resource.
87
+ * @param args The arguments to use to populate this resource's properties.
88
+ * @param opts A bag of options that control this resource's behavior.
89
+ */
90
+ constructor(name: string, args: TransitRouterForwardPolicyEntryArgs, opts?: pulumi.CustomResourceOptions);
91
+ }
92
+ /**
93
+ * Input properties used for looking up and filtering TransitRouterForwardPolicyEntry resources.
94
+ */
95
+ export interface TransitRouterForwardPolicyEntryState {
96
+ /**
97
+ * Creation time of the forwarding policy entry.
98
+ */
99
+ creationTime?: pulumi.Input<string | undefined>;
100
+ /**
101
+ * Description of the forwarding policy entry. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters.
102
+ */
103
+ description?: pulumi.Input<string | undefined>;
104
+ /**
105
+ * Destination address segment of the forwarding policy entry. Supports IPv4 and IPv6 subnets. If this parameter is empty, it matches all destination addresses.
106
+ */
107
+ destinationCidrBlock?: pulumi.Input<string | undefined>;
108
+ /**
109
+ * Priority of the forwarding policy entry. Value range: 1–10000. Priorities cannot be duplicated within the same forwarding policy.
110
+ */
111
+ priority?: pulumi.Input<number | undefined>;
112
+ /**
113
+ * Source address segment of the forwarding policy entry. Supports IPv4 and IPv6 subnets.
114
+ */
115
+ sourceCidrBlock?: pulumi.Input<string | undefined>;
116
+ /**
117
+ * Status of the forwarding policy entry. Available: available. Creating: creating. Pending: configuring. Deleting: deleting. Conflicted: not effective.
118
+ */
119
+ status?: pulumi.Input<string | undefined>;
120
+ /**
121
+ * ID of the forwarding policy entry.
122
+ */
123
+ transitRouterForwardPolicyEntryId?: pulumi.Input<string | undefined>;
124
+ /**
125
+ * ID of the forwarding policy to which the entry belongs.
126
+ */
127
+ transitRouterForwardPolicyTableId?: pulumi.Input<string | undefined>;
128
+ /**
129
+ * ID of the transit router route table to which traffic matching this forwarding policy entry is forwarded.
130
+ */
131
+ transitRouterRouteTableId?: pulumi.Input<string | undefined>;
132
+ /**
133
+ * Last operation time of the forwarding policy entry.
134
+ */
135
+ updateTime?: pulumi.Input<string | undefined>;
136
+ }
137
+ /**
138
+ * The set of arguments for constructing a TransitRouterForwardPolicyEntry resource.
139
+ */
140
+ export interface TransitRouterForwardPolicyEntryArgs {
141
+ /**
142
+ * Description of the forwarding policy entry. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: English comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters.
143
+ */
144
+ description?: pulumi.Input<string | undefined>;
145
+ /**
146
+ * Destination address segment of the forwarding policy entry. Supports IPv4 and IPv6 subnets. If this parameter is empty, it matches all destination addresses.
147
+ */
148
+ destinationCidrBlock?: pulumi.Input<string | undefined>;
149
+ /**
150
+ * Priority of the forwarding policy entry. Value range: 1–10000. Priorities cannot be duplicated within the same forwarding policy.
151
+ */
152
+ priority: pulumi.Input<number>;
153
+ /**
154
+ * Source address segment of the forwarding policy entry. Supports IPv4 and IPv6 subnets.
155
+ */
156
+ sourceCidrBlock: pulumi.Input<string>;
157
+ /**
158
+ * ID of the forwarding policy to which the entry belongs.
159
+ */
160
+ transitRouterForwardPolicyTableId: pulumi.Input<string>;
161
+ /**
162
+ * ID of the transit router route table to which traffic matching this forwarding policy entry is forwarded.
163
+ */
164
+ transitRouterRouteTableId: pulumi.Input<string>;
165
+ }
166
+ //# sourceMappingURL=transitRouterForwardPolicyEntry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file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W,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxD;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC;;OAEG;IACH,iCAAiC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACxD;;OAEG;IACH,yBAAyB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACnD"}
@@ -0,0 +1,127 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.TransitRouterForwardPolicyEntry = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Forwarding policy entry of the transit router. The forwarding policy entry matches source and destination address segments and forwards matching traffic to the specified transit router route table.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
39
+ *
40
+ * const example = new bytepluscc.transitrouter.TransitRouterForwardPolicyEntry("example", {
41
+ * transitRouterForwardPolicyTableId: "policy_table_xxxxx",
42
+ * transitRouterRouteTableId: "route_table-xxxxx",
43
+ * sourceCidrBlock: "172.16.0.0/12",
44
+ * destinationCidrBlock: "192.168.0.0/16",
45
+ * priority: 100,
46
+ * description: "ccapi transit router forward policy entry full",
47
+ * });
48
+ * ```
49
+ *
50
+ * ## Import
51
+ *
52
+ * ```sh
53
+ * $ pulumi import bytepluscc:transitrouter/transitRouterForwardPolicyEntry:TransitRouterForwardPolicyEntry example "transit_router_forward_policy_table_id|transit_router_forward_policy_entry_id"
54
+ * ```
55
+ */
56
+ class TransitRouterForwardPolicyEntry extends pulumi.CustomResource {
57
+ /**
58
+ * Get an existing TransitRouterForwardPolicyEntry resource's state with the given name, ID, and optional extra
59
+ * properties used to qualify the lookup.
60
+ *
61
+ * @param name The _unique_ name of the resulting resource.
62
+ * @param id The _unique_ provider ID of the resource to lookup.
63
+ * @param state Any extra arguments used during the lookup.
64
+ * @param opts Optional settings to control the behavior of the CustomResource.
65
+ */
66
+ static get(name, id, state, opts) {
67
+ return new TransitRouterForwardPolicyEntry(name, state, { ...opts, id: id });
68
+ }
69
+ /** @internal */
70
+ static __pulumiType = 'bytepluscc:transitrouter/transitRouterForwardPolicyEntry:TransitRouterForwardPolicyEntry';
71
+ /**
72
+ * Returns true if the given object is an instance of TransitRouterForwardPolicyEntry. This is designed to work even
73
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
74
+ */
75
+ static isInstance(obj) {
76
+ if (obj === undefined || obj === null) {
77
+ return false;
78
+ }
79
+ return obj['__pulumiType'] === TransitRouterForwardPolicyEntry.__pulumiType;
80
+ }
81
+ constructor(name, argsOrState, opts) {
82
+ let resourceInputs = {};
83
+ opts = opts || {};
84
+ if (opts.id) {
85
+ const state = argsOrState;
86
+ resourceInputs["creationTime"] = state?.creationTime;
87
+ resourceInputs["description"] = state?.description;
88
+ resourceInputs["destinationCidrBlock"] = state?.destinationCidrBlock;
89
+ resourceInputs["priority"] = state?.priority;
90
+ resourceInputs["sourceCidrBlock"] = state?.sourceCidrBlock;
91
+ resourceInputs["status"] = state?.status;
92
+ resourceInputs["transitRouterForwardPolicyEntryId"] = state?.transitRouterForwardPolicyEntryId;
93
+ resourceInputs["transitRouterForwardPolicyTableId"] = state?.transitRouterForwardPolicyTableId;
94
+ resourceInputs["transitRouterRouteTableId"] = state?.transitRouterRouteTableId;
95
+ resourceInputs["updateTime"] = state?.updateTime;
96
+ }
97
+ else {
98
+ const args = argsOrState;
99
+ if (args?.priority === undefined && !opts.urn) {
100
+ throw new Error("Missing required property 'priority'");
101
+ }
102
+ if (args?.sourceCidrBlock === undefined && !opts.urn) {
103
+ throw new Error("Missing required property 'sourceCidrBlock'");
104
+ }
105
+ if (args?.transitRouterForwardPolicyTableId === undefined && !opts.urn) {
106
+ throw new Error("Missing required property 'transitRouterForwardPolicyTableId'");
107
+ }
108
+ if (args?.transitRouterRouteTableId === undefined && !opts.urn) {
109
+ throw new Error("Missing required property 'transitRouterRouteTableId'");
110
+ }
111
+ resourceInputs["description"] = args?.description;
112
+ resourceInputs["destinationCidrBlock"] = args?.destinationCidrBlock;
113
+ resourceInputs["priority"] = args?.priority;
114
+ resourceInputs["sourceCidrBlock"] = args?.sourceCidrBlock;
115
+ resourceInputs["transitRouterForwardPolicyTableId"] = args?.transitRouterForwardPolicyTableId;
116
+ resourceInputs["transitRouterRouteTableId"] = args?.transitRouterRouteTableId;
117
+ resourceInputs["creationTime"] = undefined /*out*/;
118
+ resourceInputs["status"] = undefined /*out*/;
119
+ resourceInputs["transitRouterForwardPolicyEntryId"] = undefined /*out*/;
120
+ resourceInputs["updateTime"] = undefined /*out*/;
121
+ }
122
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
123
+ super(TransitRouterForwardPolicyEntry.__pulumiType, name, resourceInputs, opts);
124
+ }
125
+ }
126
+ exports.TransitRouterForwardPolicyEntry = TransitRouterForwardPolicyEntry;
127
+ //# sourceMappingURL=transitRouterForwardPolicyEntry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transitRouterForwardPolicyEntry.js","sourceRoot":"","sources":["../../transitrouter/transitRouterForwardPolicyEntry.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IACtE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4C,EAAE,IAAmC;QAC1I,OAAO,IAAI,+BAA+B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtF,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,0FAA0F,CAAC;IAEjI;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,+BAA+B,CAAC,YAAY,CAAC;IAChF,CAAC;IAmDD,YAAY,IAAY,EAAE,WAAwF,EAAE,IAAmC;QACnJ,IAAI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F;YACD,IAAI,IAAI,EAAE,yBAAyB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5D,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;aAC5E;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,mCAAmC,CAAC,GAAG,IAAI,EAAE,iCAAiC,CAAC;YAC9F,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;YAC9E,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,mCAAmC,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxE,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,+BAA+B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpF,CAAC;;AAvHL,0EAwHC"}
@@ -0,0 +1,148 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Transit router route policy table
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
10
+ *
11
+ * const example = new bytepluscc.transitrouter.TransitRouterRoutePolicyTable("example", {
12
+ * transitRouterId: "router_id-xxx",
13
+ * transitRouterRoutePolicyTableName: "ccapi-route-policy-table-full",
14
+ * description: "ccapi transit router route policy table",
15
+ * direction: "Out",
16
+ * });
17
+ * ```
18
+ *
19
+ * ## Import
20
+ *
21
+ * ```sh
22
+ * $ pulumi import bytepluscc:transitrouter/transitRouterRoutePolicyTable:TransitRouterRoutePolicyTable example "transit_router_id|transit_router_route_policy_table_id"
23
+ * ```
24
+ */
25
+ export declare class TransitRouterRoutePolicyTable extends pulumi.CustomResource {
26
+ /**
27
+ * Get an existing TransitRouterRoutePolicyTable 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?: TransitRouterRoutePolicyTableState, opts?: pulumi.CustomResourceOptions): TransitRouterRoutePolicyTable;
36
+ /**
37
+ * Returns true if the given object is an instance of TransitRouterRoutePolicyTable. 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 TransitRouterRoutePolicyTable;
41
+ /**
42
+ * Creation time
43
+ */
44
+ readonly creationTime: pulumi.Output<string>;
45
+ /**
46
+ * Description
47
+ */
48
+ readonly description: pulumi.Output<string>;
49
+ /**
50
+ * Association direction
51
+ */
52
+ readonly direction: pulumi.Output<string>;
53
+ /**
54
+ * Status
55
+ */
56
+ readonly status: pulumi.Output<string>;
57
+ /**
58
+ * Transit router ID
59
+ */
60
+ readonly transitRouterId: pulumi.Output<string>;
61
+ /**
62
+ * Route policy table ID
63
+ */
64
+ readonly transitRouterRoutePolicyTableId: pulumi.Output<string>;
65
+ /**
66
+ * Route policy table name
67
+ */
68
+ readonly transitRouterRoutePolicyTableName: pulumi.Output<string>;
69
+ /**
70
+ * List of associated route table IDs
71
+ */
72
+ readonly transitRouterRouteTableIds: pulumi.Output<string[]>;
73
+ /**
74
+ * Update time
75
+ */
76
+ readonly updateTime: pulumi.Output<string>;
77
+ /**
78
+ * Create a TransitRouterRoutePolicyTable resource with the given unique name, arguments, and options.
79
+ *
80
+ * @param name The _unique_ name of the resource.
81
+ * @param args The arguments to use to populate this resource's properties.
82
+ * @param opts A bag of options that control this resource's behavior.
83
+ */
84
+ constructor(name: string, args: TransitRouterRoutePolicyTableArgs, opts?: pulumi.CustomResourceOptions);
85
+ }
86
+ /**
87
+ * Input properties used for looking up and filtering TransitRouterRoutePolicyTable resources.
88
+ */
89
+ export interface TransitRouterRoutePolicyTableState {
90
+ /**
91
+ * Creation time
92
+ */
93
+ creationTime?: pulumi.Input<string | undefined>;
94
+ /**
95
+ * Description
96
+ */
97
+ description?: pulumi.Input<string | undefined>;
98
+ /**
99
+ * Association direction
100
+ */
101
+ direction?: pulumi.Input<string | undefined>;
102
+ /**
103
+ * Status
104
+ */
105
+ status?: pulumi.Input<string | undefined>;
106
+ /**
107
+ * Transit router ID
108
+ */
109
+ transitRouterId?: pulumi.Input<string | undefined>;
110
+ /**
111
+ * Route policy table ID
112
+ */
113
+ transitRouterRoutePolicyTableId?: pulumi.Input<string | undefined>;
114
+ /**
115
+ * Route policy table name
116
+ */
117
+ transitRouterRoutePolicyTableName?: pulumi.Input<string | undefined>;
118
+ /**
119
+ * List of associated route table IDs
120
+ */
121
+ transitRouterRouteTableIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
122
+ /**
123
+ * Update time
124
+ */
125
+ updateTime?: pulumi.Input<string | undefined>;
126
+ }
127
+ /**
128
+ * The set of arguments for constructing a TransitRouterRoutePolicyTable resource.
129
+ */
130
+ export interface TransitRouterRoutePolicyTableArgs {
131
+ /**
132
+ * Description
133
+ */
134
+ description?: pulumi.Input<string | undefined>;
135
+ /**
136
+ * Association direction
137
+ */
138
+ direction: pulumi.Input<string>;
139
+ /**
140
+ * Transit router ID
141
+ */
142
+ transitRouterId: pulumi.Input<string>;
143
+ /**
144
+ * Route policy table name
145
+ */
146
+ transitRouterRoutePolicyTableName?: pulumi.Input<string | undefined>;
147
+ }
148
+ //# sourceMappingURL=transitRouterRoutePolicyTable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transitRouterRoutePolicyTable.d.ts","sourceRoot":"","sources":["../../transitrouter/transitRouterRoutePolicyTable.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,qBAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IACpE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,kCAAkC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,6BAA6B;IAO5K;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,6BAA6B;IAOxE;;OAEG;IACH,SAAgC,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACzD;;OAEG;IACH,SAAgC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9D;;OAEG;IACH,SAAwB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/D;;OAEG;IACH,SAAgC,+BAA+B,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACvF;;OAEG;IACH,SAAwB,iCAAiC,EAAE,MA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;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC;;OAEG;IACH,iCAAiC,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACxE"}
@@ -0,0 +1,117 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.TransitRouterRoutePolicyTable = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Transit router route policy table
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
39
+ *
40
+ * const example = new bytepluscc.transitrouter.TransitRouterRoutePolicyTable("example", {
41
+ * transitRouterId: "router_id-xxx",
42
+ * transitRouterRoutePolicyTableName: "ccapi-route-policy-table-full",
43
+ * description: "ccapi transit router route policy table",
44
+ * direction: "Out",
45
+ * });
46
+ * ```
47
+ *
48
+ * ## Import
49
+ *
50
+ * ```sh
51
+ * $ pulumi import bytepluscc:transitrouter/transitRouterRoutePolicyTable:TransitRouterRoutePolicyTable example "transit_router_id|transit_router_route_policy_table_id"
52
+ * ```
53
+ */
54
+ class TransitRouterRoutePolicyTable extends pulumi.CustomResource {
55
+ /**
56
+ * Get an existing TransitRouterRoutePolicyTable resource's state with the given name, ID, and optional extra
57
+ * properties used to qualify the lookup.
58
+ *
59
+ * @param name The _unique_ name of the resulting resource.
60
+ * @param id The _unique_ provider ID of the resource to lookup.
61
+ * @param state Any extra arguments used during the lookup.
62
+ * @param opts Optional settings to control the behavior of the CustomResource.
63
+ */
64
+ static get(name, id, state, opts) {
65
+ return new TransitRouterRoutePolicyTable(name, state, { ...opts, id: id });
66
+ }
67
+ /** @internal */
68
+ static __pulumiType = 'bytepluscc:transitrouter/transitRouterRoutePolicyTable:TransitRouterRoutePolicyTable';
69
+ /**
70
+ * Returns true if the given object is an instance of TransitRouterRoutePolicyTable. This is designed to work even
71
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
72
+ */
73
+ static isInstance(obj) {
74
+ if (obj === undefined || obj === null) {
75
+ return false;
76
+ }
77
+ return obj['__pulumiType'] === TransitRouterRoutePolicyTable.__pulumiType;
78
+ }
79
+ constructor(name, argsOrState, opts) {
80
+ let resourceInputs = {};
81
+ opts = opts || {};
82
+ if (opts.id) {
83
+ const state = argsOrState;
84
+ resourceInputs["creationTime"] = state?.creationTime;
85
+ resourceInputs["description"] = state?.description;
86
+ resourceInputs["direction"] = state?.direction;
87
+ resourceInputs["status"] = state?.status;
88
+ resourceInputs["transitRouterId"] = state?.transitRouterId;
89
+ resourceInputs["transitRouterRoutePolicyTableId"] = state?.transitRouterRoutePolicyTableId;
90
+ resourceInputs["transitRouterRoutePolicyTableName"] = state?.transitRouterRoutePolicyTableName;
91
+ resourceInputs["transitRouterRouteTableIds"] = state?.transitRouterRouteTableIds;
92
+ resourceInputs["updateTime"] = state?.updateTime;
93
+ }
94
+ else {
95
+ const args = argsOrState;
96
+ if (args?.direction === undefined && !opts.urn) {
97
+ throw new Error("Missing required property 'direction'");
98
+ }
99
+ if (args?.transitRouterId === undefined && !opts.urn) {
100
+ throw new Error("Missing required property 'transitRouterId'");
101
+ }
102
+ resourceInputs["description"] = args?.description;
103
+ resourceInputs["direction"] = args?.direction;
104
+ resourceInputs["transitRouterId"] = args?.transitRouterId;
105
+ resourceInputs["transitRouterRoutePolicyTableName"] = args?.transitRouterRoutePolicyTableName;
106
+ resourceInputs["creationTime"] = undefined /*out*/;
107
+ resourceInputs["status"] = undefined /*out*/;
108
+ resourceInputs["transitRouterRoutePolicyTableId"] = undefined /*out*/;
109
+ resourceInputs["transitRouterRouteTableIds"] = undefined /*out*/;
110
+ resourceInputs["updateTime"] = undefined /*out*/;
111
+ }
112
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
113
+ super(TransitRouterRoutePolicyTable.__pulumiType, name, resourceInputs, opts);
114
+ }
115
+ }
116
+ exports.TransitRouterRoutePolicyTable = TransitRouterRoutePolicyTable;
117
+ //# sourceMappingURL=transitRouterRoutePolicyTable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transitRouterRoutePolicyTable.js","sourceRoot":"","sources":["../../transitrouter/transitRouterRoutePolicyTable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;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