@pulumi/cloudflare 4.16.0-alpha.1678299547 → 4.16.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/accountMember.d.ts +1 -1
- package/argoTunnel.js +1 -1
- package/argoTunnel.js.map +1 -1
- package/deviceSettingsPolicy.d.ts +13 -0
- package/deviceSettingsPolicy.js +3 -0
- package/deviceSettingsPolicy.js.map +1 -1
- package/dlpProfile.d.ts +12 -0
- package/dlpProfile.js +5 -0
- package/dlpProfile.js.map +1 -1
- package/getRecord.d.ts +2 -2
- package/getRecord.js +2 -2
- package/getRulesets.d.ts +98 -0
- package/getRulesets.js +57 -0
- package/getRulesets.js.map +1 -0
- package/index.d.ts +9 -0
- package/index.js +15 -2
- package/index.js.map +1 -1
- package/logpushJob.d.ts +3 -3
- package/mtlsCertificate.d.ts +166 -0
- package/mtlsCertificate.js +106 -0
- package/mtlsCertificate.js.map +1 -0
- package/notificationPolicy.d.ts +3 -3
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/pagesProject.d.ts +3 -3
- package/queue.d.ts +81 -0
- package/queue.js +78 -0
- package/queue.js.map +1 -0
- package/types/input.d.ts +64 -4
- package/types/output.d.ts +287 -4
- package/workerScript.d.ts +3 -0
- package/workerScript.js +2 -0
- package/workerScript.js.map +1 -1
package/accountMember.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ export declare class AccountMember extends pulumi.CustomResource {
|
|
|
54
54
|
/**
|
|
55
55
|
* A member's status in the account. Available values: `accepted`, `pending`.
|
|
56
56
|
*/
|
|
57
|
-
readonly status: pulumi.Output<string
|
|
57
|
+
readonly status: pulumi.Output<string>;
|
|
58
58
|
/**
|
|
59
59
|
* Create a AccountMember resource with the given unique name, arguments, and options.
|
|
60
60
|
*
|
package/argoTunnel.js
CHANGED
|
@@ -83,7 +83,7 @@ class ArgoTunnel extends pulumi.CustomResource {
|
|
|
83
83
|
resourceInputs["tunnelToken"] = undefined /*out*/;
|
|
84
84
|
}
|
|
85
85
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
86
|
-
const secretOpts = { additionalSecretOutputs: ["secret"] };
|
|
86
|
+
const secretOpts = { additionalSecretOutputs: ["secret", "tunnelToken"] };
|
|
87
87
|
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
88
88
|
super(ArgoTunnel.__pulumiType, name, resourceInputs, opts);
|
|
89
89
|
}
|
package/argoTunnel.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"argoTunnel.js","sourceRoot":"","sources":["../argoTunnel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IA+BD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC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AC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACjF,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,EAAE,aAAa,CAAC,EAAE,CAAC;QAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAxFL,gCAyFC;AA3EG,gBAAgB;AACO,uBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -18,6 +18,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
18
|
* "default": false,
|
|
19
19
|
* disableAutoFallback: true,
|
|
20
20
|
* enabled: true,
|
|
21
|
+
* excludeOfficeIps: false,
|
|
21
22
|
* match: "any(identity.groups.name[*] in {\"Developers\"})",
|
|
22
23
|
* name: "Developers WARP settings policy",
|
|
23
24
|
* precedence: 10,
|
|
@@ -88,6 +89,10 @@ export declare class DeviceSettingsPolicy extends pulumi.CustomResource {
|
|
|
88
89
|
* Whether the policy is enabled (cannot be set for default policies). Defaults to `true`.
|
|
89
90
|
*/
|
|
90
91
|
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* Whether to add Microsoft IPs to split tunnel exclusions.
|
|
94
|
+
*/
|
|
95
|
+
readonly excludeOfficeIps: pulumi.Output<boolean | undefined>;
|
|
91
96
|
/**
|
|
92
97
|
* Wirefilter expression to match a device against when evaluating whether this policy should take effect for that device.
|
|
93
98
|
*/
|
|
@@ -165,6 +170,10 @@ export interface DeviceSettingsPolicyState {
|
|
|
165
170
|
* Whether the policy is enabled (cannot be set for default policies). Defaults to `true`.
|
|
166
171
|
*/
|
|
167
172
|
enabled?: pulumi.Input<boolean>;
|
|
173
|
+
/**
|
|
174
|
+
* Whether to add Microsoft IPs to split tunnel exclusions.
|
|
175
|
+
*/
|
|
176
|
+
excludeOfficeIps?: pulumi.Input<boolean>;
|
|
168
177
|
/**
|
|
169
178
|
* Wirefilter expression to match a device against when evaluating whether this policy should take effect for that device.
|
|
170
179
|
*/
|
|
@@ -234,6 +243,10 @@ export interface DeviceSettingsPolicyArgs {
|
|
|
234
243
|
* Whether the policy is enabled (cannot be set for default policies). Defaults to `true`.
|
|
235
244
|
*/
|
|
236
245
|
enabled?: pulumi.Input<boolean>;
|
|
246
|
+
/**
|
|
247
|
+
* Whether to add Microsoft IPs to split tunnel exclusions.
|
|
248
|
+
*/
|
|
249
|
+
excludeOfficeIps?: pulumi.Input<boolean>;
|
|
237
250
|
/**
|
|
238
251
|
* Wirefilter expression to match a device against when evaluating whether this policy should take effect for that device.
|
|
239
252
|
*/
|
package/deviceSettingsPolicy.js
CHANGED
|
@@ -24,6 +24,7 @@ const utilities = require("./utilities");
|
|
|
24
24
|
* "default": false,
|
|
25
25
|
* disableAutoFallback: true,
|
|
26
26
|
* enabled: true,
|
|
27
|
+
* excludeOfficeIps: false,
|
|
27
28
|
* match: "any(identity.groups.name[*] in {\"Developers\"})",
|
|
28
29
|
* name: "Developers WARP settings policy",
|
|
29
30
|
* precedence: 10,
|
|
@@ -79,6 +80,7 @@ class DeviceSettingsPolicy extends pulumi.CustomResource {
|
|
|
79
80
|
resourceInputs["default"] = state ? state.default : undefined;
|
|
80
81
|
resourceInputs["disableAutoFallback"] = state ? state.disableAutoFallback : undefined;
|
|
81
82
|
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
83
|
+
resourceInputs["excludeOfficeIps"] = state ? state.excludeOfficeIps : undefined;
|
|
82
84
|
resourceInputs["match"] = state ? state.match : undefined;
|
|
83
85
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
84
86
|
resourceInputs["precedence"] = state ? state.precedence : undefined;
|
|
@@ -104,6 +106,7 @@ class DeviceSettingsPolicy extends pulumi.CustomResource {
|
|
|
104
106
|
resourceInputs["default"] = args ? args.default : undefined;
|
|
105
107
|
resourceInputs["disableAutoFallback"] = args ? args.disableAutoFallback : undefined;
|
|
106
108
|
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
109
|
+
resourceInputs["excludeOfficeIps"] = args ? args.excludeOfficeIps : undefined;
|
|
107
110
|
resourceInputs["match"] = args ? args.match : undefined;
|
|
108
111
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
109
112
|
resourceInputs["precedence"] = args ? args.precedence : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deviceSettingsPolicy.js","sourceRoot":"","sources":["../deviceSettingsPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"deviceSettingsPolicy.js","sourceRoot":"","sources":["../deviceSettingsPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAA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CAAC,CAAC;IACzE,CAAC;;AA3JL,oDA4JC;AA9IG,gBAAgB;AACO,iCAAY,GAAG,4DAA4D,CAAC"}
|
package/dlpProfile.d.ts
CHANGED
|
@@ -32,6 +32,10 @@ export declare class DlpProfile extends pulumi.CustomResource {
|
|
|
32
32
|
* The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
33
33
|
*/
|
|
34
34
|
readonly accountId: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* Related DLP policies will trigger when the match count exceeds the number set.
|
|
37
|
+
*/
|
|
38
|
+
readonly allowedMatchCount: pulumi.Output<number>;
|
|
35
39
|
/**
|
|
36
40
|
* Brief summary of the profile and its intended use.
|
|
37
41
|
*/
|
|
@@ -65,6 +69,10 @@ export interface DlpProfileState {
|
|
|
65
69
|
* The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
66
70
|
*/
|
|
67
71
|
accountId?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Related DLP policies will trigger when the match count exceeds the number set.
|
|
74
|
+
*/
|
|
75
|
+
allowedMatchCount?: pulumi.Input<number>;
|
|
68
76
|
/**
|
|
69
77
|
* Brief summary of the profile and its intended use.
|
|
70
78
|
*/
|
|
@@ -90,6 +98,10 @@ export interface DlpProfileArgs {
|
|
|
90
98
|
* The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
91
99
|
*/
|
|
92
100
|
accountId: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Related DLP policies will trigger when the match count exceeds the number set.
|
|
103
|
+
*/
|
|
104
|
+
allowedMatchCount: pulumi.Input<number>;
|
|
93
105
|
/**
|
|
94
106
|
* Brief summary of the profile and its intended use.
|
|
95
107
|
*/
|
package/dlpProfile.js
CHANGED
|
@@ -45,6 +45,7 @@ class DlpProfile extends pulumi.CustomResource {
|
|
|
45
45
|
if (opts.id) {
|
|
46
46
|
const state = argsOrState;
|
|
47
47
|
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
48
|
+
resourceInputs["allowedMatchCount"] = state ? state.allowedMatchCount : undefined;
|
|
48
49
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
49
50
|
resourceInputs["entries"] = state ? state.entries : undefined;
|
|
50
51
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
@@ -55,6 +56,9 @@ class DlpProfile extends pulumi.CustomResource {
|
|
|
55
56
|
if ((!args || args.accountId === undefined) && !opts.urn) {
|
|
56
57
|
throw new Error("Missing required property 'accountId'");
|
|
57
58
|
}
|
|
59
|
+
if ((!args || args.allowedMatchCount === undefined) && !opts.urn) {
|
|
60
|
+
throw new Error("Missing required property 'allowedMatchCount'");
|
|
61
|
+
}
|
|
58
62
|
if ((!args || args.entries === undefined) && !opts.urn) {
|
|
59
63
|
throw new Error("Missing required property 'entries'");
|
|
60
64
|
}
|
|
@@ -65,6 +69,7 @@ class DlpProfile extends pulumi.CustomResource {
|
|
|
65
69
|
throw new Error("Missing required property 'type'");
|
|
66
70
|
}
|
|
67
71
|
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
72
|
+
resourceInputs["allowedMatchCount"] = args ? args.allowedMatchCount : undefined;
|
|
68
73
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
69
74
|
resourceInputs["entries"] = args ? args.entries : undefined;
|
|
70
75
|
resourceInputs["name"] = args ? args.name : undefined;
|
package/dlpProfile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dlpProfile.js","sourceRoot":"","sources":["../dlpProfile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;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,CAA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";
|
|
10
10
|
*
|
|
11
11
|
* const example = cloudflare.getRecord({
|
|
12
|
-
* zoneId: _var.zone_id,
|
|
13
12
|
* hostname: "example.com",
|
|
13
|
+
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
14
14
|
* });
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
@@ -95,8 +95,8 @@ export interface GetRecordResult {
|
|
|
95
95
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
96
96
|
*
|
|
97
97
|
* const example = cloudflare.getRecord({
|
|
98
|
-
* zoneId: _var.zone_id,
|
|
99
98
|
* hostname: "example.com",
|
|
99
|
+
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
100
100
|
* });
|
|
101
101
|
* ```
|
|
102
102
|
*/
|
package/getRecord.js
CHANGED
|
@@ -15,8 +15,8 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
16
16
|
*
|
|
17
17
|
* const example = cloudflare.getRecord({
|
|
18
|
-
* zoneId: _var.zone_id,
|
|
19
18
|
* hostname: "example.com",
|
|
19
|
+
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
@@ -40,8 +40,8 @@ exports.getRecord = getRecord;
|
|
|
40
40
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
41
41
|
*
|
|
42
42
|
* const example = cloudflare.getRecord({
|
|
43
|
-
* zoneId: _var.zone_id,
|
|
44
43
|
* hostname: "example.com",
|
|
44
|
+
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
45
45
|
* });
|
|
46
46
|
* ```
|
|
47
47
|
*/
|
package/getRulesets.d.ts
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Use this datasource to lookup Rulesets in an account or zone.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
12
|
+
*
|
|
13
|
+
* const example = cloudflare.getRulesets({
|
|
14
|
+
* filter: {
|
|
15
|
+
* name: ".*OWASP.*",
|
|
16
|
+
* },
|
|
17
|
+
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare function getRulesets(args?: GetRulesetsArgs, opts?: pulumi.InvokeOptions): Promise<GetRulesetsResult>;
|
|
22
|
+
/**
|
|
23
|
+
* A collection of arguments for invoking getRulesets.
|
|
24
|
+
*/
|
|
25
|
+
export interface GetRulesetsArgs {
|
|
26
|
+
/**
|
|
27
|
+
* The account identifier to target for the resource. Must provide only one of `zoneId`, `accountId`.
|
|
28
|
+
*/
|
|
29
|
+
accountId?: string;
|
|
30
|
+
filter?: inputs.GetRulesetsFilter;
|
|
31
|
+
/**
|
|
32
|
+
* Include rule data in response.
|
|
33
|
+
*/
|
|
34
|
+
includeRules?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* The zone identifier to target for the resource. Must provide only one of `zoneId`, `accountId`.
|
|
37
|
+
*/
|
|
38
|
+
zoneId?: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* A collection of values returned by getRulesets.
|
|
42
|
+
*/
|
|
43
|
+
export interface GetRulesetsResult {
|
|
44
|
+
/**
|
|
45
|
+
* The account identifier to target for the resource. Must provide only one of `zoneId`, `accountId`.
|
|
46
|
+
*/
|
|
47
|
+
readonly accountId?: string;
|
|
48
|
+
readonly filter?: outputs.GetRulesetsFilter;
|
|
49
|
+
/**
|
|
50
|
+
* The provider-assigned unique ID for this managed resource.
|
|
51
|
+
*/
|
|
52
|
+
readonly id: string;
|
|
53
|
+
/**
|
|
54
|
+
* Include rule data in response.
|
|
55
|
+
*/
|
|
56
|
+
readonly includeRules?: boolean;
|
|
57
|
+
readonly rulesets: outputs.GetRulesetsRuleset[];
|
|
58
|
+
/**
|
|
59
|
+
* The zone identifier to target for the resource. Must provide only one of `zoneId`, `accountId`.
|
|
60
|
+
*/
|
|
61
|
+
readonly zoneId?: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Use this datasource to lookup Rulesets in an account or zone.
|
|
65
|
+
*
|
|
66
|
+
* ## Example Usage
|
|
67
|
+
*
|
|
68
|
+
* ```typescript
|
|
69
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
70
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
71
|
+
*
|
|
72
|
+
* const example = cloudflare.getRulesets({
|
|
73
|
+
* filter: {
|
|
74
|
+
* name: ".*OWASP.*",
|
|
75
|
+
* },
|
|
76
|
+
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
77
|
+
* });
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
export declare function getRulesetsOutput(args?: GetRulesetsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRulesetsResult>;
|
|
81
|
+
/**
|
|
82
|
+
* A collection of arguments for invoking getRulesets.
|
|
83
|
+
*/
|
|
84
|
+
export interface GetRulesetsOutputArgs {
|
|
85
|
+
/**
|
|
86
|
+
* The account identifier to target for the resource. Must provide only one of `zoneId`, `accountId`.
|
|
87
|
+
*/
|
|
88
|
+
accountId?: pulumi.Input<string>;
|
|
89
|
+
filter?: pulumi.Input<inputs.GetRulesetsFilterArgs>;
|
|
90
|
+
/**
|
|
91
|
+
* Include rule data in response.
|
|
92
|
+
*/
|
|
93
|
+
includeRules?: pulumi.Input<boolean>;
|
|
94
|
+
/**
|
|
95
|
+
* The zone identifier to target for the resource. Must provide only one of `zoneId`, `accountId`.
|
|
96
|
+
*/
|
|
97
|
+
zoneId?: pulumi.Input<string>;
|
|
98
|
+
}
|
package/getRulesets.js
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getRulesetsOutput = exports.getRulesets = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this datasource to lookup Rulesets in an account or zone.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
16
|
+
*
|
|
17
|
+
* const example = cloudflare.getRulesets({
|
|
18
|
+
* filter: {
|
|
19
|
+
* name: ".*OWASP.*",
|
|
20
|
+
* },
|
|
21
|
+
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
function getRulesets(args, opts) {
|
|
26
|
+
args = args || {};
|
|
27
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
28
|
+
return pulumi.runtime.invoke("cloudflare:index/getRulesets:getRulesets", {
|
|
29
|
+
"accountId": args.accountId,
|
|
30
|
+
"filter": args.filter,
|
|
31
|
+
"includeRules": args.includeRules,
|
|
32
|
+
"zoneId": args.zoneId,
|
|
33
|
+
}, opts);
|
|
34
|
+
}
|
|
35
|
+
exports.getRulesets = getRulesets;
|
|
36
|
+
/**
|
|
37
|
+
* Use this datasource to lookup Rulesets in an account or zone.
|
|
38
|
+
*
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
44
|
+
*
|
|
45
|
+
* const example = cloudflare.getRulesets({
|
|
46
|
+
* filter: {
|
|
47
|
+
* name: ".*OWASP.*",
|
|
48
|
+
* },
|
|
49
|
+
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
function getRulesetsOutput(args, opts) {
|
|
54
|
+
return pulumi.output(args).apply((a) => getRulesets(a, opts));
|
|
55
|
+
}
|
|
56
|
+
exports.getRulesetsOutput = getRulesetsOutput;
|
|
57
|
+
//# sourceMappingURL=getRulesets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRulesets.js","sourceRoot":"","sources":["../getRulesets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kCAUC;AA4CD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
|
package/index.d.ts
CHANGED
|
@@ -137,6 +137,9 @@ export declare const getOriginCaRootCertificateOutput: typeof import("./getOrigi
|
|
|
137
137
|
export { GetRecordArgs, GetRecordResult, GetRecordOutputArgs } from "./getRecord";
|
|
138
138
|
export declare const getRecord: typeof import("./getRecord").getRecord;
|
|
139
139
|
export declare const getRecordOutput: typeof import("./getRecord").getRecordOutput;
|
|
140
|
+
export { GetRulesetsArgs, GetRulesetsResult, GetRulesetsOutputArgs } from "./getRulesets";
|
|
141
|
+
export declare const getRulesets: typeof import("./getRulesets").getRulesets;
|
|
142
|
+
export declare const getRulesetsOutput: typeof import("./getRulesets").getRulesetsOutput;
|
|
140
143
|
export { GetWafGroupsArgs, GetWafGroupsResult, GetWafGroupsOutputArgs } from "./getWafGroups";
|
|
141
144
|
export declare const getWafGroups: typeof import("./getWafGroups").getWafGroups;
|
|
142
145
|
export declare const getWafGroupsOutput: typeof import("./getWafGroups").getWafGroupsOutput;
|
|
@@ -194,6 +197,9 @@ export declare const MagicFirewallRuleset: typeof import("./magicFirewallRuleset
|
|
|
194
197
|
export { ManagedHeadersArgs, ManagedHeadersState } from "./managedHeaders";
|
|
195
198
|
export type ManagedHeaders = import("./managedHeaders").ManagedHeaders;
|
|
196
199
|
export declare const ManagedHeaders: typeof import("./managedHeaders").ManagedHeaders;
|
|
200
|
+
export { MtlsCertificateArgs, MtlsCertificateState } from "./mtlsCertificate";
|
|
201
|
+
export type MtlsCertificate = import("./mtlsCertificate").MtlsCertificate;
|
|
202
|
+
export declare const MtlsCertificate: typeof import("./mtlsCertificate").MtlsCertificate;
|
|
197
203
|
export { NotificationPolicyArgs, NotificationPolicyState } from "./notificationPolicy";
|
|
198
204
|
export type NotificationPolicy = import("./notificationPolicy").NotificationPolicy;
|
|
199
205
|
export declare const NotificationPolicy: typeof import("./notificationPolicy").NotificationPolicy;
|
|
@@ -215,6 +221,9 @@ export declare const PagesProject: typeof import("./pagesProject").PagesProject;
|
|
|
215
221
|
export { ProviderArgs } from "./provider";
|
|
216
222
|
export type Provider = import("./provider").Provider;
|
|
217
223
|
export declare const Provider: typeof import("./provider").Provider;
|
|
224
|
+
export { QueueArgs, QueueState } from "./queue";
|
|
225
|
+
export type Queue = import("./queue").Queue;
|
|
226
|
+
export declare const Queue: typeof import("./queue").Queue;
|
|
218
227
|
export { RateLimitArgs, RateLimitState } from "./rateLimit";
|
|
219
228
|
export type RateLimit = import("./rateLimit").RateLimit;
|
|
220
229
|
export declare const RateLimit: typeof import("./rateLimit").RateLimit;
|
package/index.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.getLoadBalancerPoolsOutput = exports.getLoadBalancerPools = exports.getIpRanges = exports.getDevicesOutput = exports.getDevices = exports.getApiTokenPermissionGroups = exports.getAccountsOutput = exports.getAccounts = exports.getAccountRolesOutput = exports.getAccountRoles = exports.getAccessIdentityProviderOutput = exports.getAccessIdentityProvider = exports.FirewallRule = exports.Filter = exports.FallbackDomain = exports.EmailRoutingSettings = exports.EmailRoutingRule = exports.EmailRoutingCatchAll = exports.EmailRoutingAddress = exports.DlpProfile = exports.DeviceSettingsPolicy = exports.DevicePostureRule = exports.DevicePostureIntegration = exports.DevicePolicyCertificates = exports.DeviceManagedNetworks = exports.CustomSsl = exports.CustomPages = exports.CustomHostnameFallbackOrigin = exports.CustomHostname = exports.CertificatePack = exports.ByoIpPrefix = exports.AuthenticatedOriginPullsCertificate = exports.AuthenticatedOriginPulls = exports.ArgoTunnel = exports.Argo = exports.ApiToken = exports.ApiShield = exports.AccountMember = exports.Account = exports.AccessServiceToken = exports.AccessRule = exports.AccessPolicy = exports.AccessOrganization = exports.AccessMutualTlsCertificate = exports.AccessKeysConfiguration = exports.AccessIdentityProvider = exports.AccessGroup = exports.AccessCaCertificate = exports.AccessBookmark = exports.AccessApplication = void 0;
|
|
6
|
-
exports.
|
|
7
|
-
exports.types = exports.config = exports.ZoneSettingsOverride = exports.ZoneLockdown = exports.ZoneDnssec = exports.ZoneCacheVariants = exports.Zone = exports.WorkersKvNamespace = exports.WorkersKv = exports.WorkerScript = exports.WorkerRoute = exports.WorkerCronTrigger = exports.Web3Hostname = exports.WaitingRoomRules = exports.WaitingRoomEvent = exports.WaitingRoom = exports.WafRule = exports.WafPackage = exports.WafOverride = exports.WafGroup = exports.UserAgentBlockingRule = exports.UrlNormalizationSettings = exports.TunnelVirtualNetwork = exports.TunnelRoute = void 0;
|
|
6
|
+
exports.TeamsProxyEndpoint = exports.TeamsLocation = exports.TeamsList = exports.TeamsAccount = exports.StaticRoute = exports.SplitTunnel = exports.SpectrumApplication = exports.Ruleset = exports.Record = exports.RateLimit = exports.Queue = exports.Provider = exports.PagesProject = exports.PagesDomain = exports.PageRule = exports.OriginCaCertificate = exports.NotificationPolicyWebhooks = exports.NotificationPolicy = exports.MtlsCertificate = exports.ManagedHeaders = exports.MagicFirewallRuleset = exports.LogpushOwnershipChallenge = exports.LogpushJob = exports.LogpullRetention = exports.LoadBalancerPool = exports.LoadBalancerMonitor = exports.LoadBalancer = exports.List = exports.IpsecTunnel = exports.IpList = exports.Healthcheck = exports.GreTunnel = exports.getZonesOutput = exports.getZones = exports.getZoneDnssecOutput = exports.getZoneDnssec = exports.getZoneOutput = exports.getZone = exports.getWafRulesOutput = exports.getWafRules = exports.getWafPackagesOutput = exports.getWafPackages = exports.getWafGroupsOutput = exports.getWafGroups = exports.getRulesetsOutput = exports.getRulesets = exports.getRecordOutput = exports.getRecord = exports.getOriginCaRootCertificateOutput = exports.getOriginCaRootCertificate = void 0;
|
|
7
|
+
exports.types = exports.config = exports.ZoneSettingsOverride = exports.ZoneLockdown = exports.ZoneDnssec = exports.ZoneCacheVariants = exports.Zone = exports.WorkersKvNamespace = exports.WorkersKv = exports.WorkerScript = exports.WorkerRoute = exports.WorkerCronTrigger = exports.Web3Hostname = exports.WaitingRoomRules = exports.WaitingRoomEvent = exports.WaitingRoom = exports.WafRule = exports.WafPackage = exports.WafOverride = exports.WafGroup = exports.UserAgentBlockingRule = exports.UrlNormalizationSettings = exports.TunnelVirtualNetwork = exports.TunnelRoute = exports.TunnelConfig = exports.TotalTls = exports.TieredCache = exports.TeamsRule = void 0;
|
|
8
8
|
const pulumi = require("@pulumi/pulumi");
|
|
9
9
|
const utilities = require("./utilities");
|
|
10
10
|
exports.AccessApplication = null;
|
|
@@ -108,6 +108,9 @@ utilities.lazyLoad(exports, ["getOriginCaRootCertificate", "getOriginCaRootCerti
|
|
|
108
108
|
exports.getRecord = null;
|
|
109
109
|
exports.getRecordOutput = null;
|
|
110
110
|
utilities.lazyLoad(exports, ["getRecord", "getRecordOutput"], () => require("./getRecord"));
|
|
111
|
+
exports.getRulesets = null;
|
|
112
|
+
exports.getRulesetsOutput = null;
|
|
113
|
+
utilities.lazyLoad(exports, ["getRulesets", "getRulesetsOutput"], () => require("./getRulesets"));
|
|
111
114
|
exports.getWafGroups = null;
|
|
112
115
|
exports.getWafGroupsOutput = null;
|
|
113
116
|
utilities.lazyLoad(exports, ["getWafGroups", "getWafGroupsOutput"], () => require("./getWafGroups"));
|
|
@@ -152,6 +155,8 @@ exports.MagicFirewallRuleset = null;
|
|
|
152
155
|
utilities.lazyLoad(exports, ["MagicFirewallRuleset"], () => require("./magicFirewallRuleset"));
|
|
153
156
|
exports.ManagedHeaders = null;
|
|
154
157
|
utilities.lazyLoad(exports, ["ManagedHeaders"], () => require("./managedHeaders"));
|
|
158
|
+
exports.MtlsCertificate = null;
|
|
159
|
+
utilities.lazyLoad(exports, ["MtlsCertificate"], () => require("./mtlsCertificate"));
|
|
155
160
|
exports.NotificationPolicy = null;
|
|
156
161
|
utilities.lazyLoad(exports, ["NotificationPolicy"], () => require("./notificationPolicy"));
|
|
157
162
|
exports.NotificationPolicyWebhooks = null;
|
|
@@ -166,6 +171,8 @@ exports.PagesProject = null;
|
|
|
166
171
|
utilities.lazyLoad(exports, ["PagesProject"], () => require("./pagesProject"));
|
|
167
172
|
exports.Provider = null;
|
|
168
173
|
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
174
|
+
exports.Queue = null;
|
|
175
|
+
utilities.lazyLoad(exports, ["Queue"], () => require("./queue"));
|
|
169
176
|
exports.RateLimit = null;
|
|
170
177
|
utilities.lazyLoad(exports, ["RateLimit"], () => require("./rateLimit"));
|
|
171
178
|
exports.Record = null;
|
|
@@ -349,6 +356,8 @@ const _module = {
|
|
|
349
356
|
return new exports.MagicFirewallRuleset(name, undefined, { urn });
|
|
350
357
|
case "cloudflare:index/managedHeaders:ManagedHeaders":
|
|
351
358
|
return new exports.ManagedHeaders(name, undefined, { urn });
|
|
359
|
+
case "cloudflare:index/mtlsCertificate:MtlsCertificate":
|
|
360
|
+
return new exports.MtlsCertificate(name, undefined, { urn });
|
|
352
361
|
case "cloudflare:index/notificationPolicy:NotificationPolicy":
|
|
353
362
|
return new exports.NotificationPolicy(name, undefined, { urn });
|
|
354
363
|
case "cloudflare:index/notificationPolicyWebhooks:NotificationPolicyWebhooks":
|
|
@@ -361,6 +370,8 @@ const _module = {
|
|
|
361
370
|
return new exports.PagesDomain(name, undefined, { urn });
|
|
362
371
|
case "cloudflare:index/pagesProject:PagesProject":
|
|
363
372
|
return new exports.PagesProject(name, undefined, { urn });
|
|
373
|
+
case "cloudflare:index/queue:Queue":
|
|
374
|
+
return new exports.Queue(name, undefined, { urn });
|
|
364
375
|
case "cloudflare:index/rateLimit:RateLimit":
|
|
365
376
|
return new exports.RateLimit(name, undefined, { urn });
|
|
366
377
|
case "cloudflare:index/record:Record":
|
|
@@ -489,12 +500,14 @@ pulumi.runtime.registerResourceModule("cloudflare", "index/logpushJob", _module)
|
|
|
489
500
|
pulumi.runtime.registerResourceModule("cloudflare", "index/logpushOwnershipChallenge", _module);
|
|
490
501
|
pulumi.runtime.registerResourceModule("cloudflare", "index/magicFirewallRuleset", _module);
|
|
491
502
|
pulumi.runtime.registerResourceModule("cloudflare", "index/managedHeaders", _module);
|
|
503
|
+
pulumi.runtime.registerResourceModule("cloudflare", "index/mtlsCertificate", _module);
|
|
492
504
|
pulumi.runtime.registerResourceModule("cloudflare", "index/notificationPolicy", _module);
|
|
493
505
|
pulumi.runtime.registerResourceModule("cloudflare", "index/notificationPolicyWebhooks", _module);
|
|
494
506
|
pulumi.runtime.registerResourceModule("cloudflare", "index/originCaCertificate", _module);
|
|
495
507
|
pulumi.runtime.registerResourceModule("cloudflare", "index/pageRule", _module);
|
|
496
508
|
pulumi.runtime.registerResourceModule("cloudflare", "index/pagesDomain", _module);
|
|
497
509
|
pulumi.runtime.registerResourceModule("cloudflare", "index/pagesProject", _module);
|
|
510
|
+
pulumi.runtime.registerResourceModule("cloudflare", "index/queue", _module);
|
|
498
511
|
pulumi.runtime.registerResourceModule("cloudflare", "index/rateLimit", _module);
|
|
499
512
|
pulumi.runtime.registerResourceModule("cloudflare", "index/record", _module);
|
|
500
513
|
pulumi.runtime.registerResourceModule("cloudflare", "index/ruleset", _module);
|