@quantcdn/pulumi-quant 5.5.0 → 5.5.1

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 (129) hide show
  1. package/aiAgent.d.ts +155 -0
  2. package/aiAgent.js +94 -0
  3. package/aiAgent.js.map +1 -0
  4. package/aiGovernance.d.ts +77 -0
  5. package/aiGovernance.js +75 -0
  6. package/aiGovernance.js.map +1 -0
  7. package/aiSkill.d.ts +101 -0
  8. package/aiSkill.js +85 -0
  9. package/aiSkill.js.map +1 -0
  10. package/aiVectorCollection.d.ts +107 -0
  11. package/aiVectorCollection.js +68 -0
  12. package/aiVectorCollection.js.map +1 -0
  13. package/aiVectorDocument.d.ts +73 -0
  14. package/aiVectorDocument.js +70 -0
  15. package/aiVectorDocument.js.map +1 -0
  16. package/application.d.ts +189 -0
  17. package/application.js +85 -0
  18. package/application.js.map +1 -0
  19. package/config/index.d.ts +1 -0
  20. package/config/index.js +21 -0
  21. package/config/index.js.map +1 -0
  22. package/config/vars.d.ts +36 -0
  23. package/config/vars.js +61 -0
  24. package/config/vars.js.map +1 -0
  25. package/{crawler.ts → crawler.d.ts} +45 -139
  26. package/crawler.js +116 -0
  27. package/crawler.js.map +1 -0
  28. package/crawlerSchedule.d.ts +156 -0
  29. package/crawlerSchedule.js +74 -0
  30. package/crawlerSchedule.js.map +1 -0
  31. package/cronJob.d.ts +102 -0
  32. package/cronJob.js +73 -0
  33. package/cronJob.js.map +1 -0
  34. package/{domain.ts → domain.d.ts} +10 -56
  35. package/domain.js +62 -0
  36. package/domain.js.map +1 -0
  37. package/environment.d.ts +313 -0
  38. package/environment.js +110 -0
  39. package/environment.js.map +1 -0
  40. package/getProject.d.ts +34 -0
  41. package/getProject.js +24 -0
  42. package/getProject.js.map +1 -0
  43. package/getProjects.d.ts +14 -0
  44. package/getProjects.js +18 -0
  45. package/getProjects.js.map +1 -0
  46. package/header.d.ts +60 -0
  47. package/header.js +59 -0
  48. package/header.js.map +1 -0
  49. package/index.d.ts +88 -0
  50. package/index.js +158 -0
  51. package/index.js.map +1 -0
  52. package/{kvItem.ts → kvItem.d.ts} +11 -62
  53. package/kvItem.js +67 -0
  54. package/kvItem.js.map +1 -0
  55. package/kvStore.d.ts +75 -0
  56. package/kvStore.js +55 -0
  57. package/kvStore.js.map +1 -0
  58. package/package.json +32 -30
  59. package/project.d.ts +175 -0
  60. package/project.js +73 -0
  61. package/project.js.map +1 -0
  62. package/{provider.ts → provider.d.ts} +12 -51
  63. package/provider.js +63 -0
  64. package/provider.js.map +1 -0
  65. package/{ruleAuth.ts → ruleAuth.d.ts} +31 -128
  66. package/ruleAuth.js +113 -0
  67. package/ruleAuth.js.map +1 -0
  68. package/{ruleBotChallenge.ts → ruleBotChallenge.d.ts} +32 -128
  69. package/ruleBotChallenge.js +112 -0
  70. package/ruleBotChallenge.js.map +1 -0
  71. package/{ruleContentFilter.ts → ruleContentFilter.d.ts} +30 -122
  72. package/ruleContentFilter.js +108 -0
  73. package/ruleContentFilter.js.map +1 -0
  74. package/{ruleCustomResponse.ts → ruleCustomResponse.d.ts} +33 -131
  75. package/ruleCustomResponse.js +114 -0
  76. package/ruleCustomResponse.js.map +1 -0
  77. package/{ruleFunction.ts → ruleFunction.d.ts} +30 -122
  78. package/ruleFunction.js +108 -0
  79. package/ruleFunction.js.map +1 -0
  80. package/{ruleHeaders.ts → ruleHeaders.d.ts} +38 -124
  81. package/ruleHeaders.js +108 -0
  82. package/ruleHeaders.js.map +1 -0
  83. package/{ruleProxy.ts → ruleProxy.d.ts} +62 -196
  84. package/ruleProxy.js +156 -0
  85. package/ruleProxy.js.map +1 -0
  86. package/{ruleRedirect.ts → ruleRedirect.d.ts} +31 -125
  87. package/ruleRedirect.js +110 -0
  88. package/ruleRedirect.js.map +1 -0
  89. package/{ruleServeStatic.ts → ruleServeStatic.d.ts} +30 -122
  90. package/ruleServeStatic.js +108 -0
  91. package/ruleServeStatic.js.map +1 -0
  92. package/{slackBot.ts → slackBot.d.ts} +14 -71
  93. package/slackBot.js +73 -0
  94. package/slackBot.js.map +1 -0
  95. package/types/index.d.ts +3 -0
  96. package/types/index.js +11 -0
  97. package/types/index.js.map +1 -0
  98. package/types/{input.ts → input.d.ts} +6 -78
  99. package/{config/index.ts → types/input.js} +3 -3
  100. package/types/input.js.map +1 -0
  101. package/types/{output.ts → output.d.ts} +6 -81
  102. package/types/output.js +5 -0
  103. package/types/output.js.map +1 -0
  104. package/utilities.d.ts +4 -0
  105. package/{utilities.ts → utilities.js} +23 -28
  106. package/utilities.js.map +1 -0
  107. package/volume.d.ts +130 -0
  108. package/volume.js +74 -0
  109. package/volume.js.map +1 -0
  110. package/.gitattributes +0 -1
  111. package/aiAgent.ts +0 -233
  112. package/aiGovernance.ts +0 -136
  113. package/aiSkill.ts +0 -170
  114. package/aiVectorCollection.ts +0 -159
  115. package/aiVectorDocument.ts +0 -127
  116. package/application.ts +0 -258
  117. package/config/vars.ts +0 -108
  118. package/crawlerSchedule.ts +0 -214
  119. package/cronJob.ts +0 -159
  120. package/environment.ts +0 -407
  121. package/getProject.ts +0 -54
  122. package/getProjects.ts +0 -29
  123. package/header.ts +0 -97
  124. package/index.ts +0 -231
  125. package/kvStore.ts +0 -114
  126. package/project.ts +0 -232
  127. package/tsconfig.json +0 -53
  128. package/types/index.ts +0 -13
  129. package/volume.ts +0 -188
@@ -1,12 +1,7 @@
1
- // *** WARNING: this file was generated by pulumi-language-nodejs. ***
2
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
-
4
1
  import * as pulumi from "@pulumi/pulumi";
5
2
  import * as inputs from "./types/input";
6
3
  import * as outputs from "./types/output";
7
- import * as utilities from "./utilities";
8
-
9
- export class RuleAuth extends pulumi.CustomResource {
4
+ export declare class RuleAuth extends pulumi.CustomResource {
10
5
  /**
11
6
  * Get an existing RuleAuth resource's state with the given name, ID, and optional extra
12
7
  * properties used to qualify the lookup.
@@ -16,130 +11,117 @@ export class RuleAuth extends pulumi.CustomResource {
16
11
  * @param state Any extra arguments used during the lookup.
17
12
  * @param opts Optional settings to control the behavior of the CustomResource.
18
13
  */
19
- public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RuleAuthState, opts?: pulumi.CustomResourceOptions): RuleAuth {
20
- return new RuleAuth(name, <any>state, { ...opts, id: id });
21
- }
22
-
23
- /** @internal */
24
- public static readonly __pulumiType = 'quant:index:RuleAuth';
25
-
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RuleAuthState, opts?: pulumi.CustomResourceOptions): RuleAuth;
26
15
  /**
27
16
  * Returns true if the given object is an instance of RuleAuth. This is designed to work even
28
17
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
29
18
  */
30
- public static isInstance(obj: any): obj is RuleAuth {
31
- if (obj === undefined || obj === null) {
32
- return false;
33
- }
34
- return obj['__pulumiType'] === RuleAuth.__pulumiType;
35
- }
36
-
19
+ static isInstance(obj: any): obj is RuleAuth;
37
20
  /**
38
21
  * Rule action
39
22
  */
40
- declare public /*out*/ readonly action: pulumi.Output<string>;
41
- declare public /*out*/ readonly actionConfig: pulumi.Output<outputs.RuleAuthActionConfig>;
23
+ readonly action: pulumi.Output<string>;
24
+ readonly actionConfig: pulumi.Output<outputs.RuleAuthActionConfig>;
42
25
  /**
43
26
  * ASN filter type (asn_is, asn_is_not, any)
44
27
  */
45
- declare public readonly asn: pulumi.Output<string>;
28
+ readonly asn: pulumi.Output<string>;
46
29
  /**
47
30
  * Allowed AS numbers
48
31
  */
49
- declare public readonly asnIs: pulumi.Output<string[]>;
32
+ readonly asnIs: pulumi.Output<string[]>;
50
33
  /**
51
34
  * Excluded AS numbers
52
35
  */
53
- declare public readonly asnIsNots: pulumi.Output<string[]>;
36
+ readonly asnIsNots: pulumi.Output<string[]>;
54
37
  /**
55
38
  * Authentication password
56
39
  */
57
- declare public readonly authPass: pulumi.Output<string>;
40
+ readonly authPass: pulumi.Output<string>;
58
41
  /**
59
42
  * Authentication username
60
43
  */
61
- declare public readonly authUser: pulumi.Output<string>;
44
+ readonly authUser: pulumi.Output<string>;
62
45
  /**
63
46
  * Country filter type (country_is, country_is_not, any)
64
47
  */
65
- declare public readonly country: pulumi.Output<string>;
48
+ readonly country: pulumi.Output<string>;
66
49
  /**
67
50
  * Allowed countries
68
51
  */
69
- declare public readonly countryIs: pulumi.Output<string[]>;
52
+ readonly countryIs: pulumi.Output<string[]>;
70
53
  /**
71
54
  * Excluded countries
72
55
  */
73
- declare public readonly countryIsNots: pulumi.Output<string[]>;
56
+ readonly countryIsNots: pulumi.Output<string[]>;
74
57
  /**
75
58
  * Whether rule is disabled
76
59
  */
77
- declare public readonly disabled: pulumi.Output<boolean>;
60
+ readonly disabled: pulumi.Output<boolean>;
78
61
  /**
79
62
  * Domain patterns (default: any)
80
63
  */
81
- declare public readonly domains: pulumi.Output<string[]>;
64
+ readonly domains: pulumi.Output<string[]>;
82
65
  /**
83
66
  * IP filter type (ip_is, ip_is_not, any)
84
67
  */
85
- declare public readonly ip: pulumi.Output<string>;
68
+ readonly ip: pulumi.Output<string>;
86
69
  /**
87
70
  * Allowed IP addresses
88
71
  */
89
- declare public readonly ipIs: pulumi.Output<string[]>;
72
+ readonly ipIs: pulumi.Output<string[]>;
90
73
  /**
91
74
  * Excluded IP addresses
92
75
  */
93
- declare public readonly ipIsNots: pulumi.Output<string[]>;
76
+ readonly ipIsNots: pulumi.Output<string[]>;
94
77
  /**
95
78
  * Method filter type (method_is, method_is_not, any)
96
79
  */
97
- declare public readonly method: pulumi.Output<string>;
80
+ readonly method: pulumi.Output<string>;
98
81
  /**
99
82
  * Allowed HTTP methods
100
83
  */
101
- declare public readonly methodIs: pulumi.Output<string[]>;
84
+ readonly methodIs: pulumi.Output<string[]>;
102
85
  /**
103
86
  * Excluded HTTP methods
104
87
  */
105
- declare public readonly methodIsNots: pulumi.Output<string[]>;
88
+ readonly methodIsNots: pulumi.Output<string[]>;
106
89
  /**
107
90
  * Rule name
108
91
  */
109
- declare public readonly name: pulumi.Output<string>;
92
+ readonly name: pulumi.Output<string>;
110
93
  /**
111
94
  * Only apply with cookie
112
95
  */
113
- declare public /*out*/ readonly onlyWithCookie: pulumi.Output<string>;
96
+ readonly onlyWithCookie: pulumi.Output<string>;
114
97
  /**
115
98
  * Organization identifier
116
99
  */
117
- declare public readonly organization: pulumi.Output<string>;
100
+ readonly organization: pulumi.Output<string>;
118
101
  /**
119
102
  * Project identifier
120
103
  */
121
- declare public readonly project: pulumi.Output<string>;
104
+ readonly project: pulumi.Output<string>;
122
105
  /**
123
106
  * Rule identifier
124
107
  */
125
- declare public readonly rule: pulumi.Output<string>;
108
+ readonly rule: pulumi.Output<string>;
126
109
  /**
127
110
  * Rule ID
128
111
  */
129
- declare public /*out*/ readonly ruleId: pulumi.Output<string>;
112
+ readonly ruleId: pulumi.Output<string>;
130
113
  /**
131
114
  * URL patterns
132
115
  */
133
- declare public readonly urls: pulumi.Output<string[]>;
116
+ readonly urls: pulumi.Output<string[]>;
134
117
  /**
135
118
  * Rule UUID
136
119
  */
137
- declare public readonly uuid: pulumi.Output<string>;
120
+ readonly uuid: pulumi.Output<string>;
138
121
  /**
139
122
  * Rule weight
140
123
  */
141
- declare public readonly weight: pulumi.Output<number>;
142
-
124
+ readonly weight: pulumi.Output<number>;
143
125
  /**
144
126
  * Create a RuleAuth resource with the given unique name, arguments, and options.
145
127
  *
@@ -147,86 +129,8 @@ export class RuleAuth extends pulumi.CustomResource {
147
129
  * @param args The arguments to use to populate this resource's properties.
148
130
  * @param opts A bag of options that control this resource's behavior.
149
131
  */
150
- constructor(name: string, args: RuleAuthArgs, opts?: pulumi.CustomResourceOptions)
151
- constructor(name: string, argsOrState?: RuleAuthArgs | RuleAuthState, opts?: pulumi.CustomResourceOptions) {
152
- let resourceInputs: pulumi.Inputs = {};
153
- opts = opts || {};
154
- if (opts.id) {
155
- const state = argsOrState as RuleAuthState | undefined;
156
- resourceInputs["action"] = state?.action;
157
- resourceInputs["actionConfig"] = state?.actionConfig;
158
- resourceInputs["asn"] = state?.asn;
159
- resourceInputs["asnIs"] = state?.asnIs;
160
- resourceInputs["asnIsNots"] = state?.asnIsNots;
161
- resourceInputs["authPass"] = state?.authPass;
162
- resourceInputs["authUser"] = state?.authUser;
163
- resourceInputs["country"] = state?.country;
164
- resourceInputs["countryIs"] = state?.countryIs;
165
- resourceInputs["countryIsNots"] = state?.countryIsNots;
166
- resourceInputs["disabled"] = state?.disabled;
167
- resourceInputs["domains"] = state?.domains;
168
- resourceInputs["ip"] = state?.ip;
169
- resourceInputs["ipIs"] = state?.ipIs;
170
- resourceInputs["ipIsNots"] = state?.ipIsNots;
171
- resourceInputs["method"] = state?.method;
172
- resourceInputs["methodIs"] = state?.methodIs;
173
- resourceInputs["methodIsNots"] = state?.methodIsNots;
174
- resourceInputs["name"] = state?.name;
175
- resourceInputs["onlyWithCookie"] = state?.onlyWithCookie;
176
- resourceInputs["organization"] = state?.organization;
177
- resourceInputs["project"] = state?.project;
178
- resourceInputs["rule"] = state?.rule;
179
- resourceInputs["ruleId"] = state?.ruleId;
180
- resourceInputs["urls"] = state?.urls;
181
- resourceInputs["uuid"] = state?.uuid;
182
- resourceInputs["weight"] = state?.weight;
183
- } else {
184
- const args = argsOrState as RuleAuthArgs | undefined;
185
- if (args?.authPass === undefined && !opts.urn) {
186
- throw new Error("Missing required property 'authPass'");
187
- }
188
- if (args?.authUser === undefined && !opts.urn) {
189
- throw new Error("Missing required property 'authUser'");
190
- }
191
- if (args?.domains === undefined && !opts.urn) {
192
- throw new Error("Missing required property 'domains'");
193
- }
194
- if (args?.urls === undefined && !opts.urn) {
195
- throw new Error("Missing required property 'urls'");
196
- }
197
- resourceInputs["asn"] = args?.asn;
198
- resourceInputs["asnIs"] = args?.asnIs;
199
- resourceInputs["asnIsNots"] = args?.asnIsNots;
200
- resourceInputs["authPass"] = args?.authPass;
201
- resourceInputs["authUser"] = args?.authUser;
202
- resourceInputs["country"] = args?.country;
203
- resourceInputs["countryIs"] = args?.countryIs;
204
- resourceInputs["countryIsNots"] = args?.countryIsNots;
205
- resourceInputs["disabled"] = args?.disabled;
206
- resourceInputs["domains"] = args?.domains;
207
- resourceInputs["ip"] = args?.ip;
208
- resourceInputs["ipIs"] = args?.ipIs;
209
- resourceInputs["ipIsNots"] = args?.ipIsNots;
210
- resourceInputs["method"] = args?.method;
211
- resourceInputs["methodIs"] = args?.methodIs;
212
- resourceInputs["methodIsNots"] = args?.methodIsNots;
213
- resourceInputs["name"] = args?.name;
214
- resourceInputs["organization"] = args?.organization;
215
- resourceInputs["project"] = args?.project;
216
- resourceInputs["rule"] = args?.rule;
217
- resourceInputs["urls"] = args?.urls;
218
- resourceInputs["uuid"] = args?.uuid;
219
- resourceInputs["weight"] = args?.weight;
220
- resourceInputs["action"] = undefined /*out*/;
221
- resourceInputs["actionConfig"] = undefined /*out*/;
222
- resourceInputs["onlyWithCookie"] = undefined /*out*/;
223
- resourceInputs["ruleId"] = undefined /*out*/;
224
- }
225
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
226
- super(RuleAuth.__pulumiType, name, resourceInputs, opts);
227
- }
132
+ constructor(name: string, args: RuleAuthArgs, opts?: pulumi.CustomResourceOptions);
228
133
  }
229
-
230
134
  /**
231
135
  * Input properties used for looking up and filtering RuleAuth resources.
232
136
  */
@@ -337,7 +241,6 @@ export interface RuleAuthState {
337
241
  */
338
242
  weight?: pulumi.Input<number>;
339
243
  }
340
-
341
244
  /**
342
245
  * The set of arguments for constructing a RuleAuth resource.
343
246
  */
package/ruleAuth.js ADDED
@@ -0,0 +1,113 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.RuleAuth = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class RuleAuth extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing RuleAuth resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, state, opts) {
19
+ return new RuleAuth(name, state, { ...opts, id: id });
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of RuleAuth. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === RuleAuth.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["action"] = state?.action;
37
+ resourceInputs["actionConfig"] = state?.actionConfig;
38
+ resourceInputs["asn"] = state?.asn;
39
+ resourceInputs["asnIs"] = state?.asnIs;
40
+ resourceInputs["asnIsNots"] = state?.asnIsNots;
41
+ resourceInputs["authPass"] = state?.authPass;
42
+ resourceInputs["authUser"] = state?.authUser;
43
+ resourceInputs["country"] = state?.country;
44
+ resourceInputs["countryIs"] = state?.countryIs;
45
+ resourceInputs["countryIsNots"] = state?.countryIsNots;
46
+ resourceInputs["disabled"] = state?.disabled;
47
+ resourceInputs["domains"] = state?.domains;
48
+ resourceInputs["ip"] = state?.ip;
49
+ resourceInputs["ipIs"] = state?.ipIs;
50
+ resourceInputs["ipIsNots"] = state?.ipIsNots;
51
+ resourceInputs["method"] = state?.method;
52
+ resourceInputs["methodIs"] = state?.methodIs;
53
+ resourceInputs["methodIsNots"] = state?.methodIsNots;
54
+ resourceInputs["name"] = state?.name;
55
+ resourceInputs["onlyWithCookie"] = state?.onlyWithCookie;
56
+ resourceInputs["organization"] = state?.organization;
57
+ resourceInputs["project"] = state?.project;
58
+ resourceInputs["rule"] = state?.rule;
59
+ resourceInputs["ruleId"] = state?.ruleId;
60
+ resourceInputs["urls"] = state?.urls;
61
+ resourceInputs["uuid"] = state?.uuid;
62
+ resourceInputs["weight"] = state?.weight;
63
+ }
64
+ else {
65
+ const args = argsOrState;
66
+ if (args?.authPass === undefined && !opts.urn) {
67
+ throw new Error("Missing required property 'authPass'");
68
+ }
69
+ if (args?.authUser === undefined && !opts.urn) {
70
+ throw new Error("Missing required property 'authUser'");
71
+ }
72
+ if (args?.domains === undefined && !opts.urn) {
73
+ throw new Error("Missing required property 'domains'");
74
+ }
75
+ if (args?.urls === undefined && !opts.urn) {
76
+ throw new Error("Missing required property 'urls'");
77
+ }
78
+ resourceInputs["asn"] = args?.asn;
79
+ resourceInputs["asnIs"] = args?.asnIs;
80
+ resourceInputs["asnIsNots"] = args?.asnIsNots;
81
+ resourceInputs["authPass"] = args?.authPass;
82
+ resourceInputs["authUser"] = args?.authUser;
83
+ resourceInputs["country"] = args?.country;
84
+ resourceInputs["countryIs"] = args?.countryIs;
85
+ resourceInputs["countryIsNots"] = args?.countryIsNots;
86
+ resourceInputs["disabled"] = args?.disabled;
87
+ resourceInputs["domains"] = args?.domains;
88
+ resourceInputs["ip"] = args?.ip;
89
+ resourceInputs["ipIs"] = args?.ipIs;
90
+ resourceInputs["ipIsNots"] = args?.ipIsNots;
91
+ resourceInputs["method"] = args?.method;
92
+ resourceInputs["methodIs"] = args?.methodIs;
93
+ resourceInputs["methodIsNots"] = args?.methodIsNots;
94
+ resourceInputs["name"] = args?.name;
95
+ resourceInputs["organization"] = args?.organization;
96
+ resourceInputs["project"] = args?.project;
97
+ resourceInputs["rule"] = args?.rule;
98
+ resourceInputs["urls"] = args?.urls;
99
+ resourceInputs["uuid"] = args?.uuid;
100
+ resourceInputs["weight"] = args?.weight;
101
+ resourceInputs["action"] = undefined /*out*/;
102
+ resourceInputs["actionConfig"] = undefined /*out*/;
103
+ resourceInputs["onlyWithCookie"] = undefined /*out*/;
104
+ resourceInputs["ruleId"] = undefined /*out*/;
105
+ }
106
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
107
+ super(RuleAuth.__pulumiType, name, resourceInputs, opts);
108
+ }
109
+ }
110
+ exports.RuleAuth = RuleAuth;
111
+ /** @internal */
112
+ RuleAuth.__pulumiType = 'quant:index:RuleAuth';
113
+ //# sourceMappingURL=ruleAuth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ruleAuth.js","sourceRoot":"","sources":["../ruleAuth.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAoHD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,EAAE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AC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA1NL,4BA2NC;AA7MG,gBAAgB;AACO,qBAAY,GAAG,sBAAsB,CAAC"}
@@ -1,12 +1,7 @@
1
- // *** WARNING: this file was generated by pulumi-language-nodejs. ***
2
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
-
4
1
  import * as pulumi from "@pulumi/pulumi";
5
2
  import * as inputs from "./types/input";
6
3
  import * as outputs from "./types/output";
7
- import * as utilities from "./utilities";
8
-
9
- export class RuleBotChallenge extends pulumi.CustomResource {
4
+ export declare class RuleBotChallenge extends pulumi.CustomResource {
10
5
  /**
11
6
  * Get an existing RuleBotChallenge resource's state with the given name, ID, and optional extra
12
7
  * properties used to qualify the lookup.
@@ -16,134 +11,121 @@ export class RuleBotChallenge extends pulumi.CustomResource {
16
11
  * @param state Any extra arguments used during the lookup.
17
12
  * @param opts Optional settings to control the behavior of the CustomResource.
18
13
  */
19
- public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RuleBotChallengeState, opts?: pulumi.CustomResourceOptions): RuleBotChallenge {
20
- return new RuleBotChallenge(name, <any>state, { ...opts, id: id });
21
- }
22
-
23
- /** @internal */
24
- public static readonly __pulumiType = 'quant:index:RuleBotChallenge';
25
-
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RuleBotChallengeState, opts?: pulumi.CustomResourceOptions): RuleBotChallenge;
26
15
  /**
27
16
  * Returns true if the given object is an instance of RuleBotChallenge. This is designed to work even
28
17
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
29
18
  */
30
- public static isInstance(obj: any): obj is RuleBotChallenge {
31
- if (obj === undefined || obj === null) {
32
- return false;
33
- }
34
- return obj['__pulumiType'] === RuleBotChallenge.__pulumiType;
35
- }
36
-
19
+ static isInstance(obj: any): obj is RuleBotChallenge;
37
20
  /**
38
21
  * Rule action
39
22
  */
40
- declare public /*out*/ readonly action: pulumi.Output<string>;
41
- declare public /*out*/ readonly actionConfig: pulumi.Output<outputs.RuleBotChallengeActionConfig>;
23
+ readonly action: pulumi.Output<string>;
24
+ readonly actionConfig: pulumi.Output<outputs.RuleBotChallengeActionConfig>;
42
25
  /**
43
26
  * ASN filter type (asn_is, asn_is_not, any)
44
27
  */
45
- declare public readonly asn: pulumi.Output<string>;
28
+ readonly asn: pulumi.Output<string>;
46
29
  /**
47
30
  * Allowed AS numbers
48
31
  */
49
- declare public readonly asnIs: pulumi.Output<string[]>;
32
+ readonly asnIs: pulumi.Output<string[]>;
50
33
  /**
51
34
  * Excluded AS numbers
52
35
  */
53
- declare public readonly asnIsNots: pulumi.Output<string[]>;
36
+ readonly asnIsNots: pulumi.Output<string[]>;
54
37
  /**
55
38
  * Country filter type (country_is, country_is_not, any)
56
39
  */
57
- declare public readonly country: pulumi.Output<string>;
40
+ readonly country: pulumi.Output<string>;
58
41
  /**
59
42
  * Allowed countries
60
43
  */
61
- declare public readonly countryIs: pulumi.Output<string[]>;
44
+ readonly countryIs: pulumi.Output<string[]>;
62
45
  /**
63
46
  * Excluded countries
64
47
  */
65
- declare public readonly countryIsNots: pulumi.Output<string[]>;
48
+ readonly countryIsNots: pulumi.Output<string[]>;
66
49
  /**
67
50
  * Whether rule is disabled
68
51
  */
69
- declare public readonly disabled: pulumi.Output<boolean>;
52
+ readonly disabled: pulumi.Output<boolean>;
70
53
  /**
71
54
  * Domain patterns (default: any)
72
55
  */
73
- declare public readonly domains: pulumi.Output<string[]>;
56
+ readonly domains: pulumi.Output<string[]>;
74
57
  /**
75
58
  * IP filter type (ip_is, ip_is_not, any)
76
59
  */
77
- declare public readonly ip: pulumi.Output<string>;
60
+ readonly ip: pulumi.Output<string>;
78
61
  /**
79
62
  * Allowed IP addresses
80
63
  */
81
- declare public readonly ipIs: pulumi.Output<string[]>;
64
+ readonly ipIs: pulumi.Output<string[]>;
82
65
  /**
83
66
  * Excluded IP addresses
84
67
  */
85
- declare public readonly ipIsNots: pulumi.Output<string[]>;
68
+ readonly ipIsNots: pulumi.Output<string[]>;
86
69
  /**
87
70
  * Method filter type (method_is, method_is_not, any)
88
71
  */
89
- declare public readonly method: pulumi.Output<string>;
72
+ readonly method: pulumi.Output<string>;
90
73
  /**
91
74
  * Allowed HTTP methods
92
75
  */
93
- declare public readonly methodIs: pulumi.Output<string[]>;
76
+ readonly methodIs: pulumi.Output<string[]>;
94
77
  /**
95
78
  * Excluded HTTP methods
96
79
  */
97
- declare public readonly methodIsNots: pulumi.Output<string[]>;
80
+ readonly methodIsNots: pulumi.Output<string[]>;
98
81
  /**
99
82
  * Rule name
100
83
  */
101
- declare public readonly name: pulumi.Output<string>;
84
+ readonly name: pulumi.Output<string>;
102
85
  /**
103
86
  * Only apply with cookie
104
87
  */
105
- declare public /*out*/ readonly onlyWithCookie: pulumi.Output<string>;
88
+ readonly onlyWithCookie: pulumi.Output<string>;
106
89
  /**
107
90
  * Organization identifier
108
91
  */
109
- declare public readonly organization: pulumi.Output<string>;
92
+ readonly organization: pulumi.Output<string>;
110
93
  /**
111
94
  * Project identifier
112
95
  */
113
- declare public readonly project: pulumi.Output<string>;
96
+ readonly project: pulumi.Output<string>;
114
97
  /**
115
98
  * Challenge TTL in seconds
116
99
  */
117
- declare public readonly robotChallengeChallengeTtl: pulumi.Output<number>;
100
+ readonly robotChallengeChallengeTtl: pulumi.Output<number>;
118
101
  /**
119
102
  * Challenge type (invisible or checkbox)
120
103
  */
121
- declare public readonly robotChallengeType: pulumi.Output<string>;
104
+ readonly robotChallengeType: pulumi.Output<string>;
122
105
  /**
123
106
  * Verification TTL in seconds
124
107
  */
125
- declare public readonly robotChallengeVerificationTtl: pulumi.Output<number>;
108
+ readonly robotChallengeVerificationTtl: pulumi.Output<number>;
126
109
  /**
127
110
  * Rule identifier
128
111
  */
129
- declare public readonly rule: pulumi.Output<string>;
112
+ readonly rule: pulumi.Output<string>;
130
113
  /**
131
114
  * Rule ID
132
115
  */
133
- declare public /*out*/ readonly ruleId: pulumi.Output<string>;
116
+ readonly ruleId: pulumi.Output<string>;
134
117
  /**
135
118
  * URL patterns
136
119
  */
137
- declare public readonly urls: pulumi.Output<string[]>;
120
+ readonly urls: pulumi.Output<string[]>;
138
121
  /**
139
122
  * Rule UUID
140
123
  */
141
- declare public readonly uuid: pulumi.Output<string>;
124
+ readonly uuid: pulumi.Output<string>;
142
125
  /**
143
126
  * Rule weight
144
127
  */
145
- declare public readonly weight: pulumi.Output<number>;
146
-
128
+ readonly weight: pulumi.Output<number>;
147
129
  /**
148
130
  * Create a RuleBotChallenge resource with the given unique name, arguments, and options.
149
131
  *
@@ -151,85 +133,8 @@ export class RuleBotChallenge extends pulumi.CustomResource {
151
133
  * @param args The arguments to use to populate this resource's properties.
152
134
  * @param opts A bag of options that control this resource's behavior.
153
135
  */
154
- constructor(name: string, args: RuleBotChallengeArgs, opts?: pulumi.CustomResourceOptions)
155
- constructor(name: string, argsOrState?: RuleBotChallengeArgs | RuleBotChallengeState, opts?: pulumi.CustomResourceOptions) {
156
- let resourceInputs: pulumi.Inputs = {};
157
- opts = opts || {};
158
- if (opts.id) {
159
- const state = argsOrState as RuleBotChallengeState | undefined;
160
- resourceInputs["action"] = state?.action;
161
- resourceInputs["actionConfig"] = state?.actionConfig;
162
- resourceInputs["asn"] = state?.asn;
163
- resourceInputs["asnIs"] = state?.asnIs;
164
- resourceInputs["asnIsNots"] = state?.asnIsNots;
165
- resourceInputs["country"] = state?.country;
166
- resourceInputs["countryIs"] = state?.countryIs;
167
- resourceInputs["countryIsNots"] = state?.countryIsNots;
168
- resourceInputs["disabled"] = state?.disabled;
169
- resourceInputs["domains"] = state?.domains;
170
- resourceInputs["ip"] = state?.ip;
171
- resourceInputs["ipIs"] = state?.ipIs;
172
- resourceInputs["ipIsNots"] = state?.ipIsNots;
173
- resourceInputs["method"] = state?.method;
174
- resourceInputs["methodIs"] = state?.methodIs;
175
- resourceInputs["methodIsNots"] = state?.methodIsNots;
176
- resourceInputs["name"] = state?.name;
177
- resourceInputs["onlyWithCookie"] = state?.onlyWithCookie;
178
- resourceInputs["organization"] = state?.organization;
179
- resourceInputs["project"] = state?.project;
180
- resourceInputs["robotChallengeChallengeTtl"] = state?.robotChallengeChallengeTtl;
181
- resourceInputs["robotChallengeType"] = state?.robotChallengeType;
182
- resourceInputs["robotChallengeVerificationTtl"] = state?.robotChallengeVerificationTtl;
183
- resourceInputs["rule"] = state?.rule;
184
- resourceInputs["ruleId"] = state?.ruleId;
185
- resourceInputs["urls"] = state?.urls;
186
- resourceInputs["uuid"] = state?.uuid;
187
- resourceInputs["weight"] = state?.weight;
188
- } else {
189
- const args = argsOrState as RuleBotChallengeArgs | undefined;
190
- if (args?.domains === undefined && !opts.urn) {
191
- throw new Error("Missing required property 'domains'");
192
- }
193
- if (args?.robotChallengeType === undefined && !opts.urn) {
194
- throw new Error("Missing required property 'robotChallengeType'");
195
- }
196
- if (args?.urls === undefined && !opts.urn) {
197
- throw new Error("Missing required property 'urls'");
198
- }
199
- resourceInputs["asn"] = args?.asn;
200
- resourceInputs["asnIs"] = args?.asnIs;
201
- resourceInputs["asnIsNots"] = args?.asnIsNots;
202
- resourceInputs["country"] = args?.country;
203
- resourceInputs["countryIs"] = args?.countryIs;
204
- resourceInputs["countryIsNots"] = args?.countryIsNots;
205
- resourceInputs["disabled"] = args?.disabled;
206
- resourceInputs["domains"] = args?.domains;
207
- resourceInputs["ip"] = args?.ip;
208
- resourceInputs["ipIs"] = args?.ipIs;
209
- resourceInputs["ipIsNots"] = args?.ipIsNots;
210
- resourceInputs["method"] = args?.method;
211
- resourceInputs["methodIs"] = args?.methodIs;
212
- resourceInputs["methodIsNots"] = args?.methodIsNots;
213
- resourceInputs["name"] = args?.name;
214
- resourceInputs["organization"] = args?.organization;
215
- resourceInputs["project"] = args?.project;
216
- resourceInputs["robotChallengeChallengeTtl"] = args?.robotChallengeChallengeTtl;
217
- resourceInputs["robotChallengeType"] = args?.robotChallengeType;
218
- resourceInputs["robotChallengeVerificationTtl"] = args?.robotChallengeVerificationTtl;
219
- resourceInputs["rule"] = args?.rule;
220
- resourceInputs["urls"] = args?.urls;
221
- resourceInputs["uuid"] = args?.uuid;
222
- resourceInputs["weight"] = args?.weight;
223
- resourceInputs["action"] = undefined /*out*/;
224
- resourceInputs["actionConfig"] = undefined /*out*/;
225
- resourceInputs["onlyWithCookie"] = undefined /*out*/;
226
- resourceInputs["ruleId"] = undefined /*out*/;
227
- }
228
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
229
- super(RuleBotChallenge.__pulumiType, name, resourceInputs, opts);
230
- }
136
+ constructor(name: string, args: RuleBotChallengeArgs, opts?: pulumi.CustomResourceOptions);
231
137
  }
232
-
233
138
  /**
234
139
  * Input properties used for looking up and filtering RuleBotChallenge resources.
235
140
  */
@@ -344,7 +249,6 @@ export interface RuleBotChallengeState {
344
249
  */
345
250
  weight?: pulumi.Input<number>;
346
251
  }
347
-
348
252
  /**
349
253
  * The set of arguments for constructing a RuleBotChallenge resource.
350
254
  */