@pulumi/cloudflare 6.10.0-alpha.1759386985 → 6.10.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/accessCustomPage.d.ts +12 -0
- package/accessCustomPage.js +12 -0
- package/accessCustomPage.js.map +1 -1
- package/accessServiceToken.d.ts +26 -0
- package/accessServiceToken.js +6 -0
- package/accessServiceToken.js.map +1 -1
- package/addressMap.d.ts +1 -1
- package/botManagement.d.ts +17 -1
- package/botManagement.js +4 -1
- package/botManagement.js.map +1 -1
- package/byoIpPrefix.d.ts +16 -0
- package/byoIpPrefix.js.map +1 -1
- package/dnsFirewall.d.ts +69 -9
- package/dnsFirewall.js.map +1 -1
- package/emailRoutingDns.d.ts +2 -2
- package/emailRoutingDns.js +0 -3
- package/emailRoutingDns.js.map +1 -1
- package/emailSecurityBlockSender.d.ts +3 -3
- package/emailSecurityBlockSender.js +3 -3
- package/emailSecurityTrustedDomains.d.ts +4 -4
- package/emailSecurityTrustedDomains.js +4 -4
- package/getBotManagement.d.ts +5 -0
- package/getBotManagement.js.map +1 -1
- package/getByoIpPrefix.d.ts +8 -0
- package/getByoIpPrefix.js.map +1 -1
- package/getDnsFirewall.d.ts +4 -19
- package/getDnsFirewall.js.map +1 -1
- package/getLoadBalancerPool.d.ts +4 -0
- package/getLoadBalancerPool.js.map +1 -1
- package/getPageShieldConnectionsList.d.ts +3 -3
- package/getPageShieldCookiesList.d.ts +3 -3
- package/getPageShieldScriptsList.d.ts +3 -3
- package/getWorker.d.ts +6 -6
- package/getWorker.js +2 -2
- package/getWorkerVersion.d.ts +19 -46
- package/getWorkerVersion.js +4 -4
- package/getWorkerVersion.js.map +1 -1
- package/getWorkerVersions.d.ts +5 -5
- package/getWorkerVersions.js +2 -2
- package/getWorkflow.d.ts +66 -0
- package/getWorkflow.js +52 -0
- package/getWorkflow.js.map +1 -0
- package/getWorkflows.d.ts +80 -0
- package/getWorkflows.js +52 -0
- package/getWorkflows.js.map +1 -0
- package/getZeroTrustAccessApplication.d.ts +0 -2
- package/getZeroTrustAccessApplication.js.map +1 -1
- package/getZeroTrustAccessCustomPage.d.ts +0 -6
- package/getZeroTrustAccessCustomPage.js.map +1 -1
- package/getZeroTrustAccessGroup.d.ts +0 -2
- package/getZeroTrustAccessGroup.js.map +1 -1
- package/getZeroTrustAccessMtlsCertificate.d.ts +0 -2
- package/getZeroTrustAccessMtlsCertificate.js.map +1 -1
- package/getZeroTrustAccessServiceToken.d.ts +0 -3
- package/getZeroTrustAccessServiceToken.js.map +1 -1
- package/getZeroTrustAccessTag.d.ts +0 -6
- package/getZeroTrustAccessTag.js.map +1 -1
- package/getZeroTrustDnsLocation.d.ts +11 -11
- package/getZeroTrustGatewayAppTypesList.d.ts +3 -3
- package/getZeroTrustGatewayCategoriesList.d.ts +3 -3
- package/getZeroTrustGatewayCertificate.d.ts +11 -11
- package/getZeroTrustGatewayLogging.d.ts +2 -2
- package/getZeroTrustGatewayPolicy.d.ts +36 -10
- package/getZeroTrustGatewayPolicy.js.map +1 -1
- package/getZeroTrustGatewayProxyEndpoint.d.ts +3 -3
- package/getZeroTrustGatewaySettings.d.ts +3 -0
- package/getZeroTrustGatewaySettings.js.map +1 -1
- package/getZeroTrustList.d.ts +9 -9
- package/getZeroTrustLists.d.ts +3 -3
- package/getZeroTrustNetworkHostnameRoute.d.ts +101 -0
- package/getZeroTrustNetworkHostnameRoute.js +52 -0
- package/getZeroTrustNetworkHostnameRoute.js.map +1 -0
- package/getZeroTrustNetworkHostnameRoutes.d.ts +153 -0
- package/getZeroTrustNetworkHostnameRoutes.js +70 -0
- package/getZeroTrustNetworkHostnameRoutes.js.map +1 -0
- package/getZeroTrustOrganization.d.ts +0 -2
- package/getZeroTrustOrganization.js.map +1 -1
- package/index.d.ts +18 -0
- package/index.js +29 -7
- package/index.js.map +1 -1
- package/listItem.d.ts +4 -0
- package/listItem.js +4 -0
- package/listItem.js.map +1 -1
- package/loadBalancerPool.d.ts +12 -0
- package/loadBalancerPool.js +2 -0
- package/loadBalancerPool.js.map +1 -1
- package/package.json +2 -2
- package/r2customDomain.d.ts +2 -2
- package/r2customDomain.js +2 -2
- package/teamsAccount.d.ts +3 -3
- package/teamsList.d.ts +14 -14
- package/teamsLocation.d.ts +28 -28
- package/teamsProxyEndpoint.d.ts +8 -8
- package/teamsRule.d.ts +39 -51
- package/teamsRule.js +2 -2
- package/teamsRule.js.map +1 -1
- package/types/input.d.ts +522 -359
- package/types/output.d.ts +975 -740
- package/workerScript.d.ts +12 -12
- package/workerVersion.d.ts +18 -3
- package/workerVersion.js.map +1 -1
- package/workersScript.d.ts +12 -12
- package/workersScriptSubdomain.d.ts +2 -2
- package/workersScriptSubdomain.js +1 -1
- package/workflow.d.ts +87 -0
- package/workflow.js +104 -0
- package/workflow.js.map +1 -0
- package/zeroTrustAccessCustomPage.d.ts +12 -0
- package/zeroTrustAccessCustomPage.js +12 -0
- package/zeroTrustAccessCustomPage.js.map +1 -1
- package/zeroTrustAccessServiceToken.d.ts +26 -0
- package/zeroTrustAccessServiceToken.js +6 -0
- package/zeroTrustAccessServiceToken.js.map +1 -1
- package/zeroTrustDexTest.d.ts +2 -27
- package/zeroTrustDexTest.js +1 -25
- package/zeroTrustDexTest.js.map +1 -1
- package/zeroTrustDnsLocation.d.ts +28 -28
- package/zeroTrustGatewayCertificate.d.ts +26 -14
- package/zeroTrustGatewayCertificate.js +2 -0
- package/zeroTrustGatewayCertificate.js.map +1 -1
- package/zeroTrustGatewayLogging.d.ts +6 -6
- package/zeroTrustGatewayPolicy.d.ts +39 -51
- package/zeroTrustGatewayPolicy.js +2 -2
- package/zeroTrustGatewayPolicy.js.map +1 -1
- package/zeroTrustGatewayProxyEndpoint.d.ts +8 -8
- package/zeroTrustGatewaySettings.d.ts +3 -3
- package/zeroTrustList.d.ts +14 -14
- package/zeroTrustNetworkHostnameRoute.d.ts +129 -0
- package/zeroTrustNetworkHostnameRoute.js +85 -0
- package/zeroTrustNetworkHostnameRoute.js.map +1 -0
|
@@ -28,67 +28,63 @@ export declare class ZeroTrustGatewayPolicy extends pulumi.CustomResource {
|
|
|
28
28
|
static isInstance(obj: any): obj is ZeroTrustGatewayPolicy;
|
|
29
29
|
readonly accountId: pulumi.Output<string>;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to `true`.
|
|
32
32
|
* Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", "l4Override", "egress", "resolve", "quarantine", "redirect".
|
|
33
33
|
*/
|
|
34
34
|
readonly action: pulumi.Output<string>;
|
|
35
35
|
readonly createdAt: pulumi.Output<string>;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Indicate the date of deletion, if any.
|
|
38
38
|
*/
|
|
39
39
|
readonly deletedAt: pulumi.Output<string>;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Specify the rule description.
|
|
42
42
|
*/
|
|
43
43
|
readonly description: pulumi.Output<string | undefined>;
|
|
44
44
|
readonly devicePosture: pulumi.Output<string>;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Specify whether the rule is enabled.
|
|
47
47
|
*/
|
|
48
48
|
readonly enabled: pulumi.Output<boolean>;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
51
|
-
* precedence over the policy's `schedule` configuration, if any.
|
|
50
|
+
* Defines the expiration time stamp and default duration of a DNS policy. Takes precedence over the policy's `schedule` configuration, if any. This does not apply to HTTP or network policies. Settable only for `dns` rules.
|
|
52
51
|
*/
|
|
53
52
|
readonly expiration: pulumi.Output<outputs.ZeroTrustGatewayPolicyExpiration>;
|
|
54
53
|
/**
|
|
55
|
-
*
|
|
54
|
+
* Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions.
|
|
56
55
|
*/
|
|
57
56
|
readonly filters: pulumi.Output<string[] | undefined>;
|
|
58
57
|
readonly identity: pulumi.Output<string>;
|
|
59
58
|
/**
|
|
60
|
-
*
|
|
59
|
+
* Specify the rule name.
|
|
61
60
|
*/
|
|
62
61
|
readonly name: pulumi.Output<string>;
|
|
63
|
-
/**
|
|
64
|
-
* The rule cannot be shared via the Orgs API.
|
|
65
|
-
*/
|
|
66
|
-
readonly notSharable: pulumi.Output<boolean>;
|
|
67
62
|
readonly precedence: pulumi.Output<number>;
|
|
68
63
|
/**
|
|
69
|
-
*
|
|
64
|
+
* Indicate that this rule is shared via the Orgs API and read only.
|
|
70
65
|
*/
|
|
71
66
|
readonly readOnly: pulumi.Output<boolean>;
|
|
72
|
-
/**
|
|
73
|
-
* Additional settings that modify the rule's action.
|
|
74
|
-
*/
|
|
75
67
|
readonly ruleSettings: pulumi.Output<outputs.ZeroTrustGatewayPolicyRuleSettings>;
|
|
76
68
|
/**
|
|
77
|
-
*
|
|
69
|
+
* Defines the schedule for activating DNS policies. Settable only for `dns` and `dnsResolver` rules.
|
|
78
70
|
*/
|
|
79
71
|
readonly schedule: pulumi.Output<outputs.ZeroTrustGatewayPolicySchedule>;
|
|
80
72
|
/**
|
|
81
|
-
*
|
|
73
|
+
* Indicate that this rule is sharable via the Orgs API.
|
|
74
|
+
*/
|
|
75
|
+
readonly sharable: pulumi.Output<boolean>;
|
|
76
|
+
/**
|
|
77
|
+
* Provide the account tag of the account that created the rule.
|
|
82
78
|
*/
|
|
83
79
|
readonly sourceAccount: pulumi.Output<string>;
|
|
84
80
|
readonly traffic: pulumi.Output<string>;
|
|
85
81
|
readonly updatedAt: pulumi.Output<string>;
|
|
86
82
|
/**
|
|
87
|
-
* version number of the rule.
|
|
83
|
+
* Indicate the version number of the rule(read-only).
|
|
88
84
|
*/
|
|
89
85
|
readonly version: pulumi.Output<number>;
|
|
90
86
|
/**
|
|
91
|
-
*
|
|
87
|
+
* Indicate a warning for a misconfigured rule, if any.
|
|
92
88
|
*/
|
|
93
89
|
readonly warningStatus: pulumi.Output<string>;
|
|
94
90
|
/**
|
|
@@ -106,67 +102,63 @@ export declare class ZeroTrustGatewayPolicy extends pulumi.CustomResource {
|
|
|
106
102
|
export interface ZeroTrustGatewayPolicyState {
|
|
107
103
|
accountId?: pulumi.Input<string>;
|
|
108
104
|
/**
|
|
109
|
-
*
|
|
105
|
+
* Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to `true`.
|
|
110
106
|
* Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", "l4Override", "egress", "resolve", "quarantine", "redirect".
|
|
111
107
|
*/
|
|
112
108
|
action?: pulumi.Input<string>;
|
|
113
109
|
createdAt?: pulumi.Input<string>;
|
|
114
110
|
/**
|
|
115
|
-
*
|
|
111
|
+
* Indicate the date of deletion, if any.
|
|
116
112
|
*/
|
|
117
113
|
deletedAt?: pulumi.Input<string>;
|
|
118
114
|
/**
|
|
119
|
-
*
|
|
115
|
+
* Specify the rule description.
|
|
120
116
|
*/
|
|
121
117
|
description?: pulumi.Input<string>;
|
|
122
118
|
devicePosture?: pulumi.Input<string>;
|
|
123
119
|
/**
|
|
124
|
-
*
|
|
120
|
+
* Specify whether the rule is enabled.
|
|
125
121
|
*/
|
|
126
122
|
enabled?: pulumi.Input<boolean>;
|
|
127
123
|
/**
|
|
128
|
-
*
|
|
129
|
-
* precedence over the policy's `schedule` configuration, if any.
|
|
124
|
+
* Defines the expiration time stamp and default duration of a DNS policy. Takes precedence over the policy's `schedule` configuration, if any. This does not apply to HTTP or network policies. Settable only for `dns` rules.
|
|
130
125
|
*/
|
|
131
126
|
expiration?: pulumi.Input<inputs.ZeroTrustGatewayPolicyExpiration>;
|
|
132
127
|
/**
|
|
133
|
-
*
|
|
128
|
+
* Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions.
|
|
134
129
|
*/
|
|
135
130
|
filters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
136
131
|
identity?: pulumi.Input<string>;
|
|
137
132
|
/**
|
|
138
|
-
*
|
|
133
|
+
* Specify the rule name.
|
|
139
134
|
*/
|
|
140
135
|
name?: pulumi.Input<string>;
|
|
141
|
-
/**
|
|
142
|
-
* The rule cannot be shared via the Orgs API.
|
|
143
|
-
*/
|
|
144
|
-
notSharable?: pulumi.Input<boolean>;
|
|
145
136
|
precedence?: pulumi.Input<number>;
|
|
146
137
|
/**
|
|
147
|
-
*
|
|
138
|
+
* Indicate that this rule is shared via the Orgs API and read only.
|
|
148
139
|
*/
|
|
149
140
|
readOnly?: pulumi.Input<boolean>;
|
|
150
|
-
/**
|
|
151
|
-
* Additional settings that modify the rule's action.
|
|
152
|
-
*/
|
|
153
141
|
ruleSettings?: pulumi.Input<inputs.ZeroTrustGatewayPolicyRuleSettings>;
|
|
154
142
|
/**
|
|
155
|
-
*
|
|
143
|
+
* Defines the schedule for activating DNS policies. Settable only for `dns` and `dnsResolver` rules.
|
|
156
144
|
*/
|
|
157
145
|
schedule?: pulumi.Input<inputs.ZeroTrustGatewayPolicySchedule>;
|
|
158
146
|
/**
|
|
159
|
-
*
|
|
147
|
+
* Indicate that this rule is sharable via the Orgs API.
|
|
148
|
+
*/
|
|
149
|
+
sharable?: pulumi.Input<boolean>;
|
|
150
|
+
/**
|
|
151
|
+
* Provide the account tag of the account that created the rule.
|
|
160
152
|
*/
|
|
161
153
|
sourceAccount?: pulumi.Input<string>;
|
|
162
154
|
traffic?: pulumi.Input<string>;
|
|
163
155
|
updatedAt?: pulumi.Input<string>;
|
|
164
156
|
/**
|
|
165
|
-
* version number of the rule.
|
|
157
|
+
* Indicate the version number of the rule(read-only).
|
|
166
158
|
*/
|
|
167
159
|
version?: pulumi.Input<number>;
|
|
168
160
|
/**
|
|
169
|
-
*
|
|
161
|
+
* Indicate a warning for a misconfigured rule, if any.
|
|
170
162
|
*/
|
|
171
163
|
warningStatus?: pulumi.Input<string>;
|
|
172
164
|
}
|
|
@@ -176,40 +168,36 @@ export interface ZeroTrustGatewayPolicyState {
|
|
|
176
168
|
export interface ZeroTrustGatewayPolicyArgs {
|
|
177
169
|
accountId: pulumi.Input<string>;
|
|
178
170
|
/**
|
|
179
|
-
*
|
|
171
|
+
* Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to `true`.
|
|
180
172
|
* Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", "l4Override", "egress", "resolve", "quarantine", "redirect".
|
|
181
173
|
*/
|
|
182
174
|
action: pulumi.Input<string>;
|
|
183
175
|
/**
|
|
184
|
-
*
|
|
176
|
+
* Specify the rule description.
|
|
185
177
|
*/
|
|
186
178
|
description?: pulumi.Input<string>;
|
|
187
179
|
devicePosture?: pulumi.Input<string>;
|
|
188
180
|
/**
|
|
189
|
-
*
|
|
181
|
+
* Specify whether the rule is enabled.
|
|
190
182
|
*/
|
|
191
183
|
enabled?: pulumi.Input<boolean>;
|
|
192
184
|
/**
|
|
193
|
-
*
|
|
194
|
-
* precedence over the policy's `schedule` configuration, if any.
|
|
185
|
+
* Defines the expiration time stamp and default duration of a DNS policy. Takes precedence over the policy's `schedule` configuration, if any. This does not apply to HTTP or network policies. Settable only for `dns` rules.
|
|
195
186
|
*/
|
|
196
187
|
expiration?: pulumi.Input<inputs.ZeroTrustGatewayPolicyExpiration>;
|
|
197
188
|
/**
|
|
198
|
-
*
|
|
189
|
+
* Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions.
|
|
199
190
|
*/
|
|
200
191
|
filters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
201
192
|
identity?: pulumi.Input<string>;
|
|
202
193
|
/**
|
|
203
|
-
*
|
|
194
|
+
* Specify the rule name.
|
|
204
195
|
*/
|
|
205
196
|
name: pulumi.Input<string>;
|
|
206
197
|
precedence?: pulumi.Input<number>;
|
|
207
|
-
/**
|
|
208
|
-
* Additional settings that modify the rule's action.
|
|
209
|
-
*/
|
|
210
198
|
ruleSettings?: pulumi.Input<inputs.ZeroTrustGatewayPolicyRuleSettings>;
|
|
211
199
|
/**
|
|
212
|
-
*
|
|
200
|
+
* Defines the schedule for activating DNS policies. Settable only for `dns` and `dnsResolver` rules.
|
|
213
201
|
*/
|
|
214
202
|
schedule?: pulumi.Input<inputs.ZeroTrustGatewayPolicySchedule>;
|
|
215
203
|
traffic?: pulumi.Input<string>;
|
|
@@ -53,11 +53,11 @@ class ZeroTrustGatewayPolicy extends pulumi.CustomResource {
|
|
|
53
53
|
resourceInputs["filters"] = state?.filters;
|
|
54
54
|
resourceInputs["identity"] = state?.identity;
|
|
55
55
|
resourceInputs["name"] = state?.name;
|
|
56
|
-
resourceInputs["notSharable"] = state?.notSharable;
|
|
57
56
|
resourceInputs["precedence"] = state?.precedence;
|
|
58
57
|
resourceInputs["readOnly"] = state?.readOnly;
|
|
59
58
|
resourceInputs["ruleSettings"] = state?.ruleSettings;
|
|
60
59
|
resourceInputs["schedule"] = state?.schedule;
|
|
60
|
+
resourceInputs["sharable"] = state?.sharable;
|
|
61
61
|
resourceInputs["sourceAccount"] = state?.sourceAccount;
|
|
62
62
|
resourceInputs["traffic"] = state?.traffic;
|
|
63
63
|
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
@@ -90,8 +90,8 @@ class ZeroTrustGatewayPolicy extends pulumi.CustomResource {
|
|
|
90
90
|
resourceInputs["traffic"] = args?.traffic;
|
|
91
91
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
92
92
|
resourceInputs["deletedAt"] = undefined /*out*/;
|
|
93
|
-
resourceInputs["notSharable"] = undefined /*out*/;
|
|
94
93
|
resourceInputs["readOnly"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["sharable"] = undefined /*out*/;
|
|
95
95
|
resourceInputs["sourceAccount"] = undefined /*out*/;
|
|
96
96
|
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
97
97
|
resourceInputs["version"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zeroTrustGatewayPolicy.js","sourceRoot":"","sources":["../zeroTrustGatewayPolicy.ts"],"names":[],"mappings":";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class ZeroTrustGatewayProxyEndpoint extends pulumi.CustomResource
|
|
|
38
38
|
readonly accountId: pulumi.Output<string>;
|
|
39
39
|
readonly createdAt: pulumi.Output<string>;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Specify the list of CIDRs to restrict ingress connections.
|
|
42
42
|
*/
|
|
43
43
|
readonly ips: pulumi.Output<string[]>;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Specify the name of the proxy endpoint.
|
|
46
46
|
*/
|
|
47
47
|
readonly name: pulumi.Output<string>;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Specify the subdomain to use as the destination in the proxy client.
|
|
50
50
|
*/
|
|
51
51
|
readonly subdomain: pulumi.Output<string>;
|
|
52
52
|
readonly updatedAt: pulumi.Output<string>;
|
|
@@ -66,15 +66,15 @@ export interface ZeroTrustGatewayProxyEndpointState {
|
|
|
66
66
|
accountId?: pulumi.Input<string>;
|
|
67
67
|
createdAt?: pulumi.Input<string>;
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* Specify the list of CIDRs to restrict ingress connections.
|
|
70
70
|
*/
|
|
71
71
|
ips?: pulumi.Input<pulumi.Input<string>[]>;
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* Specify the name of the proxy endpoint.
|
|
74
74
|
*/
|
|
75
75
|
name?: pulumi.Input<string>;
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
77
|
+
* Specify the subdomain to use as the destination in the proxy client.
|
|
78
78
|
*/
|
|
79
79
|
subdomain?: pulumi.Input<string>;
|
|
80
80
|
updatedAt?: pulumi.Input<string>;
|
|
@@ -85,11 +85,11 @@ export interface ZeroTrustGatewayProxyEndpointState {
|
|
|
85
85
|
export interface ZeroTrustGatewayProxyEndpointArgs {
|
|
86
86
|
accountId: pulumi.Input<string>;
|
|
87
87
|
/**
|
|
88
|
-
*
|
|
88
|
+
* Specify the list of CIDRs to restrict ingress connections.
|
|
89
89
|
*/
|
|
90
90
|
ips: pulumi.Input<pulumi.Input<string>[]>;
|
|
91
91
|
/**
|
|
92
|
-
*
|
|
92
|
+
* Specify the name of the proxy endpoint.
|
|
93
93
|
*/
|
|
94
94
|
name: pulumi.Input<string>;
|
|
95
95
|
}
|
|
@@ -29,7 +29,7 @@ export declare class ZeroTrustGatewaySettings extends pulumi.CustomResource {
|
|
|
29
29
|
readonly accountId: pulumi.Output<string>;
|
|
30
30
|
readonly createdAt: pulumi.Output<string>;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Specify account settings.
|
|
33
33
|
*/
|
|
34
34
|
readonly settings: pulumi.Output<outputs.ZeroTrustGatewaySettingsSettings | undefined>;
|
|
35
35
|
readonly updatedAt: pulumi.Output<string>;
|
|
@@ -49,7 +49,7 @@ export interface ZeroTrustGatewaySettingsState {
|
|
|
49
49
|
accountId?: pulumi.Input<string>;
|
|
50
50
|
createdAt?: pulumi.Input<string>;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* Specify account settings.
|
|
53
53
|
*/
|
|
54
54
|
settings?: pulumi.Input<inputs.ZeroTrustGatewaySettingsSettings>;
|
|
55
55
|
updatedAt?: pulumi.Input<string>;
|
|
@@ -60,7 +60,7 @@ export interface ZeroTrustGatewaySettingsState {
|
|
|
60
60
|
export interface ZeroTrustGatewaySettingsArgs {
|
|
61
61
|
accountId: pulumi.Input<string>;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* Specify account settings.
|
|
64
64
|
*/
|
|
65
65
|
settings?: pulumi.Input<inputs.ZeroTrustGatewaySettingsSettings>;
|
|
66
66
|
}
|
package/zeroTrustList.d.ts
CHANGED
|
@@ -45,23 +45,23 @@ export declare class ZeroTrustList extends pulumi.CustomResource {
|
|
|
45
45
|
readonly accountId: pulumi.Output<string>;
|
|
46
46
|
readonly createdAt: pulumi.Output<string>;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Provide the list description.
|
|
49
49
|
*/
|
|
50
50
|
readonly description: pulumi.Output<string>;
|
|
51
51
|
/**
|
|
52
|
-
* items to
|
|
52
|
+
* Add items to the list.
|
|
53
53
|
*/
|
|
54
54
|
readonly items: pulumi.Output<outputs.ZeroTrustListItem[] | undefined>;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* Indicate the number of items in the list.
|
|
57
57
|
*/
|
|
58
58
|
readonly listCount: pulumi.Output<number>;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Specify the list name.
|
|
61
61
|
*/
|
|
62
62
|
readonly name: pulumi.Output<string>;
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
64
|
+
* Specify the list type.
|
|
65
65
|
* Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP".
|
|
66
66
|
*/
|
|
67
67
|
readonly type: pulumi.Output<string>;
|
|
@@ -82,23 +82,23 @@ export interface ZeroTrustListState {
|
|
|
82
82
|
accountId?: pulumi.Input<string>;
|
|
83
83
|
createdAt?: pulumi.Input<string>;
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* Provide the list description.
|
|
86
86
|
*/
|
|
87
87
|
description?: pulumi.Input<string>;
|
|
88
88
|
/**
|
|
89
|
-
* items to
|
|
89
|
+
* Add items to the list.
|
|
90
90
|
*/
|
|
91
91
|
items?: pulumi.Input<pulumi.Input<inputs.ZeroTrustListItem>[]>;
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* Indicate the number of items in the list.
|
|
94
94
|
*/
|
|
95
95
|
listCount?: pulumi.Input<number>;
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* Specify the list name.
|
|
98
98
|
*/
|
|
99
99
|
name?: pulumi.Input<string>;
|
|
100
100
|
/**
|
|
101
|
-
*
|
|
101
|
+
* Specify the list type.
|
|
102
102
|
* Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP".
|
|
103
103
|
*/
|
|
104
104
|
type?: pulumi.Input<string>;
|
|
@@ -110,19 +110,19 @@ export interface ZeroTrustListState {
|
|
|
110
110
|
export interface ZeroTrustListArgs {
|
|
111
111
|
accountId: pulumi.Input<string>;
|
|
112
112
|
/**
|
|
113
|
-
*
|
|
113
|
+
* Provide the list description.
|
|
114
114
|
*/
|
|
115
115
|
description?: pulumi.Input<string>;
|
|
116
116
|
/**
|
|
117
|
-
* items to
|
|
117
|
+
* Add items to the list.
|
|
118
118
|
*/
|
|
119
119
|
items?: pulumi.Input<pulumi.Input<inputs.ZeroTrustListItem>[]>;
|
|
120
120
|
/**
|
|
121
|
-
*
|
|
121
|
+
* Specify the list name.
|
|
122
122
|
*/
|
|
123
123
|
name: pulumi.Input<string>;
|
|
124
124
|
/**
|
|
125
|
-
*
|
|
125
|
+
* Specify the list type.
|
|
126
126
|
* Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP".
|
|
127
127
|
*/
|
|
128
128
|
type: pulumi.Input<string>;
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
8
|
+
*
|
|
9
|
+
* const exampleZeroTrustNetworkHostnameRoute = new cloudflare.ZeroTrustNetworkHostnameRoute("example_zero_trust_network_hostname_route", {
|
|
10
|
+
* accountId: "699d98642c564d2e855e9661899b7252",
|
|
11
|
+
* comment: "example comment",
|
|
12
|
+
* hostname: "office-1.local",
|
|
13
|
+
* tunnelId: "f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import cloudflare:index/zeroTrustNetworkHostnameRoute:ZeroTrustNetworkHostnameRoute example '<account_id>/<hostname_route_id>'
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare class ZeroTrustNetworkHostnameRoute extends pulumi.CustomResource {
|
|
24
|
+
/**
|
|
25
|
+
* Get an existing ZeroTrustNetworkHostnameRoute resource's state with the given name, ID, and optional extra
|
|
26
|
+
* properties used to qualify the lookup.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resulting resource.
|
|
29
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
30
|
+
* @param state Any extra arguments used during the lookup.
|
|
31
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
32
|
+
*/
|
|
33
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ZeroTrustNetworkHostnameRouteState, opts?: pulumi.CustomResourceOptions): ZeroTrustNetworkHostnameRoute;
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of ZeroTrustNetworkHostnameRoute. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj: any): obj is ZeroTrustNetworkHostnameRoute;
|
|
39
|
+
/**
|
|
40
|
+
* Cloudflare account ID
|
|
41
|
+
*/
|
|
42
|
+
readonly accountId: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* An optional description of the hostname route.
|
|
45
|
+
*/
|
|
46
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* Timestamp of when the resource was created.
|
|
49
|
+
*/
|
|
50
|
+
readonly createdAt: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Timestamp of when the resource was deleted. If `null`, the resource has not been deleted.
|
|
53
|
+
*/
|
|
54
|
+
readonly deletedAt: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The hostname of the route.
|
|
57
|
+
*/
|
|
58
|
+
readonly hostname: pulumi.Output<string | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* UUID of the tunnel.
|
|
61
|
+
*/
|
|
62
|
+
readonly tunnelId: pulumi.Output<string | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* A user-friendly name for a tunnel.
|
|
65
|
+
*/
|
|
66
|
+
readonly tunnelName: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Create a ZeroTrustNetworkHostnameRoute resource with the given unique name, arguments, and options.
|
|
69
|
+
*
|
|
70
|
+
* @param name The _unique_ name of the resource.
|
|
71
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
72
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
73
|
+
*/
|
|
74
|
+
constructor(name: string, args: ZeroTrustNetworkHostnameRouteArgs, opts?: pulumi.CustomResourceOptions);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Input properties used for looking up and filtering ZeroTrustNetworkHostnameRoute resources.
|
|
78
|
+
*/
|
|
79
|
+
export interface ZeroTrustNetworkHostnameRouteState {
|
|
80
|
+
/**
|
|
81
|
+
* Cloudflare account ID
|
|
82
|
+
*/
|
|
83
|
+
accountId?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* An optional description of the hostname route.
|
|
86
|
+
*/
|
|
87
|
+
comment?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Timestamp of when the resource was created.
|
|
90
|
+
*/
|
|
91
|
+
createdAt?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Timestamp of when the resource was deleted. If `null`, the resource has not been deleted.
|
|
94
|
+
*/
|
|
95
|
+
deletedAt?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The hostname of the route.
|
|
98
|
+
*/
|
|
99
|
+
hostname?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* UUID of the tunnel.
|
|
102
|
+
*/
|
|
103
|
+
tunnelId?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* A user-friendly name for a tunnel.
|
|
106
|
+
*/
|
|
107
|
+
tunnelName?: pulumi.Input<string>;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* The set of arguments for constructing a ZeroTrustNetworkHostnameRoute resource.
|
|
111
|
+
*/
|
|
112
|
+
export interface ZeroTrustNetworkHostnameRouteArgs {
|
|
113
|
+
/**
|
|
114
|
+
* Cloudflare account ID
|
|
115
|
+
*/
|
|
116
|
+
accountId: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* An optional description of the hostname route.
|
|
119
|
+
*/
|
|
120
|
+
comment?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* The hostname of the route.
|
|
123
|
+
*/
|
|
124
|
+
hostname?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* UUID of the tunnel.
|
|
127
|
+
*/
|
|
128
|
+
tunnelId?: pulumi.Input<string>;
|
|
129
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.ZeroTrustNetworkHostnameRoute = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
14
|
+
*
|
|
15
|
+
* const exampleZeroTrustNetworkHostnameRoute = new cloudflare.ZeroTrustNetworkHostnameRoute("example_zero_trust_network_hostname_route", {
|
|
16
|
+
* accountId: "699d98642c564d2e855e9661899b7252",
|
|
17
|
+
* comment: "example comment",
|
|
18
|
+
* hostname: "office-1.local",
|
|
19
|
+
* tunnelId: "f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import cloudflare:index/zeroTrustNetworkHostnameRoute:ZeroTrustNetworkHostnameRoute example '<account_id>/<hostname_route_id>'
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
class ZeroTrustNetworkHostnameRoute extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing ZeroTrustNetworkHostnameRoute resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name, id, state, opts) {
|
|
40
|
+
return new ZeroTrustNetworkHostnameRoute(name, state, { ...opts, id: id });
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of ZeroTrustNetworkHostnameRoute. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj) {
|
|
47
|
+
if (obj === undefined || obj === null) {
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
return obj['__pulumiType'] === ZeroTrustNetworkHostnameRoute.__pulumiType;
|
|
51
|
+
}
|
|
52
|
+
constructor(name, argsOrState, opts) {
|
|
53
|
+
let resourceInputs = {};
|
|
54
|
+
opts = opts || {};
|
|
55
|
+
if (opts.id) {
|
|
56
|
+
const state = argsOrState;
|
|
57
|
+
resourceInputs["accountId"] = state?.accountId;
|
|
58
|
+
resourceInputs["comment"] = state?.comment;
|
|
59
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
60
|
+
resourceInputs["deletedAt"] = state?.deletedAt;
|
|
61
|
+
resourceInputs["hostname"] = state?.hostname;
|
|
62
|
+
resourceInputs["tunnelId"] = state?.tunnelId;
|
|
63
|
+
resourceInputs["tunnelName"] = state?.tunnelName;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const args = argsOrState;
|
|
67
|
+
if (args?.accountId === undefined && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'accountId'");
|
|
69
|
+
}
|
|
70
|
+
resourceInputs["accountId"] = args?.accountId;
|
|
71
|
+
resourceInputs["comment"] = args?.comment;
|
|
72
|
+
resourceInputs["hostname"] = args?.hostname;
|
|
73
|
+
resourceInputs["tunnelId"] = args?.tunnelId;
|
|
74
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["deletedAt"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["tunnelName"] = undefined /*out*/;
|
|
77
|
+
}
|
|
78
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
79
|
+
super(ZeroTrustNetworkHostnameRoute.__pulumiType, name, resourceInputs, opts);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.ZeroTrustNetworkHostnameRoute = ZeroTrustNetworkHostnameRoute;
|
|
83
|
+
/** @internal */
|
|
84
|
+
ZeroTrustNetworkHostnameRoute.__pulumiType = 'cloudflare:index/zeroTrustNetworkHostnameRoute:ZeroTrustNetworkHostnameRoute';
|
|
85
|
+
//# sourceMappingURL=zeroTrustNetworkHostnameRoute.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zeroTrustNetworkHostnameRoute.js","sourceRoot":"","sources":["../zeroTrustNetworkHostnameRoute.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,6BAA8B,SAA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