@byteplus/pulumi-bytepluscc 0.0.46 → 0.0.48

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 (175) hide show
  1. package/autoscaling/getNotificationConfiguration.d.ts +57 -0
  2. package/autoscaling/getNotificationConfiguration.d.ts.map +1 -0
  3. package/autoscaling/getNotificationConfiguration.js +51 -0
  4. package/autoscaling/getNotificationConfiguration.js.map +1 -0
  5. package/autoscaling/getNotificationConfigurations.d.ts +23 -0
  6. package/autoscaling/getNotificationConfigurations.d.ts.map +1 -0
  7. package/autoscaling/getNotificationConfigurations.js +47 -0
  8. package/autoscaling/getNotificationConfigurations.js.map +1 -0
  9. package/autoscaling/index.d.ts +9 -0
  10. package/autoscaling/index.d.ts.map +1 -1
  11. package/autoscaling/index.js +12 -1
  12. package/autoscaling/index.js.map +1 -1
  13. package/autoscaling/notificationConfiguration.d.ts +122 -0
  14. package/autoscaling/notificationConfiguration.d.ts.map +1 -0
  15. package/autoscaling/notificationConfiguration.js +122 -0
  16. package/autoscaling/notificationConfiguration.js.map +1 -0
  17. package/certificateservice/getOrganizationInfo.d.ts +106 -0
  18. package/certificateservice/getOrganizationInfo.d.ts.map +1 -0
  19. package/certificateservice/getOrganizationInfo.js +51 -0
  20. package/certificateservice/getOrganizationInfo.js.map +1 -0
  21. package/certificateservice/getOrganizationInfos.d.ts +23 -0
  22. package/certificateservice/getOrganizationInfos.d.ts.map +1 -0
  23. package/certificateservice/getOrganizationInfos.js +47 -0
  24. package/certificateservice/getOrganizationInfos.js.map +1 -0
  25. package/certificateservice/index.d.ts +9 -0
  26. package/certificateservice/index.d.ts.map +1 -1
  27. package/certificateservice/index.js +12 -1
  28. package/certificateservice/index.js.map +1 -1
  29. package/certificateservice/organizationInfo.d.ts +273 -0
  30. package/certificateservice/organizationInfo.d.ts.map +1 -0
  31. package/certificateservice/organizationInfo.js +152 -0
  32. package/certificateservice/organizationInfo.js.map +1 -0
  33. package/config/configurationRecorder.d.ts +127 -0
  34. package/config/configurationRecorder.d.ts.map +1 -0
  35. package/config/configurationRecorder.js +109 -0
  36. package/config/configurationRecorder.js.map +1 -0
  37. package/config/getConfigurationRecorder.d.ts +65 -0
  38. package/config/getConfigurationRecorder.d.ts.map +1 -0
  39. package/config/getConfigurationRecorder.js +51 -0
  40. package/config/getConfigurationRecorder.js.map +1 -0
  41. package/config/getConfigurationRecorders.d.ts +23 -0
  42. package/config/getConfigurationRecorders.d.ts.map +1 -0
  43. package/config/getConfigurationRecorders.js +47 -0
  44. package/config/getConfigurationRecorders.js.map +1 -0
  45. package/config/getGroupRule.d.ts +86 -0
  46. package/config/getGroupRule.d.ts.map +1 -0
  47. package/config/getGroupRule.js +51 -0
  48. package/config/getGroupRule.js.map +1 -0
  49. package/config/getGroupRules.d.ts +23 -0
  50. package/config/getGroupRules.d.ts.map +1 -0
  51. package/config/getGroupRules.js +47 -0
  52. package/config/getGroupRules.js.map +1 -0
  53. package/config/getRule.d.ts +82 -0
  54. package/config/getRule.d.ts.map +1 -0
  55. package/config/getRule.js +51 -0
  56. package/config/getRule.js.map +1 -0
  57. package/config/getRules.d.ts +23 -0
  58. package/config/getRules.d.ts.map +1 -0
  59. package/config/getRules.js +47 -0
  60. package/config/getRules.js.map +1 -0
  61. package/config/groupRule.d.ts +227 -0
  62. package/config/groupRule.d.ts.map +1 -0
  63. package/config/groupRule.js +164 -0
  64. package/config/groupRule.js.map +1 -0
  65. package/config/index.d.ts +27 -0
  66. package/config/index.d.ts.map +1 -1
  67. package/config/index.js +57 -1
  68. package/config/index.js.map +1 -1
  69. package/config/rule.d.ts +214 -0
  70. package/config/rule.d.ts.map +1 -0
  71. package/config/rule.js +161 -0
  72. package/config/rule.js.map +1 -0
  73. package/config/vars.d.ts +18 -6
  74. package/config/vars.d.ts.map +1 -1
  75. package/config/vars.js +18 -0
  76. package/config/vars.js.map +1 -1
  77. package/ecs/getScheduledInstance.d.ts +69 -0
  78. package/ecs/getScheduledInstance.d.ts.map +1 -0
  79. package/ecs/getScheduledInstance.js +51 -0
  80. package/ecs/getScheduledInstance.js.map +1 -0
  81. package/ecs/getScheduledInstances.d.ts +23 -0
  82. package/ecs/getScheduledInstances.d.ts.map +1 -0
  83. package/ecs/getScheduledInstances.js +47 -0
  84. package/ecs/getScheduledInstances.js.map +1 -0
  85. package/ecs/index.d.ts +9 -0
  86. package/ecs/index.d.ts.map +1 -1
  87. package/ecs/index.js +12 -1
  88. package/ecs/index.js.map +1 -1
  89. package/ecs/scheduledInstance.d.ts +741 -0
  90. package/ecs/scheduledInstance.d.ts.map +1 -0
  91. package/ecs/scheduledInstance.js +248 -0
  92. package/ecs/scheduledInstance.js.map +1 -0
  93. package/package.json +1 -1
  94. package/provider.d.ts +31 -11
  95. package/provider.d.ts.map +1 -1
  96. package/provider.js +5 -0
  97. package/provider.js.map +1 -1
  98. package/rdsmysql/getInstance.d.ts +5 -5
  99. package/rdsmysql/getInstance.d.ts.map +1 -1
  100. package/rdsmysql/instance.d.ts +15 -15
  101. package/rdsmysql/instance.d.ts.map +1 -1
  102. package/rdsmysql/instance.js +2 -2
  103. package/rdsmysql/instance.js.map +1 -1
  104. package/transitrouter/getTransitRouterTrafficQosMarkingEntries.d.ts +23 -0
  105. package/transitrouter/getTransitRouterTrafficQosMarkingEntries.d.ts.map +1 -0
  106. package/transitrouter/getTransitRouterTrafficQosMarkingEntries.js +47 -0
  107. package/transitrouter/getTransitRouterTrafficQosMarkingEntries.js.map +1 -0
  108. package/transitrouter/getTransitRouterTrafficQosMarkingEntry.d.ts +129 -0
  109. package/transitrouter/getTransitRouterTrafficQosMarkingEntry.d.ts.map +1 -0
  110. package/transitrouter/getTransitRouterTrafficQosMarkingEntry.js +51 -0
  111. package/transitrouter/getTransitRouterTrafficQosMarkingEntry.js.map +1 -0
  112. package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.d.ts +23 -0
  113. package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.d.ts.map +1 -0
  114. package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.js +47 -0
  115. package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.js.map +1 -0
  116. package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.d.ts +65 -0
  117. package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.d.ts.map +1 -0
  118. package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.js +51 -0
  119. package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.js.map +1 -0
  120. package/transitrouter/getTransitRouterTrafficQosQueueEntries.d.ts +23 -0
  121. package/transitrouter/getTransitRouterTrafficQosQueueEntries.d.ts.map +1 -0
  122. package/transitrouter/getTransitRouterTrafficQosQueueEntries.js +47 -0
  123. package/transitrouter/getTransitRouterTrafficQosQueueEntries.js.map +1 -0
  124. package/transitrouter/getTransitRouterTrafficQosQueueEntry.d.ts +81 -0
  125. package/transitrouter/getTransitRouterTrafficQosQueueEntry.d.ts.map +1 -0
  126. package/transitrouter/getTransitRouterTrafficQosQueueEntry.js +51 -0
  127. package/transitrouter/getTransitRouterTrafficQosQueueEntry.js.map +1 -0
  128. package/transitrouter/index.d.ts +27 -0
  129. package/transitrouter/index.d.ts.map +1 -1
  130. package/transitrouter/index.js +35 -1
  131. package/transitrouter/index.js.map +1 -1
  132. package/transitrouter/transitRouterTrafficQosMarkingEntry.d.ts +329 -0
  133. package/transitrouter/transitRouterTrafficQosMarkingEntry.d.ts.map +1 -0
  134. package/transitrouter/transitRouterTrafficQosMarkingEntry.js +163 -0
  135. package/transitrouter/transitRouterTrafficQosMarkingEntry.js.map +1 -0
  136. package/transitrouter/transitRouterTrafficQosMarkingPolicy.d.ts +127 -0
  137. package/transitrouter/transitRouterTrafficQosMarkingPolicy.d.ts.map +1 -0
  138. package/transitrouter/transitRouterTrafficQosMarkingPolicy.js +109 -0
  139. package/transitrouter/transitRouterTrafficQosMarkingPolicy.js.map +1 -0
  140. package/transitrouter/transitRouterTrafficQosQueueEntry.d.ts +177 -0
  141. package/transitrouter/transitRouterTrafficQosQueueEntry.d.ts.map +1 -0
  142. package/transitrouter/transitRouterTrafficQosQueueEntry.js +129 -0
  143. package/transitrouter/transitRouterTrafficQosQueueEntry.js.map +1 -0
  144. package/types/input.d.ts +524 -0
  145. package/types/input.d.ts.map +1 -1
  146. package/types/output.d.ts +1069 -28
  147. package/types/output.d.ts.map +1 -1
  148. package/vpc/getIpPool.d.ts +114 -0
  149. package/vpc/getIpPool.d.ts.map +1 -0
  150. package/vpc/getIpPool.js +51 -0
  151. package/vpc/getIpPool.js.map +1 -0
  152. package/vpc/getIpPoolCidrBlock.d.ts +65 -0
  153. package/vpc/getIpPoolCidrBlock.d.ts.map +1 -0
  154. package/vpc/getIpPoolCidrBlock.js +51 -0
  155. package/vpc/getIpPoolCidrBlock.js.map +1 -0
  156. package/vpc/getIpPoolCidrBlocks.d.ts +23 -0
  157. package/vpc/getIpPoolCidrBlocks.d.ts.map +1 -0
  158. package/vpc/getIpPoolCidrBlocks.js +47 -0
  159. package/vpc/getIpPoolCidrBlocks.js.map +1 -0
  160. package/vpc/getIpPools.d.ts +23 -0
  161. package/vpc/getIpPools.d.ts.map +1 -0
  162. package/vpc/getIpPools.js +47 -0
  163. package/vpc/getIpPools.js.map +1 -0
  164. package/vpc/index.d.ts +18 -0
  165. package/vpc/index.d.ts.map +1 -1
  166. package/vpc/index.js +24 -2
  167. package/vpc/index.js.map +1 -1
  168. package/vpc/ipPool.d.ts +250 -0
  169. package/vpc/ipPool.d.ts.map +1 -0
  170. package/vpc/ipPool.js +139 -0
  171. package/vpc/ipPool.js.map +1 -0
  172. package/vpc/ipPoolCidrBlock.d.ts +126 -0
  173. package/vpc/ipPoolCidrBlock.d.ts.map +1 -0
  174. package/vpc/ipPoolCidrBlock.js +108 -0
  175. package/vpc/ipPoolCidrBlock.js.map +1 -0
@@ -0,0 +1,329 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * The marking rule of the transit router's flow marking policy.
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.TransitRouterTrafficQosMarkingEntry("example", {
12
+ * transitRouterTrafficQosMarkingPolicyId: "tr-qos-marking-policy-xxxxxxxx",
13
+ * transitRouterTrafficQosMarkingEntryName: "ccapi-qos-marking-entry-full",
14
+ * priority: 20,
15
+ * protocol: "tcp",
16
+ * sourceCidrBlock: "10.0.0.0/24",
17
+ * destinationCidrBlock: "172.16.0.0/24",
18
+ * sourcePortStart: 1000,
19
+ * sourcePortEnd: 2000,
20
+ * destinationPortStart: 3000,
21
+ * destinationPortEnd: 4000,
22
+ * matchDscp: 10,
23
+ * remarkingDscp: 50,
24
+ * description: "traffic qos marking entry full fields",
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * ```sh
31
+ * $ pulumi import bytepluscc:transitrouter/transitRouterTrafficQosMarkingEntry:TransitRouterTrafficQosMarkingEntry example "transit_router_traffic_qos_marking_policy_id|transit_router_traffic_qos_marking_entry_id"
32
+ * ```
33
+ */
34
+ export declare class TransitRouterTrafficQosMarkingEntry extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing TransitRouterTrafficQosMarkingEntry resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TransitRouterTrafficQosMarkingEntryState, opts?: pulumi.CustomResourceOptions): TransitRouterTrafficQosMarkingEntry;
45
+ /**
46
+ * Returns true if the given object is an instance of TransitRouterTrafficQosMarkingEntry. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj: any): obj is TransitRouterTrafficQosMarkingEntry;
50
+ /**
51
+ * Flow marking rule creation time
52
+ */
53
+ readonly creationTime: pulumi.Output<string>;
54
+ /**
55
+ * Description of the flow marking rule. Length limit: 0–255 characters
56
+ */
57
+ readonly description: pulumi.Output<string>;
58
+ /**
59
+ * IP subnet of the destination address, supports IPv4 and IPv6
60
+ * When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets
61
+ * When Protocol is icmp, this parameter only supports IPv4 subnets
62
+ * When Protocol is icmpv6, this parameter only supports IPv6 subnets
63
+ * The IP subnet type entered for this parameter should match SourceCidrBlock; both must be IPv4 subnets or both IPv6 subnets
64
+ */
65
+ readonly destinationCidrBlock: pulumi.Output<string>;
66
+ /**
67
+ * End value of the destination port range. Valid values: -1, 1–65535
68
+ * -1 means no port restriction
69
+ * When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
70
+ */
71
+ readonly destinationPortEnd: pulumi.Output<number>;
72
+ /**
73
+ * Start value of the destination port range. Valid values: -1, 1–65535
74
+ * -1 means no port restriction
75
+ * When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
76
+ */
77
+ readonly destinationPortStart: pulumi.Output<number>;
78
+ /**
79
+ * The DSCP value of the traffic packet itself. Value range: -1, 0–63. The default value is -1, which means that packets with any DSCP value will match this marking rule.
80
+ */
81
+ readonly matchDscp: pulumi.Output<number>;
82
+ /**
83
+ * Priority of the marking rule. Valid values: 1–10000
84
+ * Priorities of different marking rules must not be duplicated
85
+ */
86
+ readonly priority: pulumi.Output<number>;
87
+ /**
88
+ * Protocol type
89
+ * tcp: TCP protocol
90
+ * udp: UDP protocol
91
+ * gre: GRE protocol
92
+ * icmp: ICMP protocol
93
+ * icmpv6: ICMPV6 protocol
94
+ * all (default): Supports all protocols
95
+ * Note: IPv6 functionality for transit routers is currently in beta. To use it, please contact your account manager. ICMPV6 can only be used after enabling IPv6 for transit routers
96
+ */
97
+ readonly protocol: pulumi.Output<string>;
98
+ /**
99
+ * DSCP value to modify for target traffic packets. Valid values: 0–63
100
+ * When target traffic matches this marking rule, the DSCP value of the packet is replaced with this parameter value
101
+ */
102
+ readonly remarkingDscp: pulumi.Output<number>;
103
+ /**
104
+ * IP subnet of the source address, supports IPv4 and IPv6
105
+ * When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets
106
+ * When Protocol is icmp, this parameter only supports IPv4 subnets
107
+ * When Protocol is icmpv6, this parameter only supports IPv6 subnets
108
+ */
109
+ readonly sourceCidrBlock: pulumi.Output<string>;
110
+ /**
111
+ * End value of the source port range. Valid values: -1, 1–65535
112
+ * -1 means no port restriction
113
+ * When Protocol is icmp, icmpv6, or gre, only -1 is supported
114
+ */
115
+ readonly sourcePortEnd: pulumi.Output<number>;
116
+ /**
117
+ * Start value of the source port range. Valid values: -1, 1–65535
118
+ * -1 means no port restriction
119
+ * When Protocol is icmp, icmpv6, or gre, only -1 is supported
120
+ */
121
+ readonly sourcePortStart: pulumi.Output<number>;
122
+ /**
123
+ * Flow marking rule status
124
+ */
125
+ readonly status: pulumi.Output<string>;
126
+ /**
127
+ * Flow marking rule ID
128
+ */
129
+ readonly transitRouterTrafficQosMarkingEntryId: pulumi.Output<string>;
130
+ /**
131
+ * Name of the flow marking rule. Must start with a letter, number, or Chinese character; can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters
132
+ */
133
+ readonly transitRouterTrafficQosMarkingEntryName: pulumi.Output<string>;
134
+ /**
135
+ * Flow marking policy ID
136
+ */
137
+ readonly transitRouterTrafficQosMarkingPolicyId: pulumi.Output<string>;
138
+ /**
139
+ * Last operation time of the flow marking rule
140
+ */
141
+ readonly updateTime: pulumi.Output<string>;
142
+ /**
143
+ * Create a TransitRouterTrafficQosMarkingEntry resource with the given unique name, arguments, and options.
144
+ *
145
+ * @param name The _unique_ name of the resource.
146
+ * @param args The arguments to use to populate this resource's properties.
147
+ * @param opts A bag of options that control this resource's behavior.
148
+ */
149
+ constructor(name: string, args: TransitRouterTrafficQosMarkingEntryArgs, opts?: pulumi.CustomResourceOptions);
150
+ }
151
+ /**
152
+ * Input properties used for looking up and filtering TransitRouterTrafficQosMarkingEntry resources.
153
+ */
154
+ export interface TransitRouterTrafficQosMarkingEntryState {
155
+ /**
156
+ * Flow marking rule creation time
157
+ */
158
+ creationTime?: pulumi.Input<string | undefined>;
159
+ /**
160
+ * Description of the flow marking rule. Length limit: 0–255 characters
161
+ */
162
+ description?: pulumi.Input<string | undefined>;
163
+ /**
164
+ * IP subnet of the destination address, supports IPv4 and IPv6
165
+ * When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets
166
+ * When Protocol is icmp, this parameter only supports IPv4 subnets
167
+ * When Protocol is icmpv6, this parameter only supports IPv6 subnets
168
+ * The IP subnet type entered for this parameter should match SourceCidrBlock; both must be IPv4 subnets or both IPv6 subnets
169
+ */
170
+ destinationCidrBlock?: pulumi.Input<string | undefined>;
171
+ /**
172
+ * End value of the destination port range. Valid values: -1, 1–65535
173
+ * -1 means no port restriction
174
+ * When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
175
+ */
176
+ destinationPortEnd?: pulumi.Input<number | undefined>;
177
+ /**
178
+ * Start value of the destination port range. Valid values: -1, 1–65535
179
+ * -1 means no port restriction
180
+ * When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
181
+ */
182
+ destinationPortStart?: pulumi.Input<number | undefined>;
183
+ /**
184
+ * The DSCP value of the traffic packet itself. Value range: -1, 0–63. The default value is -1, which means that packets with any DSCP value will match this marking rule.
185
+ */
186
+ matchDscp?: pulumi.Input<number | undefined>;
187
+ /**
188
+ * Priority of the marking rule. Valid values: 1–10000
189
+ * Priorities of different marking rules must not be duplicated
190
+ */
191
+ priority?: pulumi.Input<number | undefined>;
192
+ /**
193
+ * Protocol type
194
+ * tcp: TCP protocol
195
+ * udp: UDP protocol
196
+ * gre: GRE protocol
197
+ * icmp: ICMP protocol
198
+ * icmpv6: ICMPV6 protocol
199
+ * all (default): Supports all protocols
200
+ * Note: IPv6 functionality for transit routers is currently in beta. To use it, please contact your account manager. ICMPV6 can only be used after enabling IPv6 for transit routers
201
+ */
202
+ protocol?: pulumi.Input<string | undefined>;
203
+ /**
204
+ * DSCP value to modify for target traffic packets. Valid values: 0–63
205
+ * When target traffic matches this marking rule, the DSCP value of the packet is replaced with this parameter value
206
+ */
207
+ remarkingDscp?: pulumi.Input<number | undefined>;
208
+ /**
209
+ * IP subnet of the source address, supports IPv4 and IPv6
210
+ * When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets
211
+ * When Protocol is icmp, this parameter only supports IPv4 subnets
212
+ * When Protocol is icmpv6, this parameter only supports IPv6 subnets
213
+ */
214
+ sourceCidrBlock?: pulumi.Input<string | undefined>;
215
+ /**
216
+ * End value of the source port range. Valid values: -1, 1–65535
217
+ * -1 means no port restriction
218
+ * When Protocol is icmp, icmpv6, or gre, only -1 is supported
219
+ */
220
+ sourcePortEnd?: pulumi.Input<number | undefined>;
221
+ /**
222
+ * Start value of the source port range. Valid values: -1, 1–65535
223
+ * -1 means no port restriction
224
+ * When Protocol is icmp, icmpv6, or gre, only -1 is supported
225
+ */
226
+ sourcePortStart?: pulumi.Input<number | undefined>;
227
+ /**
228
+ * Flow marking rule status
229
+ */
230
+ status?: pulumi.Input<string | undefined>;
231
+ /**
232
+ * Flow marking rule ID
233
+ */
234
+ transitRouterTrafficQosMarkingEntryId?: pulumi.Input<string | undefined>;
235
+ /**
236
+ * Name of the flow marking rule. Must start with a letter, number, or Chinese character; can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters
237
+ */
238
+ transitRouterTrafficQosMarkingEntryName?: pulumi.Input<string | undefined>;
239
+ /**
240
+ * Flow marking policy ID
241
+ */
242
+ transitRouterTrafficQosMarkingPolicyId?: pulumi.Input<string | undefined>;
243
+ /**
244
+ * Last operation time of the flow marking rule
245
+ */
246
+ updateTime?: pulumi.Input<string | undefined>;
247
+ }
248
+ /**
249
+ * The set of arguments for constructing a TransitRouterTrafficQosMarkingEntry resource.
250
+ */
251
+ export interface TransitRouterTrafficQosMarkingEntryArgs {
252
+ /**
253
+ * Description of the flow marking rule. Length limit: 0–255 characters
254
+ */
255
+ description?: pulumi.Input<string | undefined>;
256
+ /**
257
+ * IP subnet of the destination address, supports IPv4 and IPv6
258
+ * When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets
259
+ * When Protocol is icmp, this parameter only supports IPv4 subnets
260
+ * When Protocol is icmpv6, this parameter only supports IPv6 subnets
261
+ * The IP subnet type entered for this parameter should match SourceCidrBlock; both must be IPv4 subnets or both IPv6 subnets
262
+ */
263
+ destinationCidrBlock: pulumi.Input<string>;
264
+ /**
265
+ * End value of the destination port range. Valid values: -1, 1–65535
266
+ * -1 means no port restriction
267
+ * When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
268
+ */
269
+ destinationPortEnd: pulumi.Input<number>;
270
+ /**
271
+ * Start value of the destination port range. Valid values: -1, 1–65535
272
+ * -1 means no port restriction
273
+ * When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
274
+ */
275
+ destinationPortStart: pulumi.Input<number>;
276
+ /**
277
+ * The DSCP value of the traffic packet itself. Value range: -1, 0–63. The default value is -1, which means that packets with any DSCP value will match this marking rule.
278
+ */
279
+ matchDscp?: pulumi.Input<number | undefined>;
280
+ /**
281
+ * Priority of the marking rule. Valid values: 1–10000
282
+ * Priorities of different marking rules must not be duplicated
283
+ */
284
+ priority: pulumi.Input<number>;
285
+ /**
286
+ * Protocol type
287
+ * tcp: TCP protocol
288
+ * udp: UDP protocol
289
+ * gre: GRE protocol
290
+ * icmp: ICMP protocol
291
+ * icmpv6: ICMPV6 protocol
292
+ * all (default): Supports all protocols
293
+ * Note: IPv6 functionality for transit routers is currently in beta. To use it, please contact your account manager. ICMPV6 can only be used after enabling IPv6 for transit routers
294
+ */
295
+ protocol?: pulumi.Input<string | undefined>;
296
+ /**
297
+ * DSCP value to modify for target traffic packets. Valid values: 0–63
298
+ * When target traffic matches this marking rule, the DSCP value of the packet is replaced with this parameter value
299
+ */
300
+ remarkingDscp: pulumi.Input<number>;
301
+ /**
302
+ * IP subnet of the source address, supports IPv4 and IPv6
303
+ * When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets
304
+ * When Protocol is icmp, this parameter only supports IPv4 subnets
305
+ * When Protocol is icmpv6, this parameter only supports IPv6 subnets
306
+ */
307
+ sourceCidrBlock: pulumi.Input<string>;
308
+ /**
309
+ * End value of the source port range. Valid values: -1, 1–65535
310
+ * -1 means no port restriction
311
+ * When Protocol is icmp, icmpv6, or gre, only -1 is supported
312
+ */
313
+ sourcePortEnd: pulumi.Input<number>;
314
+ /**
315
+ * Start value of the source port range. Valid values: -1, 1–65535
316
+ * -1 means no port restriction
317
+ * When Protocol is icmp, icmpv6, or gre, only -1 is supported
318
+ */
319
+ sourcePortStart: pulumi.Input<number>;
320
+ /**
321
+ * Name of the flow marking rule. Must start with a letter, number, or Chinese character; can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters
322
+ */
323
+ transitRouterTrafficQosMarkingEntryName?: pulumi.Input<string | undefined>;
324
+ /**
325
+ * Flow marking policy ID
326
+ */
327
+ transitRouterTrafficQosMarkingPolicyId: pulumi.Input<string>;
328
+ }
329
+ //# sourceMappingURL=transitRouterTrafficQosMarkingEntry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transitRouterTrafficQosMarkingEntry.d.ts","sourceRoot":"","sources":["../../transitrouter/transitRouterTrafficQosMarkingEntry.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,qBAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IAC1E;;;;;;;;OAQG;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AM,CAAC,CAAC;IACzC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;;;;OAKG;IACH,eAAe,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC;;OAEG;IACH,uCAAuC,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3E;;OAEG;IACH,sCAAsC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChE"}
@@ -0,0 +1,163 @@
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.TransitRouterTrafficQosMarkingEntry = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * The marking rule of the transit router's flow marking policy.
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.TransitRouterTrafficQosMarkingEntry("example", {
41
+ * transitRouterTrafficQosMarkingPolicyId: "tr-qos-marking-policy-xxxxxxxx",
42
+ * transitRouterTrafficQosMarkingEntryName: "ccapi-qos-marking-entry-full",
43
+ * priority: 20,
44
+ * protocol: "tcp",
45
+ * sourceCidrBlock: "10.0.0.0/24",
46
+ * destinationCidrBlock: "172.16.0.0/24",
47
+ * sourcePortStart: 1000,
48
+ * sourcePortEnd: 2000,
49
+ * destinationPortStart: 3000,
50
+ * destinationPortEnd: 4000,
51
+ * matchDscp: 10,
52
+ * remarkingDscp: 50,
53
+ * description: "traffic qos marking entry full fields",
54
+ * });
55
+ * ```
56
+ *
57
+ * ## Import
58
+ *
59
+ * ```sh
60
+ * $ pulumi import bytepluscc:transitrouter/transitRouterTrafficQosMarkingEntry:TransitRouterTrafficQosMarkingEntry example "transit_router_traffic_qos_marking_policy_id|transit_router_traffic_qos_marking_entry_id"
61
+ * ```
62
+ */
63
+ class TransitRouterTrafficQosMarkingEntry extends pulumi.CustomResource {
64
+ /**
65
+ * Get an existing TransitRouterTrafficQosMarkingEntry resource's state with the given name, ID, and optional extra
66
+ * properties used to qualify the lookup.
67
+ *
68
+ * @param name The _unique_ name of the resulting resource.
69
+ * @param id The _unique_ provider ID of the resource to lookup.
70
+ * @param state Any extra arguments used during the lookup.
71
+ * @param opts Optional settings to control the behavior of the CustomResource.
72
+ */
73
+ static get(name, id, state, opts) {
74
+ return new TransitRouterTrafficQosMarkingEntry(name, state, { ...opts, id: id });
75
+ }
76
+ /** @internal */
77
+ static __pulumiType = 'bytepluscc:transitrouter/transitRouterTrafficQosMarkingEntry:TransitRouterTrafficQosMarkingEntry';
78
+ /**
79
+ * Returns true if the given object is an instance of TransitRouterTrafficQosMarkingEntry. This is designed to work even
80
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
81
+ */
82
+ static isInstance(obj) {
83
+ if (obj === undefined || obj === null) {
84
+ return false;
85
+ }
86
+ return obj['__pulumiType'] === TransitRouterTrafficQosMarkingEntry.__pulumiType;
87
+ }
88
+ constructor(name, argsOrState, opts) {
89
+ let resourceInputs = {};
90
+ opts = opts || {};
91
+ if (opts.id) {
92
+ const state = argsOrState;
93
+ resourceInputs["creationTime"] = state?.creationTime;
94
+ resourceInputs["description"] = state?.description;
95
+ resourceInputs["destinationCidrBlock"] = state?.destinationCidrBlock;
96
+ resourceInputs["destinationPortEnd"] = state?.destinationPortEnd;
97
+ resourceInputs["destinationPortStart"] = state?.destinationPortStart;
98
+ resourceInputs["matchDscp"] = state?.matchDscp;
99
+ resourceInputs["priority"] = state?.priority;
100
+ resourceInputs["protocol"] = state?.protocol;
101
+ resourceInputs["remarkingDscp"] = state?.remarkingDscp;
102
+ resourceInputs["sourceCidrBlock"] = state?.sourceCidrBlock;
103
+ resourceInputs["sourcePortEnd"] = state?.sourcePortEnd;
104
+ resourceInputs["sourcePortStart"] = state?.sourcePortStart;
105
+ resourceInputs["status"] = state?.status;
106
+ resourceInputs["transitRouterTrafficQosMarkingEntryId"] = state?.transitRouterTrafficQosMarkingEntryId;
107
+ resourceInputs["transitRouterTrafficQosMarkingEntryName"] = state?.transitRouterTrafficQosMarkingEntryName;
108
+ resourceInputs["transitRouterTrafficQosMarkingPolicyId"] = state?.transitRouterTrafficQosMarkingPolicyId;
109
+ resourceInputs["updateTime"] = state?.updateTime;
110
+ }
111
+ else {
112
+ const args = argsOrState;
113
+ if (args?.destinationCidrBlock === undefined && !opts.urn) {
114
+ throw new Error("Missing required property 'destinationCidrBlock'");
115
+ }
116
+ if (args?.destinationPortEnd === undefined && !opts.urn) {
117
+ throw new Error("Missing required property 'destinationPortEnd'");
118
+ }
119
+ if (args?.destinationPortStart === undefined && !opts.urn) {
120
+ throw new Error("Missing required property 'destinationPortStart'");
121
+ }
122
+ if (args?.priority === undefined && !opts.urn) {
123
+ throw new Error("Missing required property 'priority'");
124
+ }
125
+ if (args?.remarkingDscp === undefined && !opts.urn) {
126
+ throw new Error("Missing required property 'remarkingDscp'");
127
+ }
128
+ if (args?.sourceCidrBlock === undefined && !opts.urn) {
129
+ throw new Error("Missing required property 'sourceCidrBlock'");
130
+ }
131
+ if (args?.sourcePortEnd === undefined && !opts.urn) {
132
+ throw new Error("Missing required property 'sourcePortEnd'");
133
+ }
134
+ if (args?.sourcePortStart === undefined && !opts.urn) {
135
+ throw new Error("Missing required property 'sourcePortStart'");
136
+ }
137
+ if (args?.transitRouterTrafficQosMarkingPolicyId === undefined && !opts.urn) {
138
+ throw new Error("Missing required property 'transitRouterTrafficQosMarkingPolicyId'");
139
+ }
140
+ resourceInputs["description"] = args?.description;
141
+ resourceInputs["destinationCidrBlock"] = args?.destinationCidrBlock;
142
+ resourceInputs["destinationPortEnd"] = args?.destinationPortEnd;
143
+ resourceInputs["destinationPortStart"] = args?.destinationPortStart;
144
+ resourceInputs["matchDscp"] = args?.matchDscp;
145
+ resourceInputs["priority"] = args?.priority;
146
+ resourceInputs["protocol"] = args?.protocol;
147
+ resourceInputs["remarkingDscp"] = args?.remarkingDscp;
148
+ resourceInputs["sourceCidrBlock"] = args?.sourceCidrBlock;
149
+ resourceInputs["sourcePortEnd"] = args?.sourcePortEnd;
150
+ resourceInputs["sourcePortStart"] = args?.sourcePortStart;
151
+ resourceInputs["transitRouterTrafficQosMarkingEntryName"] = args?.transitRouterTrafficQosMarkingEntryName;
152
+ resourceInputs["transitRouterTrafficQosMarkingPolicyId"] = args?.transitRouterTrafficQosMarkingPolicyId;
153
+ resourceInputs["creationTime"] = undefined /*out*/;
154
+ resourceInputs["status"] = undefined /*out*/;
155
+ resourceInputs["transitRouterTrafficQosMarkingEntryId"] = undefined /*out*/;
156
+ resourceInputs["updateTime"] = undefined /*out*/;
157
+ }
158
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
159
+ super(TransitRouterTrafficQosMarkingEntry.__pulumiType, name, resourceInputs, opts);
160
+ }
161
+ }
162
+ exports.TransitRouterTrafficQosMarkingEntry = TransitRouterTrafficQosMarkingEntry;
163
+ //# sourceMappingURL=transitRouterTrafficQosMarkingEntry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transitRouterTrafficQosMarkingEntry.js","sourceRoot":"","sources":["../../transitrouter/transitRouterTrafficQosMarkingEntry.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IAC1E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgD,EAAE,IAAmC;QAC9I,OAAO,IAAI,mCAAmC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAA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,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,uCAAuC,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5E,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,mCAAmC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxF,CAAC;;AAxML,kFAyMC"}
@@ -0,0 +1,127 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Transit router flow marking policy. The flow marking policy is used to match traffic forwarded by the transit router to specified scheduling queues, enabling differentiated scheduling based on business importance.
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.TransitRouterTrafficQosMarkingPolicy("example", {
12
+ * transitRouterId: "tr-xxxxxxxx",
13
+ * transitRouterTrafficQosMarkingPolicyName: "ccapi-qos-marking-policy-full",
14
+ * description: "traffic qos marking policy full fields",
15
+ * });
16
+ * ```
17
+ *
18
+ * ## Import
19
+ *
20
+ * ```sh
21
+ * $ pulumi import bytepluscc:transitrouter/transitRouterTrafficQosMarkingPolicy:TransitRouterTrafficQosMarkingPolicy example "transit_router_id|transit_router_traffic_qos_marking_policy_id"
22
+ * ```
23
+ */
24
+ export declare class TransitRouterTrafficQosMarkingPolicy extends pulumi.CustomResource {
25
+ /**
26
+ * Get an existing TransitRouterTrafficQosMarkingPolicy 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?: TransitRouterTrafficQosMarkingPolicyState, opts?: pulumi.CustomResourceOptions): TransitRouterTrafficQosMarkingPolicy;
35
+ /**
36
+ * Returns true if the given object is an instance of TransitRouterTrafficQosMarkingPolicy. 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 TransitRouterTrafficQosMarkingPolicy;
40
+ /**
41
+ * Creation time of the flow marking policy.
42
+ */
43
+ readonly creationTime: pulumi.Output<string>;
44
+ /**
45
+ * Description of the flow marking policy. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters.
46
+ */
47
+ readonly description: pulumi.Output<string>;
48
+ /**
49
+ * Status of the flow marking policy. Creating: being created. Deleting: being deleted. Pending: being configured. Available: available.
50
+ */
51
+ readonly status: pulumi.Output<string>;
52
+ /**
53
+ * Transit router instance ID.
54
+ */
55
+ readonly transitRouterId: pulumi.Output<string>;
56
+ /**
57
+ * Flow marking policy ID.
58
+ */
59
+ readonly transitRouterTrafficQosMarkingPolicyId: pulumi.Output<string>;
60
+ /**
61
+ * Name of the flow marking policy. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is passed, the default is the flow marking policy ID.
62
+ */
63
+ readonly transitRouterTrafficQosMarkingPolicyName: pulumi.Output<string>;
64
+ /**
65
+ * Last update time of the flow marking policy.
66
+ */
67
+ readonly updateTime: pulumi.Output<string>;
68
+ /**
69
+ * Create a TransitRouterTrafficQosMarkingPolicy resource with the given unique name, arguments, and options.
70
+ *
71
+ * @param name The _unique_ name of the resource.
72
+ * @param args The arguments to use to populate this resource's properties.
73
+ * @param opts A bag of options that control this resource's behavior.
74
+ */
75
+ constructor(name: string, args: TransitRouterTrafficQosMarkingPolicyArgs, opts?: pulumi.CustomResourceOptions);
76
+ }
77
+ /**
78
+ * Input properties used for looking up and filtering TransitRouterTrafficQosMarkingPolicy resources.
79
+ */
80
+ export interface TransitRouterTrafficQosMarkingPolicyState {
81
+ /**
82
+ * Creation time of the flow marking policy.
83
+ */
84
+ creationTime?: pulumi.Input<string | undefined>;
85
+ /**
86
+ * Description of the flow marking policy. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters.
87
+ */
88
+ description?: pulumi.Input<string | undefined>;
89
+ /**
90
+ * Status of the flow marking policy. Creating: being created. Deleting: being deleted. Pending: being configured. Available: available.
91
+ */
92
+ status?: pulumi.Input<string | undefined>;
93
+ /**
94
+ * Transit router instance ID.
95
+ */
96
+ transitRouterId?: pulumi.Input<string | undefined>;
97
+ /**
98
+ * Flow marking policy ID.
99
+ */
100
+ transitRouterTrafficQosMarkingPolicyId?: pulumi.Input<string | undefined>;
101
+ /**
102
+ * Name of the flow marking policy. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is passed, the default is the flow marking policy ID.
103
+ */
104
+ transitRouterTrafficQosMarkingPolicyName?: pulumi.Input<string | undefined>;
105
+ /**
106
+ * Last update time of the flow marking policy.
107
+ */
108
+ updateTime?: pulumi.Input<string | undefined>;
109
+ }
110
+ /**
111
+ * The set of arguments for constructing a TransitRouterTrafficQosMarkingPolicy resource.
112
+ */
113
+ export interface TransitRouterTrafficQosMarkingPolicyArgs {
114
+ /**
115
+ * Description of the flow marking policy. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length limit: 0–255 characters.
116
+ */
117
+ description?: pulumi.Input<string | undefined>;
118
+ /**
119
+ * Transit router instance ID.
120
+ */
121
+ transitRouterId: pulumi.Input<string>;
122
+ /**
123
+ * Name of the flow marking policy. Must start with a letter, number, or Chinese character. Can contain letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters. If this parameter is not provided or no value is passed, the default is the flow marking policy ID.
124
+ */
125
+ transitRouterTrafficQosMarkingPolicyName?: pulumi.Input<string | undefined>;
126
+ }
127
+ //# sourceMappingURL=transitRouterTrafficQosMarkingPolicy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transitRouterTrafficQosMarkingPolicy.d.ts","sourceRoot":"","sources":["../../transitrouter/transitRouterTrafficQosMarkingPolicy.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,qBAAa,oCAAqC,SAAQ,MAAM,CAAC,cAAc;IAC3E;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,yCAAyC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,oCAAoC;IAO1L;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,oCAAoC;IAO/E;;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,SAAgC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAA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