@byteplus/pulumi-bytepluscc 0.0.33 → 0.0.34

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 (117) hide show
  1. package/directconnect/bgpPeer.d.ts +189 -0
  2. package/directconnect/bgpPeer.js +104 -0
  3. package/directconnect/bgpPeer.js.map +1 -0
  4. package/directconnect/getBgpPeer.d.ts +88 -0
  5. package/directconnect/getBgpPeer.js +28 -0
  6. package/directconnect/getBgpPeer.js.map +1 -0
  7. package/directconnect/getBgpPeers.d.ts +22 -0
  8. package/directconnect/getBgpPeers.js +24 -0
  9. package/directconnect/getBgpPeers.js.map +1 -0
  10. package/directconnect/index.d.ts +9 -0
  11. package/directconnect/index.js +12 -1
  12. package/directconnect/index.js.map +1 -1
  13. package/dns/getRecord.d.ts +104 -0
  14. package/dns/getRecord.js +28 -0
  15. package/dns/getRecord.js.map +1 -0
  16. package/dns/getRecords.d.ts +22 -0
  17. package/dns/getRecords.js +24 -0
  18. package/dns/getRecords.js.map +1 -0
  19. package/dns/index.d.ts +9 -0
  20. package/dns/index.js +12 -1
  21. package/dns/index.js.map +1 -1
  22. package/dns/record.d.ts +236 -0
  23. package/dns/record.js +121 -0
  24. package/dns/record.js.map +1 -0
  25. package/gtm/getGtm.d.ts +100 -0
  26. package/gtm/getGtm.js +28 -0
  27. package/gtm/getGtm.js.map +1 -0
  28. package/gtm/getGtms.d.ts +22 -0
  29. package/gtm/getGtms.js +24 -0
  30. package/gtm/getGtms.js.map +1 -0
  31. package/gtm/getRouting.d.ts +48 -0
  32. package/gtm/getRouting.js +28 -0
  33. package/gtm/getRouting.js.map +1 -0
  34. package/gtm/getRoutings.d.ts +22 -0
  35. package/gtm/getRoutings.js +24 -0
  36. package/gtm/getRoutings.js.map +1 -0
  37. package/gtm/getRule.d.ts +105 -0
  38. package/gtm/getRule.js +28 -0
  39. package/gtm/getRule.js.map +1 -0
  40. package/gtm/getRules.d.ts +22 -0
  41. package/gtm/getRules.js +24 -0
  42. package/gtm/getRules.js.map +1 -0
  43. package/gtm/gtm.d.ts +228 -0
  44. package/gtm/gtm.js +113 -0
  45. package/gtm/gtm.js.map +1 -0
  46. package/gtm/index.d.ts +27 -0
  47. package/gtm/index.js +34 -1
  48. package/gtm/index.js.map +1 -1
  49. package/gtm/routing.d.ts +89 -0
  50. package/gtm/routing.js +74 -0
  51. package/gtm/routing.js.map +1 -0
  52. package/gtm/rule.d.ts +226 -0
  53. package/gtm/rule.js +99 -0
  54. package/gtm/rule.js.map +1 -0
  55. package/kafka/getUser.d.ts +34 -0
  56. package/kafka/getUser.js +28 -0
  57. package/kafka/getUser.js.map +1 -0
  58. package/kafka/getUsers.d.ts +22 -0
  59. package/kafka/getUsers.js +24 -0
  60. package/kafka/getUsers.js.map +1 -0
  61. package/kafka/index.d.ts +9 -0
  62. package/kafka/index.js +12 -1
  63. package/kafka/index.js.map +1 -1
  64. package/kafka/user.d.ts +155 -0
  65. package/kafka/user.js +97 -0
  66. package/kafka/user.js.map +1 -0
  67. package/mongodb/account.d.ts +146 -0
  68. package/mongodb/account.js +82 -0
  69. package/mongodb/account.js.map +1 -0
  70. package/mongodb/getAccount.d.ts +77 -0
  71. package/mongodb/getAccount.js +28 -0
  72. package/mongodb/getAccount.js.map +1 -0
  73. package/mongodb/getAccounts.d.ts +22 -0
  74. package/mongodb/getAccounts.js +24 -0
  75. package/mongodb/getAccounts.js.map +1 -0
  76. package/mongodb/index.d.ts +9 -0
  77. package/mongodb/index.js +12 -1
  78. package/mongodb/index.js.map +1 -1
  79. package/package.json +1 -1
  80. package/rdsmysql/endpointPublicAddress.d.ts +182 -0
  81. package/rdsmysql/endpointPublicAddress.js +104 -0
  82. package/rdsmysql/endpointPublicAddress.js.map +1 -0
  83. package/rdsmysql/getEndpointPublicAddress.d.ts +39 -0
  84. package/rdsmysql/getEndpointPublicAddress.js +28 -0
  85. package/rdsmysql/getEndpointPublicAddress.js.map +1 -0
  86. package/rdsmysql/getEndpointPublicAddresses.d.ts +22 -0
  87. package/rdsmysql/getEndpointPublicAddresses.js +24 -0
  88. package/rdsmysql/getEndpointPublicAddresses.js.map +1 -0
  89. package/rdsmysql/index.d.ts +9 -0
  90. package/rdsmysql/index.js +12 -1
  91. package/rdsmysql/index.js.map +1 -1
  92. package/types/input.d.ts +143 -0
  93. package/types/output.d.ts +303 -0
  94. package/vepfs/fileset.d.ts +202 -0
  95. package/vepfs/fileset.js +106 -0
  96. package/vepfs/fileset.js.map +1 -0
  97. package/vepfs/getFileset.d.ts +41 -0
  98. package/vepfs/getFileset.js +28 -0
  99. package/vepfs/getFileset.js.map +1 -0
  100. package/vepfs/getFilesets.d.ts +22 -0
  101. package/vepfs/getFilesets.js +24 -0
  102. package/vepfs/getFilesets.js.map +1 -0
  103. package/vepfs/index.d.ts +9 -0
  104. package/vepfs/index.js +12 -1
  105. package/vepfs/index.js.map +1 -1
  106. package/vmp/getRuleFile.d.ts +37 -0
  107. package/vmp/getRuleFile.js +28 -0
  108. package/vmp/getRuleFile.js.map +1 -0
  109. package/vmp/getRuleFiles.d.ts +22 -0
  110. package/vmp/getRuleFiles.js +24 -0
  111. package/vmp/getRuleFiles.js.map +1 -0
  112. package/vmp/index.d.ts +9 -0
  113. package/vmp/index.js +12 -1
  114. package/vmp/index.js.map +1 -1
  115. package/vmp/ruleFile.d.ts +172 -0
  116. package/vmp/ruleFile.js +104 -0
  117. package/vmp/ruleFile.js.map +1 -0
@@ -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.getFilesetOutput = exports.getFileset = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Byteplus::VEPFS::Fileset
10
+ */
11
+ function getFileset(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:vepfs/getFileset:getFileset", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getFileset = getFileset;
18
+ /**
19
+ * Data Source schema for Byteplus::VEPFS::Fileset
20
+ */
21
+ function getFilesetOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("bytepluscc:vepfs/getFileset:getFileset", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getFilesetOutput = getFilesetOutput;
28
+ //# sourceMappingURL=getFileset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFileset.js","sourceRoot":"","sources":["../../vepfs/getFileset.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AA6BD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::VEPFS::Fileset
4
+ */
5
+ export declare function getFilesets(opts?: pulumi.InvokeOptions): Promise<GetFilesetsResult>;
6
+ /**
7
+ * A collection of values returned by getFilesets.
8
+ */
9
+ export interface GetFilesetsResult {
10
+ /**
11
+ * Uniquely identifies the data source.
12
+ */
13
+ readonly id: string;
14
+ /**
15
+ * Set of Resource Identifiers.
16
+ */
17
+ readonly ids: string[];
18
+ }
19
+ /**
20
+ * Plural Data Source schema for Byteplus::VEPFS::Fileset
21
+ */
22
+ export declare function getFilesetsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFilesetsResult>;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getFilesetsOutput = exports.getFilesets = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Byteplus::VEPFS::Fileset
10
+ */
11
+ function getFilesets(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:vepfs/getFilesets:getFilesets", {}, opts);
14
+ }
15
+ exports.getFilesets = getFilesets;
16
+ /**
17
+ * Plural Data Source schema for Byteplus::VEPFS::Fileset
18
+ */
19
+ function getFilesetsOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("bytepluscc:vepfs/getFilesets:getFilesets", {}, opts);
22
+ }
23
+ exports.getFilesetsOutput = getFilesetsOutput;
24
+ //# sourceMappingURL=getFilesets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFilesets.js","sourceRoot":"","sources":["../../vepfs/getFilesets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAA2B;IACnD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE,EACxE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kCAIC;AAeD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAAiC;IAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC"}
package/vepfs/index.d.ts CHANGED
@@ -1,3 +1,12 @@
1
+ export { FilesetArgs, FilesetState } from "./fileset";
2
+ export type Fileset = import("./fileset").Fileset;
3
+ export declare const Fileset: typeof import("./fileset").Fileset;
4
+ export { GetFilesetArgs, GetFilesetResult, GetFilesetOutputArgs } from "./getFileset";
5
+ export declare const getFileset: typeof import("./getFileset").getFileset;
6
+ export declare const getFilesetOutput: typeof import("./getFileset").getFilesetOutput;
7
+ export { GetFilesetsResult } from "./getFilesets";
8
+ export declare const getFilesets: typeof import("./getFilesets").getFilesets;
9
+ export declare const getFilesetsOutput: typeof import("./getFilesets").getFilesetsOutput;
1
10
  export { GetInstanceArgs, GetInstanceResult, GetInstanceOutputArgs } from "./getInstance";
2
11
  export declare const getInstance: typeof import("./getInstance").getInstance;
3
12
  export declare const getInstanceOutput: typeof import("./getInstance").getInstanceOutput;
package/vepfs/index.js CHANGED
@@ -2,9 +2,17 @@
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.MountService = exports.Instance = exports.getMountServicesOutput = exports.getMountServices = exports.getMountServiceOutput = exports.getMountService = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = void 0;
5
+ exports.MountService = exports.Instance = exports.getMountServicesOutput = exports.getMountServices = exports.getMountServiceOutput = exports.getMountService = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = exports.getFilesetsOutput = exports.getFilesets = exports.getFilesetOutput = exports.getFileset = exports.Fileset = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
+ exports.Fileset = null;
9
+ utilities.lazyLoad(exports, ["Fileset"], () => require("./fileset"));
10
+ exports.getFileset = null;
11
+ exports.getFilesetOutput = null;
12
+ utilities.lazyLoad(exports, ["getFileset", "getFilesetOutput"], () => require("./getFileset"));
13
+ exports.getFilesets = null;
14
+ exports.getFilesetsOutput = null;
15
+ utilities.lazyLoad(exports, ["getFilesets", "getFilesetsOutput"], () => require("./getFilesets"));
8
16
  exports.getInstance = null;
9
17
  exports.getInstanceOutput = null;
10
18
  utilities.lazyLoad(exports, ["getInstance", "getInstanceOutput"], () => require("./getInstance"));
@@ -25,6 +33,8 @@ const _module = {
25
33
  version: utilities.getVersion(),
26
34
  construct: (name, type, urn) => {
27
35
  switch (type) {
36
+ case "bytepluscc:vepfs/fileset:Fileset":
37
+ return new exports.Fileset(name, undefined, { urn });
28
38
  case "bytepluscc:vepfs/instance:Instance":
29
39
  return new exports.Instance(name, undefined, { urn });
30
40
  case "bytepluscc:vepfs/mountService:MountService":
@@ -34,6 +44,7 @@ const _module = {
34
44
  }
35
45
  },
36
46
  };
47
+ pulumi.runtime.registerResourceModule("bytepluscc", "vepfs/fileset", _module);
37
48
  pulumi.runtime.registerResourceModule("bytepluscc", "vepfs/instance", _module);
38
49
  pulumi.runtime.registerResourceModule("bytepluscc", "vepfs/mountService", _module);
39
50
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../vepfs/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QAAA,iBAAiB,GAAqD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,EAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAGpF,QAAA,YAAY,GAAiD,IAAW,CAAC;AACzE,QAAA,kBAAkB,GAAuD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,EAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAGvF,QAAA,eAAe,GAAuD,IAAW,CAAC;AAClF,QAAA,qBAAqB,GAA6D,IAAW,CAAC;AAC3G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,EAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAGhG,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AACrF,QAAA,sBAAsB,GAA+D,IAAW,CAAC;AAC9G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,EAAC,wBAAwB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAInG,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;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leFile(args: GetRuleFileArgs, opts?: pulumi.InvokeOptions): Promise<GetRuleFileResult>;
6
+ /**
7
+ * A collection of arguments for invoking getRuleFile.
8
+ */
9
+ export interface GetRuleFileArgs {
10
+ id: string;
11
+ }
12
+ /**
13
+ * A collection of values returned by getRuleFile.
14
+ */
15
+ export interface GetRuleFileResult {
16
+ readonly content: string;
17
+ readonly createTime: string;
18
+ readonly description: string;
19
+ readonly id: string;
20
+ readonly lastUpdateTime: string;
21
+ readonly name: string;
22
+ readonly ruleCount: number;
23
+ readonly ruleFileId: string;
24
+ readonly status: string;
25
+ readonly targetWorkspaceId: string;
26
+ readonly workspaceId: string;
27
+ }
28
+ /**
29
+ * Data Source schema for Byteplus::VMP::RuleFile
30
+ */
31
+ export declare function getRuleFileOutput(args: GetRuleFileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRuleFileResult>;
32
+ /**
33
+ * A collection of arguments for invoking getRuleFile.
34
+ */
35
+ export interface GetRuleFileOutputArgs {
36
+ id: pulumi.Input<string>;
37
+ }
@@ -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.getRuleFileOutput = exports.getRuleFile = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Data Source schema for Byteplus::VMP::RuleFile
10
+ */
11
+ function getRuleFile(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:vmp/getRuleFile:getRuleFile", {
14
+ "id": args.id,
15
+ }, opts);
16
+ }
17
+ exports.getRuleFile = getRuleFile;
18
+ /**
19
+ * Data Source schema for Byteplus::VMP::RuleFile
20
+ */
21
+ function getRuleFileOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("bytepluscc:vmp/getRuleFile:getRuleFile", {
24
+ "id": args.id,
25
+ }, opts);
26
+ }
27
+ exports.getRuleFileOutput = getRuleFileOutput;
28
+ //# sourceMappingURL=getRuleFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRuleFile.js","sourceRoot":"","sources":["../../vmp/getRuleFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kCAKC;AAyBD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
@@ -0,0 +1,22 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::VMP::RuleFile
4
+ */
5
+ export declare function getRuleFiles(opts?: pulumi.InvokeOptions): Promise<GetRuleFilesResult>;
6
+ /**
7
+ * A collection of values returned by getRuleFiles.
8
+ */
9
+ export interface GetRuleFilesResult {
10
+ /**
11
+ * Uniquely identifies the data source.
12
+ */
13
+ readonly id: string;
14
+ /**
15
+ * Set of Resource Identifiers.
16
+ */
17
+ readonly ids: string[];
18
+ }
19
+ /**
20
+ * Plural Data Source schema for Byteplus::VMP::RuleFile
21
+ */
22
+ export declare function getRuleFilesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRuleFilesResult>;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getRuleFilesOutput = exports.getRuleFiles = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Plural Data Source schema for Byteplus::VMP::RuleFile
10
+ */
11
+ function getRuleFiles(opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("bytepluscc:vmp/getRuleFiles:getRuleFiles", {}, opts);
14
+ }
15
+ exports.getRuleFiles = getRuleFiles;
16
+ /**
17
+ * Plural Data Source schema for Byteplus::VMP::RuleFile
18
+ */
19
+ function getRuleFilesOutput(opts) {
20
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
21
+ return pulumi.runtime.invokeOutput("bytepluscc:vmp/getRuleFiles:getRuleFiles", {}, opts);
22
+ }
23
+ exports.getRuleFilesOutput = getRuleFilesOutput;
24
+ //# sourceMappingURL=getRuleFiles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRuleFiles.js","sourceRoot":"","sources":["../../vmp/getRuleFiles.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,YAAY,CAAC,IAA2B;IACpD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE,EACxE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oCAIC;AAeD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAAiC;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gDAIC"}
package/vmp/index.d.ts CHANGED
@@ -7,12 +7,21 @@ export declare const getAlertingRuleOutput: typeof import("./getAlertingRule").g
7
7
  export { GetAlertingRulesResult } from "./getAlertingRules";
8
8
  export declare const getAlertingRules: typeof import("./getAlertingRules").getAlertingRules;
9
9
  export declare const getAlertingRulesOutput: typeof import("./getAlertingRules").getAlertingRulesOutput;
10
+ export { GetRuleFileArgs, GetRuleFileResult, GetRuleFileOutputArgs } from "./getRuleFile";
11
+ export declare const getRuleFile: typeof import("./getRuleFile").getRuleFile;
12
+ export declare const getRuleFileOutput: typeof import("./getRuleFile").getRuleFileOutput;
13
+ export { GetRuleFilesResult } from "./getRuleFiles";
14
+ export declare const getRuleFiles: typeof import("./getRuleFiles").getRuleFiles;
15
+ export declare const getRuleFilesOutput: typeof import("./getRuleFiles").getRuleFilesOutput;
10
16
  export { GetWorkspaceArgs, GetWorkspaceResult, GetWorkspaceOutputArgs } from "./getWorkspace";
11
17
  export declare const getWorkspace: typeof import("./getWorkspace").getWorkspace;
12
18
  export declare const getWorkspaceOutput: typeof import("./getWorkspace").getWorkspaceOutput;
13
19
  export { GetWorkspacesResult } from "./getWorkspaces";
14
20
  export declare const getWorkspaces: typeof import("./getWorkspaces").getWorkspaces;
15
21
  export declare const getWorkspacesOutput: typeof import("./getWorkspaces").getWorkspacesOutput;
22
+ export { RuleFileArgs, RuleFileState } from "./ruleFile";
23
+ export type RuleFile = import("./ruleFile").RuleFile;
24
+ export declare const RuleFile: typeof import("./ruleFile").RuleFile;
16
25
  export { WorkspaceArgs, WorkspaceState } from "./workspace";
17
26
  export type Workspace = import("./workspace").Workspace;
18
27
  export declare const Workspace: typeof import("./workspace").Workspace;
package/vmp/index.js CHANGED
@@ -2,7 +2,7 @@
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.Workspace = exports.getWorkspacesOutput = exports.getWorkspaces = exports.getWorkspaceOutput = exports.getWorkspace = exports.getAlertingRulesOutput = exports.getAlertingRules = exports.getAlertingRuleOutput = exports.getAlertingRule = exports.AlertingRule = void 0;
5
+ exports.Workspace = exports.RuleFile = exports.getWorkspacesOutput = exports.getWorkspaces = exports.getWorkspaceOutput = exports.getWorkspace = exports.getRuleFilesOutput = exports.getRuleFiles = exports.getRuleFileOutput = exports.getRuleFile = exports.getAlertingRulesOutput = exports.getAlertingRules = exports.getAlertingRuleOutput = exports.getAlertingRule = exports.AlertingRule = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.AlertingRule = null;
@@ -13,12 +13,20 @@ utilities.lazyLoad(exports, ["getAlertingRule", "getAlertingRuleOutput"], () =>
13
13
  exports.getAlertingRules = null;
14
14
  exports.getAlertingRulesOutput = null;
15
15
  utilities.lazyLoad(exports, ["getAlertingRules", "getAlertingRulesOutput"], () => require("./getAlertingRules"));
16
+ exports.getRuleFile = null;
17
+ exports.getRuleFileOutput = null;
18
+ utilities.lazyLoad(exports, ["getRuleFile", "getRuleFileOutput"], () => require("./getRuleFile"));
19
+ exports.getRuleFiles = null;
20
+ exports.getRuleFilesOutput = null;
21
+ utilities.lazyLoad(exports, ["getRuleFiles", "getRuleFilesOutput"], () => require("./getRuleFiles"));
16
22
  exports.getWorkspace = null;
17
23
  exports.getWorkspaceOutput = null;
18
24
  utilities.lazyLoad(exports, ["getWorkspace", "getWorkspaceOutput"], () => require("./getWorkspace"));
19
25
  exports.getWorkspaces = null;
20
26
  exports.getWorkspacesOutput = null;
21
27
  utilities.lazyLoad(exports, ["getWorkspaces", "getWorkspacesOutput"], () => require("./getWorkspaces"));
28
+ exports.RuleFile = null;
29
+ utilities.lazyLoad(exports, ["RuleFile"], () => require("./ruleFile"));
22
30
  exports.Workspace = null;
23
31
  utilities.lazyLoad(exports, ["Workspace"], () => require("./workspace"));
24
32
  const _module = {
@@ -27,6 +35,8 @@ const _module = {
27
35
  switch (type) {
28
36
  case "bytepluscc:vmp/alertingRule:AlertingRule":
29
37
  return new exports.AlertingRule(name, undefined, { urn });
38
+ case "bytepluscc:vmp/ruleFile:RuleFile":
39
+ return new exports.RuleFile(name, undefined, { urn });
30
40
  case "bytepluscc:vmp/workspace:Workspace":
31
41
  return new exports.Workspace(name, undefined, { urn });
32
42
  default:
@@ -35,5 +45,6 @@ const _module = {
35
45
  },
36
46
  };
37
47
  pulumi.runtime.registerResourceModule("bytepluscc", "vmp/alertingRule", _module);
48
+ pulumi.runtime.registerResourceModule("bytepluscc", "vmp/ruleFile", _module);
38
49
  pulumi.runtime.registerResourceModule("bytepluscc", "vmp/workspace", _module);
39
50
  //# sourceMappingURL=index.js.map
package/vmp/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../vmp/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAGlE,QAAA,eAAe,GAAuD,IAAW,CAAC;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AAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,0CAA0C;gBAC3C,OAAO,IAAI,oBAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D,KAAK,kCAAkC;gBACnC,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,oCAAoC;gBACrC,OAAO,IAAI,iBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,172 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Rule file.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as bytepluscc from "@pulumi/bytepluscc";
10
+ *
11
+ * const vMPRuleFileDemo = new bytepluscc.index.VmpRulefile("VMPRuleFileDemo", {
12
+ * description: "这是一个测试规则文件",
13
+ * targetWorkspaceId: "3ba7844b-e7fc-4688-a869-****",
14
+ * content: `groups:
15
+ * - name: example
16
+ * rules:
17
+ * - record: example_metric
18
+ * expr: sum(up)`,
19
+ * workspaceId: "3ba7844b-e7fc-4688-a869-****",
20
+ * name: "test-rule-file",
21
+ * });
22
+ * ```
23
+ *
24
+ * ## Import
25
+ *
26
+ * ```sh
27
+ * $ pulumi import bytepluscc:vmp/ruleFile:RuleFile example "workspace_id|rule_file_id"
28
+ * ```
29
+ */
30
+ export declare class RuleFile extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing RuleFile resource's state with the given name, ID, and optional extra
33
+ * properties used to qualify the lookup.
34
+ *
35
+ * @param name The _unique_ name of the resulting resource.
36
+ * @param id The _unique_ provider ID of the resource to lookup.
37
+ * @param state Any extra arguments used during the lookup.
38
+ * @param opts Optional settings to control the behavior of the CustomResource.
39
+ */
40
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RuleFileState, opts?: pulumi.CustomResourceOptions): RuleFile;
41
+ /**
42
+ * Returns true if the given object is an instance of RuleFile. This is designed to work even
43
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
44
+ */
45
+ static isInstance(obj: any): obj is RuleFile;
46
+ /**
47
+ * Rule file content in YAML format. Content length limits: - Each `expr` must not exceed 16 KB. - Each `record` must not
48
+ * exceed 2,048 bytes. - Each `labelname` must not exceed 256 bytes. - Each `labelvalue` must not exceed 2,048 bytes.
49
+ */
50
+ readonly content: pulumi.Output<string>;
51
+ /**
52
+ * Rule file creation time in RFC3339 format.
53
+ */
54
+ readonly createTime: pulumi.Output<string>;
55
+ /**
56
+ * Rule file description, limited to 0–200 characters. **Note:** Note Each English letter, Chinese character, or symbol
57
+ * counts as one character.
58
+ */
59
+ readonly description: pulumi.Output<string>;
60
+ /**
61
+ * Last updated time of the rule file in RFC3339 format.
62
+ */
63
+ readonly lastUpdateTime: pulumi.Output<string>;
64
+ /**
65
+ * Rule file name: - Must be a valid Linux file name and less than 255 characters. - Must be unique within the workspace.
66
+ */
67
+ readonly name: pulumi.Output<string>;
68
+ /**
69
+ * Number of rules in the rule file.
70
+ */
71
+ readonly ruleCount: pulumi.Output<number>;
72
+ /**
73
+ * Rule file ID.
74
+ */
75
+ readonly ruleFileId: pulumi.Output<string>;
76
+ /**
77
+ * Rule file status: - **Creating**: Creating - **Running**: Running - **Updating**: Updating - **OverdueSuspended**:
78
+ * Suspended due to overdue payment - **Resuming**: Resuming
79
+ */
80
+ readonly status: pulumi.Output<string>;
81
+ /**
82
+ * Target workspace ID to write to. If empty, writes to the source workspace.
83
+ */
84
+ readonly targetWorkspaceId: pulumi.Output<string>;
85
+ /**
86
+ * Workspace ID.
87
+ */
88
+ readonly workspaceId: pulumi.Output<string>;
89
+ /**
90
+ * Create a RuleFile resource with the given unique name, arguments, and options.
91
+ *
92
+ * @param name The _unique_ name of the resource.
93
+ * @param args The arguments to use to populate this resource's properties.
94
+ * @param opts A bag of options that control this resource's behavior.
95
+ */
96
+ constructor(name: string, args: RuleFileArgs, opts?: pulumi.CustomResourceOptions);
97
+ }
98
+ /**
99
+ * Input properties used for looking up and filtering RuleFile resources.
100
+ */
101
+ export interface RuleFileState {
102
+ /**
103
+ * Rule file content in YAML format. Content length limits: - Each `expr` must not exceed 16 KB. - Each `record` must not
104
+ * exceed 2,048 bytes. - Each `labelname` must not exceed 256 bytes. - Each `labelvalue` must not exceed 2,048 bytes.
105
+ */
106
+ content?: pulumi.Input<string>;
107
+ /**
108
+ * Rule file creation time in RFC3339 format.
109
+ */
110
+ createTime?: pulumi.Input<string>;
111
+ /**
112
+ * Rule file description, limited to 0–200 characters. **Note:** Note Each English letter, Chinese character, or symbol
113
+ * counts as one character.
114
+ */
115
+ description?: pulumi.Input<string>;
116
+ /**
117
+ * Last updated time of the rule file in RFC3339 format.
118
+ */
119
+ lastUpdateTime?: pulumi.Input<string>;
120
+ /**
121
+ * Rule file name: - Must be a valid Linux file name and less than 255 characters. - Must be unique within the workspace.
122
+ */
123
+ name?: pulumi.Input<string>;
124
+ /**
125
+ * Number of rules in the rule file.
126
+ */
127
+ ruleCount?: pulumi.Input<number>;
128
+ /**
129
+ * Rule file ID.
130
+ */
131
+ ruleFileId?: pulumi.Input<string>;
132
+ /**
133
+ * Rule file status: - **Creating**: Creating - **Running**: Running - **Updating**: Updating - **OverdueSuspended**:
134
+ * Suspended due to overdue payment - **Resuming**: Resuming
135
+ */
136
+ status?: pulumi.Input<string>;
137
+ /**
138
+ * Target workspace ID to write to. If empty, writes to the source workspace.
139
+ */
140
+ targetWorkspaceId?: pulumi.Input<string>;
141
+ /**
142
+ * Workspace ID.
143
+ */
144
+ workspaceId?: pulumi.Input<string>;
145
+ }
146
+ /**
147
+ * The set of arguments for constructing a RuleFile resource.
148
+ */
149
+ export interface RuleFileArgs {
150
+ /**
151
+ * Rule file content in YAML format. Content length limits: - Each `expr` must not exceed 16 KB. - Each `record` must not
152
+ * exceed 2,048 bytes. - Each `labelname` must not exceed 256 bytes. - Each `labelvalue` must not exceed 2,048 bytes.
153
+ */
154
+ content: pulumi.Input<string>;
155
+ /**
156
+ * Rule file description, limited to 0–200 characters. **Note:** Note Each English letter, Chinese character, or symbol
157
+ * counts as one character.
158
+ */
159
+ description?: pulumi.Input<string>;
160
+ /**
161
+ * Rule file name: - Must be a valid Linux file name and less than 255 characters. - Must be unique within the workspace.
162
+ */
163
+ name: pulumi.Input<string>;
164
+ /**
165
+ * Target workspace ID to write to. If empty, writes to the source workspace.
166
+ */
167
+ targetWorkspaceId?: pulumi.Input<string>;
168
+ /**
169
+ * Workspace ID.
170
+ */
171
+ workspaceId: pulumi.Input<string>;
172
+ }
@@ -0,0 +1,104 @@
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.RuleFile = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Rule file.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as bytepluscc from "@pulumi/bytepluscc";
16
+ *
17
+ * const vMPRuleFileDemo = new bytepluscc.index.VmpRulefile("VMPRuleFileDemo", {
18
+ * description: "这是一个测试规则文件",
19
+ * targetWorkspaceId: "3ba7844b-e7fc-4688-a869-****",
20
+ * content: `groups:
21
+ * - name: example
22
+ * rules:
23
+ * - record: example_metric
24
+ * expr: sum(up)`,
25
+ * workspaceId: "3ba7844b-e7fc-4688-a869-****",
26
+ * name: "test-rule-file",
27
+ * });
28
+ * ```
29
+ *
30
+ * ## Import
31
+ *
32
+ * ```sh
33
+ * $ pulumi import bytepluscc:vmp/ruleFile:RuleFile example "workspace_id|rule_file_id"
34
+ * ```
35
+ */
36
+ class RuleFile extends pulumi.CustomResource {
37
+ /**
38
+ * Get an existing RuleFile resource's state with the given name, ID, and optional extra
39
+ * properties used to qualify the lookup.
40
+ *
41
+ * @param name The _unique_ name of the resulting resource.
42
+ * @param id The _unique_ provider ID of the resource to lookup.
43
+ * @param state Any extra arguments used during the lookup.
44
+ * @param opts Optional settings to control the behavior of the CustomResource.
45
+ */
46
+ static get(name, id, state, opts) {
47
+ return new RuleFile(name, state, Object.assign(Object.assign({}, opts), { id: id }));
48
+ }
49
+ /**
50
+ * Returns true if the given object is an instance of RuleFile. This is designed to work even
51
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
+ */
53
+ static isInstance(obj) {
54
+ if (obj === undefined || obj === null) {
55
+ return false;
56
+ }
57
+ return obj['__pulumiType'] === RuleFile.__pulumiType;
58
+ }
59
+ constructor(name, argsOrState, opts) {
60
+ let resourceInputs = {};
61
+ opts = opts || {};
62
+ if (opts.id) {
63
+ const state = argsOrState;
64
+ resourceInputs["content"] = state ? state.content : undefined;
65
+ resourceInputs["createTime"] = state ? state.createTime : undefined;
66
+ resourceInputs["description"] = state ? state.description : undefined;
67
+ resourceInputs["lastUpdateTime"] = state ? state.lastUpdateTime : undefined;
68
+ resourceInputs["name"] = state ? state.name : undefined;
69
+ resourceInputs["ruleCount"] = state ? state.ruleCount : undefined;
70
+ resourceInputs["ruleFileId"] = state ? state.ruleFileId : undefined;
71
+ resourceInputs["status"] = state ? state.status : undefined;
72
+ resourceInputs["targetWorkspaceId"] = state ? state.targetWorkspaceId : undefined;
73
+ resourceInputs["workspaceId"] = state ? state.workspaceId : undefined;
74
+ }
75
+ else {
76
+ const args = argsOrState;
77
+ if ((!args || args.content === undefined) && !opts.urn) {
78
+ throw new Error("Missing required property 'content'");
79
+ }
80
+ if ((!args || args.name === undefined) && !opts.urn) {
81
+ throw new Error("Missing required property 'name'");
82
+ }
83
+ if ((!args || args.workspaceId === undefined) && !opts.urn) {
84
+ throw new Error("Missing required property 'workspaceId'");
85
+ }
86
+ resourceInputs["content"] = args ? args.content : undefined;
87
+ resourceInputs["description"] = args ? args.description : undefined;
88
+ resourceInputs["name"] = args ? args.name : undefined;
89
+ resourceInputs["targetWorkspaceId"] = args ? args.targetWorkspaceId : undefined;
90
+ resourceInputs["workspaceId"] = args ? args.workspaceId : undefined;
91
+ resourceInputs["createTime"] = undefined /*out*/;
92
+ resourceInputs["lastUpdateTime"] = undefined /*out*/;
93
+ resourceInputs["ruleCount"] = undefined /*out*/;
94
+ resourceInputs["ruleFileId"] = undefined /*out*/;
95
+ resourceInputs["status"] = undefined /*out*/;
96
+ }
97
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
98
+ super(RuleFile.__pulumiType, name, resourceInputs, opts);
99
+ }
100
+ }
101
+ exports.RuleFile = RuleFile;
102
+ /** @internal */
103
+ RuleFile.__pulumiType = 'bytepluscc:vmp/ruleFile:RuleFile';
104
+ //# sourceMappingURL=ruleFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ruleFile.js","sourceRoot":"","sources":["../../vmp/ruleFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,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