@byteplus/pulumi-bytepluscc 0.0.50 → 0.0.52

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 (142) hide show
  1. package/cloudidentity/getUser.d.ts +8 -0
  2. package/cloudidentity/getUser.d.ts.map +1 -1
  3. package/cloudidentity/getUser.js.map +1 -1
  4. package/cloudidentity/user.d.ts +20 -0
  5. package/cloudidentity/user.d.ts.map +1 -1
  6. package/cloudidentity/user.js +4 -0
  7. package/cloudidentity/user.js.map +1 -1
  8. package/cr/getRobotAccount.d.ts +82 -0
  9. package/cr/getRobotAccount.d.ts.map +1 -0
  10. package/cr/getRobotAccount.js +51 -0
  11. package/cr/getRobotAccount.js.map +1 -0
  12. package/cr/getRobotAccounts.d.ts +23 -0
  13. package/cr/getRobotAccounts.d.ts.map +1 -0
  14. package/cr/getRobotAccounts.js +47 -0
  15. package/cr/getRobotAccounts.js.map +1 -0
  16. package/cr/index.d.ts +9 -0
  17. package/cr/index.d.ts.map +1 -1
  18. package/cr/index.js +12 -1
  19. package/cr/index.js.map +1 -1
  20. package/cr/robotAccount.d.ts +201 -0
  21. package/cr/robotAccount.d.ts.map +1 -0
  22. package/cr/robotAccount.js +143 -0
  23. package/cr/robotAccount.js.map +1 -0
  24. package/ecs/dedicatedHostCluster.d.ts +137 -0
  25. package/ecs/dedicatedHostCluster.d.ts.map +1 -0
  26. package/ecs/dedicatedHostCluster.js +114 -0
  27. package/ecs/dedicatedHostCluster.js.map +1 -0
  28. package/ecs/getDedicatedHostCluster.d.ts +70 -0
  29. package/ecs/getDedicatedHostCluster.d.ts.map +1 -0
  30. package/ecs/getDedicatedHostCluster.js +51 -0
  31. package/ecs/getDedicatedHostCluster.js.map +1 -0
  32. package/ecs/getDedicatedHostClusters.d.ts +23 -0
  33. package/ecs/getDedicatedHostClusters.d.ts.map +1 -0
  34. package/ecs/getDedicatedHostClusters.js +47 -0
  35. package/ecs/getDedicatedHostClusters.js.map +1 -0
  36. package/ecs/index.d.ts +9 -0
  37. package/ecs/index.d.ts.map +1 -1
  38. package/ecs/index.js +13 -1
  39. package/ecs/index.js.map +1 -1
  40. package/iam/apiKey.d.ts +139 -0
  41. package/iam/apiKey.d.ts.map +1 -0
  42. package/iam/apiKey.js +114 -0
  43. package/iam/apiKey.js.map +1 -0
  44. package/iam/getApiKey.d.ts +69 -0
  45. package/iam/getApiKey.d.ts.map +1 -0
  46. package/iam/getApiKey.js +51 -0
  47. package/iam/getApiKey.js.map +1 -0
  48. package/iam/getApiKeys.d.ts +23 -0
  49. package/iam/getApiKeys.d.ts.map +1 -0
  50. package/iam/getApiKeys.js +47 -0
  51. package/iam/getApiKeys.js.map +1 -0
  52. package/iam/index.d.ts +9 -0
  53. package/iam/index.d.ts.map +1 -1
  54. package/iam/index.js +12 -1
  55. package/iam/index.js.map +1 -1
  56. package/package.json +1 -1
  57. package/rdsmysql/getInstance.d.ts +1 -1
  58. package/rdsmysql/instance.d.ts +3 -3
  59. package/redis/getKeyScanJob.d.ts +77 -0
  60. package/redis/getKeyScanJob.d.ts.map +1 -0
  61. package/redis/getKeyScanJob.js +51 -0
  62. package/redis/getKeyScanJob.js.map +1 -0
  63. package/redis/getKeyScanJobs.d.ts +23 -0
  64. package/redis/getKeyScanJobs.d.ts.map +1 -0
  65. package/redis/getKeyScanJobs.js +47 -0
  66. package/redis/getKeyScanJobs.js.map +1 -0
  67. package/redis/index.d.ts +9 -0
  68. package/redis/index.d.ts.map +1 -1
  69. package/redis/index.js +12 -1
  70. package/redis/index.js.map +1 -1
  71. package/redis/keyScanJob.d.ts +151 -0
  72. package/redis/keyScanJob.d.ts.map +1 -0
  73. package/redis/keyScanJob.js +121 -0
  74. package/redis/keyScanJob.js.map +1 -0
  75. package/types/input.d.ts +109 -4
  76. package/types/input.d.ts.map +1 -1
  77. package/types/output.d.ts +216 -5
  78. package/types/output.d.ts.map +1 -1
  79. package/vpc/getIpamPool.d.ts +2 -2
  80. package/vpc/getIpamPool.js +2 -2
  81. package/vpc/getIpamPools.d.ts +2 -2
  82. package/vpc/getIpamPools.js +2 -2
  83. package/vpc/getIpamScope.d.ts +2 -2
  84. package/vpc/getIpamScope.js +2 -2
  85. package/vpc/getIpamScopes.d.ts +2 -2
  86. package/vpc/getIpamScopes.js +2 -2
  87. package/vpc/getIpv4Gateway.d.ts +77 -0
  88. package/vpc/getIpv4Gateway.d.ts.map +1 -0
  89. package/vpc/getIpv4Gateway.js +51 -0
  90. package/vpc/getIpv4Gateway.js.map +1 -0
  91. package/vpc/getIpv4Gateways.d.ts +23 -0
  92. package/vpc/getIpv4Gateways.d.ts.map +1 -0
  93. package/vpc/getIpv4Gateways.js +47 -0
  94. package/vpc/getIpv4Gateways.js.map +1 -0
  95. package/vpc/index.d.ts +9 -0
  96. package/vpc/index.d.ts.map +1 -1
  97. package/vpc/index.js +14 -3
  98. package/vpc/index.js.map +1 -1
  99. package/vpc/ipv4Gateway.d.ts +155 -0
  100. package/vpc/ipv4Gateway.d.ts.map +1 -0
  101. package/vpc/ipv4Gateway.js +112 -0
  102. package/vpc/ipv4Gateway.js.map +1 -0
  103. package/waf/customPage.d.ts +272 -0
  104. package/waf/customPage.d.ts.map +1 -0
  105. package/waf/customPage.js +156 -0
  106. package/waf/customPage.js.map +1 -0
  107. package/waf/getCustomPage.d.ts +110 -0
  108. package/waf/getCustomPage.d.ts.map +1 -0
  109. package/waf/getCustomPage.js +51 -0
  110. package/waf/getCustomPage.js.map +1 -0
  111. package/waf/getCustomPages.d.ts +23 -0
  112. package/waf/getCustomPages.d.ts.map +1 -0
  113. package/waf/getCustomPages.js +47 -0
  114. package/waf/getCustomPages.js.map +1 -0
  115. package/waf/getIpGroup.d.ts +62 -0
  116. package/waf/getIpGroup.d.ts.map +1 -0
  117. package/waf/getIpGroup.js +51 -0
  118. package/waf/getIpGroup.js.map +1 -0
  119. package/waf/getIpGroups.d.ts +23 -0
  120. package/waf/getIpGroups.d.ts.map +1 -0
  121. package/waf/getIpGroups.js +47 -0
  122. package/waf/getIpGroups.js.map +1 -0
  123. package/waf/getSystemBot.d.ts +38 -0
  124. package/waf/getSystemBot.d.ts.map +1 -0
  125. package/waf/getSystemBot.js +51 -0
  126. package/waf/getSystemBot.js.map +1 -0
  127. package/waf/getSystemBots.d.ts +23 -0
  128. package/waf/getSystemBots.d.ts.map +1 -0
  129. package/waf/getSystemBots.js +47 -0
  130. package/waf/getSystemBots.js.map +1 -0
  131. package/waf/index.d.ts +27 -0
  132. package/waf/index.d.ts.map +1 -1
  133. package/waf/index.js +34 -1
  134. package/waf/index.js.map +1 -1
  135. package/waf/ipGroup.d.ts +121 -0
  136. package/waf/ipGroup.d.ts.map +1 -0
  137. package/waf/ipGroup.js +112 -0
  138. package/waf/ipGroup.js.map +1 -0
  139. package/waf/systemBot.d.ts +172 -0
  140. package/waf/systemBot.d.ts.map +1 -0
  141. package/waf/systemBot.js +121 -0
  142. package/waf/systemBot.js.map +1 -0
@@ -0,0 +1,156 @@
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.CustomPage = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * WAF custom block response rule. When block conditions are met, WAF returns a custom response code, page, or redirects to the specified URL according to this rule.
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.waf.CustomPage("example", {
41
+ * clientIp: "ALL",
42
+ * description: "ccapi custom page required",
43
+ * host: "www.testwaf.com",
44
+ * name: "ccapi-custompage-required",
45
+ * pageMode: 0,
46
+ * policy: 8,
47
+ * url: "/ccapi-required",
48
+ * body: "blocked by ccapi required page",
49
+ * code: "403",
50
+ * contentType: "text/html",
51
+ * });
52
+ * ```
53
+ *
54
+ * ## Import
55
+ *
56
+ * ```sh
57
+ * $ pulumi import bytepluscc:waf/customPage:CustomPage example "host|rule_id"
58
+ * ```
59
+ */
60
+ class CustomPage extends pulumi.CustomResource {
61
+ /**
62
+ * Get an existing CustomPage resource's state with the given name, ID, and optional extra
63
+ * properties used to qualify the lookup.
64
+ *
65
+ * @param name The _unique_ name of the resulting resource.
66
+ * @param id The _unique_ provider ID of the resource to lookup.
67
+ * @param state Any extra arguments used during the lookup.
68
+ * @param opts Optional settings to control the behavior of the CustomResource.
69
+ */
70
+ static get(name, id, state, opts) {
71
+ return new CustomPage(name, state, { ...opts, id: id });
72
+ }
73
+ /** @internal */
74
+ static __pulumiType = 'bytepluscc:waf/customPage:CustomPage';
75
+ /**
76
+ * Returns true if the given object is an instance of CustomPage. This is designed to work even
77
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
78
+ */
79
+ static isInstance(obj) {
80
+ if (obj === undefined || obj === null) {
81
+ return false;
82
+ }
83
+ return obj['__pulumiType'] === CustomPage.__pulumiType;
84
+ }
85
+ constructor(name, argsOrState, opts) {
86
+ let resourceInputs = {};
87
+ opts = opts || {};
88
+ if (opts.id) {
89
+ const state = argsOrState;
90
+ resourceInputs["accurate"] = state?.accurate;
91
+ resourceInputs["advanced"] = state?.advanced;
92
+ resourceInputs["body"] = state?.body;
93
+ resourceInputs["clientIp"] = state?.clientIp;
94
+ resourceInputs["code"] = state?.code;
95
+ resourceInputs["contentType"] = state?.contentType;
96
+ resourceInputs["description"] = state?.description;
97
+ resourceInputs["enable"] = state?.enable;
98
+ resourceInputs["host"] = state?.host;
99
+ resourceInputs["name"] = state?.name;
100
+ resourceInputs["pageMode"] = state?.pageMode;
101
+ resourceInputs["policy"] = state?.policy;
102
+ resourceInputs["projectName"] = state?.projectName;
103
+ resourceInputs["redirectUrl"] = state?.redirectUrl;
104
+ resourceInputs["ruleId"] = state?.ruleId;
105
+ resourceInputs["ruleTag"] = state?.ruleTag;
106
+ resourceInputs["updateTime"] = state?.updateTime;
107
+ resourceInputs["url"] = state?.url;
108
+ }
109
+ else {
110
+ const args = argsOrState;
111
+ if (args?.clientIp === undefined && !opts.urn) {
112
+ throw new Error("Missing required property 'clientIp'");
113
+ }
114
+ if (args?.description === undefined && !opts.urn) {
115
+ throw new Error("Missing required property 'description'");
116
+ }
117
+ if (args?.host === undefined && !opts.urn) {
118
+ throw new Error("Missing required property 'host'");
119
+ }
120
+ if (args?.name === undefined && !opts.urn) {
121
+ throw new Error("Missing required property 'name'");
122
+ }
123
+ if (args?.pageMode === undefined && !opts.urn) {
124
+ throw new Error("Missing required property 'pageMode'");
125
+ }
126
+ if (args?.policy === undefined && !opts.urn) {
127
+ throw new Error("Missing required property 'policy'");
128
+ }
129
+ if (args?.url === undefined && !opts.urn) {
130
+ throw new Error("Missing required property 'url'");
131
+ }
132
+ resourceInputs["accurate"] = args?.accurate;
133
+ resourceInputs["advanced"] = args?.advanced;
134
+ resourceInputs["body"] = args?.body;
135
+ resourceInputs["clientIp"] = args?.clientIp;
136
+ resourceInputs["code"] = args?.code;
137
+ resourceInputs["contentType"] = args?.contentType;
138
+ resourceInputs["description"] = args?.description;
139
+ resourceInputs["enable"] = args?.enable;
140
+ resourceInputs["host"] = args?.host;
141
+ resourceInputs["name"] = args?.name;
142
+ resourceInputs["pageMode"] = args?.pageMode;
143
+ resourceInputs["policy"] = args?.policy;
144
+ resourceInputs["projectName"] = args?.projectName;
145
+ resourceInputs["redirectUrl"] = args?.redirectUrl;
146
+ resourceInputs["url"] = args?.url;
147
+ resourceInputs["ruleId"] = undefined /*out*/;
148
+ resourceInputs["ruleTag"] = undefined /*out*/;
149
+ resourceInputs["updateTime"] = undefined /*out*/;
150
+ }
151
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
152
+ super(CustomPage.__pulumiType, name, resourceInputs, opts);
153
+ }
154
+ }
155
+ exports.CustomPage = CustomPage;
156
+ //# sourceMappingURL=customPage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customPage.js","sourceRoot":"","sources":["../../waf/customPage.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,sCAAsC,CAAC;IAE7E;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,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C,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAhLL,gCAiLC"}
@@ -0,0 +1,110 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Byteplus::WAF::CustomPage
5
+ */
6
+ export declare function getCustomPage(args: GetCustomPageArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomPageResult>;
7
+ /**
8
+ * A collection of arguments for invoking getCustomPage.
9
+ */
10
+ export interface GetCustomPageArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getCustomPage.
18
+ */
19
+ export interface GetCustomPageResult {
20
+ /**
21
+ * Advanced condition configuration. Only takes effect when Advanced=1.
22
+ */
23
+ readonly accurate: outputs.waf.GetCustomPageAccurate;
24
+ /**
25
+ * Enable advanced conditions. 0: Off (default); 1: On. If enabled, Accurate must also be configured.
26
+ */
27
+ readonly advanced: number;
28
+ /**
29
+ * Custom response page content. Maximum length: 4096 bytes. Only effective when PageMode=0.
30
+ */
31
+ readonly body: string;
32
+ /**
33
+ * Client IP. Value is fixed as ALL, meaning it applies to all source IPs.
34
+ */
35
+ readonly clientIp: string;
36
+ /**
37
+ * Custom response status code, such as 403, 405, 503. Only effective when PageMode=0.
38
+ */
39
+ readonly code: string;
40
+ /**
41
+ * Custom response Content-Type response header. For example: text/html, application/json, etc. Only effective when PageMode=0.
42
+ */
43
+ readonly contentType: string;
44
+ /**
45
+ * Rule description.
46
+ */
47
+ readonly description: string;
48
+ /**
49
+ * Rule switch. 0: Off; 1: On.
50
+ */
51
+ readonly enable: number;
52
+ /**
53
+ * Domain name. The website domain name to be protected. Before calling, make sure the domain name has been added to the current WAF instance.
54
+ */
55
+ readonly host: string;
56
+ /**
57
+ * Uniquely identifies the resource.
58
+ */
59
+ readonly id: string;
60
+ /**
61
+ * Rule name. Must start with a Chinese character, letter, or number. Allows Chinese characters, letters, numbers, periods (.), underscores (_), and hyphens (-). Length: 1–128 characters.
62
+ */
63
+ readonly name: string;
64
+ /**
65
+ * Response page mode. 0: Custom response body; 2: Redirect URL.
66
+ */
67
+ readonly pageMode: number;
68
+ /**
69
+ * Associated protection policy. 1: Observe; 8: Block.
70
+ */
71
+ readonly policy: number;
72
+ /**
73
+ * Project name, which is the project associated with the current resource. Only projects with permissions under the current identity can be associated. Default is default.
74
+ */
75
+ readonly projectName: string;
76
+ /**
77
+ * Redirect target URL. Only effective when PageMode=2.
78
+ */
79
+ readonly redirectUrl: string;
80
+ /**
81
+ * Custom block response rule ID.
82
+ */
83
+ readonly ruleId: string;
84
+ /**
85
+ * Rule display ID. The RuleTag prefix for custom interception response rules is always B, consisting of the prefix B and a 12-digit RuleId (zero-padded in the middle if fewer than 12 digits). For example, RuleId=116869 corresponds to RuleTag=B000000116869.
86
+ */
87
+ readonly ruleTag: string;
88
+ /**
89
+ * Last updated time of the rule.
90
+ */
91
+ readonly updateTime: string;
92
+ /**
93
+ * URL path where the rule takes effect.
94
+ */
95
+ readonly url: string;
96
+ }
97
+ /**
98
+ * Data Source schema for Byteplus::WAF::CustomPage
99
+ */
100
+ export declare function getCustomPageOutput(args: GetCustomPageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCustomPageResult>;
101
+ /**
102
+ * A collection of arguments for invoking getCustomPage.
103
+ */
104
+ export interface GetCustomPageOutputArgs {
105
+ /**
106
+ * Uniquely identifies the resource.
107
+ */
108
+ id: pulumi.Input<string>;
109
+ }
110
+ //# sourceMappingURL=getCustomPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCustomPage.d.ts","sourceRoot":"","sources":["../../waf/getCustomPage.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;GAEG;AACH,wBAAgB,aAAa,CAAC,IA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C,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACxB;AACD;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAKxI;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
@@ -0,0 +1,51 @@
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.getCustomPageOutput = exports.getCustomPage = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Data Source schema for Byteplus::WAF::CustomPage
33
+ */
34
+ function getCustomPage(args, opts) {
35
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
36
+ return pulumi.runtime.invoke("bytepluscc:waf/getCustomPage:getCustomPage", {
37
+ "id": args.id,
38
+ }, opts);
39
+ }
40
+ exports.getCustomPage = getCustomPage;
41
+ /**
42
+ * Data Source schema for Byteplus::WAF::CustomPage
43
+ */
44
+ function getCustomPageOutput(args, opts) {
45
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
46
+ return pulumi.runtime.invokeOutput("bytepluscc:waf/getCustomPage:getCustomPage", {
47
+ "id": args.id,
48
+ }, opts);
49
+ }
50
+ exports.getCustomPageOutput = getCustomPageOutput;
51
+ //# sourceMappingURL=getCustomPage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCustomPage.js","sourceRoot":"","sources":["../../waf/getCustomPage.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AA6FD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC"}
@@ -0,0 +1,23 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::WAF::CustomPage
4
+ */
5
+ export declare function getCustomPages(opts?: pulumi.InvokeOptions): Promise<GetCustomPagesResult>;
6
+ /**
7
+ * A collection of values returned by getCustomPages.
8
+ */
9
+ export interface GetCustomPagesResult {
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::WAF::CustomPage
21
+ */
22
+ export declare function getCustomPagesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCustomPagesResult>;
23
+ //# sourceMappingURL=getCustomPages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCustomPages.d.ts","sourceRoot":"","sources":["../../waf/getCustomPages.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAIzF;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;CAC1B;AACD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAI3G"}
@@ -0,0 +1,47 @@
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.getCustomPagesOutput = exports.getCustomPages = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Plural Data Source schema for Byteplus::WAF::CustomPage
33
+ */
34
+ function getCustomPages(opts) {
35
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
36
+ return pulumi.runtime.invoke("bytepluscc:waf/getCustomPages:getCustomPages", {}, opts);
37
+ }
38
+ exports.getCustomPages = getCustomPages;
39
+ /**
40
+ * Plural Data Source schema for Byteplus::WAF::CustomPage
41
+ */
42
+ function getCustomPagesOutput(opts) {
43
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
44
+ return pulumi.runtime.invokeOutput("bytepluscc:waf/getCustomPages:getCustomPages", {}, opts);
45
+ }
46
+ exports.getCustomPagesOutput = getCustomPagesOutput;
47
+ //# sourceMappingURL=getCustomPages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCustomPages.js","sourceRoot":"","sources":["../../waf/getCustomPages.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAA2B;IACtD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE,EAC5E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wCAIC;AAeD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAAiC;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE,EAClF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oDAIC"}
@@ -0,0 +1,62 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Byteplus::WAF::IpGroup
5
+ */
6
+ export declare function getIpGroup(args: GetIpGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetIpGroupResult>;
7
+ /**
8
+ * A collection of arguments for invoking getIpGroup.
9
+ */
10
+ export interface GetIpGroupArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getIpGroup.
18
+ */
19
+ export interface GetIpGroupResult {
20
+ /**
21
+ * Uniquely identifies the resource.
22
+ */
23
+ readonly id: string;
24
+ /**
25
+ * Number of IPs in the IP Address Group
26
+ */
27
+ readonly ipCount: number;
28
+ /**
29
+ * IP Address Group ID
30
+ */
31
+ readonly ipGroupId: string;
32
+ /**
33
+ * IP Address or Address Range List
34
+ */
35
+ readonly ipLists: string[];
36
+ /**
37
+ * IP Address Group Name
38
+ */
39
+ readonly name: string;
40
+ /**
41
+ * Associated Rule
42
+ */
43
+ readonly relatedRules: outputs.waf.GetIpGroupRelatedRule[];
44
+ /**
45
+ * Last Updated
46
+ */
47
+ readonly updateTime: string;
48
+ }
49
+ /**
50
+ * Data Source schema for Byteplus::WAF::IpGroup
51
+ */
52
+ export declare function getIpGroupOutput(args: GetIpGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIpGroupResult>;
53
+ /**
54
+ * A collection of arguments for invoking getIpGroup.
55
+ */
56
+ export interface GetIpGroupOutputArgs {
57
+ /**
58
+ * Uniquely identifies the resource.
59
+ */
60
+ id: pulumi.Input<string>;
61
+ }
62
+ //# sourceMappingURL=getIpGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getIpGroup.d.ts","sourceRoot":"","sources":["../../waf/getIpGroup.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAKvG;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,CAAC;IAC3D;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC/B;AACD;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAK/H;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
@@ -0,0 +1,51 @@
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.getIpGroupOutput = exports.getIpGroup = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Data Source schema for Byteplus::WAF::IpGroup
33
+ */
34
+ function getIpGroup(args, opts) {
35
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
36
+ return pulumi.runtime.invoke("bytepluscc:waf/getIpGroup:getIpGroup", {
37
+ "id": args.id,
38
+ }, opts);
39
+ }
40
+ exports.getIpGroup = getIpGroup;
41
+ /**
42
+ * Data Source schema for Byteplus::WAF::IpGroup
43
+ */
44
+ function getIpGroupOutput(args, opts) {
45
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
46
+ return pulumi.runtime.invokeOutput("bytepluscc:waf/getIpGroup:getIpGroup", {
47
+ "id": args.id,
48
+ }, opts);
49
+ }
50
+ exports.getIpGroupOutput = getIpGroupOutput;
51
+ //# sourceMappingURL=getIpGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getIpGroup.js","sourceRoot":"","sources":["../../waf/getIpGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;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,sCAAsC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AA6CD;;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,sCAAsC,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
@@ -0,0 +1,23 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Plural Data Source schema for Byteplus::WAF::IpGroup
4
+ */
5
+ export declare function getIpGroups(opts?: pulumi.InvokeOptions): Promise<GetIpGroupsResult>;
6
+ /**
7
+ * A collection of values returned by getIpGroups.
8
+ */
9
+ export interface GetIpGroupsResult {
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::WAF::IpGroup
21
+ */
22
+ export declare function getIpGroupsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIpGroupsResult>;
23
+ //# sourceMappingURL=getIpGroups.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getIpGroups.d.ts","sourceRoot":"","sources":["../../waf/getIpGroups.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,WAAW,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAInF;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;CAC1B;AACD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAIrG"}
@@ -0,0 +1,47 @@
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.getIpGroupsOutput = exports.getIpGroups = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Plural Data Source schema for Byteplus::WAF::IpGroup
33
+ */
34
+ function getIpGroups(opts) {
35
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
36
+ return pulumi.runtime.invoke("bytepluscc:waf/getIpGroups:getIpGroups", {}, opts);
37
+ }
38
+ exports.getIpGroups = getIpGroups;
39
+ /**
40
+ * Plural Data Source schema for Byteplus::WAF::IpGroup
41
+ */
42
+ function getIpGroupsOutput(opts) {
43
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
44
+ return pulumi.runtime.invokeOutput("bytepluscc:waf/getIpGroups:getIpGroups", {}, opts);
45
+ }
46
+ exports.getIpGroupsOutput = getIpGroupsOutput;
47
+ //# sourceMappingURL=getIpGroups.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getIpGroups.js","sourceRoot":"","sources":["../../waf/getIpGroups.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;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,wCAAwC,EAAE,EACtE,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,wCAAwC,EAAE,EAC5E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC"}
@@ -0,0 +1,38 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Data Source schema for Byteplus::WAF::SystemBot
4
+ */
5
+ export declare function getSystemBot(args: GetSystemBotArgs, opts?: pulumi.InvokeOptions): Promise<GetSystemBotResult>;
6
+ /**
7
+ * A collection of arguments for invoking getSystemBot.
8
+ */
9
+ export interface GetSystemBotArgs {
10
+ id: string;
11
+ }
12
+ /**
13
+ * A collection of values returned by getSystemBot.
14
+ */
15
+ export interface GetSystemBotResult {
16
+ readonly action: string;
17
+ readonly botType: string;
18
+ readonly description: string;
19
+ readonly enable: number;
20
+ readonly host: string;
21
+ readonly id: string;
22
+ readonly ipMatch: boolean;
23
+ readonly name: string;
24
+ readonly projectName: string;
25
+ readonly ruleTag: string;
26
+ readonly verificationExemptionTime: number;
27
+ }
28
+ /**
29
+ * Data Source schema for Byteplus::WAF::SystemBot
30
+ */
31
+ export declare function getSystemBotOutput(args: GetSystemBotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSystemBotResult>;
32
+ /**
33
+ * A collection of arguments for invoking getSystemBot.
34
+ */
35
+ export interface GetSystemBotOutputArgs {
36
+ id: pulumi.Input<string>;
37
+ }
38
+ //# sourceMappingURL=getSystemBot.d.ts.map