@pulumi/cloudflare 4.3.0 → 4.4.0-alpha.1645049843
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/accessApplication.js +39 -41
- package/accessApplication.js.map +1 -1
- package/accessCaCertificate.js +13 -15
- package/accessCaCertificate.js.map +1 -1
- package/accessGroup.js +15 -17
- package/accessGroup.js.map +1 -1
- package/accessIdentityProvider.js +13 -15
- package/accessIdentityProvider.js.map +1 -1
- package/accessKeysConfiguration.js +7 -9
- package/accessKeysConfiguration.js.map +1 -1
- package/accessMutualTlsCertificate.js +15 -17
- package/accessMutualTlsCertificate.js.map +1 -1
- package/accessPolicy.js +29 -31
- package/accessPolicy.js.map +1 -1
- package/accessRule.js +11 -13
- package/accessRule.js.map +1 -1
- package/accessServiceToken.js +17 -19
- package/accessServiceToken.js.map +1 -1
- package/accountMember.js +7 -9
- package/accountMember.js.map +1 -1
- package/apiToken.js +17 -19
- package/apiToken.js.map +1 -1
- package/argo.js +9 -11
- package/argo.js.map +1 -1
- package/argoTunnel.js +11 -13
- package/argoTunnel.js.map +1 -1
- package/authenticatedOriginPulls.js +11 -13
- package/authenticatedOriginPulls.js.map +1 -1
- package/authenticatedOriginPullsCertificate.js +23 -25
- package/authenticatedOriginPullsCertificate.js.map +1 -1
- package/byoIpPrefix.js +9 -11
- package/byoIpPrefix.js.map +1 -1
- package/certificatePack.d.ts +8 -1
- package/certificatePack.js +21 -19
- package/certificatePack.js.map +1 -1
- package/config/vars.js.map +1 -1
- package/customHostname.js +17 -19
- package/customHostname.js.map +1 -1
- package/customHostnameFallbackOrigin.js +9 -11
- package/customHostnameFallbackOrigin.js.map +1 -1
- package/customPages.js +13 -15
- package/customPages.js.map +1 -1
- package/customSsl.js +25 -27
- package/customSsl.js.map +1 -1
- package/devicePostureIntegration.d.ts +142 -0
- package/devicePostureIntegration.js +101 -0
- package/devicePostureIntegration.js.map +1 -0
- package/devicePostureRule.js +17 -19
- package/devicePostureRule.js.map +1 -1
- package/fallbackDomain.d.ts +72 -0
- package/fallbackDomain.js +68 -0
- package/fallbackDomain.js.map +1 -0
- package/filter.js +13 -15
- package/filter.js.map +1 -1
- package/firewallRule.js +17 -19
- package/firewallRule.js.map +1 -1
- package/getAccessIdentityProvider.js +1 -3
- package/getAccessIdentityProvider.js.map +1 -1
- package/getAccountRoles.js +1 -3
- package/getAccountRoles.js.map +1 -1
- package/getApiTokenPermissionGroups.js +1 -3
- package/getApiTokenPermissionGroups.js.map +1 -1
- package/getDevices.d.ts +50 -0
- package/getDevices.js +36 -0
- package/getDevices.js.map +1 -0
- package/getIpRanges.js +1 -3
- package/getIpRanges.js.map +1 -1
- package/getOriginCaRootCertificate.js +1 -3
- package/getOriginCaRootCertificate.js.map +1 -1
- package/getWafGroups.js +1 -3
- package/getWafGroups.js.map +1 -1
- package/getWafPackages.js +1 -3
- package/getWafPackages.js.map +1 -1
- package/getWafRules.js +1 -3
- package/getWafRules.js.map +1 -1
- package/getZone.js +1 -3
- package/getZone.js.map +1 -1
- package/getZoneDnssec.js +1 -3
- package/getZoneDnssec.js.map +1 -1
- package/getZones.d.ts +13 -0
- package/getZones.js +14 -3
- package/getZones.js.map +1 -1
- package/greTunnel.d.ts +200 -0
- package/greTunnel.js +113 -0
- package/greTunnel.js.map +1 -0
- package/healthcheck.js +51 -53
- package/healthcheck.js.map +1 -1
- package/index.d.ts +6 -0
- package/index.js +26 -0
- package/index.js.map +1 -1
- package/ipList.js +13 -15
- package/ipList.js.map +1 -1
- package/ipsecTunnel.d.ts +135 -0
- package/ipsecTunnel.js +98 -0
- package/ipsecTunnel.js.map +1 -0
- package/loadBalancer.js +37 -39
- package/loadBalancer.js.map +1 -1
- package/loadBalancerMonitor.js +35 -37
- package/loadBalancerMonitor.js.map +1 -1
- package/loadBalancerPool.js +31 -33
- package/loadBalancerPool.js.map +1 -1
- package/logPushOwnershipChallenge.js +11 -13
- package/logPushOwnershipChallenge.js.map +1 -1
- package/logpullRetention.js +7 -9
- package/logpullRetention.js.map +1 -1
- package/logpushJob.d.ts +3 -3
- package/logpushJob.js +19 -21
- package/logpushJob.js.map +1 -1
- package/magicFirewallRuleset.js +11 -13
- package/magicFirewallRuleset.js.map +1 -1
- package/notificationPolicy.js +27 -29
- package/notificationPolicy.js.map +1 -1
- package/notificationPolicyWebhooks.js +19 -21
- package/notificationPolicyWebhooks.js.map +1 -1
- package/originCaCertificate.js +15 -17
- package/originCaCertificate.js.map +1 -1
- package/package.json +2 -2
- package/package.json.bak +2 -1
- package/package.json.dev +3 -2
- package/pageRule.js +13 -15
- package/pageRule.js.map +1 -1
- package/provider.js +15 -17
- package/provider.js.map +1 -1
- package/rateLimit.js +21 -23
- package/rateLimit.js.map +1 -1
- package/record.js +31 -33
- package/record.js.map +1 -1
- package/ruleset.d.ts +2 -2
- package/ruleset.js +19 -24
- package/ruleset.js.map +1 -1
- package/spectrumApplication.js +31 -33
- package/spectrumApplication.js.map +1 -1
- package/splitTunnel.js +9 -11
- package/splitTunnel.js.map +1 -1
- package/staticRoute.js +19 -21
- package/staticRoute.js.map +1 -1
- package/teamsAccount.d.ts +72 -3
- package/teamsAccount.js +51 -15
- package/teamsAccount.js.map +1 -1
- package/teamsList.js +13 -15
- package/teamsList.js.map +1 -1
- package/teamsLocation.js +21 -23
- package/teamsLocation.js.map +1 -1
- package/teamsRule.d.ts +8 -12
- package/teamsRule.js +32 -38
- package/teamsRule.js.map +1 -1
- package/types/input.d.ts +185 -25
- package/types/output.d.ts +223 -9
- package/utilities.js +6 -1
- package/utilities.js.map +1 -1
- package/wafGroup.js +11 -13
- package/wafGroup.js.map +1 -1
- package/wafOverride.js +21 -23
- package/wafOverride.js.map +1 -1
- package/wafPackage.js +11 -13
- package/wafPackage.js.map +1 -1
- package/wafRule.js +13 -15
- package/wafRule.js.map +1 -1
- package/waitingRoom.js +29 -31
- package/waitingRoom.js.map +1 -1
- package/workerCronTrigger.js +7 -9
- package/workerCronTrigger.js.map +1 -1
- package/workerRoute.js +9 -11
- package/workerRoute.js.map +1 -1
- package/workerScript.js +15 -17
- package/workerScript.js.map +1 -1
- package/workersKv.js +9 -11
- package/workersKv.js.map +1 -1
- package/workersKvNamespace.js +5 -7
- package/workersKvNamespace.js.map +1 -1
- package/zone.js +23 -25
- package/zone.js.map +1 -1
- package/zoneCacheVariants.d.ts +72 -0
- package/zoneCacheVariants.js +74 -0
- package/zoneCacheVariants.js.map +1 -0
- package/zoneDnssec.js +27 -29
- package/zoneDnssec.js.map +1 -1
- package/zoneLockdown.js +15 -17
- package/zoneLockdown.js.map +1 -1
- package/zoneSettingsOverride.js +17 -19
- package/zoneSettingsOverride.js.map +1 -1
package/getZones.js
CHANGED
|
@@ -61,14 +61,25 @@ const utilities = require("./utilities");
|
|
|
61
61
|
* },
|
|
62
62
|
* }));
|
|
63
63
|
* ```
|
|
64
|
+
*
|
|
65
|
+
* ```typescript
|
|
66
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
67
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
68
|
+
*
|
|
69
|
+
* // Look for all active zones in an account
|
|
70
|
+
* const example = pulumi.output(cloudflare.getZones({
|
|
71
|
+
* filter: {
|
|
72
|
+
* accountId: "1d5fdc9e88c8a8c4518b068cd94331fe",
|
|
73
|
+
* status: "active",
|
|
74
|
+
* },
|
|
75
|
+
* }));
|
|
76
|
+
* ```
|
|
64
77
|
*/
|
|
65
78
|
function getZones(args, opts) {
|
|
66
79
|
if (!opts) {
|
|
67
80
|
opts = {};
|
|
68
81
|
}
|
|
69
|
-
|
|
70
|
-
opts.version = utilities.getVersion();
|
|
71
|
-
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
83
|
return pulumi.runtime.invoke("cloudflare:index/getZones:getZones", {
|
|
73
84
|
"filter": args.filter,
|
|
74
85
|
}, opts);
|
package/getZones.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getZones.js","sourceRoot":"","sources":["../getZones.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getZones.js","sourceRoot":"","sources":["../getZones.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4BASC;AA4BD,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC"}
|
package/greTunnel.d.ts
ADDED
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource, that manages GRE tunnels for Magic Transit.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
10
|
+
*
|
|
11
|
+
* const example = new cloudflare.GreTunnel("example", {
|
|
12
|
+
* accountId: "c4a7362d577a6c3019a474fd6f485821",
|
|
13
|
+
* cloudflareGreEndpoint: "203.0.113.1",
|
|
14
|
+
* customerGreEndpoint: "203.0.113.1",
|
|
15
|
+
* description: "Tunnel for ISP X",
|
|
16
|
+
* healthCheckEnabled: true,
|
|
17
|
+
* healthCheckTarget: "203.0.113.1",
|
|
18
|
+
* healthCheckType: "reply",
|
|
19
|
+
* interfaceAddress: "192.0.2.0/31",
|
|
20
|
+
* mtu: 1476,
|
|
21
|
+
* name: "GRE_1",
|
|
22
|
+
* ttl: 64,
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* An existing GRE tunnel can be imported using the account ID and tunnel ID
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import cloudflare:index/greTunnel:GreTunnel example d41d8cd98f00b204e9800998ecf8427e/cb029e245cfdd66dc8d2e570d5dd3322
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare class GreTunnel extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing GreTunnel resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GreTunnelState, opts?: pulumi.CustomResourceOptions): GreTunnel;
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of GreTunnel. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj: any): obj is GreTunnel;
|
|
50
|
+
/**
|
|
51
|
+
* The ID of the account where the tunnel is being created.
|
|
52
|
+
*/
|
|
53
|
+
readonly accountId: pulumi.Output<string | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* The IP address assigned to the Cloudflare side of the GRE tunnel.
|
|
56
|
+
*/
|
|
57
|
+
readonly cloudflareGreEndpoint: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The IP address assigned to the customer side of the GRE tunnel.
|
|
60
|
+
*/
|
|
61
|
+
readonly customerGreEndpoint: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* An optional description of the GRE tunnel.
|
|
64
|
+
*/
|
|
65
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* Specifies if ICMP tunnel health checks are enabled Default: `true`.
|
|
68
|
+
*/
|
|
69
|
+
readonly healthCheckEnabled: pulumi.Output<boolean>;
|
|
70
|
+
/**
|
|
71
|
+
* The IP address of the customer endpoint that will receive tunnel health checks. Default: `<customer_gre_endpoint>`.
|
|
72
|
+
*/
|
|
73
|
+
readonly healthCheckTarget: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Specifies the ICMP echo type for the health check (`request` or `reply`) Default: `reply`.
|
|
76
|
+
*/
|
|
77
|
+
readonly healthCheckType: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* 31-bit prefix (/31 in CIDR notation) supporting 2 hosts, one for each side of the tunnel.
|
|
80
|
+
*/
|
|
81
|
+
readonly interfaceAddress: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Maximum Transmission Unit (MTU) in bytes for the GRE tunnel. Maximum value 1476 and minimum value 576. Default: `1476`.
|
|
84
|
+
*/
|
|
85
|
+
readonly mtu: pulumi.Output<number>;
|
|
86
|
+
/**
|
|
87
|
+
* Name of the GRE tunnel.
|
|
88
|
+
*/
|
|
89
|
+
readonly name: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Time To Live (TTL) in number of hops of the GRE tunnel. Minimum value 64. Default: `64`.
|
|
92
|
+
*/
|
|
93
|
+
readonly ttl: pulumi.Output<number>;
|
|
94
|
+
/**
|
|
95
|
+
* Create a GreTunnel 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: GreTunnelArgs, opts?: pulumi.CustomResourceOptions);
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Input properties used for looking up and filtering GreTunnel resources.
|
|
105
|
+
*/
|
|
106
|
+
export interface GreTunnelState {
|
|
107
|
+
/**
|
|
108
|
+
* The ID of the account where the tunnel is being created.
|
|
109
|
+
*/
|
|
110
|
+
accountId?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The IP address assigned to the Cloudflare side of the GRE tunnel.
|
|
113
|
+
*/
|
|
114
|
+
cloudflareGreEndpoint?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The IP address assigned to the customer side of the GRE tunnel.
|
|
117
|
+
*/
|
|
118
|
+
customerGreEndpoint?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* An optional description of the GRE tunnel.
|
|
121
|
+
*/
|
|
122
|
+
description?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Specifies if ICMP tunnel health checks are enabled Default: `true`.
|
|
125
|
+
*/
|
|
126
|
+
healthCheckEnabled?: pulumi.Input<boolean>;
|
|
127
|
+
/**
|
|
128
|
+
* The IP address of the customer endpoint that will receive tunnel health checks. Default: `<customer_gre_endpoint>`.
|
|
129
|
+
*/
|
|
130
|
+
healthCheckTarget?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Specifies the ICMP echo type for the health check (`request` or `reply`) Default: `reply`.
|
|
133
|
+
*/
|
|
134
|
+
healthCheckType?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* 31-bit prefix (/31 in CIDR notation) supporting 2 hosts, one for each side of the tunnel.
|
|
137
|
+
*/
|
|
138
|
+
interfaceAddress?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Maximum Transmission Unit (MTU) in bytes for the GRE tunnel. Maximum value 1476 and minimum value 576. Default: `1476`.
|
|
141
|
+
*/
|
|
142
|
+
mtu?: pulumi.Input<number>;
|
|
143
|
+
/**
|
|
144
|
+
* Name of the GRE tunnel.
|
|
145
|
+
*/
|
|
146
|
+
name?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Time To Live (TTL) in number of hops of the GRE tunnel. Minimum value 64. Default: `64`.
|
|
149
|
+
*/
|
|
150
|
+
ttl?: pulumi.Input<number>;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* The set of arguments for constructing a GreTunnel resource.
|
|
154
|
+
*/
|
|
155
|
+
export interface GreTunnelArgs {
|
|
156
|
+
/**
|
|
157
|
+
* The ID of the account where the tunnel is being created.
|
|
158
|
+
*/
|
|
159
|
+
accountId?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* The IP address assigned to the Cloudflare side of the GRE tunnel.
|
|
162
|
+
*/
|
|
163
|
+
cloudflareGreEndpoint: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* The IP address assigned to the customer side of the GRE tunnel.
|
|
166
|
+
*/
|
|
167
|
+
customerGreEndpoint: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* An optional description of the GRE tunnel.
|
|
170
|
+
*/
|
|
171
|
+
description?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* Specifies if ICMP tunnel health checks are enabled Default: `true`.
|
|
174
|
+
*/
|
|
175
|
+
healthCheckEnabled?: pulumi.Input<boolean>;
|
|
176
|
+
/**
|
|
177
|
+
* The IP address of the customer endpoint that will receive tunnel health checks. Default: `<customer_gre_endpoint>`.
|
|
178
|
+
*/
|
|
179
|
+
healthCheckTarget?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* Specifies the ICMP echo type for the health check (`request` or `reply`) Default: `reply`.
|
|
182
|
+
*/
|
|
183
|
+
healthCheckType?: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* 31-bit prefix (/31 in CIDR notation) supporting 2 hosts, one for each side of the tunnel.
|
|
186
|
+
*/
|
|
187
|
+
interfaceAddress: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* Maximum Transmission Unit (MTU) in bytes for the GRE tunnel. Maximum value 1476 and minimum value 576. Default: `1476`.
|
|
190
|
+
*/
|
|
191
|
+
mtu?: pulumi.Input<number>;
|
|
192
|
+
/**
|
|
193
|
+
* Name of the GRE tunnel.
|
|
194
|
+
*/
|
|
195
|
+
name: pulumi.Input<string>;
|
|
196
|
+
/**
|
|
197
|
+
* Time To Live (TTL) in number of hops of the GRE tunnel. Minimum value 64. Default: `64`.
|
|
198
|
+
*/
|
|
199
|
+
ttl?: pulumi.Input<number>;
|
|
200
|
+
}
|
package/greTunnel.js
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
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.GreTunnel = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource, that manages GRE tunnels for Magic Transit.
|
|
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 = new cloudflare.GreTunnel("example", {
|
|
18
|
+
* accountId: "c4a7362d577a6c3019a474fd6f485821",
|
|
19
|
+
* cloudflareGreEndpoint: "203.0.113.1",
|
|
20
|
+
* customerGreEndpoint: "203.0.113.1",
|
|
21
|
+
* description: "Tunnel for ISP X",
|
|
22
|
+
* healthCheckEnabled: true,
|
|
23
|
+
* healthCheckTarget: "203.0.113.1",
|
|
24
|
+
* healthCheckType: "reply",
|
|
25
|
+
* interfaceAddress: "192.0.2.0/31",
|
|
26
|
+
* mtu: 1476,
|
|
27
|
+
* name: "GRE_1",
|
|
28
|
+
* ttl: 64,
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* An existing GRE tunnel can be imported using the account ID and tunnel ID
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import cloudflare:index/greTunnel:GreTunnel example d41d8cd98f00b204e9800998ecf8427e/cb029e245cfdd66dc8d2e570d5dd3322
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
class GreTunnel extends pulumi.CustomResource {
|
|
41
|
+
constructor(name, argsOrState, opts) {
|
|
42
|
+
let resourceInputs = {};
|
|
43
|
+
opts = opts || {};
|
|
44
|
+
if (opts.id) {
|
|
45
|
+
const state = argsOrState;
|
|
46
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
47
|
+
resourceInputs["cloudflareGreEndpoint"] = state ? state.cloudflareGreEndpoint : undefined;
|
|
48
|
+
resourceInputs["customerGreEndpoint"] = state ? state.customerGreEndpoint : undefined;
|
|
49
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
50
|
+
resourceInputs["healthCheckEnabled"] = state ? state.healthCheckEnabled : undefined;
|
|
51
|
+
resourceInputs["healthCheckTarget"] = state ? state.healthCheckTarget : undefined;
|
|
52
|
+
resourceInputs["healthCheckType"] = state ? state.healthCheckType : undefined;
|
|
53
|
+
resourceInputs["interfaceAddress"] = state ? state.interfaceAddress : undefined;
|
|
54
|
+
resourceInputs["mtu"] = state ? state.mtu : undefined;
|
|
55
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
56
|
+
resourceInputs["ttl"] = state ? state.ttl : undefined;
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
const args = argsOrState;
|
|
60
|
+
if ((!args || args.cloudflareGreEndpoint === undefined) && !opts.urn) {
|
|
61
|
+
throw new Error("Missing required property 'cloudflareGreEndpoint'");
|
|
62
|
+
}
|
|
63
|
+
if ((!args || args.customerGreEndpoint === undefined) && !opts.urn) {
|
|
64
|
+
throw new Error("Missing required property 'customerGreEndpoint'");
|
|
65
|
+
}
|
|
66
|
+
if ((!args || args.interfaceAddress === undefined) && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'interfaceAddress'");
|
|
68
|
+
}
|
|
69
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'name'");
|
|
71
|
+
}
|
|
72
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
73
|
+
resourceInputs["cloudflareGreEndpoint"] = args ? args.cloudflareGreEndpoint : undefined;
|
|
74
|
+
resourceInputs["customerGreEndpoint"] = args ? args.customerGreEndpoint : undefined;
|
|
75
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
76
|
+
resourceInputs["healthCheckEnabled"] = args ? args.healthCheckEnabled : undefined;
|
|
77
|
+
resourceInputs["healthCheckTarget"] = args ? args.healthCheckTarget : undefined;
|
|
78
|
+
resourceInputs["healthCheckType"] = args ? args.healthCheckType : undefined;
|
|
79
|
+
resourceInputs["interfaceAddress"] = args ? args.interfaceAddress : undefined;
|
|
80
|
+
resourceInputs["mtu"] = args ? args.mtu : undefined;
|
|
81
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
82
|
+
resourceInputs["ttl"] = args ? args.ttl : undefined;
|
|
83
|
+
}
|
|
84
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
85
|
+
super(GreTunnel.__pulumiType, name, resourceInputs, opts);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Get an existing GreTunnel resource's state with the given name, ID, and optional extra
|
|
89
|
+
* properties used to qualify the lookup.
|
|
90
|
+
*
|
|
91
|
+
* @param name The _unique_ name of the resulting resource.
|
|
92
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
93
|
+
* @param state Any extra arguments used during the lookup.
|
|
94
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
95
|
+
*/
|
|
96
|
+
static get(name, id, state, opts) {
|
|
97
|
+
return new GreTunnel(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Returns true if the given object is an instance of GreTunnel. This is designed to work even
|
|
101
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
102
|
+
*/
|
|
103
|
+
static isInstance(obj) {
|
|
104
|
+
if (obj === undefined || obj === null) {
|
|
105
|
+
return false;
|
|
106
|
+
}
|
|
107
|
+
return obj['__pulumiType'] === GreTunnel.__pulumiType;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.GreTunnel = GreTunnel;
|
|
111
|
+
/** @internal */
|
|
112
|
+
GreTunnel.__pulumiType = 'cloudflare:index/greTunnel:GreTunnel';
|
|
113
|
+
//# sourceMappingURL=greTunnel.js.map
|
package/greTunnel.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"greTunnel.js","sourceRoot":"","sources":["../greTunnel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAiFhD,YAAY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AE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;;AA1BL,8BA8HC;AAhHG,gBAAgB;AACO,sBAAY,GAAG,sCAAsC,CAAC"}
|
package/healthcheck.js
CHANGED
|
@@ -82,34 +82,34 @@ const utilities = require("./utilities");
|
|
|
82
82
|
*/
|
|
83
83
|
class Healthcheck extends pulumi.CustomResource {
|
|
84
84
|
constructor(name, argsOrState, opts) {
|
|
85
|
-
let
|
|
85
|
+
let resourceInputs = {};
|
|
86
86
|
opts = opts || {};
|
|
87
87
|
if (opts.id) {
|
|
88
88
|
const state = argsOrState;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
89
|
+
resourceInputs["address"] = state ? state.address : undefined;
|
|
90
|
+
resourceInputs["allowInsecure"] = state ? state.allowInsecure : undefined;
|
|
91
|
+
resourceInputs["checkRegions"] = state ? state.checkRegions : undefined;
|
|
92
|
+
resourceInputs["consecutiveFails"] = state ? state.consecutiveFails : undefined;
|
|
93
|
+
resourceInputs["consecutiveSuccesses"] = state ? state.consecutiveSuccesses : undefined;
|
|
94
|
+
resourceInputs["createdOn"] = state ? state.createdOn : undefined;
|
|
95
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
96
|
+
resourceInputs["expectedBody"] = state ? state.expectedBody : undefined;
|
|
97
|
+
resourceInputs["expectedCodes"] = state ? state.expectedCodes : undefined;
|
|
98
|
+
resourceInputs["followRedirects"] = state ? state.followRedirects : undefined;
|
|
99
|
+
resourceInputs["headers"] = state ? state.headers : undefined;
|
|
100
|
+
resourceInputs["interval"] = state ? state.interval : undefined;
|
|
101
|
+
resourceInputs["method"] = state ? state.method : undefined;
|
|
102
|
+
resourceInputs["modifiedOn"] = state ? state.modifiedOn : undefined;
|
|
103
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
104
|
+
resourceInputs["notificationEmailAddresses"] = state ? state.notificationEmailAddresses : undefined;
|
|
105
|
+
resourceInputs["notificationSuspended"] = state ? state.notificationSuspended : undefined;
|
|
106
|
+
resourceInputs["path"] = state ? state.path : undefined;
|
|
107
|
+
resourceInputs["port"] = state ? state.port : undefined;
|
|
108
|
+
resourceInputs["retries"] = state ? state.retries : undefined;
|
|
109
|
+
resourceInputs["suspended"] = state ? state.suspended : undefined;
|
|
110
|
+
resourceInputs["timeout"] = state ? state.timeout : undefined;
|
|
111
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
112
|
+
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
113
113
|
}
|
|
114
114
|
else {
|
|
115
115
|
const args = argsOrState;
|
|
@@ -125,35 +125,33 @@ class Healthcheck extends pulumi.CustomResource {
|
|
|
125
125
|
if ((!args || args.zoneId === undefined) && !opts.urn) {
|
|
126
126
|
throw new Error("Missing required property 'zoneId'");
|
|
127
127
|
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
128
|
+
resourceInputs["address"] = args ? args.address : undefined;
|
|
129
|
+
resourceInputs["allowInsecure"] = args ? args.allowInsecure : undefined;
|
|
130
|
+
resourceInputs["checkRegions"] = args ? args.checkRegions : undefined;
|
|
131
|
+
resourceInputs["consecutiveFails"] = args ? args.consecutiveFails : undefined;
|
|
132
|
+
resourceInputs["consecutiveSuccesses"] = args ? args.consecutiveSuccesses : undefined;
|
|
133
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
134
|
+
resourceInputs["expectedBody"] = args ? args.expectedBody : undefined;
|
|
135
|
+
resourceInputs["expectedCodes"] = args ? args.expectedCodes : undefined;
|
|
136
|
+
resourceInputs["followRedirects"] = args ? args.followRedirects : undefined;
|
|
137
|
+
resourceInputs["headers"] = args ? args.headers : undefined;
|
|
138
|
+
resourceInputs["interval"] = args ? args.interval : undefined;
|
|
139
|
+
resourceInputs["method"] = args ? args.method : undefined;
|
|
140
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
141
|
+
resourceInputs["notificationEmailAddresses"] = args ? args.notificationEmailAddresses : undefined;
|
|
142
|
+
resourceInputs["notificationSuspended"] = args ? args.notificationSuspended : undefined;
|
|
143
|
+
resourceInputs["path"] = args ? args.path : undefined;
|
|
144
|
+
resourceInputs["port"] = args ? args.port : undefined;
|
|
145
|
+
resourceInputs["retries"] = args ? args.retries : undefined;
|
|
146
|
+
resourceInputs["suspended"] = args ? args.suspended : undefined;
|
|
147
|
+
resourceInputs["timeout"] = args ? args.timeout : undefined;
|
|
148
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
149
|
+
resourceInputs["zoneId"] = args ? args.zoneId : undefined;
|
|
150
|
+
resourceInputs["createdOn"] = undefined /*out*/;
|
|
151
|
+
resourceInputs["modifiedOn"] = undefined /*out*/;
|
|
152
152
|
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
}
|
|
156
|
-
super(Healthcheck.__pulumiType, name, inputs, opts);
|
|
153
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
154
|
+
super(Healthcheck.__pulumiType, name, resourceInputs, opts);
|
|
157
155
|
}
|
|
158
156
|
/**
|
|
159
157
|
* Get an existing Healthcheck resource's state with the given name, ID, and optional extra
|
package/healthcheck.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"healthcheck.js","sourceRoot":"","sources":["../healthcheck.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IA+HlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,
|
|
1
|
+
{"version":3,"file":"healthcheck.js","sourceRoot":"","sources":["../healthcheck.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IA+HlD,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,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAA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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;;AA1BL,kCAsMC;AAxLG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -19,12 +19,15 @@ export * from "./customHostname";
|
|
|
19
19
|
export * from "./customHostnameFallbackOrigin";
|
|
20
20
|
export * from "./customPages";
|
|
21
21
|
export * from "./customSsl";
|
|
22
|
+
export * from "./devicePostureIntegration";
|
|
22
23
|
export * from "./devicePostureRule";
|
|
24
|
+
export * from "./fallbackDomain";
|
|
23
25
|
export * from "./filter";
|
|
24
26
|
export * from "./firewallRule";
|
|
25
27
|
export * from "./getAccessIdentityProvider";
|
|
26
28
|
export * from "./getAccountRoles";
|
|
27
29
|
export * from "./getApiTokenPermissionGroups";
|
|
30
|
+
export * from "./getDevices";
|
|
28
31
|
export * from "./getIpRanges";
|
|
29
32
|
export * from "./getOriginCaRootCertificate";
|
|
30
33
|
export * from "./getWafGroups";
|
|
@@ -33,8 +36,10 @@ export * from "./getWafRules";
|
|
|
33
36
|
export * from "./getZone";
|
|
34
37
|
export * from "./getZoneDnssec";
|
|
35
38
|
export * from "./getZones";
|
|
39
|
+
export * from "./greTunnel";
|
|
36
40
|
export * from "./healthcheck";
|
|
37
41
|
export * from "./ipList";
|
|
42
|
+
export * from "./ipsecTunnel";
|
|
38
43
|
export * from "./loadBalancer";
|
|
39
44
|
export * from "./loadBalancerMonitor";
|
|
40
45
|
export * from "./loadBalancerPool";
|
|
@@ -68,6 +73,7 @@ export * from "./workerScript";
|
|
|
68
73
|
export * from "./workersKv";
|
|
69
74
|
export * from "./workersKvNamespace";
|
|
70
75
|
export * from "./zone";
|
|
76
|
+
export * from "./zoneCacheVariants";
|
|
71
77
|
export * from "./zoneDnssec";
|
|
72
78
|
export * from "./zoneLockdown";
|
|
73
79
|
export * from "./zoneSettingsOverride";
|