@quantcdn/pulumi-quant 0.1.1 → 0.2.0
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.
- package/crawler.ts +9 -0
- package/crawlerSchedule.ts +6 -6
- package/package.json +2 -2
- package/project.ts +18 -0
- package/ruleContentFilter.ts +42 -0
- package/ruleCustomResponse.ts +42 -0
- package/ruleFunction.ts +42 -0
- package/ruleProxy.ts +42 -0
- package/ruleRedirect.ts +42 -0
package/crawler.ts
CHANGED
|
@@ -50,6 +50,9 @@ export class Crawler extends pulumi.CustomResource {
|
|
|
50
50
|
* Crawler configuration (YAML)
|
|
51
51
|
*/
|
|
52
52
|
declare public /*out*/ readonly config: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The UUID of the crawler
|
|
55
|
+
*/
|
|
53
56
|
declare public readonly crawler: pulumi.Output<string>;
|
|
54
57
|
/**
|
|
55
58
|
* Creation timestamp
|
|
@@ -274,6 +277,9 @@ export interface CrawlerState {
|
|
|
274
277
|
* Crawler configuration (YAML)
|
|
275
278
|
*/
|
|
276
279
|
config?: pulumi.Input<string>;
|
|
280
|
+
/**
|
|
281
|
+
* The UUID of the crawler
|
|
282
|
+
*/
|
|
277
283
|
crawler?: pulumi.Input<string>;
|
|
278
284
|
/**
|
|
279
285
|
* Creation timestamp
|
|
@@ -405,6 +411,9 @@ export interface CrawlerArgs {
|
|
|
405
411
|
* Enable browser mode
|
|
406
412
|
*/
|
|
407
413
|
browserMode?: pulumi.Input<boolean>;
|
|
414
|
+
/**
|
|
415
|
+
* The UUID of the crawler
|
|
416
|
+
*/
|
|
408
417
|
crawler?: pulumi.Input<string>;
|
|
409
418
|
/**
|
|
410
419
|
* Delay between requests in seconds (default: 4, non-default requires verification)
|
package/crawlerSchedule.ts
CHANGED
|
@@ -57,7 +57,7 @@ export class CrawlerSchedule extends pulumi.CustomResource {
|
|
|
57
57
|
*/
|
|
58
58
|
declare public /*out*/ readonly createdAt: pulumi.Output<string>;
|
|
59
59
|
/**
|
|
60
|
-
* Schedule name
|
|
60
|
+
* Schedule name. If not provided, defaults to 'Schedule {crawler_name}'.
|
|
61
61
|
*/
|
|
62
62
|
declare public readonly name: pulumi.Output<string>;
|
|
63
63
|
/**
|
|
@@ -73,7 +73,7 @@ export class CrawlerSchedule extends pulumi.CustomResource {
|
|
|
73
73
|
*/
|
|
74
74
|
declare public /*out*/ readonly projectId: pulumi.Output<number>;
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
76
|
+
* Standard Unix cron expression with 5 space-separated fields: minute, hour, day-of-month, month, day-of-week. Example: 0 2 * * * for daily at 2 AM.
|
|
77
77
|
*/
|
|
78
78
|
declare public readonly scheduleCronString: pulumi.Output<string>;
|
|
79
79
|
/**
|
|
@@ -158,7 +158,7 @@ export interface CrawlerScheduleState {
|
|
|
158
158
|
*/
|
|
159
159
|
createdAt?: pulumi.Input<string>;
|
|
160
160
|
/**
|
|
161
|
-
* Schedule name
|
|
161
|
+
* Schedule name. If not provided, defaults to 'Schedule {crawler_name}'.
|
|
162
162
|
*/
|
|
163
163
|
name?: pulumi.Input<string>;
|
|
164
164
|
/**
|
|
@@ -174,7 +174,7 @@ export interface CrawlerScheduleState {
|
|
|
174
174
|
*/
|
|
175
175
|
projectId?: pulumi.Input<number>;
|
|
176
176
|
/**
|
|
177
|
-
*
|
|
177
|
+
* Standard Unix cron expression with 5 space-separated fields: minute, hour, day-of-month, month, day-of-week. Example: 0 2 * * * for daily at 2 AM.
|
|
178
178
|
*/
|
|
179
179
|
scheduleCronString?: pulumi.Input<string>;
|
|
180
180
|
/**
|
|
@@ -196,7 +196,7 @@ export interface CrawlerScheduleArgs {
|
|
|
196
196
|
*/
|
|
197
197
|
crawlerSchedule?: pulumi.Input<string>;
|
|
198
198
|
/**
|
|
199
|
-
* Schedule name
|
|
199
|
+
* Schedule name. If not provided, defaults to 'Schedule {crawler_name}'.
|
|
200
200
|
*/
|
|
201
201
|
name?: pulumi.Input<string>;
|
|
202
202
|
/**
|
|
@@ -208,7 +208,7 @@ export interface CrawlerScheduleArgs {
|
|
|
208
208
|
*/
|
|
209
209
|
project?: pulumi.Input<string>;
|
|
210
210
|
/**
|
|
211
|
-
*
|
|
211
|
+
* Standard Unix cron expression with 5 space-separated fields: minute, hour, day-of-month, month, day-of-week. Example: 0 2 * * * for daily at 2 AM.
|
|
212
212
|
*/
|
|
213
213
|
scheduleCronString: pulumi.Input<string>;
|
|
214
214
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quantcdn/pulumi-quant",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "A Pulumi package for managing QuantCDN resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"pulumi": {
|
|
26
26
|
"resource": true,
|
|
27
27
|
"name": "quant",
|
|
28
|
-
"version": "0.
|
|
28
|
+
"version": "0.2.0",
|
|
29
29
|
"server": "github://api.github.com/quantcdn/pulumi-quant"
|
|
30
30
|
}
|
|
31
31
|
}
|
package/project.ts
CHANGED
|
@@ -60,7 +60,13 @@ export class Project extends pulumi.CustomResource {
|
|
|
60
60
|
* Project name
|
|
61
61
|
*/
|
|
62
62
|
declare public readonly name: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Organization identifier
|
|
65
|
+
*/
|
|
63
66
|
declare public readonly organization: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Project identifier
|
|
69
|
+
*/
|
|
64
70
|
declare public readonly project: pulumi.Output<string>;
|
|
65
71
|
/**
|
|
66
72
|
* Project region
|
|
@@ -155,7 +161,13 @@ export interface ProjectState {
|
|
|
155
161
|
* Project name
|
|
156
162
|
*/
|
|
157
163
|
name?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* Organization identifier
|
|
166
|
+
*/
|
|
158
167
|
organization?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* Project identifier
|
|
170
|
+
*/
|
|
159
171
|
project?: pulumi.Input<string>;
|
|
160
172
|
/**
|
|
161
173
|
* Project region
|
|
@@ -204,7 +216,13 @@ export interface ProjectArgs {
|
|
|
204
216
|
* Project name
|
|
205
217
|
*/
|
|
206
218
|
name?: pulumi.Input<string>;
|
|
219
|
+
/**
|
|
220
|
+
* Organization identifier
|
|
221
|
+
*/
|
|
207
222
|
organization?: pulumi.Input<string>;
|
|
223
|
+
/**
|
|
224
|
+
* Project identifier
|
|
225
|
+
*/
|
|
208
226
|
project?: pulumi.Input<string>;
|
|
209
227
|
/**
|
|
210
228
|
* Project region
|
package/ruleContentFilter.ts
CHANGED
|
@@ -39,6 +39,18 @@ export class RuleContentFilter extends pulumi.CustomResource {
|
|
|
39
39
|
*/
|
|
40
40
|
declare public /*out*/ readonly action: pulumi.Output<string>;
|
|
41
41
|
declare public /*out*/ readonly actionConfig: pulumi.Output<outputs.RuleContentFilterActionConfig>;
|
|
42
|
+
/**
|
|
43
|
+
* ASN filter type (asn_is, asn_is_not, any)
|
|
44
|
+
*/
|
|
45
|
+
declare public readonly asn: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Allowed AS numbers
|
|
48
|
+
*/
|
|
49
|
+
declare public readonly asnIs: pulumi.Output<string[]>;
|
|
50
|
+
/**
|
|
51
|
+
* Excluded AS numbers
|
|
52
|
+
*/
|
|
53
|
+
declare public readonly asnIsNots: pulumi.Output<string[]>;
|
|
42
54
|
/**
|
|
43
55
|
* Country filter type (country_is, country_is_not, any)
|
|
44
56
|
*/
|
|
@@ -139,6 +151,9 @@ export class RuleContentFilter extends pulumi.CustomResource {
|
|
|
139
151
|
const state = argsOrState as RuleContentFilterState | undefined;
|
|
140
152
|
resourceInputs["action"] = state?.action;
|
|
141
153
|
resourceInputs["actionConfig"] = state?.actionConfig;
|
|
154
|
+
resourceInputs["asn"] = state?.asn;
|
|
155
|
+
resourceInputs["asnIs"] = state?.asnIs;
|
|
156
|
+
resourceInputs["asnIsNots"] = state?.asnIsNots;
|
|
142
157
|
resourceInputs["country"] = state?.country;
|
|
143
158
|
resourceInputs["countryIs"] = state?.countryIs;
|
|
144
159
|
resourceInputs["countryIsNots"] = state?.countryIsNots;
|
|
@@ -171,6 +186,9 @@ export class RuleContentFilter extends pulumi.CustomResource {
|
|
|
171
186
|
if (args?.urls === undefined && !opts.urn) {
|
|
172
187
|
throw new Error("Missing required property 'urls'");
|
|
173
188
|
}
|
|
189
|
+
resourceInputs["asn"] = args?.asn;
|
|
190
|
+
resourceInputs["asnIs"] = args?.asnIs;
|
|
191
|
+
resourceInputs["asnIsNots"] = args?.asnIsNots;
|
|
174
192
|
resourceInputs["country"] = args?.country;
|
|
175
193
|
resourceInputs["countryIs"] = args?.countryIs;
|
|
176
194
|
resourceInputs["countryIsNots"] = args?.countryIsNots;
|
|
@@ -209,6 +227,18 @@ export interface RuleContentFilterState {
|
|
|
209
227
|
*/
|
|
210
228
|
action?: pulumi.Input<string>;
|
|
211
229
|
actionConfig?: pulumi.Input<inputs.RuleContentFilterActionConfig>;
|
|
230
|
+
/**
|
|
231
|
+
* ASN filter type (asn_is, asn_is_not, any)
|
|
232
|
+
*/
|
|
233
|
+
asn?: pulumi.Input<string>;
|
|
234
|
+
/**
|
|
235
|
+
* Allowed AS numbers
|
|
236
|
+
*/
|
|
237
|
+
asnIs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
238
|
+
/**
|
|
239
|
+
* Excluded AS numbers
|
|
240
|
+
*/
|
|
241
|
+
asnIsNots?: pulumi.Input<pulumi.Input<string>[]>;
|
|
212
242
|
/**
|
|
213
243
|
* Country filter type (country_is, country_is_not, any)
|
|
214
244
|
*/
|
|
@@ -299,6 +329,18 @@ export interface RuleContentFilterState {
|
|
|
299
329
|
* The set of arguments for constructing a RuleContentFilter resource.
|
|
300
330
|
*/
|
|
301
331
|
export interface RuleContentFilterArgs {
|
|
332
|
+
/**
|
|
333
|
+
* ASN filter type (asn_is, asn_is_not, any)
|
|
334
|
+
*/
|
|
335
|
+
asn?: pulumi.Input<string>;
|
|
336
|
+
/**
|
|
337
|
+
* Allowed AS numbers
|
|
338
|
+
*/
|
|
339
|
+
asnIs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
340
|
+
/**
|
|
341
|
+
* Excluded AS numbers
|
|
342
|
+
*/
|
|
343
|
+
asnIsNots?: pulumi.Input<pulumi.Input<string>[]>;
|
|
302
344
|
/**
|
|
303
345
|
* Country filter type (country_is, country_is_not, any)
|
|
304
346
|
*/
|
package/ruleCustomResponse.ts
CHANGED
|
@@ -39,6 +39,18 @@ export class RuleCustomResponse extends pulumi.CustomResource {
|
|
|
39
39
|
*/
|
|
40
40
|
declare public /*out*/ readonly action: pulumi.Output<string>;
|
|
41
41
|
declare public /*out*/ readonly actionConfig: pulumi.Output<outputs.RuleCustomResponseActionConfig>;
|
|
42
|
+
/**
|
|
43
|
+
* ASN filter type (asn_is, asn_is_not, any)
|
|
44
|
+
*/
|
|
45
|
+
declare public readonly asn: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Allowed AS numbers
|
|
48
|
+
*/
|
|
49
|
+
declare public readonly asnIs: pulumi.Output<string[]>;
|
|
50
|
+
/**
|
|
51
|
+
* Excluded AS numbers
|
|
52
|
+
*/
|
|
53
|
+
declare public readonly asnIsNots: pulumi.Output<string[]>;
|
|
42
54
|
/**
|
|
43
55
|
* Legacy field for response body (deprecated)
|
|
44
56
|
*/
|
|
@@ -151,6 +163,9 @@ export class RuleCustomResponse extends pulumi.CustomResource {
|
|
|
151
163
|
const state = argsOrState as RuleCustomResponseState | undefined;
|
|
152
164
|
resourceInputs["action"] = state?.action;
|
|
153
165
|
resourceInputs["actionConfig"] = state?.actionConfig;
|
|
166
|
+
resourceInputs["asn"] = state?.asn;
|
|
167
|
+
resourceInputs["asnIs"] = state?.asnIs;
|
|
168
|
+
resourceInputs["asnIsNots"] = state?.asnIsNots;
|
|
154
169
|
resourceInputs["body"] = state?.body;
|
|
155
170
|
resourceInputs["country"] = state?.country;
|
|
156
171
|
resourceInputs["countryIs"] = state?.countryIs;
|
|
@@ -186,6 +201,9 @@ export class RuleCustomResponse extends pulumi.CustomResource {
|
|
|
186
201
|
if (args?.urls === undefined && !opts.urn) {
|
|
187
202
|
throw new Error("Missing required property 'urls'");
|
|
188
203
|
}
|
|
204
|
+
resourceInputs["asn"] = args?.asn;
|
|
205
|
+
resourceInputs["asnIs"] = args?.asnIs;
|
|
206
|
+
resourceInputs["asnIsNots"] = args?.asnIsNots;
|
|
189
207
|
resourceInputs["body"] = args?.body;
|
|
190
208
|
resourceInputs["country"] = args?.country;
|
|
191
209
|
resourceInputs["countryIs"] = args?.countryIs;
|
|
@@ -227,6 +245,18 @@ export interface RuleCustomResponseState {
|
|
|
227
245
|
*/
|
|
228
246
|
action?: pulumi.Input<string>;
|
|
229
247
|
actionConfig?: pulumi.Input<inputs.RuleCustomResponseActionConfig>;
|
|
248
|
+
/**
|
|
249
|
+
* ASN filter type (asn_is, asn_is_not, any)
|
|
250
|
+
*/
|
|
251
|
+
asn?: pulumi.Input<string>;
|
|
252
|
+
/**
|
|
253
|
+
* Allowed AS numbers
|
|
254
|
+
*/
|
|
255
|
+
asnIs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
256
|
+
/**
|
|
257
|
+
* Excluded AS numbers
|
|
258
|
+
*/
|
|
259
|
+
asnIsNots?: pulumi.Input<pulumi.Input<string>[]>;
|
|
230
260
|
/**
|
|
231
261
|
* Legacy field for response body (deprecated)
|
|
232
262
|
*/
|
|
@@ -329,6 +359,18 @@ export interface RuleCustomResponseState {
|
|
|
329
359
|
* The set of arguments for constructing a RuleCustomResponse resource.
|
|
330
360
|
*/
|
|
331
361
|
export interface RuleCustomResponseArgs {
|
|
362
|
+
/**
|
|
363
|
+
* ASN filter type (asn_is, asn_is_not, any)
|
|
364
|
+
*/
|
|
365
|
+
asn?: pulumi.Input<string>;
|
|
366
|
+
/**
|
|
367
|
+
* Allowed AS numbers
|
|
368
|
+
*/
|
|
369
|
+
asnIs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
370
|
+
/**
|
|
371
|
+
* Excluded AS numbers
|
|
372
|
+
*/
|
|
373
|
+
asnIsNots?: pulumi.Input<pulumi.Input<string>[]>;
|
|
332
374
|
/**
|
|
333
375
|
* Legacy field for response body (deprecated)
|
|
334
376
|
*/
|
package/ruleFunction.ts
CHANGED
|
@@ -39,6 +39,18 @@ export class RuleFunction extends pulumi.CustomResource {
|
|
|
39
39
|
*/
|
|
40
40
|
declare public /*out*/ readonly action: pulumi.Output<string>;
|
|
41
41
|
declare public /*out*/ readonly actionConfig: pulumi.Output<outputs.RuleFunctionActionConfig>;
|
|
42
|
+
/**
|
|
43
|
+
* ASN filter type (asn_is, asn_is_not, any)
|
|
44
|
+
*/
|
|
45
|
+
declare public readonly asn: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Allowed AS numbers
|
|
48
|
+
*/
|
|
49
|
+
declare public readonly asnIs: pulumi.Output<string[]>;
|
|
50
|
+
/**
|
|
51
|
+
* Excluded AS numbers
|
|
52
|
+
*/
|
|
53
|
+
declare public readonly asnIsNots: pulumi.Output<string[]>;
|
|
42
54
|
/**
|
|
43
55
|
* Country filter type (country_is, country_is_not, any)
|
|
44
56
|
*/
|
|
@@ -139,6 +151,9 @@ export class RuleFunction extends pulumi.CustomResource {
|
|
|
139
151
|
const state = argsOrState as RuleFunctionState | undefined;
|
|
140
152
|
resourceInputs["action"] = state?.action;
|
|
141
153
|
resourceInputs["actionConfig"] = state?.actionConfig;
|
|
154
|
+
resourceInputs["asn"] = state?.asn;
|
|
155
|
+
resourceInputs["asnIs"] = state?.asnIs;
|
|
156
|
+
resourceInputs["asnIsNots"] = state?.asnIsNots;
|
|
142
157
|
resourceInputs["country"] = state?.country;
|
|
143
158
|
resourceInputs["countryIs"] = state?.countryIs;
|
|
144
159
|
resourceInputs["countryIsNots"] = state?.countryIsNots;
|
|
@@ -171,6 +186,9 @@ export class RuleFunction extends pulumi.CustomResource {
|
|
|
171
186
|
if (args?.urls === undefined && !opts.urn) {
|
|
172
187
|
throw new Error("Missing required property 'urls'");
|
|
173
188
|
}
|
|
189
|
+
resourceInputs["asn"] = args?.asn;
|
|
190
|
+
resourceInputs["asnIs"] = args?.asnIs;
|
|
191
|
+
resourceInputs["asnIsNots"] = args?.asnIsNots;
|
|
174
192
|
resourceInputs["country"] = args?.country;
|
|
175
193
|
resourceInputs["countryIs"] = args?.countryIs;
|
|
176
194
|
resourceInputs["countryIsNots"] = args?.countryIsNots;
|
|
@@ -209,6 +227,18 @@ export interface RuleFunctionState {
|
|
|
209
227
|
*/
|
|
210
228
|
action?: pulumi.Input<string>;
|
|
211
229
|
actionConfig?: pulumi.Input<inputs.RuleFunctionActionConfig>;
|
|
230
|
+
/**
|
|
231
|
+
* ASN filter type (asn_is, asn_is_not, any)
|
|
232
|
+
*/
|
|
233
|
+
asn?: pulumi.Input<string>;
|
|
234
|
+
/**
|
|
235
|
+
* Allowed AS numbers
|
|
236
|
+
*/
|
|
237
|
+
asnIs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
238
|
+
/**
|
|
239
|
+
* Excluded AS numbers
|
|
240
|
+
*/
|
|
241
|
+
asnIsNots?: pulumi.Input<pulumi.Input<string>[]>;
|
|
212
242
|
/**
|
|
213
243
|
* Country filter type (country_is, country_is_not, any)
|
|
214
244
|
*/
|
|
@@ -299,6 +329,18 @@ export interface RuleFunctionState {
|
|
|
299
329
|
* The set of arguments for constructing a RuleFunction resource.
|
|
300
330
|
*/
|
|
301
331
|
export interface RuleFunctionArgs {
|
|
332
|
+
/**
|
|
333
|
+
* ASN filter type (asn_is, asn_is_not, any)
|
|
334
|
+
*/
|
|
335
|
+
asn?: pulumi.Input<string>;
|
|
336
|
+
/**
|
|
337
|
+
* Allowed AS numbers
|
|
338
|
+
*/
|
|
339
|
+
asnIs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
340
|
+
/**
|
|
341
|
+
* Excluded AS numbers
|
|
342
|
+
*/
|
|
343
|
+
asnIsNots?: pulumi.Input<pulumi.Input<string>[]>;
|
|
302
344
|
/**
|
|
303
345
|
* Country filter type (country_is, country_is_not, any)
|
|
304
346
|
*/
|
package/ruleProxy.ts
CHANGED
|
@@ -59,6 +59,18 @@ export class RuleProxy extends pulumi.CustomResource {
|
|
|
59
59
|
* Enable Quant Cloud application proxy mode
|
|
60
60
|
*/
|
|
61
61
|
declare public readonly applicationProxy: pulumi.Output<boolean>;
|
|
62
|
+
/**
|
|
63
|
+
* ASN filter type (asn_is, asn_is_not, any)
|
|
64
|
+
*/
|
|
65
|
+
declare public readonly asn: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Allowed AS numbers
|
|
68
|
+
*/
|
|
69
|
+
declare public readonly asnIs: pulumi.Output<string[]>;
|
|
70
|
+
/**
|
|
71
|
+
* Excluded AS numbers
|
|
72
|
+
*/
|
|
73
|
+
declare public readonly asnIsNots: pulumi.Output<string[]>;
|
|
62
74
|
/**
|
|
63
75
|
* Basic auth password
|
|
64
76
|
*/
|
|
@@ -231,6 +243,9 @@ export class RuleProxy extends pulumi.CustomResource {
|
|
|
231
243
|
resourceInputs["applicationName"] = state?.applicationName;
|
|
232
244
|
resourceInputs["applicationPort"] = state?.applicationPort;
|
|
233
245
|
resourceInputs["applicationProxy"] = state?.applicationProxy;
|
|
246
|
+
resourceInputs["asn"] = state?.asn;
|
|
247
|
+
resourceInputs["asnIs"] = state?.asnIs;
|
|
248
|
+
resourceInputs["asnIsNots"] = state?.asnIsNots;
|
|
234
249
|
resourceInputs["authPass"] = state?.authPass;
|
|
235
250
|
resourceInputs["authUser"] = state?.authUser;
|
|
236
251
|
resourceInputs["cacheLifetime"] = state?.cacheLifetime;
|
|
@@ -287,6 +302,9 @@ export class RuleProxy extends pulumi.CustomResource {
|
|
|
287
302
|
resourceInputs["applicationName"] = args?.applicationName;
|
|
288
303
|
resourceInputs["applicationPort"] = args?.applicationPort;
|
|
289
304
|
resourceInputs["applicationProxy"] = args?.applicationProxy;
|
|
305
|
+
resourceInputs["asn"] = args?.asn;
|
|
306
|
+
resourceInputs["asnIs"] = args?.asnIs;
|
|
307
|
+
resourceInputs["asnIsNots"] = args?.asnIsNots;
|
|
290
308
|
resourceInputs["authPass"] = args?.authPass;
|
|
291
309
|
resourceInputs["authUser"] = args?.authUser;
|
|
292
310
|
resourceInputs["cacheLifetime"] = args?.cacheLifetime;
|
|
@@ -364,6 +382,18 @@ export interface RuleProxyState {
|
|
|
364
382
|
* Enable Quant Cloud application proxy mode
|
|
365
383
|
*/
|
|
366
384
|
applicationProxy?: pulumi.Input<boolean>;
|
|
385
|
+
/**
|
|
386
|
+
* ASN filter type (asn_is, asn_is_not, any)
|
|
387
|
+
*/
|
|
388
|
+
asn?: pulumi.Input<string>;
|
|
389
|
+
/**
|
|
390
|
+
* Allowed AS numbers
|
|
391
|
+
*/
|
|
392
|
+
asnIs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
393
|
+
/**
|
|
394
|
+
* Excluded AS numbers
|
|
395
|
+
*/
|
|
396
|
+
asnIsNots?: pulumi.Input<pulumi.Input<string>[]>;
|
|
367
397
|
/**
|
|
368
398
|
* Basic auth password
|
|
369
399
|
*/
|
|
@@ -541,6 +571,18 @@ export interface RuleProxyArgs {
|
|
|
541
571
|
* Enable Quant Cloud application proxy mode
|
|
542
572
|
*/
|
|
543
573
|
applicationProxy?: pulumi.Input<boolean>;
|
|
574
|
+
/**
|
|
575
|
+
* ASN filter type (asn_is, asn_is_not, any)
|
|
576
|
+
*/
|
|
577
|
+
asn?: pulumi.Input<string>;
|
|
578
|
+
/**
|
|
579
|
+
* Allowed AS numbers
|
|
580
|
+
*/
|
|
581
|
+
asnIs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
582
|
+
/**
|
|
583
|
+
* Excluded AS numbers
|
|
584
|
+
*/
|
|
585
|
+
asnIsNots?: pulumi.Input<pulumi.Input<string>[]>;
|
|
544
586
|
/**
|
|
545
587
|
* Basic auth password
|
|
546
588
|
*/
|
package/ruleRedirect.ts
CHANGED
|
@@ -39,6 +39,18 @@ export class RuleRedirect extends pulumi.CustomResource {
|
|
|
39
39
|
*/
|
|
40
40
|
declare public /*out*/ readonly action: pulumi.Output<string>;
|
|
41
41
|
declare public /*out*/ readonly actionConfig: pulumi.Output<outputs.RuleRedirectActionConfig>;
|
|
42
|
+
/**
|
|
43
|
+
* ASN filter type (asn_is, asn_is_not, any)
|
|
44
|
+
*/
|
|
45
|
+
declare public readonly asn: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Allowed AS numbers
|
|
48
|
+
*/
|
|
49
|
+
declare public readonly asnIs: pulumi.Output<string[]>;
|
|
50
|
+
/**
|
|
51
|
+
* Excluded AS numbers
|
|
52
|
+
*/
|
|
53
|
+
declare public readonly asnIsNots: pulumi.Output<string[]>;
|
|
42
54
|
/**
|
|
43
55
|
* Country filter type (country_is, country_is_not, any)
|
|
44
56
|
*/
|
|
@@ -134,6 +146,9 @@ export class RuleRedirect extends pulumi.CustomResource {
|
|
|
134
146
|
const state = argsOrState as RuleRedirectState | undefined;
|
|
135
147
|
resourceInputs["action"] = state?.action;
|
|
136
148
|
resourceInputs["actionConfig"] = state?.actionConfig;
|
|
149
|
+
resourceInputs["asn"] = state?.asn;
|
|
150
|
+
resourceInputs["asnIs"] = state?.asnIs;
|
|
151
|
+
resourceInputs["asnIsNots"] = state?.asnIsNots;
|
|
137
152
|
resourceInputs["country"] = state?.country;
|
|
138
153
|
resourceInputs["countryIs"] = state?.countryIs;
|
|
139
154
|
resourceInputs["countryIsNots"] = state?.countryIsNots;
|
|
@@ -167,6 +182,9 @@ export class RuleRedirect extends pulumi.CustomResource {
|
|
|
167
182
|
if (args?.urls === undefined && !opts.urn) {
|
|
168
183
|
throw new Error("Missing required property 'urls'");
|
|
169
184
|
}
|
|
185
|
+
resourceInputs["asn"] = args?.asn;
|
|
186
|
+
resourceInputs["asnIs"] = args?.asnIs;
|
|
187
|
+
resourceInputs["asnIsNots"] = args?.asnIsNots;
|
|
170
188
|
resourceInputs["country"] = args?.country;
|
|
171
189
|
resourceInputs["countryIs"] = args?.countryIs;
|
|
172
190
|
resourceInputs["countryIsNots"] = args?.countryIsNots;
|
|
@@ -206,6 +224,18 @@ export interface RuleRedirectState {
|
|
|
206
224
|
*/
|
|
207
225
|
action?: pulumi.Input<string>;
|
|
208
226
|
actionConfig?: pulumi.Input<inputs.RuleRedirectActionConfig>;
|
|
227
|
+
/**
|
|
228
|
+
* ASN filter type (asn_is, asn_is_not, any)
|
|
229
|
+
*/
|
|
230
|
+
asn?: pulumi.Input<string>;
|
|
231
|
+
/**
|
|
232
|
+
* Allowed AS numbers
|
|
233
|
+
*/
|
|
234
|
+
asnIs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
235
|
+
/**
|
|
236
|
+
* Excluded AS numbers
|
|
237
|
+
*/
|
|
238
|
+
asnIsNots?: pulumi.Input<pulumi.Input<string>[]>;
|
|
209
239
|
/**
|
|
210
240
|
* Country filter type (country_is, country_is_not, any)
|
|
211
241
|
*/
|
|
@@ -291,6 +321,18 @@ export interface RuleRedirectState {
|
|
|
291
321
|
* The set of arguments for constructing a RuleRedirect resource.
|
|
292
322
|
*/
|
|
293
323
|
export interface RuleRedirectArgs {
|
|
324
|
+
/**
|
|
325
|
+
* ASN filter type (asn_is, asn_is_not, any)
|
|
326
|
+
*/
|
|
327
|
+
asn?: pulumi.Input<string>;
|
|
328
|
+
/**
|
|
329
|
+
* Allowed AS numbers
|
|
330
|
+
*/
|
|
331
|
+
asnIs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
332
|
+
/**
|
|
333
|
+
* Excluded AS numbers
|
|
334
|
+
*/
|
|
335
|
+
asnIsNots?: pulumi.Input<pulumi.Input<string>[]>;
|
|
294
336
|
/**
|
|
295
337
|
* Country filter type (country_is, country_is_not, any)
|
|
296
338
|
*/
|