@quantcdn/pulumi-quant 0.3.0 → 5.5.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/Pulumi.yaml +0 -3
- package/README.md +0 -1
- package/aiAgent.ts +233 -0
- package/aiGovernance.ts +27 -74
- package/aiSkill.ts +69 -96
- package/aiVectorCollection.ts +63 -23
- package/aiVectorDocument.ts +45 -98
- package/application.ts +69 -92
- package/cronJob.ts +31 -87
- package/environment.ts +169 -49
- package/index.ts +14 -0
- package/kvItem.ts +19 -32
- package/kvStore.ts +11 -19
- package/package.json +4 -4
- package/ruleAuth.ts +43 -3
- package/ruleBotChallenge.ts +42 -0
- package/ruleHeaders.ts +42 -0
- package/ruleServeStatic.ts +42 -0
- package/slackBot.ts +205 -0
- package/tsconfig.json +2 -0
- package/types/input.ts +619 -20
- package/types/output.ts +619 -20
- package/utilities.ts +1 -1
- package/volume.ts +26 -48
package/kvItem.ts
CHANGED
|
@@ -37,23 +37,21 @@ export class KvItem extends pulumi.CustomResource {
|
|
|
37
37
|
*/
|
|
38
38
|
declare public readonly key: pulumi.Output<string>;
|
|
39
39
|
/**
|
|
40
|
-
* Organization
|
|
40
|
+
* Organization identifier
|
|
41
41
|
*/
|
|
42
42
|
declare public readonly organization: pulumi.Output<string>;
|
|
43
43
|
/**
|
|
44
|
-
* Project
|
|
44
|
+
* Project identifier
|
|
45
45
|
*/
|
|
46
46
|
declare public readonly project: pulumi.Output<string>;
|
|
47
47
|
/**
|
|
48
|
-
* Store as secret with KMS encryption
|
|
48
|
+
* Store as secret with KMS encryption. Secrets cannot be retrieved via GET operations (returns [ENCRYPTED]). Ideal for API keys, passwords, and credentials.
|
|
49
49
|
*/
|
|
50
50
|
declare public readonly secret: pulumi.Output<boolean>;
|
|
51
|
-
/**
|
|
52
|
-
* KV store ID
|
|
53
|
-
*/
|
|
54
51
|
declare public readonly storeId: pulumi.Output<string>;
|
|
52
|
+
declare public /*out*/ readonly success: pulumi.Output<boolean>;
|
|
55
53
|
/**
|
|
56
|
-
* Item value (can be
|
|
54
|
+
* Item value (can be JSON string)
|
|
57
55
|
*/
|
|
58
56
|
declare public readonly value: pulumi.Output<string>;
|
|
59
57
|
|
|
@@ -75,18 +73,13 @@ export class KvItem extends pulumi.CustomResource {
|
|
|
75
73
|
resourceInputs["project"] = state?.project;
|
|
76
74
|
resourceInputs["secret"] = state?.secret;
|
|
77
75
|
resourceInputs["storeId"] = state?.storeId;
|
|
76
|
+
resourceInputs["success"] = state?.success;
|
|
78
77
|
resourceInputs["value"] = state?.value;
|
|
79
78
|
} else {
|
|
80
79
|
const args = argsOrState as KvItemArgs | undefined;
|
|
81
80
|
if (args?.key === undefined && !opts.urn) {
|
|
82
81
|
throw new Error("Missing required property 'key'");
|
|
83
82
|
}
|
|
84
|
-
if (args?.project === undefined && !opts.urn) {
|
|
85
|
-
throw new Error("Missing required property 'project'");
|
|
86
|
-
}
|
|
87
|
-
if (args?.storeId === undefined && !opts.urn) {
|
|
88
|
-
throw new Error("Missing required property 'storeId'");
|
|
89
|
-
}
|
|
90
83
|
if (args?.value === undefined && !opts.urn) {
|
|
91
84
|
throw new Error("Missing required property 'value'");
|
|
92
85
|
}
|
|
@@ -95,11 +88,10 @@ export class KvItem extends pulumi.CustomResource {
|
|
|
95
88
|
resourceInputs["project"] = args?.project;
|
|
96
89
|
resourceInputs["secret"] = args?.secret;
|
|
97
90
|
resourceInputs["storeId"] = args?.storeId;
|
|
98
|
-
resourceInputs["value"] = args?.value
|
|
91
|
+
resourceInputs["value"] = args?.value;
|
|
92
|
+
resourceInputs["success"] = undefined /*out*/;
|
|
99
93
|
}
|
|
100
94
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
101
|
-
const secretOpts = { additionalSecretOutputs: ["value"] };
|
|
102
|
-
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
103
95
|
super(KvItem.__pulumiType, name, resourceInputs, opts);
|
|
104
96
|
}
|
|
105
97
|
}
|
|
@@ -113,23 +105,21 @@ export interface KvItemState {
|
|
|
113
105
|
*/
|
|
114
106
|
key?: pulumi.Input<string>;
|
|
115
107
|
/**
|
|
116
|
-
* Organization
|
|
108
|
+
* Organization identifier
|
|
117
109
|
*/
|
|
118
110
|
organization?: pulumi.Input<string>;
|
|
119
111
|
/**
|
|
120
|
-
* Project
|
|
112
|
+
* Project identifier
|
|
121
113
|
*/
|
|
122
114
|
project?: pulumi.Input<string>;
|
|
123
115
|
/**
|
|
124
|
-
* Store as secret with KMS encryption
|
|
116
|
+
* Store as secret with KMS encryption. Secrets cannot be retrieved via GET operations (returns [ENCRYPTED]). Ideal for API keys, passwords, and credentials.
|
|
125
117
|
*/
|
|
126
118
|
secret?: pulumi.Input<boolean>;
|
|
127
|
-
/**
|
|
128
|
-
* KV store ID
|
|
129
|
-
*/
|
|
130
119
|
storeId?: pulumi.Input<string>;
|
|
120
|
+
success?: pulumi.Input<boolean>;
|
|
131
121
|
/**
|
|
132
|
-
* Item value (can be
|
|
122
|
+
* Item value (can be JSON string)
|
|
133
123
|
*/
|
|
134
124
|
value?: pulumi.Input<string>;
|
|
135
125
|
}
|
|
@@ -143,23 +133,20 @@ export interface KvItemArgs {
|
|
|
143
133
|
*/
|
|
144
134
|
key: pulumi.Input<string>;
|
|
145
135
|
/**
|
|
146
|
-
* Organization
|
|
136
|
+
* Organization identifier
|
|
147
137
|
*/
|
|
148
138
|
organization?: pulumi.Input<string>;
|
|
149
139
|
/**
|
|
150
|
-
* Project
|
|
140
|
+
* Project identifier
|
|
151
141
|
*/
|
|
152
|
-
project
|
|
142
|
+
project?: pulumi.Input<string>;
|
|
153
143
|
/**
|
|
154
|
-
* Store as secret with KMS encryption
|
|
144
|
+
* Store as secret with KMS encryption. Secrets cannot be retrieved via GET operations (returns [ENCRYPTED]). Ideal for API keys, passwords, and credentials.
|
|
155
145
|
*/
|
|
156
146
|
secret?: pulumi.Input<boolean>;
|
|
147
|
+
storeId?: pulumi.Input<string>;
|
|
157
148
|
/**
|
|
158
|
-
*
|
|
159
|
-
*/
|
|
160
|
-
storeId: pulumi.Input<string>;
|
|
161
|
-
/**
|
|
162
|
-
* Item value (can be a JSON string)
|
|
149
|
+
* Item value (can be JSON string)
|
|
163
150
|
*/
|
|
164
151
|
value: pulumi.Input<string>;
|
|
165
152
|
}
|
package/kvStore.ts
CHANGED
|
@@ -37,17 +37,14 @@ export class KvStore extends pulumi.CustomResource {
|
|
|
37
37
|
*/
|
|
38
38
|
declare public readonly name: pulumi.Output<string>;
|
|
39
39
|
/**
|
|
40
|
-
* Organization
|
|
40
|
+
* Organization identifier
|
|
41
41
|
*/
|
|
42
42
|
declare public readonly organization: pulumi.Output<string>;
|
|
43
43
|
/**
|
|
44
|
-
* Project
|
|
44
|
+
* Project identifier
|
|
45
45
|
*/
|
|
46
46
|
declare public readonly project: pulumi.Output<string>;
|
|
47
|
-
|
|
48
|
-
* Store ID
|
|
49
|
-
*/
|
|
50
|
-
declare public /*out*/ readonly storeId: pulumi.Output<string>;
|
|
47
|
+
declare public readonly storeId: pulumi.Output<string>;
|
|
51
48
|
|
|
52
49
|
/**
|
|
53
50
|
* Create a KvStore resource with the given unique name, arguments, and options.
|
|
@@ -56,7 +53,7 @@ export class KvStore extends pulumi.CustomResource {
|
|
|
56
53
|
* @param args The arguments to use to populate this resource's properties.
|
|
57
54
|
* @param opts A bag of options that control this resource's behavior.
|
|
58
55
|
*/
|
|
59
|
-
constructor(name: string, args
|
|
56
|
+
constructor(name: string, args?: KvStoreArgs, opts?: pulumi.CustomResourceOptions)
|
|
60
57
|
constructor(name: string, argsOrState?: KvStoreArgs | KvStoreState, opts?: pulumi.CustomResourceOptions) {
|
|
61
58
|
let resourceInputs: pulumi.Inputs = {};
|
|
62
59
|
opts = opts || {};
|
|
@@ -68,13 +65,10 @@ export class KvStore extends pulumi.CustomResource {
|
|
|
68
65
|
resourceInputs["storeId"] = state?.storeId;
|
|
69
66
|
} else {
|
|
70
67
|
const args = argsOrState as KvStoreArgs | undefined;
|
|
71
|
-
if (args?.project === undefined && !opts.urn) {
|
|
72
|
-
throw new Error("Missing required property 'project'");
|
|
73
|
-
}
|
|
74
68
|
resourceInputs["name"] = args?.name;
|
|
75
69
|
resourceInputs["organization"] = args?.organization;
|
|
76
70
|
resourceInputs["project"] = args?.project;
|
|
77
|
-
resourceInputs["storeId"] =
|
|
71
|
+
resourceInputs["storeId"] = args?.storeId;
|
|
78
72
|
}
|
|
79
73
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
80
74
|
super(KvStore.__pulumiType, name, resourceInputs, opts);
|
|
@@ -90,16 +84,13 @@ export interface KvStoreState {
|
|
|
90
84
|
*/
|
|
91
85
|
name?: pulumi.Input<string>;
|
|
92
86
|
/**
|
|
93
|
-
* Organization
|
|
87
|
+
* Organization identifier
|
|
94
88
|
*/
|
|
95
89
|
organization?: pulumi.Input<string>;
|
|
96
90
|
/**
|
|
97
|
-
* Project
|
|
91
|
+
* Project identifier
|
|
98
92
|
*/
|
|
99
93
|
project?: pulumi.Input<string>;
|
|
100
|
-
/**
|
|
101
|
-
* Store ID
|
|
102
|
-
*/
|
|
103
94
|
storeId?: pulumi.Input<string>;
|
|
104
95
|
}
|
|
105
96
|
|
|
@@ -112,11 +103,12 @@ export interface KvStoreArgs {
|
|
|
112
103
|
*/
|
|
113
104
|
name?: pulumi.Input<string>;
|
|
114
105
|
/**
|
|
115
|
-
* Organization
|
|
106
|
+
* Organization identifier
|
|
116
107
|
*/
|
|
117
108
|
organization?: pulumi.Input<string>;
|
|
118
109
|
/**
|
|
119
|
-
* Project
|
|
110
|
+
* Project identifier
|
|
120
111
|
*/
|
|
121
|
-
project
|
|
112
|
+
project?: pulumi.Input<string>;
|
|
113
|
+
storeId?: pulumi.Input<string>;
|
|
122
114
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quantcdn/pulumi-quant",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"description": "A Pulumi package for managing QuantCDN resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"category/cloud"
|
|
11
11
|
],
|
|
12
12
|
"homepage": "https://www.quantcdn.io",
|
|
13
|
-
"repository": "https://github.com/quantcdn/
|
|
13
|
+
"repository": "https://github.com/quantcdn/terraform-provider-quant",
|
|
14
14
|
"license": "Apache-2.0",
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build": "tsc"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"pulumi": {
|
|
26
26
|
"resource": true,
|
|
27
27
|
"name": "quant",
|
|
28
|
-
"version": "
|
|
29
|
-
"server": "github://api.github.com/quantcdn/
|
|
28
|
+
"version": "5.5.0",
|
|
29
|
+
"server": "github://api.github.com/quantcdn/terraform-provider-quant"
|
|
30
30
|
}
|
|
31
31
|
}
|
package/ruleAuth.ts
CHANGED
|
@@ -39,6 +39,18 @@ export class RuleAuth 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.RuleAuthActionConfig>;
|
|
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
|
* Authentication password
|
|
44
56
|
*/
|
|
@@ -143,6 +155,9 @@ export class RuleAuth extends pulumi.CustomResource {
|
|
|
143
155
|
const state = argsOrState as RuleAuthState | undefined;
|
|
144
156
|
resourceInputs["action"] = state?.action;
|
|
145
157
|
resourceInputs["actionConfig"] = state?.actionConfig;
|
|
158
|
+
resourceInputs["asn"] = state?.asn;
|
|
159
|
+
resourceInputs["asnIs"] = state?.asnIs;
|
|
160
|
+
resourceInputs["asnIsNots"] = state?.asnIsNots;
|
|
146
161
|
resourceInputs["authPass"] = state?.authPass;
|
|
147
162
|
resourceInputs["authUser"] = state?.authUser;
|
|
148
163
|
resourceInputs["country"] = state?.country;
|
|
@@ -179,7 +194,10 @@ export class RuleAuth extends pulumi.CustomResource {
|
|
|
179
194
|
if (args?.urls === undefined && !opts.urn) {
|
|
180
195
|
throw new Error("Missing required property 'urls'");
|
|
181
196
|
}
|
|
182
|
-
resourceInputs["
|
|
197
|
+
resourceInputs["asn"] = args?.asn;
|
|
198
|
+
resourceInputs["asnIs"] = args?.asnIs;
|
|
199
|
+
resourceInputs["asnIsNots"] = args?.asnIsNots;
|
|
200
|
+
resourceInputs["authPass"] = args?.authPass;
|
|
183
201
|
resourceInputs["authUser"] = args?.authUser;
|
|
184
202
|
resourceInputs["country"] = args?.country;
|
|
185
203
|
resourceInputs["countryIs"] = args?.countryIs;
|
|
@@ -205,8 +223,6 @@ export class RuleAuth extends pulumi.CustomResource {
|
|
|
205
223
|
resourceInputs["ruleId"] = undefined /*out*/;
|
|
206
224
|
}
|
|
207
225
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
208
|
-
const secretOpts = { additionalSecretOutputs: ["authPass"] };
|
|
209
|
-
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
210
226
|
super(RuleAuth.__pulumiType, name, resourceInputs, opts);
|
|
211
227
|
}
|
|
212
228
|
}
|
|
@@ -220,6 +236,18 @@ export interface RuleAuthState {
|
|
|
220
236
|
*/
|
|
221
237
|
action?: pulumi.Input<string>;
|
|
222
238
|
actionConfig?: pulumi.Input<inputs.RuleAuthActionConfig>;
|
|
239
|
+
/**
|
|
240
|
+
* ASN filter type (asn_is, asn_is_not, any)
|
|
241
|
+
*/
|
|
242
|
+
asn?: pulumi.Input<string>;
|
|
243
|
+
/**
|
|
244
|
+
* Allowed AS numbers
|
|
245
|
+
*/
|
|
246
|
+
asnIs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
247
|
+
/**
|
|
248
|
+
* Excluded AS numbers
|
|
249
|
+
*/
|
|
250
|
+
asnIsNots?: pulumi.Input<pulumi.Input<string>[]>;
|
|
223
251
|
/**
|
|
224
252
|
* Authentication password
|
|
225
253
|
*/
|
|
@@ -314,6 +342,18 @@ export interface RuleAuthState {
|
|
|
314
342
|
* The set of arguments for constructing a RuleAuth resource.
|
|
315
343
|
*/
|
|
316
344
|
export interface RuleAuthArgs {
|
|
345
|
+
/**
|
|
346
|
+
* ASN filter type (asn_is, asn_is_not, any)
|
|
347
|
+
*/
|
|
348
|
+
asn?: pulumi.Input<string>;
|
|
349
|
+
/**
|
|
350
|
+
* Allowed AS numbers
|
|
351
|
+
*/
|
|
352
|
+
asnIs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
353
|
+
/**
|
|
354
|
+
* Excluded AS numbers
|
|
355
|
+
*/
|
|
356
|
+
asnIsNots?: pulumi.Input<pulumi.Input<string>[]>;
|
|
317
357
|
/**
|
|
318
358
|
* Authentication password
|
|
319
359
|
*/
|
package/ruleBotChallenge.ts
CHANGED
|
@@ -39,6 +39,18 @@ export class RuleBotChallenge 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.RuleBotChallengeActionConfig>;
|
|
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
|
*/
|
|
@@ -147,6 +159,9 @@ export class RuleBotChallenge extends pulumi.CustomResource {
|
|
|
147
159
|
const state = argsOrState as RuleBotChallengeState | undefined;
|
|
148
160
|
resourceInputs["action"] = state?.action;
|
|
149
161
|
resourceInputs["actionConfig"] = state?.actionConfig;
|
|
162
|
+
resourceInputs["asn"] = state?.asn;
|
|
163
|
+
resourceInputs["asnIs"] = state?.asnIs;
|
|
164
|
+
resourceInputs["asnIsNots"] = state?.asnIsNots;
|
|
150
165
|
resourceInputs["country"] = state?.country;
|
|
151
166
|
resourceInputs["countryIs"] = state?.countryIs;
|
|
152
167
|
resourceInputs["countryIsNots"] = state?.countryIsNots;
|
|
@@ -181,6 +196,9 @@ export class RuleBotChallenge extends pulumi.CustomResource {
|
|
|
181
196
|
if (args?.urls === undefined && !opts.urn) {
|
|
182
197
|
throw new Error("Missing required property 'urls'");
|
|
183
198
|
}
|
|
199
|
+
resourceInputs["asn"] = args?.asn;
|
|
200
|
+
resourceInputs["asnIs"] = args?.asnIs;
|
|
201
|
+
resourceInputs["asnIsNots"] = args?.asnIsNots;
|
|
184
202
|
resourceInputs["country"] = args?.country;
|
|
185
203
|
resourceInputs["countryIs"] = args?.countryIs;
|
|
186
204
|
resourceInputs["countryIsNots"] = args?.countryIsNots;
|
|
@@ -221,6 +239,18 @@ export interface RuleBotChallengeState {
|
|
|
221
239
|
*/
|
|
222
240
|
action?: pulumi.Input<string>;
|
|
223
241
|
actionConfig?: pulumi.Input<inputs.RuleBotChallengeActionConfig>;
|
|
242
|
+
/**
|
|
243
|
+
* ASN filter type (asn_is, asn_is_not, any)
|
|
244
|
+
*/
|
|
245
|
+
asn?: pulumi.Input<string>;
|
|
246
|
+
/**
|
|
247
|
+
* Allowed AS numbers
|
|
248
|
+
*/
|
|
249
|
+
asnIs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
250
|
+
/**
|
|
251
|
+
* Excluded AS numbers
|
|
252
|
+
*/
|
|
253
|
+
asnIsNots?: pulumi.Input<pulumi.Input<string>[]>;
|
|
224
254
|
/**
|
|
225
255
|
* Country filter type (country_is, country_is_not, any)
|
|
226
256
|
*/
|
|
@@ -319,6 +349,18 @@ export interface RuleBotChallengeState {
|
|
|
319
349
|
* The set of arguments for constructing a RuleBotChallenge resource.
|
|
320
350
|
*/
|
|
321
351
|
export interface RuleBotChallengeArgs {
|
|
352
|
+
/**
|
|
353
|
+
* ASN filter type (asn_is, asn_is_not, any)
|
|
354
|
+
*/
|
|
355
|
+
asn?: pulumi.Input<string>;
|
|
356
|
+
/**
|
|
357
|
+
* Allowed AS numbers
|
|
358
|
+
*/
|
|
359
|
+
asnIs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
360
|
+
/**
|
|
361
|
+
* Excluded AS numbers
|
|
362
|
+
*/
|
|
363
|
+
asnIsNots?: pulumi.Input<pulumi.Input<string>[]>;
|
|
322
364
|
/**
|
|
323
365
|
* Country filter type (country_is, country_is_not, any)
|
|
324
366
|
*/
|
package/ruleHeaders.ts
CHANGED
|
@@ -39,6 +39,18 @@ export class RuleHeaders 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.RuleHeadersActionConfig>;
|
|
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 RuleHeaders extends pulumi.CustomResource {
|
|
|
139
151
|
const state = argsOrState as RuleHeadersState | 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 RuleHeaders 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 RuleHeadersState {
|
|
|
209
227
|
*/
|
|
210
228
|
action?: pulumi.Input<string>;
|
|
211
229
|
actionConfig?: pulumi.Input<inputs.RuleHeadersActionConfig>;
|
|
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 RuleHeadersState {
|
|
|
299
329
|
* The set of arguments for constructing a RuleHeaders resource.
|
|
300
330
|
*/
|
|
301
331
|
export interface RuleHeadersArgs {
|
|
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/ruleServeStatic.ts
CHANGED
|
@@ -39,6 +39,18 @@ export class RuleServeStatic 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.RuleServeStaticActionConfig>;
|
|
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 RuleServeStatic extends pulumi.CustomResource {
|
|
|
139
151
|
const state = argsOrState as RuleServeStaticState | 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 RuleServeStatic 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 RuleServeStaticState {
|
|
|
209
227
|
*/
|
|
210
228
|
action?: pulumi.Input<string>;
|
|
211
229
|
actionConfig?: pulumi.Input<inputs.RuleServeStaticActionConfig>;
|
|
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 RuleServeStaticState {
|
|
|
299
329
|
* The set of arguments for constructing a RuleServeStatic resource.
|
|
300
330
|
*/
|
|
301
331
|
export interface RuleServeStaticArgs {
|
|
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
|
*/
|