@volcengine/pulumi-volcenginecc 0.0.40 → 0.0.42

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 (190) hide show
  1. package/alb/getLoadBalancer.d.ts +8 -0
  2. package/alb/getLoadBalancer.js.map +1 -1
  3. package/alb/loadBalancer.d.ts +24 -0
  4. package/alb/loadBalancer.js +4 -0
  5. package/alb/loadBalancer.js.map +1 -1
  6. package/clb/checkLogProject.d.ts +62 -0
  7. package/clb/checkLogProject.js +67 -0
  8. package/clb/checkLogProject.js.map +1 -0
  9. package/clb/checkLogTopic.d.ts +81 -0
  10. package/clb/checkLogTopic.js +78 -0
  11. package/clb/checkLogTopic.js.map +1 -0
  12. package/clb/clb.d.ts +0 -8
  13. package/clb/clb.js +2 -2
  14. package/clb/clb.js.map +1 -1
  15. package/clb/getCheckLogProject.d.ts +40 -0
  16. package/clb/getCheckLogProject.js +28 -0
  17. package/clb/getCheckLogProject.js.map +1 -0
  18. package/clb/getCheckLogProjects.d.ts +22 -0
  19. package/clb/getCheckLogProjects.js +24 -0
  20. package/clb/getCheckLogProjects.js.map +1 -0
  21. package/clb/getCheckLogTopic.d.ts +44 -0
  22. package/clb/getCheckLogTopic.js +28 -0
  23. package/clb/getCheckLogTopic.js.map +1 -0
  24. package/clb/getCheckLogTopics.d.ts +22 -0
  25. package/clb/getCheckLogTopics.js +24 -0
  26. package/clb/getCheckLogTopics.js.map +1 -0
  27. package/clb/index.d.ts +18 -0
  28. package/clb/index.js +24 -1
  29. package/clb/index.js.map +1 -1
  30. package/cloudmonitor/contactGroup.d.ts +15 -15
  31. package/cloudmonitor/contactGroup.js +1 -1
  32. package/cloudmonitor/getContactGroup.d.ts +7 -7
  33. package/directconnect/bgpPeer.d.ts +189 -0
  34. package/directconnect/bgpPeer.js +104 -0
  35. package/directconnect/bgpPeer.js.map +1 -0
  36. package/directconnect/getBgpPeer.d.ts +88 -0
  37. package/directconnect/getBgpPeer.js +28 -0
  38. package/directconnect/getBgpPeer.js.map +1 -0
  39. package/directconnect/getBgpPeers.d.ts +22 -0
  40. package/directconnect/getBgpPeers.js +24 -0
  41. package/directconnect/getBgpPeers.js.map +1 -0
  42. package/directconnect/index.d.ts +9 -0
  43. package/directconnect/index.js +12 -1
  44. package/directconnect/index.js.map +1 -1
  45. package/dns/getRecord.d.ts +104 -0
  46. package/dns/getRecord.js +28 -0
  47. package/dns/getRecord.js.map +1 -0
  48. package/dns/getRecords.d.ts +22 -0
  49. package/dns/getRecords.js +24 -0
  50. package/dns/getRecords.js.map +1 -0
  51. package/dns/index.d.ts +9 -0
  52. package/dns/index.js +12 -1
  53. package/dns/index.js.map +1 -1
  54. package/dns/record.d.ts +236 -0
  55. package/dns/record.js +121 -0
  56. package/dns/record.js.map +1 -0
  57. package/gtm/getGtm.d.ts +100 -0
  58. package/gtm/getGtm.js +28 -0
  59. package/gtm/getGtm.js.map +1 -0
  60. package/gtm/getGtms.d.ts +22 -0
  61. package/gtm/getGtms.js +24 -0
  62. package/gtm/getGtms.js.map +1 -0
  63. package/gtm/getRouting.d.ts +48 -0
  64. package/gtm/getRouting.js +28 -0
  65. package/gtm/getRouting.js.map +1 -0
  66. package/gtm/getRoutings.d.ts +22 -0
  67. package/gtm/getRoutings.js +24 -0
  68. package/gtm/getRoutings.js.map +1 -0
  69. package/gtm/getRule.d.ts +105 -0
  70. package/gtm/getRule.js +28 -0
  71. package/gtm/getRule.js.map +1 -0
  72. package/gtm/getRules.d.ts +22 -0
  73. package/gtm/getRules.js +24 -0
  74. package/gtm/getRules.js.map +1 -0
  75. package/gtm/gtm.d.ts +228 -0
  76. package/gtm/gtm.js +113 -0
  77. package/gtm/gtm.js.map +1 -0
  78. package/gtm/index.d.ts +27 -0
  79. package/gtm/index.js +34 -1
  80. package/gtm/index.js.map +1 -1
  81. package/gtm/routing.d.ts +89 -0
  82. package/gtm/routing.js +74 -0
  83. package/gtm/routing.js.map +1 -0
  84. package/gtm/rule.d.ts +226 -0
  85. package/gtm/rule.js +99 -0
  86. package/gtm/rule.js.map +1 -0
  87. package/iam/getOauthProvider.d.ts +44 -0
  88. package/iam/getOauthProvider.js +28 -0
  89. package/iam/getOauthProvider.js.map +1 -0
  90. package/iam/getOauthProviders.d.ts +22 -0
  91. package/iam/getOauthProviders.js +24 -0
  92. package/iam/getOauthProviders.js.map +1 -0
  93. package/iam/index.d.ts +9 -0
  94. package/iam/index.js +12 -1
  95. package/iam/index.js.map +1 -1
  96. package/iam/oauthProvider.d.ts +256 -0
  97. package/iam/oauthProvider.js +143 -0
  98. package/iam/oauthProvider.js.map +1 -0
  99. package/kafka/getUser.d.ts +34 -0
  100. package/kafka/getUser.js +28 -0
  101. package/kafka/getUser.js.map +1 -0
  102. package/kafka/getUsers.d.ts +22 -0
  103. package/kafka/getUsers.js +24 -0
  104. package/kafka/getUsers.js.map +1 -0
  105. package/kafka/index.d.ts +9 -0
  106. package/kafka/index.js +12 -1
  107. package/kafka/index.js.map +1 -1
  108. package/kafka/user.d.ts +155 -0
  109. package/kafka/user.js +97 -0
  110. package/kafka/user.js.map +1 -0
  111. package/mongodb/account.d.ts +146 -0
  112. package/mongodb/account.js +82 -0
  113. package/mongodb/account.js.map +1 -0
  114. package/mongodb/getAccount.d.ts +77 -0
  115. package/mongodb/getAccount.js +28 -0
  116. package/mongodb/getAccount.js.map +1 -0
  117. package/mongodb/getAccounts.d.ts +22 -0
  118. package/mongodb/getAccounts.js +24 -0
  119. package/mongodb/getAccounts.js.map +1 -0
  120. package/mongodb/index.d.ts +9 -0
  121. package/mongodb/index.js +12 -1
  122. package/mongodb/index.js.map +1 -1
  123. package/package.json +1 -1
  124. package/rdsmysql/endpointPublicAddress.d.ts +182 -0
  125. package/rdsmysql/endpointPublicAddress.js +104 -0
  126. package/rdsmysql/endpointPublicAddress.js.map +1 -0
  127. package/rdsmysql/getEndpointPublicAddress.d.ts +39 -0
  128. package/rdsmysql/getEndpointPublicAddress.js +28 -0
  129. package/rdsmysql/getEndpointPublicAddress.js.map +1 -0
  130. package/rdsmysql/getEndpointPublicAddresses.d.ts +22 -0
  131. package/rdsmysql/getEndpointPublicAddresses.js +24 -0
  132. package/rdsmysql/getEndpointPublicAddresses.js.map +1 -0
  133. package/rdsmysql/index.d.ts +9 -0
  134. package/rdsmysql/index.js +12 -1
  135. package/rdsmysql/index.js.map +1 -1
  136. package/rdspostgresql/getInstance.d.ts +8 -0
  137. package/rdspostgresql/getInstance.js.map +1 -1
  138. package/rdspostgresql/instance.d.ts +15 -0
  139. package/rdspostgresql/instance.js +4 -0
  140. package/rdspostgresql/instance.js.map +1 -1
  141. package/tos/bucketAccessMonitor.d.ts +74 -0
  142. package/tos/bucketAccessMonitor.js +72 -0
  143. package/tos/bucketAccessMonitor.js.map +1 -0
  144. package/tos/getBucketAccessMonitor.d.ts +44 -0
  145. package/tos/getBucketAccessMonitor.js +28 -0
  146. package/tos/getBucketAccessMonitor.js.map +1 -0
  147. package/tos/getBucketAccessMonitors.d.ts +22 -0
  148. package/tos/getBucketAccessMonitors.js +24 -0
  149. package/tos/getBucketAccessMonitors.js.map +1 -0
  150. package/tos/index.d.ts +9 -0
  151. package/tos/index.js +12 -1
  152. package/tos/index.js.map +1 -1
  153. package/transitrouter/getRouteTablePropagation.d.ts +52 -0
  154. package/transitrouter/getRouteTablePropagation.js +28 -0
  155. package/transitrouter/getRouteTablePropagation.js.map +1 -0
  156. package/transitrouter/getRouteTablePropagations.d.ts +22 -0
  157. package/transitrouter/getRouteTablePropagations.js +24 -0
  158. package/transitrouter/getRouteTablePropagations.js.map +1 -0
  159. package/transitrouter/index.d.ts +9 -0
  160. package/transitrouter/index.js +12 -1
  161. package/transitrouter/index.js.map +1 -1
  162. package/transitrouter/routeTablePropagation.d.ts +97 -0
  163. package/transitrouter/routeTablePropagation.js +82 -0
  164. package/transitrouter/routeTablePropagation.js.map +1 -0
  165. package/types/input.d.ts +235 -5
  166. package/types/output.d.ts +493 -13
  167. package/vepfs/fileset.d.ts +202 -0
  168. package/vepfs/fileset.js +106 -0
  169. package/vepfs/fileset.js.map +1 -0
  170. package/vepfs/getFileset.d.ts +41 -0
  171. package/vepfs/getFileset.js +28 -0
  172. package/vepfs/getFileset.js.map +1 -0
  173. package/vepfs/getFilesets.d.ts +22 -0
  174. package/vepfs/getFilesets.js +24 -0
  175. package/vepfs/getFilesets.js.map +1 -0
  176. package/vepfs/index.d.ts +9 -0
  177. package/vepfs/index.js +12 -1
  178. package/vepfs/index.js.map +1 -1
  179. package/vmp/getRuleFile.d.ts +37 -0
  180. package/vmp/getRuleFile.js +28 -0
  181. package/vmp/getRuleFile.js.map +1 -0
  182. package/vmp/getRuleFiles.d.ts +22 -0
  183. package/vmp/getRuleFiles.js +24 -0
  184. package/vmp/getRuleFiles.js.map +1 -0
  185. package/vmp/index.d.ts +9 -0
  186. package/vmp/index.js +12 -1
  187. package/vmp/index.js.map +1 -1
  188. package/vmp/ruleFile.d.ts +172 -0
  189. package/vmp/ruleFile.js +104 -0
  190. package/vmp/ruleFile.js.map +1 -0
package/gtm/index.js CHANGED
@@ -2,27 +2,60 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.Pool = exports.getPoolsOutput = exports.getPools = exports.getPoolOutput = exports.getPool = void 0;
5
+ exports.Rule = exports.Routing = exports.Pool = exports.Gtm = exports.getRulesOutput = exports.getRules = exports.getRuleOutput = exports.getRule = exports.getRoutingsOutput = exports.getRoutings = exports.getRoutingOutput = exports.getRouting = exports.getPoolsOutput = exports.getPools = exports.getPoolOutput = exports.getPool = exports.getGtmsOutput = exports.getGtms = exports.getGtmOutput = exports.getGtm = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
+ exports.getGtm = null;
9
+ exports.getGtmOutput = null;
10
+ utilities.lazyLoad(exports, ["getGtm", "getGtmOutput"], () => require("./getGtm"));
11
+ exports.getGtms = null;
12
+ exports.getGtmsOutput = null;
13
+ utilities.lazyLoad(exports, ["getGtms", "getGtmsOutput"], () => require("./getGtms"));
8
14
  exports.getPool = null;
9
15
  exports.getPoolOutput = null;
10
16
  utilities.lazyLoad(exports, ["getPool", "getPoolOutput"], () => require("./getPool"));
11
17
  exports.getPools = null;
12
18
  exports.getPoolsOutput = null;
13
19
  utilities.lazyLoad(exports, ["getPools", "getPoolsOutput"], () => require("./getPools"));
20
+ exports.getRouting = null;
21
+ exports.getRoutingOutput = null;
22
+ utilities.lazyLoad(exports, ["getRouting", "getRoutingOutput"], () => require("./getRouting"));
23
+ exports.getRoutings = null;
24
+ exports.getRoutingsOutput = null;
25
+ utilities.lazyLoad(exports, ["getRoutings", "getRoutingsOutput"], () => require("./getRoutings"));
26
+ exports.getRule = null;
27
+ exports.getRuleOutput = null;
28
+ utilities.lazyLoad(exports, ["getRule", "getRuleOutput"], () => require("./getRule"));
29
+ exports.getRules = null;
30
+ exports.getRulesOutput = null;
31
+ utilities.lazyLoad(exports, ["getRules", "getRulesOutput"], () => require("./getRules"));
32
+ exports.Gtm = null;
33
+ utilities.lazyLoad(exports, ["Gtm"], () => require("./gtm"));
14
34
  exports.Pool = null;
15
35
  utilities.lazyLoad(exports, ["Pool"], () => require("./pool"));
36
+ exports.Routing = null;
37
+ utilities.lazyLoad(exports, ["Routing"], () => require("./routing"));
38
+ exports.Rule = null;
39
+ utilities.lazyLoad(exports, ["Rule"], () => require("./rule"));
16
40
  const _module = {
17
41
  version: utilities.getVersion(),
18
42
  construct: (name, type, urn) => {
19
43
  switch (type) {
44
+ case "volcenginecc:gtm/gtm:Gtm":
45
+ return new exports.Gtm(name, undefined, { urn });
20
46
  case "volcenginecc:gtm/pool:Pool":
21
47
  return new exports.Pool(name, undefined, { urn });
48
+ case "volcenginecc:gtm/routing:Routing":
49
+ return new exports.Routing(name, undefined, { urn });
50
+ case "volcenginecc:gtm/rule:Rule":
51
+ return new exports.Rule(name, undefined, { urn });
22
52
  default:
23
53
  throw new Error(`unknown resource type ${type}`);
24
54
  }
25
55
  },
26
56
  };
57
+ pulumi.runtime.registerResourceModule("volcenginecc", "gtm/gtm", _module);
27
58
  pulumi.runtime.registerResourceModule("volcenginecc", "gtm/pool", _module);
59
+ pulumi.runtime.registerResourceModule("volcenginecc", "gtm/routing", _module);
60
+ pulumi.runtime.registerResourceModule("volcenginecc", "gtm/rule", _module);
28
61
  //# sourceMappingURL=index.js.map
package/gtm/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../gtm/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AAC1D,QAAA,aAAa,GAA6C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,EAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGxE,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,EAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAI3E,QAAA,IAAI,GAAiC,IAAW,CAAC;AAC9D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;AAG/D,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,4B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AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,89 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Used to start or stop a GTM instance. After starting, the GTM instance configures DNS resolution for the scheduling domain, and initiates health checks and failover. After stopping, health checks and failover for the GTM instance also stop. However, DNS resolution from the scheduling domain to the target address does not stop. If you need to delete DNS resolution from the scheduling domain to the target address, you can call the DeleteGtm API to delete the GTM instance.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
10
+ *
11
+ * const gTMRoutingDemo = new volcenginecc.gtm.Routing("GTMRoutingDemo", {
12
+ * gtmId: "gtm_id_xxxxx",
13
+ * routingEnabled: true,
14
+ * });
15
+ * ```
16
+ *
17
+ * ## Import
18
+ *
19
+ * ```sh
20
+ * $ pulumi import volcenginecc:gtm/routing:Routing example "gtm_id"
21
+ * ```
22
+ */
23
+ export declare class Routing extends pulumi.CustomResource {
24
+ /**
25
+ * Get an existing Routing resource's state with the given name, ID, and optional extra
26
+ * properties used to qualify the lookup.
27
+ *
28
+ * @param name The _unique_ name of the resulting resource.
29
+ * @param id The _unique_ provider ID of the resource to lookup.
30
+ * @param state Any extra arguments used during the lookup.
31
+ * @param opts Optional settings to control the behavior of the CustomResource.
32
+ */
33
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RoutingState, opts?: pulumi.CustomResourceOptions): Routing;
34
+ /**
35
+ * Returns true if the given object is an instance of Routing. This is designed to work even
36
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
37
+ */
38
+ static isInstance(obj: any): obj is Routing;
39
+ /**
40
+ * UUID of the GTM instance. You can obtain GtmId via the ListGtms API.
41
+ */
42
+ readonly gtmId: pulumi.Output<string>;
43
+ /**
44
+ * Start/stop GTM instance. true: Start GTM instance. false: Stop GTM instance.
45
+ */
46
+ readonly routingEnabled: pulumi.Output<boolean>;
47
+ /**
48
+ * Indicates the current lifecycle state of the GTM instance. Value description: init: The GTM instance has been successfully created but not yet configured. configuring_address: Basic rule configuration for GTM is complete, but target address configuration is not yet finished. editing: Both basic configuration and target address have been completed, but the instance is not yet enabled. running: The instance is officially enabled.
49
+ */
50
+ readonly routingStatus: pulumi.Output<string>;
51
+ /**
52
+ * Create a Routing resource with the given unique name, arguments, and options.
53
+ *
54
+ * @param name The _unique_ name of the resource.
55
+ * @param args The arguments to use to populate this resource's properties.
56
+ * @param opts A bag of options that control this resource's behavior.
57
+ */
58
+ constructor(name: string, args?: RoutingArgs, opts?: pulumi.CustomResourceOptions);
59
+ }
60
+ /**
61
+ * Input properties used for looking up and filtering Routing resources.
62
+ */
63
+ export interface RoutingState {
64
+ /**
65
+ * UUID of the GTM instance. You can obtain GtmId via the ListGtms API.
66
+ */
67
+ gtmId?: pulumi.Input<string>;
68
+ /**
69
+ * Start/stop GTM instance. true: Start GTM instance. false: Stop GTM instance.
70
+ */
71
+ routingEnabled?: pulumi.Input<boolean>;
72
+ /**
73
+ * Indicates the current lifecycle state of the GTM instance. Value description: init: The GTM instance has been successfully created but not yet configured. configuring_address: Basic rule configuration for GTM is complete, but target address configuration is not yet finished. editing: Both basic configuration and target address have been completed, but the instance is not yet enabled. running: The instance is officially enabled.
74
+ */
75
+ routingStatus?: pulumi.Input<string>;
76
+ }
77
+ /**
78
+ * The set of arguments for constructing a Routing resource.
79
+ */
80
+ export interface RoutingArgs {
81
+ /**
82
+ * UUID of the GTM instance. You can obtain GtmId via the ListGtms API.
83
+ */
84
+ gtmId?: pulumi.Input<string>;
85
+ /**
86
+ * Start/stop GTM instance. true: Start GTM instance. false: Stop GTM instance.
87
+ */
88
+ routingEnabled?: pulumi.Input<boolean>;
89
+ }
package/gtm/routing.js ADDED
@@ -0,0 +1,74 @@
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.Routing = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Used to start or stop a GTM instance. After starting, the GTM instance configures DNS resolution for the scheduling domain, and initiates health checks and failover. After stopping, health checks and failover for the GTM instance also stop. However, DNS resolution from the scheduling domain to the target address does not stop. If you need to delete DNS resolution from the scheduling domain to the target address, you can call the DeleteGtm API to delete the GTM instance.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
16
+ *
17
+ * const gTMRoutingDemo = new volcenginecc.gtm.Routing("GTMRoutingDemo", {
18
+ * gtmId: "gtm_id_xxxxx",
19
+ * routingEnabled: true,
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * ```sh
26
+ * $ pulumi import volcenginecc:gtm/routing:Routing example "gtm_id"
27
+ * ```
28
+ */
29
+ class Routing extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing Routing resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param state Any extra arguments used during the lookup.
37
+ * @param opts Optional settings to control the behavior of the CustomResource.
38
+ */
39
+ static get(name, id, state, opts) {
40
+ return new Routing(name, state, Object.assign(Object.assign({}, opts), { id: id }));
41
+ }
42
+ /**
43
+ * Returns true if the given object is an instance of Routing. This is designed to work even
44
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
+ */
46
+ static isInstance(obj) {
47
+ if (obj === undefined || obj === null) {
48
+ return false;
49
+ }
50
+ return obj['__pulumiType'] === Routing.__pulumiType;
51
+ }
52
+ constructor(name, argsOrState, opts) {
53
+ let resourceInputs = {};
54
+ opts = opts || {};
55
+ if (opts.id) {
56
+ const state = argsOrState;
57
+ resourceInputs["gtmId"] = state ? state.gtmId : undefined;
58
+ resourceInputs["routingEnabled"] = state ? state.routingEnabled : undefined;
59
+ resourceInputs["routingStatus"] = state ? state.routingStatus : undefined;
60
+ }
61
+ else {
62
+ const args = argsOrState;
63
+ resourceInputs["gtmId"] = args ? args.gtmId : undefined;
64
+ resourceInputs["routingEnabled"] = args ? args.routingEnabled : undefined;
65
+ resourceInputs["routingStatus"] = undefined /*out*/;
66
+ }
67
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
68
+ super(Routing.__pulumiType, name, resourceInputs, opts);
69
+ }
70
+ }
71
+ exports.Routing = Routing;
72
+ /** @internal */
73
+ Routing.__pulumiType = 'volcenginecc:gtm/routing:Routing';
74
+ //# sourceMappingURL=routing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routing.js","sourceRoot":"","sources":["../../gtm/routing.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;aAAM;YACH,MAAM,IAAI,GAAG,WAAsC,CAAC;YACpD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAjEL,0BAkEC;AApDG,gBAAgB;AACO,oBAAY,GAAG,kCAAkC,CAAC"}
package/gtm/rule.d.ts ADDED
@@ -0,0 +1,226 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * GTM routing rule resource, which defines the address pool set, health checks, and effective policies for a specific line.
6
+ *
7
+ * ## Import
8
+ *
9
+ * ```sh
10
+ * $ pulumi import volcenginecc:gtm/rule:Rule example "gtm_id|policy_type|rule_id"
11
+ * ```
12
+ */
13
+ export declare class Rule extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing Rule resource's state with the given name, ID, and optional extra
16
+ * properties used to qualify the lookup.
17
+ *
18
+ * @param name The _unique_ name of the resulting resource.
19
+ * @param id The _unique_ provider ID of the resource to lookup.
20
+ * @param state Any extra arguments used during the lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RuleState, opts?: pulumi.CustomResourceOptions): Rule;
24
+ /**
25
+ * Returns true if the given object is an instance of Rule. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj: any): obj is Rule;
29
+ /**
30
+ * Route rule creation time.
31
+ */
32
+ readonly createTime: pulumi.Output<string>;
33
+ /**
34
+ * Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled.
35
+ */
36
+ readonly disable: pulumi.Output<boolean>;
37
+ /**
38
+ * Index of the effective address pool set.
39
+ */
40
+ readonly effectivePoolSetIndex: pulumi.Output<number>;
41
+ /**
42
+ * UUID of the GTM instance.
43
+ */
44
+ readonly gtmId: pulumi.Output<string>;
45
+ /**
46
+ * Route rule applicable lines.
47
+ */
48
+ readonly line: pulumi.Output<string>;
49
+ /**
50
+ * Route rule name.
51
+ */
52
+ readonly name: pulumi.Output<string>;
53
+ /**
54
+ * The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing.
55
+ */
56
+ readonly policyType: pulumi.Output<string>;
57
+ /**
58
+ * Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter.
59
+ */
60
+ readonly poolSetMode: pulumi.Output<string>;
61
+ readonly poolSets: pulumi.Output<outputs.gtm.RulePoolSet[]>;
62
+ /**
63
+ * Health check parameters for the route rule.
64
+ */
65
+ readonly probe: pulumi.Output<outputs.gtm.RuleProbe>;
66
+ /**
67
+ * Health check mode.
68
+ */
69
+ readonly probeMode: pulumi.Output<string>;
70
+ /**
71
+ * Route rule remarks.
72
+ */
73
+ readonly remark: pulumi.Output<string>;
74
+ /**
75
+ * Routing rule ID.
76
+ */
77
+ readonly ruleId: pulumi.Output<string>;
78
+ /**
79
+ * Route rule update time.
80
+ */
81
+ readonly updateTime: pulumi.Output<string>;
82
+ /**
83
+ * Whether to inherit instance-level health check nodes.
84
+ */
85
+ readonly usePolicyProbeNodes: pulumi.Output<boolean>;
86
+ /**
87
+ * Whether to use route rule-level probe configuration.
88
+ */
89
+ readonly useRuleProbeConfig: pulumi.Output<boolean>;
90
+ /**
91
+ * Routing rule weight.
92
+ */
93
+ readonly weight: pulumi.Output<number>;
94
+ /**
95
+ * Create a Rule resource with the given unique name, arguments, and options.
96
+ *
97
+ * @param name The _unique_ name of the resource.
98
+ * @param args The arguments to use to populate this resource's properties.
99
+ * @param opts A bag of options that control this resource's behavior.
100
+ */
101
+ constructor(name: string, args: RuleArgs, opts?: pulumi.CustomResourceOptions);
102
+ }
103
+ /**
104
+ * Input properties used for looking up and filtering Rule resources.
105
+ */
106
+ export interface RuleState {
107
+ /**
108
+ * Route rule creation time.
109
+ */
110
+ createTime?: pulumi.Input<string>;
111
+ /**
112
+ * Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled.
113
+ */
114
+ disable?: pulumi.Input<boolean>;
115
+ /**
116
+ * Index of the effective address pool set.
117
+ */
118
+ effectivePoolSetIndex?: pulumi.Input<number>;
119
+ /**
120
+ * UUID of the GTM instance.
121
+ */
122
+ gtmId?: pulumi.Input<string>;
123
+ /**
124
+ * Route rule applicable lines.
125
+ */
126
+ line?: pulumi.Input<string>;
127
+ /**
128
+ * Route rule name.
129
+ */
130
+ name?: pulumi.Input<string>;
131
+ /**
132
+ * The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing.
133
+ */
134
+ policyType?: pulumi.Input<string>;
135
+ /**
136
+ * Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter.
137
+ */
138
+ poolSetMode?: pulumi.Input<string>;
139
+ poolSets?: pulumi.Input<pulumi.Input<inputs.gtm.RulePoolSet>[]>;
140
+ /**
141
+ * Health check parameters for the route rule.
142
+ */
143
+ probe?: pulumi.Input<inputs.gtm.RuleProbe>;
144
+ /**
145
+ * Health check mode.
146
+ */
147
+ probeMode?: pulumi.Input<string>;
148
+ /**
149
+ * Route rule remarks.
150
+ */
151
+ remark?: pulumi.Input<string>;
152
+ /**
153
+ * Routing rule ID.
154
+ */
155
+ ruleId?: pulumi.Input<string>;
156
+ /**
157
+ * Route rule update time.
158
+ */
159
+ updateTime?: pulumi.Input<string>;
160
+ /**
161
+ * Whether to inherit instance-level health check nodes.
162
+ */
163
+ usePolicyProbeNodes?: pulumi.Input<boolean>;
164
+ /**
165
+ * Whether to use route rule-level probe configuration.
166
+ */
167
+ useRuleProbeConfig?: pulumi.Input<boolean>;
168
+ /**
169
+ * Routing rule weight.
170
+ */
171
+ weight?: pulumi.Input<number>;
172
+ }
173
+ /**
174
+ * The set of arguments for constructing a Rule resource.
175
+ */
176
+ export interface RuleArgs {
177
+ /**
178
+ * Whether this route rule is disabled. true: The route rule is disabled. false: The route rule is enabled.
179
+ */
180
+ disable?: pulumi.Input<boolean>;
181
+ /**
182
+ * Index of the effective address pool set.
183
+ */
184
+ effectivePoolSetIndex?: pulumi.Input<number>;
185
+ /**
186
+ * UUID of the GTM instance.
187
+ */
188
+ gtmId: pulumi.Input<string>;
189
+ /**
190
+ * Route rule applicable lines.
191
+ */
192
+ line?: pulumi.Input<string>;
193
+ /**
194
+ * Route rule name.
195
+ */
196
+ name: pulumi.Input<string>;
197
+ /**
198
+ * The policy type corresponding to the routing rule. geo: basic routing. perf: intelligent routing.
199
+ */
200
+ policyType: pulumi.Input<string>;
201
+ /**
202
+ * Address pool set effective mode. auto: Automatically sets the effective address pool set. The highest-priority available address pool becomes effective automatically. If all address pools are unavailable, the highest-priority address pool becomes effective. manual: Manually sets the effective address pool set. In this mode, you need to set the index of the effective address pool set in the EffectivePoolSetIndex parameter.
203
+ */
204
+ poolSetMode?: pulumi.Input<string>;
205
+ poolSets?: pulumi.Input<pulumi.Input<inputs.gtm.RulePoolSet>[]>;
206
+ /**
207
+ * Health check parameters for the route rule.
208
+ */
209
+ probe?: pulumi.Input<inputs.gtm.RuleProbe>;
210
+ /**
211
+ * Route rule remarks.
212
+ */
213
+ remark?: pulumi.Input<string>;
214
+ /**
215
+ * Whether to inherit instance-level health check nodes.
216
+ */
217
+ usePolicyProbeNodes?: pulumi.Input<boolean>;
218
+ /**
219
+ * Whether to use route rule-level probe configuration.
220
+ */
221
+ useRuleProbeConfig?: pulumi.Input<boolean>;
222
+ /**
223
+ * Routing rule weight.
224
+ */
225
+ weight?: pulumi.Input<number>;
226
+ }
package/gtm/rule.js ADDED
@@ -0,0 +1,99 @@
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.Rule = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * GTM routing rule resource, which defines the address pool set, health checks, and effective policies for a specific line.
10
+ *
11
+ * ## Import
12
+ *
13
+ * ```sh
14
+ * $ pulumi import volcenginecc:gtm/rule:Rule example "gtm_id|policy_type|rule_id"
15
+ * ```
16
+ */
17
+ class Rule extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing Rule resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param state Any extra arguments used during the lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name, id, state, opts) {
28
+ return new Rule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
29
+ }
30
+ /**
31
+ * Returns true if the given object is an instance of Rule. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ static isInstance(obj) {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === Rule.__pulumiType;
39
+ }
40
+ constructor(name, argsOrState, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (opts.id) {
44
+ const state = argsOrState;
45
+ resourceInputs["createTime"] = state ? state.createTime : undefined;
46
+ resourceInputs["disable"] = state ? state.disable : undefined;
47
+ resourceInputs["effectivePoolSetIndex"] = state ? state.effectivePoolSetIndex : undefined;
48
+ resourceInputs["gtmId"] = state ? state.gtmId : undefined;
49
+ resourceInputs["line"] = state ? state.line : undefined;
50
+ resourceInputs["name"] = state ? state.name : undefined;
51
+ resourceInputs["policyType"] = state ? state.policyType : undefined;
52
+ resourceInputs["poolSetMode"] = state ? state.poolSetMode : undefined;
53
+ resourceInputs["poolSets"] = state ? state.poolSets : undefined;
54
+ resourceInputs["probe"] = state ? state.probe : undefined;
55
+ resourceInputs["probeMode"] = state ? state.probeMode : undefined;
56
+ resourceInputs["remark"] = state ? state.remark : undefined;
57
+ resourceInputs["ruleId"] = state ? state.ruleId : undefined;
58
+ resourceInputs["updateTime"] = state ? state.updateTime : undefined;
59
+ resourceInputs["usePolicyProbeNodes"] = state ? state.usePolicyProbeNodes : undefined;
60
+ resourceInputs["useRuleProbeConfig"] = state ? state.useRuleProbeConfig : undefined;
61
+ resourceInputs["weight"] = state ? state.weight : undefined;
62
+ }
63
+ else {
64
+ const args = argsOrState;
65
+ if ((!args || args.gtmId === undefined) && !opts.urn) {
66
+ throw new Error("Missing required property 'gtmId'");
67
+ }
68
+ if ((!args || args.name === undefined) && !opts.urn) {
69
+ throw new Error("Missing required property 'name'");
70
+ }
71
+ if ((!args || args.policyType === undefined) && !opts.urn) {
72
+ throw new Error("Missing required property 'policyType'");
73
+ }
74
+ resourceInputs["disable"] = args ? args.disable : undefined;
75
+ resourceInputs["effectivePoolSetIndex"] = args ? args.effectivePoolSetIndex : undefined;
76
+ resourceInputs["gtmId"] = args ? args.gtmId : undefined;
77
+ resourceInputs["line"] = args ? args.line : undefined;
78
+ resourceInputs["name"] = args ? args.name : undefined;
79
+ resourceInputs["policyType"] = args ? args.policyType : undefined;
80
+ resourceInputs["poolSetMode"] = args ? args.poolSetMode : undefined;
81
+ resourceInputs["poolSets"] = args ? args.poolSets : undefined;
82
+ resourceInputs["probe"] = args ? args.probe : undefined;
83
+ resourceInputs["remark"] = args ? args.remark : undefined;
84
+ resourceInputs["usePolicyProbeNodes"] = args ? args.usePolicyProbeNodes : undefined;
85
+ resourceInputs["useRuleProbeConfig"] = args ? args.useRuleProbeConfig : undefined;
86
+ resourceInputs["weight"] = args ? args.weight : undefined;
87
+ resourceInputs["createTime"] = undefined /*out*/;
88
+ resourceInputs["probeMode"] = undefined /*out*/;
89
+ resourceInputs["ruleId"] = undefined /*out*/;
90
+ resourceInputs["updateTime"] = undefined /*out*/;
91
+ }
92
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
93
+ super(Rule.__pulumiType, name, resourceInputs, opts);
94
+ }
95
+ }
96
+ exports.Rule = Rule;
97
+ /** @internal */
98
+ Rule.__pulumiType = 'volcenginecc:gtm/rule:Rule';
99
+ //# sourceMappingURL=rule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rule.js","sourceRoot":"","sources":["../../gtm/rule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFA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,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA3JL,oBA4JC;AA9IG,gBAAgB;AACO,iBAAY,GAAG,4BAA4B,CAAC"}
@@ -0,0 +1,44 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Data Source schema for Volcengine::IAM::OauthProvider
4
+ */
5
+ export declare function getOauthProvider(args: GetOauthProviderArgs, opts?: pulumi.InvokeOptions): Promise<GetOauthProviderResult>;
6
+ /**
7
+ * A collection of arguments for invoking getOauthProvider.
8
+ */
9
+ export interface GetOauthProviderArgs {
10
+ id: string;
11
+ }
12
+ /**
13
+ * A collection of values returned by getOauthProvider.
14
+ */
15
+ export interface GetOauthProviderResult {
16
+ readonly authorizeTemplate: string;
17
+ readonly authorizeUrl: string;
18
+ readonly clientId: string;
19
+ readonly clientSecret: string;
20
+ readonly createDate: string;
21
+ readonly description: string;
22
+ readonly id: string;
23
+ readonly identityMapType: number;
24
+ readonly idpIdentityKey: string;
25
+ readonly oauthProviderName: string;
26
+ readonly providerId: string;
27
+ readonly scope: string;
28
+ readonly ssoType: number;
29
+ readonly status: number;
30
+ readonly tokenUrl: string;
31
+ readonly trn: string;
32
+ readonly updateDate: string;
33
+ readonly userInfoUrl: string;
34
+ }
35
+ /**
36
+ * Data Source schema for Volcengine::IAM::OauthProvider
37
+ */
38
+ export declare function getOauthProviderOutput(args: GetOauthProviderOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOauthProviderResult>;
39
+ /**
40
+ * A collection of arguments for invoking getOauthProvider.
41
+ */
42
+ export interface GetOauthProviderOutputArgs {
43
+ id: pulumi.Input<string>;
44
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getOauthProviderOutput = exports.getOauthProvider = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Volcengine::IAM::OauthProvider
10
+ */
11
+ function getOauthProvider(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("volcenginecc:iam/getOauthProvider:getOauthProvider", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getOauthProvider = getOauthProvider;
18
+ /**
19
+ * Data Source schema for Volcengine::IAM::OauthProvider
20
+ */
21
+ function getOauthProviderOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("volcenginecc:iam/getOauthProvider:getOauthProvider", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getOauthProviderOutput = getOauthProviderOutput;
28
+ //# sourceMappingURL=getOauthProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOauthProvider.js","sourceRoot":"","sources":["../../iam/getOauthProvider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC;AAgCD;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAAiC;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oDAAoD,EAAE;QACrF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wDAKC"}