@pulumi/cloudflare 4.13.0 → 4.14.0-alpha.1671230688
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/accessGroup.d.ts +3 -3
- package/accessIdentityProvider.d.ts +6 -6
- package/accessRule.d.ts +9 -9
- package/accessServiceToken.d.ts +4 -4
- package/account.d.ts +3 -3
- package/apiShield.d.ts +3 -3
- package/byoIpPrefix.d.ts +3 -3
- package/certificatePack.d.ts +24 -24
- package/customHostname.d.ts +6 -6
- package/deviceSettingsPolicy.d.ts +265 -0
- package/deviceSettingsPolicy.js +122 -0
- package/deviceSettingsPolicy.js.map +1 -0
- package/dlpProfile.d.ts +9 -9
- package/emailRoutingAddress.d.ts +6 -6
- package/emailRoutingSettings.d.ts +6 -6
- package/fallbackDomain.d.ts +18 -12
- package/fallbackDomain.js +8 -3
- package/fallbackDomain.js.map +1 -1
- package/filter.d.ts +3 -3
- package/firewallRule.d.ts +3 -3
- package/getAccessIdentityProvider.d.ts +24 -0
- package/getAccessIdentityProvider.js +25 -1
- package/getAccessIdentityProvider.js.map +1 -1
- package/getAccountRoles.d.ts +3 -0
- package/getAccountRoles.js +4 -1
- package/getAccountRoles.js.map +1 -1
- package/getAccounts.d.ts +14 -0
- package/getAccounts.js +15 -1
- package/getAccounts.js.map +1 -1
- package/getApiTokenPermissionGroups.d.ts +27 -5
- package/getApiTokenPermissionGroups.js +6 -3
- package/getApiTokenPermissionGroups.js.map +1 -1
- package/getDevices.d.ts +14 -0
- package/getDevices.js +15 -1
- package/getDevices.js.map +1 -1
- package/getLoadBalancerPools.d.ts +94 -0
- package/getLoadBalancerPools.js +55 -0
- package/getLoadBalancerPools.js.map +1 -0
- package/getOriginCaRootCertificate.d.ts +14 -0
- package/getOriginCaRootCertificate.js +15 -1
- package/getOriginCaRootCertificate.js.map +1 -1
- package/getRecord.d.ts +15 -0
- package/getRecord.js +16 -1
- package/getRecord.js.map +1 -1
- package/getWafGroups.d.ts +20 -0
- package/getWafGroups.js +21 -1
- package/getWafGroups.js.map +1 -1
- package/getWafPackages.d.ts +22 -0
- package/getWafPackages.js +23 -1
- package/getWafPackages.js.map +1 -1
- package/getWafRules.d.ts +23 -0
- package/getWafRules.js +24 -1
- package/getWafRules.js.map +1 -1
- package/getZone.d.ts +40 -0
- package/getZone.js +41 -1
- package/getZone.js.map +1 -1
- package/getZoneDnssec.d.ts +14 -0
- package/getZoneDnssec.js +15 -1
- package/getZoneDnssec.js.map +1 -1
- package/getZones.d.ts +59 -0
- package/getZones.js +60 -1
- package/getZones.js.map +1 -1
- package/healthcheck.d.ts +3 -3
- package/index.d.ts +12 -0
- package/index.js +21 -3
- package/index.js.map +1 -1
- package/ipsecTunnel.d.ts +3 -3
- package/list.d.ts +3 -3
- package/loadBalancer.d.ts +3 -3
- package/logpushJob.d.ts +3 -3
- package/originCaCertificate.d.ts +29 -18
- package/originCaCertificate.js +5 -4
- package/originCaCertificate.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/pagesDomain.d.ts +11 -9
- package/pagesDomain.js +2 -0
- package/pagesDomain.js.map +1 -1
- package/pagesProject.d.ts +6 -0
- package/pagesProject.js +6 -0
- package/pagesProject.js.map +1 -1
- package/ruleset.d.ts +14 -4
- package/ruleset.js +11 -1
- package/ruleset.js.map +1 -1
- package/splitTunnel.d.ts +23 -37
- package/splitTunnel.js +4 -28
- package/splitTunnel.js.map +1 -1
- package/totalTls.d.ts +3 -3
- package/tunnelConfig.d.ts +136 -0
- package/tunnelConfig.js +124 -0
- package/tunnelConfig.js.map +1 -0
- package/tunnelRoute.d.ts +7 -9
- package/tunnelRoute.js +1 -3
- package/tunnelRoute.js.map +1 -1
- package/tunnelVirtualNetwork.d.ts +3 -3
- package/types/input.d.ts +224 -10
- package/types/output.d.ts +143 -10
- package/urlNormalizationSettings.d.ts +88 -0
- package/urlNormalizationSettings.js +78 -0
- package/urlNormalizationSettings.js.map +1 -0
- package/userAgentBlockingRule.d.ts +3 -3
- package/waitingRoom.d.ts +6 -6
- package/waitingRoomEvent.d.ts +15 -15
- package/waitingRoomRules.d.ts +6 -6
- package/workerScript.d.ts +10 -3
- package/workerScript.js +6 -0
- package/workerScript.js.map +1 -1
- package/workersKv.d.ts +32 -14
- package/workersKv.js +13 -5
- package/workersKv.js.map +1 -1
- package/workersKvNamespace.d.ts +15 -10
- package/workersKvNamespace.js +11 -7
- package/workersKvNamespace.js.map +1 -1
- package/zone.d.ts +3 -3
package/pagesDomain.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Provides a resource for managing Cloudflare Pages domains.
|
|
4
4
|
*
|
|
5
|
+
* > A DNS record for the domain is not automatically created. You need to create a `cloudflare.Record` resource for the domain you want to use.
|
|
6
|
+
*
|
|
5
7
|
* ## Example Usage
|
|
6
8
|
*
|
|
7
9
|
* ```typescript
|
|
@@ -38,15 +40,15 @@ export declare class PagesDomain extends pulumi.CustomResource {
|
|
|
38
40
|
*/
|
|
39
41
|
static isInstance(obj: any): obj is PagesDomain;
|
|
40
42
|
/**
|
|
41
|
-
* The account identifier to target for the resource.
|
|
43
|
+
* The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
42
44
|
*/
|
|
43
45
|
readonly accountId: pulumi.Output<string>;
|
|
44
46
|
/**
|
|
45
|
-
* Custom domain.
|
|
47
|
+
* Custom domain. **Modifying this attribute will force creation of a new resource.**
|
|
46
48
|
*/
|
|
47
49
|
readonly domain: pulumi.Output<string>;
|
|
48
50
|
/**
|
|
49
|
-
* Name of the Pages Project.
|
|
51
|
+
* Name of the Pages Project. **Modifying this attribute will force creation of a new resource.**
|
|
50
52
|
*/
|
|
51
53
|
readonly projectName: pulumi.Output<string>;
|
|
52
54
|
/**
|
|
@@ -67,15 +69,15 @@ export declare class PagesDomain extends pulumi.CustomResource {
|
|
|
67
69
|
*/
|
|
68
70
|
export interface PagesDomainState {
|
|
69
71
|
/**
|
|
70
|
-
* The account identifier to target for the resource.
|
|
72
|
+
* The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
71
73
|
*/
|
|
72
74
|
accountId?: pulumi.Input<string>;
|
|
73
75
|
/**
|
|
74
|
-
* Custom domain.
|
|
76
|
+
* Custom domain. **Modifying this attribute will force creation of a new resource.**
|
|
75
77
|
*/
|
|
76
78
|
domain?: pulumi.Input<string>;
|
|
77
79
|
/**
|
|
78
|
-
* Name of the Pages Project.
|
|
80
|
+
* Name of the Pages Project. **Modifying this attribute will force creation of a new resource.**
|
|
79
81
|
*/
|
|
80
82
|
projectName?: pulumi.Input<string>;
|
|
81
83
|
/**
|
|
@@ -88,15 +90,15 @@ export interface PagesDomainState {
|
|
|
88
90
|
*/
|
|
89
91
|
export interface PagesDomainArgs {
|
|
90
92
|
/**
|
|
91
|
-
* The account identifier to target for the resource.
|
|
93
|
+
* The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
92
94
|
*/
|
|
93
95
|
accountId: pulumi.Input<string>;
|
|
94
96
|
/**
|
|
95
|
-
* Custom domain.
|
|
97
|
+
* Custom domain. **Modifying this attribute will force creation of a new resource.**
|
|
96
98
|
*/
|
|
97
99
|
domain: pulumi.Input<string>;
|
|
98
100
|
/**
|
|
99
|
-
* Name of the Pages Project.
|
|
101
|
+
* Name of the Pages Project. **Modifying this attribute will force creation of a new resource.**
|
|
100
102
|
*/
|
|
101
103
|
projectName: pulumi.Input<string>;
|
|
102
104
|
}
|
package/pagesDomain.js
CHANGED
|
@@ -8,6 +8,8 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides a resource for managing Cloudflare Pages domains.
|
|
10
10
|
*
|
|
11
|
+
* > A DNS record for the domain is not automatically created. You need to create a `cloudflare.Record` resource for the domain you want to use.
|
|
12
|
+
*
|
|
11
13
|
* ## Example Usage
|
|
12
14
|
*
|
|
13
15
|
* ```typescript
|
package/pagesDomain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagesDomain.js","sourceRoot":"","sources":["../pagesDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"pagesDomain.js","sourceRoot":"","sources":["../pagesDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,C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EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAhFL,kCAiFC;AAnEG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
package/pagesProject.d.ts
CHANGED
|
@@ -4,6 +4,10 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Provides a resource which manages Cloudflare Pages projects.
|
|
6
6
|
*
|
|
7
|
+
* > If you are using a `source` block configuration, you must first have a
|
|
8
|
+
* connected GitHub or GitLab account connected to Cloudflare. See the
|
|
9
|
+
* [Getting Started with Pages] documentation on how to link your accounts.
|
|
10
|
+
*
|
|
7
11
|
* ## Example Usage
|
|
8
12
|
*
|
|
9
13
|
* ```typescript
|
|
@@ -116,6 +120,8 @@ import * as outputs from "./types/output";
|
|
|
116
120
|
* ```sh
|
|
117
121
|
* $ pulumi import cloudflare:index/pagesProject:PagesProject example <account_id>/<project_name>
|
|
118
122
|
* ```
|
|
123
|
+
*
|
|
124
|
+
* [Getting Started with Pages]https://developers.cloudflare.com/pages/get-started/#connect-your-git-provider-to-pages
|
|
119
125
|
*/
|
|
120
126
|
export declare class PagesProject extends pulumi.CustomResource {
|
|
121
127
|
/**
|
package/pagesProject.js
CHANGED
|
@@ -8,6 +8,10 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides a resource which manages Cloudflare Pages projects.
|
|
10
10
|
*
|
|
11
|
+
* > If you are using a `source` block configuration, you must first have a
|
|
12
|
+
* connected GitHub or GitLab account connected to Cloudflare. See the
|
|
13
|
+
* [Getting Started with Pages] documentation on how to link your accounts.
|
|
14
|
+
*
|
|
11
15
|
* ## Example Usage
|
|
12
16
|
*
|
|
13
17
|
* ```typescript
|
|
@@ -120,6 +124,8 @@ const utilities = require("./utilities");
|
|
|
120
124
|
* ```sh
|
|
121
125
|
* $ pulumi import cloudflare:index/pagesProject:PagesProject example <account_id>/<project_name>
|
|
122
126
|
* ```
|
|
127
|
+
*
|
|
128
|
+
* [Getting Started with Pages]https://developers.cloudflare.com/pages/get-started/#connect-your-git-provider-to-pages
|
|
123
129
|
*/
|
|
124
130
|
class PagesProject extends pulumi.CustomResource {
|
|
125
131
|
/**
|
package/pagesProject.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagesProject.js","sourceRoot":"","sources":["../pagesProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"pagesProject.js","sourceRoot":"","sources":["../pagesProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyHG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA+CD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAA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AC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA9GL,oCA+GC;AAjGG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
|
package/ruleset.d.ts
CHANGED
|
@@ -4,7 +4,17 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* ## Import
|
|
6
6
|
*
|
|
7
|
-
* Import
|
|
7
|
+
* Import an account scoped Ruleset configuration.
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import cloudflare:index/ruleset:Ruleset example account/<account_id>/<ruleset_id>
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* Import a zone scoped Ruleset configuration.
|
|
14
|
+
*
|
|
15
|
+
* ```sh
|
|
16
|
+
* $ pulumi import cloudflare:index/ruleset:Ruleset example zone/<zone_id>/<ruleset_id>
|
|
17
|
+
* ```
|
|
8
18
|
*/
|
|
9
19
|
export declare class Ruleset extends pulumi.CustomResource {
|
|
10
20
|
/**
|
|
@@ -35,7 +45,7 @@ export declare class Ruleset extends pulumi.CustomResource {
|
|
|
35
45
|
*/
|
|
36
46
|
readonly kind: pulumi.Output<string>;
|
|
37
47
|
/**
|
|
38
|
-
* Name of the ruleset.
|
|
48
|
+
* Name of the ruleset. **Modifying this attribute will force creation of a new resource.**
|
|
39
49
|
*/
|
|
40
50
|
readonly name: pulumi.Output<string>;
|
|
41
51
|
/**
|
|
@@ -80,7 +90,7 @@ export interface RulesetState {
|
|
|
80
90
|
*/
|
|
81
91
|
kind?: pulumi.Input<string>;
|
|
82
92
|
/**
|
|
83
|
-
* Name of the ruleset.
|
|
93
|
+
* Name of the ruleset. **Modifying this attribute will force creation of a new resource.**
|
|
84
94
|
*/
|
|
85
95
|
name?: pulumi.Input<string>;
|
|
86
96
|
/**
|
|
@@ -117,7 +127,7 @@ export interface RulesetArgs {
|
|
|
117
127
|
*/
|
|
118
128
|
kind: pulumi.Input<string>;
|
|
119
129
|
/**
|
|
120
|
-
* Name of the ruleset.
|
|
130
|
+
* Name of the ruleset. **Modifying this attribute will force creation of a new resource.**
|
|
121
131
|
*/
|
|
122
132
|
name: pulumi.Input<string>;
|
|
123
133
|
/**
|
package/ruleset.js
CHANGED
|
@@ -8,7 +8,17 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
|
-
* Import
|
|
11
|
+
* Import an account scoped Ruleset configuration.
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import cloudflare:index/ruleset:Ruleset example account/<account_id>/<ruleset_id>
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* Import a zone scoped Ruleset configuration.
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import cloudflare:index/ruleset:Ruleset example zone/<zone_id>/<ruleset_id>
|
|
21
|
+
* ```
|
|
12
22
|
*/
|
|
13
23
|
class Ruleset extends pulumi.CustomResource {
|
|
14
24
|
/**
|
package/ruleset.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ruleset.js","sourceRoot":"","sources":["../ruleset.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"ruleset.js","sourceRoot":"","sources":["../ruleset.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;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,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAxGL,0BAyGC;AA3FG,gBAAgB;AACO,oBAAY,GAAG,kCAAkC,CAAC"}
|
package/splitTunnel.d.ts
CHANGED
|
@@ -5,38 +5,12 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* Provides a Cloudflare Split Tunnel resource. Split tunnels are used to either
|
|
6
6
|
* include or exclude lists of routes from the WARP client's tunnel.
|
|
7
7
|
*
|
|
8
|
-
* ## Example Usage
|
|
9
|
-
*
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as cloudflare from "@pulumi/cloudflare";
|
|
13
|
-
*
|
|
14
|
-
* // Excluding *.example.com from WARP routes
|
|
15
|
-
* const exampleSplitTunnelExclude = new cloudflare.SplitTunnel("exampleSplitTunnelExclude", {
|
|
16
|
-
* accountId: "1d5fdc9e88c8a8c4518b068cd94331fe",
|
|
17
|
-
* mode: "exclude",
|
|
18
|
-
* tunnels: [{
|
|
19
|
-
* description: "example domain",
|
|
20
|
-
* host: "*.example.com",
|
|
21
|
-
* }],
|
|
22
|
-
* });
|
|
23
|
-
* // Including *.example.com in WARP routes
|
|
24
|
-
* const exampleSplitTunnelInclude = new cloudflare.SplitTunnel("exampleSplitTunnelInclude", {
|
|
25
|
-
* accountId: "1d5fdc9e88c8a8c4518b068cd94331fe",
|
|
26
|
-
* mode: "include",
|
|
27
|
-
* tunnels: [{
|
|
28
|
-
* description: "example domain",
|
|
29
|
-
* host: "*.example.com",
|
|
30
|
-
* }],
|
|
31
|
-
* });
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
8
|
* ## Import
|
|
35
9
|
*
|
|
36
|
-
* Split Tunnels
|
|
10
|
+
* Split Tunnels for default device policies must use "default" as the policy ID.
|
|
37
11
|
*
|
|
38
12
|
* ```sh
|
|
39
|
-
* $ pulumi import cloudflare:index/splitTunnel:SplitTunnel example
|
|
13
|
+
* $ pulumi import cloudflare:index/splitTunnel:SplitTunnel example <account_id>/<policy_id>/<mode>
|
|
40
14
|
* ```
|
|
41
15
|
*/
|
|
42
16
|
export declare class SplitTunnel extends pulumi.CustomResource {
|
|
@@ -56,15 +30,19 @@ export declare class SplitTunnel extends pulumi.CustomResource {
|
|
|
56
30
|
*/
|
|
57
31
|
static isInstance(obj: any): obj is SplitTunnel;
|
|
58
32
|
/**
|
|
59
|
-
* The account to
|
|
33
|
+
* The account identifier to target for the resource.
|
|
60
34
|
*/
|
|
61
35
|
readonly accountId: pulumi.Output<string>;
|
|
62
36
|
/**
|
|
63
|
-
* The split tunnel
|
|
37
|
+
* The mode of the split tunnel policy. Available values: `include`, `exclude`.
|
|
64
38
|
*/
|
|
65
39
|
readonly mode: pulumi.Output<string>;
|
|
66
40
|
/**
|
|
67
|
-
* The
|
|
41
|
+
* The settings policy for which to configure this split tunnel policy.
|
|
42
|
+
*/
|
|
43
|
+
readonly policyId: pulumi.Output<string | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* The value of the tunnel attributes.
|
|
68
46
|
*/
|
|
69
47
|
readonly tunnels: pulumi.Output<outputs.SplitTunnelTunnel[]>;
|
|
70
48
|
/**
|
|
@@ -81,15 +59,19 @@ export declare class SplitTunnel extends pulumi.CustomResource {
|
|
|
81
59
|
*/
|
|
82
60
|
export interface SplitTunnelState {
|
|
83
61
|
/**
|
|
84
|
-
* The account to
|
|
62
|
+
* The account identifier to target for the resource.
|
|
85
63
|
*/
|
|
86
64
|
accountId?: pulumi.Input<string>;
|
|
87
65
|
/**
|
|
88
|
-
* The split tunnel
|
|
66
|
+
* The mode of the split tunnel policy. Available values: `include`, `exclude`.
|
|
89
67
|
*/
|
|
90
68
|
mode?: pulumi.Input<string>;
|
|
91
69
|
/**
|
|
92
|
-
* The
|
|
70
|
+
* The settings policy for which to configure this split tunnel policy.
|
|
71
|
+
*/
|
|
72
|
+
policyId?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The value of the tunnel attributes.
|
|
93
75
|
*/
|
|
94
76
|
tunnels?: pulumi.Input<pulumi.Input<inputs.SplitTunnelTunnel>[]>;
|
|
95
77
|
}
|
|
@@ -98,15 +80,19 @@ export interface SplitTunnelState {
|
|
|
98
80
|
*/
|
|
99
81
|
export interface SplitTunnelArgs {
|
|
100
82
|
/**
|
|
101
|
-
* The account to
|
|
83
|
+
* The account identifier to target for the resource.
|
|
102
84
|
*/
|
|
103
85
|
accountId: pulumi.Input<string>;
|
|
104
86
|
/**
|
|
105
|
-
* The split tunnel
|
|
87
|
+
* The mode of the split tunnel policy. Available values: `include`, `exclude`.
|
|
106
88
|
*/
|
|
107
89
|
mode: pulumi.Input<string>;
|
|
108
90
|
/**
|
|
109
|
-
* The
|
|
91
|
+
* The settings policy for which to configure this split tunnel policy.
|
|
92
|
+
*/
|
|
93
|
+
policyId?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The value of the tunnel attributes.
|
|
110
96
|
*/
|
|
111
97
|
tunnels: pulumi.Input<pulumi.Input<inputs.SplitTunnelTunnel>[]>;
|
|
112
98
|
}
|
package/splitTunnel.js
CHANGED
|
@@ -9,38 +9,12 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* Provides a Cloudflare Split Tunnel resource. Split tunnels are used to either
|
|
10
10
|
* include or exclude lists of routes from the WARP client's tunnel.
|
|
11
11
|
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as cloudflare from "@pulumi/cloudflare";
|
|
17
|
-
*
|
|
18
|
-
* // Excluding *.example.com from WARP routes
|
|
19
|
-
* const exampleSplitTunnelExclude = new cloudflare.SplitTunnel("exampleSplitTunnelExclude", {
|
|
20
|
-
* accountId: "1d5fdc9e88c8a8c4518b068cd94331fe",
|
|
21
|
-
* mode: "exclude",
|
|
22
|
-
* tunnels: [{
|
|
23
|
-
* description: "example domain",
|
|
24
|
-
* host: "*.example.com",
|
|
25
|
-
* }],
|
|
26
|
-
* });
|
|
27
|
-
* // Including *.example.com in WARP routes
|
|
28
|
-
* const exampleSplitTunnelInclude = new cloudflare.SplitTunnel("exampleSplitTunnelInclude", {
|
|
29
|
-
* accountId: "1d5fdc9e88c8a8c4518b068cd94331fe",
|
|
30
|
-
* mode: "include",
|
|
31
|
-
* tunnels: [{
|
|
32
|
-
* description: "example domain",
|
|
33
|
-
* host: "*.example.com",
|
|
34
|
-
* }],
|
|
35
|
-
* });
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
12
|
* ## Import
|
|
39
13
|
*
|
|
40
|
-
* Split Tunnels
|
|
14
|
+
* Split Tunnels for default device policies must use "default" as the policy ID.
|
|
41
15
|
*
|
|
42
16
|
* ```sh
|
|
43
|
-
* $ pulumi import cloudflare:index/splitTunnel:SplitTunnel example
|
|
17
|
+
* $ pulumi import cloudflare:index/splitTunnel:SplitTunnel example <account_id>/<policy_id>/<mode>
|
|
44
18
|
* ```
|
|
45
19
|
*/
|
|
46
20
|
class SplitTunnel extends pulumi.CustomResource {
|
|
@@ -73,6 +47,7 @@ class SplitTunnel extends pulumi.CustomResource {
|
|
|
73
47
|
const state = argsOrState;
|
|
74
48
|
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
75
49
|
resourceInputs["mode"] = state ? state.mode : undefined;
|
|
50
|
+
resourceInputs["policyId"] = state ? state.policyId : undefined;
|
|
76
51
|
resourceInputs["tunnels"] = state ? state.tunnels : undefined;
|
|
77
52
|
}
|
|
78
53
|
else {
|
|
@@ -88,6 +63,7 @@ class SplitTunnel extends pulumi.CustomResource {
|
|
|
88
63
|
}
|
|
89
64
|
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
90
65
|
resourceInputs["mode"] = args ? args.mode : undefined;
|
|
66
|
+
resourceInputs["policyId"] = args ? args.policyId : undefined;
|
|
91
67
|
resourceInputs["tunnels"] = args ? args.tunnels : undefined;
|
|
92
68
|
}
|
|
93
69
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/splitTunnel.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitTunnel.js","sourceRoot":"","sources":["../splitTunnel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"splitTunnel.js","sourceRoot":"","sources":["../splitTunnel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IA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CAAC;aACvD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,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,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAhFL,kCAiFC;AAnEG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
package/totalTls.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare class TotalTls extends pulumi.CustomResource {
|
|
|
40
40
|
*/
|
|
41
41
|
readonly enabled: pulumi.Output<boolean>;
|
|
42
42
|
/**
|
|
43
|
-
* The zone identifier to target for the resource.
|
|
43
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
44
44
|
*/
|
|
45
45
|
readonly zoneId: pulumi.Output<string>;
|
|
46
46
|
/**
|
|
@@ -65,7 +65,7 @@ export interface TotalTlsState {
|
|
|
65
65
|
*/
|
|
66
66
|
enabled?: pulumi.Input<boolean>;
|
|
67
67
|
/**
|
|
68
|
-
* The zone identifier to target for the resource.
|
|
68
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
69
69
|
*/
|
|
70
70
|
zoneId?: pulumi.Input<string>;
|
|
71
71
|
}
|
|
@@ -82,7 +82,7 @@ export interface TotalTlsArgs {
|
|
|
82
82
|
*/
|
|
83
83
|
enabled: pulumi.Input<boolean>;
|
|
84
84
|
/**
|
|
85
|
-
* The zone identifier to target for the resource.
|
|
85
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
86
86
|
*/
|
|
87
87
|
zoneId: pulumi.Input<string>;
|
|
88
88
|
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides a Cloudflare Tunnel configuration resource.
|
|
6
|
+
*
|
|
7
|
+
* !> When you delete a tunnel configuration, the tunnel will be deleted. You need to make sure that the tunnel is not in use before deleting the configuration.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
14
|
+
*
|
|
15
|
+
* const exampleTunnel = new cloudflare.ArgoTunnel("exampleTunnel", {
|
|
16
|
+
* accountId: "f037e56e89293a057740de681ac9abbe",
|
|
17
|
+
* name: "example_tunnel",
|
|
18
|
+
* secret: "<32 character secret>",
|
|
19
|
+
* });
|
|
20
|
+
* const exampleConfig = new cloudflare.TunnelConfig("exampleConfig", {
|
|
21
|
+
* accountId: "f037e56e89293a057740de681ac9abbe",
|
|
22
|
+
* tunnelId: exampleTunnel.id,
|
|
23
|
+
* config: {
|
|
24
|
+
* warpRouting: {
|
|
25
|
+
* enabled: true,
|
|
26
|
+
* },
|
|
27
|
+
* originRequest: {
|
|
28
|
+
* connectTimeout: "1m0s",
|
|
29
|
+
* tlsTimeout: "1m0s",
|
|
30
|
+
* tcpKeepAlive: "1m0s",
|
|
31
|
+
* noHappyEyeballs: false,
|
|
32
|
+
* keepAliveConnections: 1024,
|
|
33
|
+
* keepAliveTimeout: "1m0s",
|
|
34
|
+
* httpHostHeader: "baz",
|
|
35
|
+
* originServerName: "foobar",
|
|
36
|
+
* caPool: "/path/to/unsigned/ca/pool",
|
|
37
|
+
* noTlsVerify: false,
|
|
38
|
+
* disableChunkedEncoding: false,
|
|
39
|
+
* bastionMode: false,
|
|
40
|
+
* proxyAddress: "10.0.0.1",
|
|
41
|
+
* proxyPort: 8123,
|
|
42
|
+
* proxyType: "socks",
|
|
43
|
+
* ipRules: [{
|
|
44
|
+
* prefix: "/web",
|
|
45
|
+
* ports: [
|
|
46
|
+
* 80,
|
|
47
|
+
* 443,
|
|
48
|
+
* ],
|
|
49
|
+
* allow: false,
|
|
50
|
+
* }],
|
|
51
|
+
* },
|
|
52
|
+
* ingressRules: [
|
|
53
|
+
* {
|
|
54
|
+
* hostname: "foo",
|
|
55
|
+
* path: "/bar",
|
|
56
|
+
* service: "http://10.0.0.2:8080",
|
|
57
|
+
* },
|
|
58
|
+
* {
|
|
59
|
+
* service: "https://10.0.0.3:8081",
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* },
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
export declare class TunnelConfig extends pulumi.CustomResource {
|
|
67
|
+
/**
|
|
68
|
+
* Get an existing TunnelConfig resource's state with the given name, ID, and optional extra
|
|
69
|
+
* properties used to qualify the lookup.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resulting resource.
|
|
72
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
73
|
+
* @param state Any extra arguments used during the lookup.
|
|
74
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
75
|
+
*/
|
|
76
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TunnelConfigState, opts?: pulumi.CustomResourceOptions): TunnelConfig;
|
|
77
|
+
/**
|
|
78
|
+
* Returns true if the given object is an instance of TunnelConfig. This is designed to work even
|
|
79
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
80
|
+
*/
|
|
81
|
+
static isInstance(obj: any): obj is TunnelConfig;
|
|
82
|
+
/**
|
|
83
|
+
* The account identifier to target for the resource.
|
|
84
|
+
*/
|
|
85
|
+
readonly accountId: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Configuration block for Tunnel Configuration.
|
|
88
|
+
*/
|
|
89
|
+
readonly config: pulumi.Output<outputs.TunnelConfigConfig>;
|
|
90
|
+
/**
|
|
91
|
+
* Identifier of the Tunnel to target for this configuration.
|
|
92
|
+
*/
|
|
93
|
+
readonly tunnelId: pulumi.Output<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Create a TunnelConfig resource with the given unique name, arguments, and options.
|
|
96
|
+
*
|
|
97
|
+
* @param name The _unique_ name of the resource.
|
|
98
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
99
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
100
|
+
*/
|
|
101
|
+
constructor(name: string, args: TunnelConfigArgs, opts?: pulumi.CustomResourceOptions);
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Input properties used for looking up and filtering TunnelConfig resources.
|
|
105
|
+
*/
|
|
106
|
+
export interface TunnelConfigState {
|
|
107
|
+
/**
|
|
108
|
+
* The account identifier to target for the resource.
|
|
109
|
+
*/
|
|
110
|
+
accountId?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Configuration block for Tunnel Configuration.
|
|
113
|
+
*/
|
|
114
|
+
config?: pulumi.Input<inputs.TunnelConfigConfig>;
|
|
115
|
+
/**
|
|
116
|
+
* Identifier of the Tunnel to target for this configuration.
|
|
117
|
+
*/
|
|
118
|
+
tunnelId?: pulumi.Input<string>;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* The set of arguments for constructing a TunnelConfig resource.
|
|
122
|
+
*/
|
|
123
|
+
export interface TunnelConfigArgs {
|
|
124
|
+
/**
|
|
125
|
+
* The account identifier to target for the resource.
|
|
126
|
+
*/
|
|
127
|
+
accountId: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Configuration block for Tunnel Configuration.
|
|
130
|
+
*/
|
|
131
|
+
config: pulumi.Input<inputs.TunnelConfigConfig>;
|
|
132
|
+
/**
|
|
133
|
+
* Identifier of the Tunnel to target for this configuration.
|
|
134
|
+
*/
|
|
135
|
+
tunnelId: pulumi.Input<string>;
|
|
136
|
+
}
|