@pulumi/cloudflare 4.7.0 → 4.8.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/accessApplication.d.ts +54 -80
- package/accessApplication.js +9 -5
- package/accessApplication.js.map +1 -1
- package/accessBookmark.d.ts +21 -22
- package/accessBookmark.js +9 -7
- package/accessBookmark.js.map +1 -1
- package/accessCaCertificate.d.ts +21 -11
- package/accessCaCertificate.js +15 -5
- package/accessCaCertificate.js.map +1 -1
- package/accessGroup.d.ts +14 -92
- package/accessGroup.js +8 -41
- package/accessGroup.js.map +1 -1
- package/accessIdentityProvider.d.ts +26 -28
- package/accessIdentityProvider.js +8 -10
- package/accessIdentityProvider.js.map +1 -1
- package/accessKeysConfiguration.d.ts +18 -0
- package/accessKeysConfiguration.js.map +1 -1
- package/accessMutualTlsCertificate.d.ts +20 -8
- package/accessMutualTlsCertificate.js +14 -2
- package/accessMutualTlsCertificate.js.map +1 -1
- package/accessPolicy.d.ts +53 -49
- package/accessPolicy.js +11 -7
- package/accessPolicy.js.map +1 -1
- package/accessRule.d.ts +67 -14
- package/accessRule.js +55 -5
- package/accessRule.js.map +1 -1
- package/accessServiceToken.d.ts +18 -12
- package/accessServiceToken.js +3 -6
- package/accessServiceToken.js.map +1 -1
- package/accountMember.d.ts +10 -11
- package/accountMember.js +1 -5
- package/accountMember.js.map +1 -1
- package/apiToken.d.ts +11 -122
- package/apiToken.js +1 -109
- package/apiToken.js.map +1 -1
- package/argo.d.ts +10 -14
- package/argo.js +1 -5
- package/argo.js.map +1 -1
- package/argoTunnel.d.ts +8 -0
- package/argoTunnel.js +2 -0
- package/argoTunnel.js.map +1 -1
- package/byoIpPrefix.d.ts +9 -0
- package/byoIpPrefix.js.map +1 -1
- package/config/vars.d.ts +22 -12
- package/config/vars.js.map +1 -1
- package/customPages.d.ts +1 -1
- package/customPages.js +1 -1
- package/filter.d.ts +8 -12
- package/filter.js +2 -6
- package/filter.js.map +1 -1
- package/firewallRule.d.ts +37 -22
- package/firewallRule.js +4 -7
- package/firewallRule.js.map +1 -1
- package/getAccessIdentityProvider.d.ts +0 -48
- package/getAccessIdentityProvider.js +0 -24
- package/getAccessIdentityProvider.js.map +1 -1
- package/getAccountRoles.d.ts +0 -12
- package/getAccountRoles.js +0 -3
- package/getAccountRoles.js.map +1 -1
- package/getApiTokenPermissionGroups.d.ts +0 -17
- package/getApiTokenPermissionGroups.js +0 -13
- package/getApiTokenPermissionGroups.js.map +1 -1
- package/getDevices.d.ts +0 -23
- package/getDevices.js +0 -14
- package/getDevices.js.map +1 -1
- package/getIpRanges.d.ts +0 -36
- package/getIpRanges.js +0 -21
- package/getIpRanges.js.map +1 -1
- package/getOriginCaRootCertificate.d.ts +0 -23
- package/getOriginCaRootCertificate.js +0 -14
- package/getOriginCaRootCertificate.js.map +1 -1
- package/getWafGroups.d.ts +0 -46
- package/getWafGroups.js +0 -20
- package/getWafGroups.js.map +1 -1
- package/getWafPackages.d.ts +0 -39
- package/getWafPackages.js +0 -22
- package/getWafPackages.js.map +1 -1
- package/getWafRules.d.ts +0 -49
- package/getWafRules.js +0 -23
- package/getWafRules.js.map +1 -1
- package/getZone.d.ts +0 -81
- package/getZone.js +0 -41
- package/getZone.js.map +1 -1
- package/getZoneDnssec.d.ts +0 -50
- package/getZoneDnssec.js +0 -14
- package/getZoneDnssec.js.map +1 -1
- package/getZones.d.ts +0 -81
- package/getZones.js +0 -70
- package/getZones.js.map +1 -1
- package/healthcheck.d.ts +100 -74
- package/healthcheck.js +10 -14
- package/healthcheck.js.map +1 -1
- package/index.d.ts +4 -1
- package/index.js +20 -5
- package/index.js.map +1 -1
- package/ipsecTunnel.d.ts +107 -6
- package/ipsecTunnel.js +21 -3
- package/ipsecTunnel.js.map +1 -1
- package/list.d.ts +137 -0
- package/list.js +115 -0
- package/list.js.map +1 -0
- package/loadBalancerMonitor.d.ts +2 -0
- package/loadBalancerMonitor.js +2 -0
- package/loadBalancerMonitor.js.map +1 -1
- package/logpushJob.d.ts +94 -64
- package/logpushJob.js +10 -37
- package/logpushJob.js.map +1 -1
- package/{logPushOwnershipChallenge.d.ts → logpushOwnershipChallenge.d.ts} +13 -13
- package/{logPushOwnershipChallenge.js → logpushOwnershipChallenge.js} +12 -12
- package/{logPushOwnershipChallenge.js.map → logpushOwnershipChallenge.js.map} +1 -1
- package/managedHeaders.d.ts +98 -0
- package/managedHeaders.js +81 -0
- package/managedHeaders.js.map +1 -0
- package/notificationPolicy.d.ts +59 -78
- package/notificationPolicy.js +2 -57
- package/notificationPolicy.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/provider.d.ts +38 -19
- package/provider.js.map +1 -1
- package/record.d.ts +1 -1
- package/record.js +1 -1
- package/ruleset.d.ts +147 -24
- package/ruleset.js +111 -3
- package/ruleset.js.map +1 -1
- package/spectrumApplication.d.ts +7 -7
- package/spectrumApplication.js +1 -1
- package/tunnelRoute.d.ts +29 -17
- package/tunnelRoute.js +13 -14
- package/tunnelRoute.js.map +1 -1
- package/tunnelVirtualNetwork.d.ts +111 -0
- package/tunnelVirtualNetwork.js +85 -0
- package/tunnelVirtualNetwork.js.map +1 -0
- package/types/input.d.ts +145 -424
- package/types/output.d.ts +141 -491
- package/waitingRoom.d.ts +48 -34
- package/waitingRoom.js +5 -4
- package/waitingRoom.js.map +1 -1
- package/waitingRoomEvent.d.ts +52 -35
- package/waitingRoomEvent.js +4 -5
- package/waitingRoomEvent.js.map +1 -1
- package/workerCronTrigger.d.ts +9 -0
- package/workerCronTrigger.js.map +1 -1
- package/workerRoute.d.ts +2 -2
- package/workerRoute.js +2 -2
- package/workerScript.d.ts +2 -2
- package/workerScript.js +2 -2
- package/workersKv.d.ts +1 -1
- package/workersKv.js +1 -1
- package/zone.d.ts +5 -5
- package/zone.js +1 -1
- package/zoneDnssec.d.ts +1 -1
- package/zoneDnssec.js +1 -1
- package/zoneLockdown.d.ts +4 -4
- package/zoneLockdown.js +1 -1
- package/zoneSettingsOverride.d.ts +4 -4
package/accessApplication.d.ts
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
3
|
/**
|
|
4
|
-
* Provides a Cloudflare Access Application resource. Access
|
|
5
|
-
* are used to restrict access to a whole application using an
|
|
4
|
+
* Provides a Cloudflare Access Application resource. Access
|
|
5
|
+
* Applications are used to restrict access to a whole application using an
|
|
6
6
|
* authorisation gateway managed by Cloudflare.
|
|
7
7
|
*
|
|
8
|
+
* > It's required that an `accountId` or `zoneId` is provided and in
|
|
9
|
+
* most cases using either is fine. However, if you're using a scoped
|
|
10
|
+
* access token, you must provide the argument that matches the token's
|
|
11
|
+
* scope. For example, an access token that is scoped to the "example.com"
|
|
12
|
+
* zone needs to use the `zoneId` argument.
|
|
13
|
+
*
|
|
8
14
|
* ## Example Usage
|
|
9
15
|
*
|
|
10
16
|
* ```typescript
|
|
@@ -33,10 +39,8 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
33
39
|
*
|
|
34
40
|
* ## Import
|
|
35
41
|
*
|
|
36
|
-
* Access Applications can be imported using a composite ID formed of account ID and application ID.
|
|
37
|
-
*
|
|
38
42
|
* ```sh
|
|
39
|
-
* $ pulumi import cloudflare:index/accessApplication:AccessApplication
|
|
43
|
+
* $ pulumi import cloudflare:index/accessApplication:AccessApplication example <account_id>/<application_id>
|
|
40
44
|
* ```
|
|
41
45
|
*/
|
|
42
46
|
export declare class AccessApplication extends pulumi.CustomResource {
|
|
@@ -56,7 +60,7 @@ export declare class AccessApplication extends pulumi.CustomResource {
|
|
|
56
60
|
*/
|
|
57
61
|
static isInstance(obj: any): obj is AccessApplication;
|
|
58
62
|
/**
|
|
59
|
-
* The account to
|
|
63
|
+
* The account identifier to target for the resource.
|
|
60
64
|
*/
|
|
61
65
|
readonly accountId: pulumi.Output<string>;
|
|
62
66
|
/**
|
|
@@ -64,22 +68,19 @@ export declare class AccessApplication extends pulumi.CustomResource {
|
|
|
64
68
|
*/
|
|
65
69
|
readonly allowedIdps: pulumi.Output<string[] | undefined>;
|
|
66
70
|
/**
|
|
67
|
-
* Option to show/hide applications in App Launcher.
|
|
71
|
+
* Option to show/hide applications in App Launcher.
|
|
68
72
|
*/
|
|
69
73
|
readonly appLauncherVisible: pulumi.Output<boolean | undefined>;
|
|
70
74
|
/**
|
|
71
|
-
* Application Audience (AUD) Tag of the application
|
|
75
|
+
* Application Audience (AUD) Tag of the application.
|
|
72
76
|
*/
|
|
73
77
|
readonly aud: pulumi.Output<string>;
|
|
74
78
|
/**
|
|
75
|
-
* Option to skip identity provider
|
|
76
|
-
* selection if only one is configured in allowed_idps. Defaults to `false`
|
|
77
|
-
* (disabled).
|
|
79
|
+
* Option to skip identity provider selection if only one is configured in `allowed_idps`.
|
|
78
80
|
*/
|
|
79
81
|
readonly autoRedirectToIdentity: pulumi.Output<boolean | undefined>;
|
|
80
82
|
/**
|
|
81
|
-
* CORS configuration for the Access Application. See
|
|
82
|
-
* below for reference structure.
|
|
83
|
+
* CORS configuration for the Access Application. See below for reference structure.
|
|
83
84
|
*/
|
|
84
85
|
readonly corsHeaders: pulumi.Output<outputs.AccessApplicationCorsHeader[] | undefined>;
|
|
85
86
|
/**
|
|
@@ -91,21 +92,20 @@ export declare class AccessApplication extends pulumi.CustomResource {
|
|
|
91
92
|
*/
|
|
92
93
|
readonly customDenyUrl: pulumi.Output<string | undefined>;
|
|
93
94
|
/**
|
|
94
|
-
* The complete URL of the asset you wish to put
|
|
95
|
-
* Cloudflare Access in front of. Can include subdomains or paths. Or both.
|
|
95
|
+
* The complete URL of the asset you wish to put Cloudflare Access in front of. Can include subdomains or paths. Or both.
|
|
96
96
|
*/
|
|
97
97
|
readonly domain: pulumi.Output<string>;
|
|
98
98
|
/**
|
|
99
|
-
* Option to provide increased security against compromised authorization tokens and CSRF attacks by requiring an
|
|
99
|
+
* Option to provide increased security against compromised authorization tokens and CSRF attacks by requiring an
|
|
100
|
+
* additional "binding" cookie on requests.
|
|
100
101
|
*/
|
|
101
102
|
readonly enableBindingCookie: pulumi.Output<boolean | undefined>;
|
|
102
103
|
/**
|
|
103
104
|
* Option to add the `HttpOnly` cookie flag to access tokens.
|
|
104
105
|
*/
|
|
105
|
-
readonly httpOnlyCookieAttribute: pulumi.Output<boolean>;
|
|
106
|
+
readonly httpOnlyCookieAttribute: pulumi.Output<boolean | undefined>;
|
|
106
107
|
/**
|
|
107
|
-
* Image URL for the logo shown in the app launcher
|
|
108
|
-
* dashboard.
|
|
108
|
+
* Image URL for the logo shown in the app launcher dashboard.
|
|
109
109
|
*/
|
|
110
110
|
readonly logoUrl: pulumi.Output<string | undefined>;
|
|
111
111
|
/**
|
|
@@ -113,33 +113,27 @@ export declare class AccessApplication extends pulumi.CustomResource {
|
|
|
113
113
|
*/
|
|
114
114
|
readonly name: pulumi.Output<string>;
|
|
115
115
|
/**
|
|
116
|
-
* Defines the same-site cookie setting
|
|
117
|
-
* for access tokens. Valid values are `none`, `lax`, and `strict`.
|
|
116
|
+
* Defines the same-site cookie setting for access tokens. Available values: `none`, `lax`, `strict`
|
|
118
117
|
*/
|
|
119
118
|
readonly sameSiteCookieAttribute: pulumi.Output<string | undefined>;
|
|
120
119
|
/**
|
|
121
|
-
* Option to return a 401 status code in
|
|
122
|
-
* service authentication rules on failed requests.
|
|
120
|
+
* Option to return a 401 status code in service authentication rules on failed requests.
|
|
123
121
|
*/
|
|
124
122
|
readonly serviceAuth401Redirect: pulumi.Output<boolean | undefined>;
|
|
125
123
|
/**
|
|
126
|
-
* How often a user will be forced to
|
|
127
|
-
* re-authorise. Must be in the format `"48h"` or `"2h45m"`.
|
|
128
|
-
* Valid time units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. Defaults to `24h`.
|
|
124
|
+
* How often a user will be forced to re-authorise. Must be in the format `48h` or `2h45m`
|
|
129
125
|
*/
|
|
130
126
|
readonly sessionDuration: pulumi.Output<string | undefined>;
|
|
131
127
|
/**
|
|
132
|
-
* Option to skip the authorization interstitial
|
|
133
|
-
* when using the CLI.
|
|
128
|
+
* Option to skip the authorization interstitial when using the CLI.
|
|
134
129
|
*/
|
|
135
130
|
readonly skipInterstitial: pulumi.Output<boolean | undefined>;
|
|
136
131
|
/**
|
|
137
|
-
* The application type.
|
|
138
|
-
* values are `selfHosted`, `ssh`, `vnc`, `file` or `bookmark`.
|
|
132
|
+
* The application type. Available values: `self_hosted`, `ssh`, `vnc`, `file`
|
|
139
133
|
*/
|
|
140
134
|
readonly type: pulumi.Output<string | undefined>;
|
|
141
135
|
/**
|
|
142
|
-
* The
|
|
136
|
+
* The zone identifier to target for the resource.
|
|
143
137
|
*/
|
|
144
138
|
readonly zoneId: pulumi.Output<string>;
|
|
145
139
|
/**
|
|
@@ -156,7 +150,7 @@ export declare class AccessApplication extends pulumi.CustomResource {
|
|
|
156
150
|
*/
|
|
157
151
|
export interface AccessApplicationState {
|
|
158
152
|
/**
|
|
159
|
-
* The account to
|
|
153
|
+
* The account identifier to target for the resource.
|
|
160
154
|
*/
|
|
161
155
|
accountId?: pulumi.Input<string>;
|
|
162
156
|
/**
|
|
@@ -164,22 +158,19 @@ export interface AccessApplicationState {
|
|
|
164
158
|
*/
|
|
165
159
|
allowedIdps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
166
160
|
/**
|
|
167
|
-
* Option to show/hide applications in App Launcher.
|
|
161
|
+
* Option to show/hide applications in App Launcher.
|
|
168
162
|
*/
|
|
169
163
|
appLauncherVisible?: pulumi.Input<boolean>;
|
|
170
164
|
/**
|
|
171
|
-
* Application Audience (AUD) Tag of the application
|
|
165
|
+
* Application Audience (AUD) Tag of the application.
|
|
172
166
|
*/
|
|
173
167
|
aud?: pulumi.Input<string>;
|
|
174
168
|
/**
|
|
175
|
-
* Option to skip identity provider
|
|
176
|
-
* selection if only one is configured in allowed_idps. Defaults to `false`
|
|
177
|
-
* (disabled).
|
|
169
|
+
* Option to skip identity provider selection if only one is configured in `allowed_idps`.
|
|
178
170
|
*/
|
|
179
171
|
autoRedirectToIdentity?: pulumi.Input<boolean>;
|
|
180
172
|
/**
|
|
181
|
-
* CORS configuration for the Access Application. See
|
|
182
|
-
* below for reference structure.
|
|
173
|
+
* CORS configuration for the Access Application. See below for reference structure.
|
|
183
174
|
*/
|
|
184
175
|
corsHeaders?: pulumi.Input<pulumi.Input<inputs.AccessApplicationCorsHeader>[]>;
|
|
185
176
|
/**
|
|
@@ -191,12 +182,12 @@ export interface AccessApplicationState {
|
|
|
191
182
|
*/
|
|
192
183
|
customDenyUrl?: pulumi.Input<string>;
|
|
193
184
|
/**
|
|
194
|
-
* The complete URL of the asset you wish to put
|
|
195
|
-
* Cloudflare Access in front of. Can include subdomains or paths. Or both.
|
|
185
|
+
* The complete URL of the asset you wish to put Cloudflare Access in front of. Can include subdomains or paths. Or both.
|
|
196
186
|
*/
|
|
197
187
|
domain?: pulumi.Input<string>;
|
|
198
188
|
/**
|
|
199
|
-
* Option to provide increased security against compromised authorization tokens and CSRF attacks by requiring an
|
|
189
|
+
* Option to provide increased security against compromised authorization tokens and CSRF attacks by requiring an
|
|
190
|
+
* additional "binding" cookie on requests.
|
|
200
191
|
*/
|
|
201
192
|
enableBindingCookie?: pulumi.Input<boolean>;
|
|
202
193
|
/**
|
|
@@ -204,8 +195,7 @@ export interface AccessApplicationState {
|
|
|
204
195
|
*/
|
|
205
196
|
httpOnlyCookieAttribute?: pulumi.Input<boolean>;
|
|
206
197
|
/**
|
|
207
|
-
* Image URL for the logo shown in the app launcher
|
|
208
|
-
* dashboard.
|
|
198
|
+
* Image URL for the logo shown in the app launcher dashboard.
|
|
209
199
|
*/
|
|
210
200
|
logoUrl?: pulumi.Input<string>;
|
|
211
201
|
/**
|
|
@@ -213,33 +203,27 @@ export interface AccessApplicationState {
|
|
|
213
203
|
*/
|
|
214
204
|
name?: pulumi.Input<string>;
|
|
215
205
|
/**
|
|
216
|
-
* Defines the same-site cookie setting
|
|
217
|
-
* for access tokens. Valid values are `none`, `lax`, and `strict`.
|
|
206
|
+
* Defines the same-site cookie setting for access tokens. Available values: `none`, `lax`, `strict`
|
|
218
207
|
*/
|
|
219
208
|
sameSiteCookieAttribute?: pulumi.Input<string>;
|
|
220
209
|
/**
|
|
221
|
-
* Option to return a 401 status code in
|
|
222
|
-
* service authentication rules on failed requests.
|
|
210
|
+
* Option to return a 401 status code in service authentication rules on failed requests.
|
|
223
211
|
*/
|
|
224
212
|
serviceAuth401Redirect?: pulumi.Input<boolean>;
|
|
225
213
|
/**
|
|
226
|
-
* How often a user will be forced to
|
|
227
|
-
* re-authorise. Must be in the format `"48h"` or `"2h45m"`.
|
|
228
|
-
* Valid time units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. Defaults to `24h`.
|
|
214
|
+
* How often a user will be forced to re-authorise. Must be in the format `48h` or `2h45m`
|
|
229
215
|
*/
|
|
230
216
|
sessionDuration?: pulumi.Input<string>;
|
|
231
217
|
/**
|
|
232
|
-
* Option to skip the authorization interstitial
|
|
233
|
-
* when using the CLI.
|
|
218
|
+
* Option to skip the authorization interstitial when using the CLI.
|
|
234
219
|
*/
|
|
235
220
|
skipInterstitial?: pulumi.Input<boolean>;
|
|
236
221
|
/**
|
|
237
|
-
* The application type.
|
|
238
|
-
* values are `selfHosted`, `ssh`, `vnc`, `file` or `bookmark`.
|
|
222
|
+
* The application type. Available values: `self_hosted`, `ssh`, `vnc`, `file`
|
|
239
223
|
*/
|
|
240
224
|
type?: pulumi.Input<string>;
|
|
241
225
|
/**
|
|
242
|
-
* The
|
|
226
|
+
* The zone identifier to target for the resource.
|
|
243
227
|
*/
|
|
244
228
|
zoneId?: pulumi.Input<string>;
|
|
245
229
|
}
|
|
@@ -248,7 +232,7 @@ export interface AccessApplicationState {
|
|
|
248
232
|
*/
|
|
249
233
|
export interface AccessApplicationArgs {
|
|
250
234
|
/**
|
|
251
|
-
* The account to
|
|
235
|
+
* The account identifier to target for the resource.
|
|
252
236
|
*/
|
|
253
237
|
accountId?: pulumi.Input<string>;
|
|
254
238
|
/**
|
|
@@ -256,18 +240,15 @@ export interface AccessApplicationArgs {
|
|
|
256
240
|
*/
|
|
257
241
|
allowedIdps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
258
242
|
/**
|
|
259
|
-
* Option to show/hide applications in App Launcher.
|
|
243
|
+
* Option to show/hide applications in App Launcher.
|
|
260
244
|
*/
|
|
261
245
|
appLauncherVisible?: pulumi.Input<boolean>;
|
|
262
246
|
/**
|
|
263
|
-
* Option to skip identity provider
|
|
264
|
-
* selection if only one is configured in allowed_idps. Defaults to `false`
|
|
265
|
-
* (disabled).
|
|
247
|
+
* Option to skip identity provider selection if only one is configured in `allowed_idps`.
|
|
266
248
|
*/
|
|
267
249
|
autoRedirectToIdentity?: pulumi.Input<boolean>;
|
|
268
250
|
/**
|
|
269
|
-
* CORS configuration for the Access Application. See
|
|
270
|
-
* below for reference structure.
|
|
251
|
+
* CORS configuration for the Access Application. See below for reference structure.
|
|
271
252
|
*/
|
|
272
253
|
corsHeaders?: pulumi.Input<pulumi.Input<inputs.AccessApplicationCorsHeader>[]>;
|
|
273
254
|
/**
|
|
@@ -279,12 +260,12 @@ export interface AccessApplicationArgs {
|
|
|
279
260
|
*/
|
|
280
261
|
customDenyUrl?: pulumi.Input<string>;
|
|
281
262
|
/**
|
|
282
|
-
* The complete URL of the asset you wish to put
|
|
283
|
-
* Cloudflare Access in front of. Can include subdomains or paths. Or both.
|
|
263
|
+
* The complete URL of the asset you wish to put Cloudflare Access in front of. Can include subdomains or paths. Or both.
|
|
284
264
|
*/
|
|
285
265
|
domain: pulumi.Input<string>;
|
|
286
266
|
/**
|
|
287
|
-
* Option to provide increased security against compromised authorization tokens and CSRF attacks by requiring an
|
|
267
|
+
* Option to provide increased security against compromised authorization tokens and CSRF attacks by requiring an
|
|
268
|
+
* additional "binding" cookie on requests.
|
|
288
269
|
*/
|
|
289
270
|
enableBindingCookie?: pulumi.Input<boolean>;
|
|
290
271
|
/**
|
|
@@ -292,8 +273,7 @@ export interface AccessApplicationArgs {
|
|
|
292
273
|
*/
|
|
293
274
|
httpOnlyCookieAttribute?: pulumi.Input<boolean>;
|
|
294
275
|
/**
|
|
295
|
-
* Image URL for the logo shown in the app launcher
|
|
296
|
-
* dashboard.
|
|
276
|
+
* Image URL for the logo shown in the app launcher dashboard.
|
|
297
277
|
*/
|
|
298
278
|
logoUrl?: pulumi.Input<string>;
|
|
299
279
|
/**
|
|
@@ -301,33 +281,27 @@ export interface AccessApplicationArgs {
|
|
|
301
281
|
*/
|
|
302
282
|
name: pulumi.Input<string>;
|
|
303
283
|
/**
|
|
304
|
-
* Defines the same-site cookie setting
|
|
305
|
-
* for access tokens. Valid values are `none`, `lax`, and `strict`.
|
|
284
|
+
* Defines the same-site cookie setting for access tokens. Available values: `none`, `lax`, `strict`
|
|
306
285
|
*/
|
|
307
286
|
sameSiteCookieAttribute?: pulumi.Input<string>;
|
|
308
287
|
/**
|
|
309
|
-
* Option to return a 401 status code in
|
|
310
|
-
* service authentication rules on failed requests.
|
|
288
|
+
* Option to return a 401 status code in service authentication rules on failed requests.
|
|
311
289
|
*/
|
|
312
290
|
serviceAuth401Redirect?: pulumi.Input<boolean>;
|
|
313
291
|
/**
|
|
314
|
-
* How often a user will be forced to
|
|
315
|
-
* re-authorise. Must be in the format `"48h"` or `"2h45m"`.
|
|
316
|
-
* Valid time units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. Defaults to `24h`.
|
|
292
|
+
* How often a user will be forced to re-authorise. Must be in the format `48h` or `2h45m`
|
|
317
293
|
*/
|
|
318
294
|
sessionDuration?: pulumi.Input<string>;
|
|
319
295
|
/**
|
|
320
|
-
* Option to skip the authorization interstitial
|
|
321
|
-
* when using the CLI.
|
|
296
|
+
* Option to skip the authorization interstitial when using the CLI.
|
|
322
297
|
*/
|
|
323
298
|
skipInterstitial?: pulumi.Input<boolean>;
|
|
324
299
|
/**
|
|
325
|
-
* The application type.
|
|
326
|
-
* values are `selfHosted`, `ssh`, `vnc`, `file` or `bookmark`.
|
|
300
|
+
* The application type. Available values: `self_hosted`, `ssh`, `vnc`, `file`
|
|
327
301
|
*/
|
|
328
302
|
type?: pulumi.Input<string>;
|
|
329
303
|
/**
|
|
330
|
-
* The
|
|
304
|
+
* The zone identifier to target for the resource.
|
|
331
305
|
*/
|
|
332
306
|
zoneId?: pulumi.Input<string>;
|
|
333
307
|
}
|
package/accessApplication.js
CHANGED
|
@@ -6,10 +6,16 @@ exports.AccessApplication = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a Cloudflare Access Application resource. Access
|
|
10
|
-
* are used to restrict access to a whole application using an
|
|
9
|
+
* Provides a Cloudflare Access Application resource. Access
|
|
10
|
+
* Applications are used to restrict access to a whole application using an
|
|
11
11
|
* authorisation gateway managed by Cloudflare.
|
|
12
12
|
*
|
|
13
|
+
* > It's required that an `accountId` or `zoneId` is provided and in
|
|
14
|
+
* most cases using either is fine. However, if you're using a scoped
|
|
15
|
+
* access token, you must provide the argument that matches the token's
|
|
16
|
+
* scope. For example, an access token that is scoped to the "example.com"
|
|
17
|
+
* zone needs to use the `zoneId` argument.
|
|
18
|
+
*
|
|
13
19
|
* ## Example Usage
|
|
14
20
|
*
|
|
15
21
|
* ```typescript
|
|
@@ -38,10 +44,8 @@ const utilities = require("./utilities");
|
|
|
38
44
|
*
|
|
39
45
|
* ## Import
|
|
40
46
|
*
|
|
41
|
-
* Access Applications can be imported using a composite ID formed of account ID and application ID.
|
|
42
|
-
*
|
|
43
47
|
* ```sh
|
|
44
|
-
* $ pulumi import cloudflare:index/accessApplication:AccessApplication
|
|
48
|
+
* $ pulumi import cloudflare:index/accessApplication:AccessApplication example <account_id>/<application_id>
|
|
45
49
|
* ```
|
|
46
50
|
*/
|
|
47
51
|
class AccessApplication extends pulumi.CustomResource {
|
package/accessApplication.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accessApplication.js","sourceRoot":"","sources":["../accessApplication.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"accessApplication.js","sourceRoot":"","sources":["../accessApplication.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IAkHxD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,wBAAwB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,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C,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;IAvKD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;;AA1BL,8CAyKC;AA3JG,gBAAgB;AACO,8BAAY,GAAG,sDAAsD,CAAC"}
|
package/accessBookmark.d.ts
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Provides a Cloudflare Access Bookmark resource. Access Bookmark
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* Provides a Cloudflare Access Bookmark resource. Access Bookmark applications are not protected behind Access but are displayed in the App Launcher.
|
|
4
|
+
*
|
|
5
|
+
* > It's required that an `accountId` or `zoneId` is provided and in
|
|
6
|
+
* most cases using either is fine. However, if you're using a scoped
|
|
7
|
+
* access token, you must provide the argument that matches the token's
|
|
8
|
+
* scope. For example, an access token that is scoped to the "example.com"
|
|
9
|
+
* zone needs to use the `zoneId` argument.
|
|
6
10
|
*
|
|
7
11
|
* ## Example Usage
|
|
8
12
|
*
|
|
@@ -14,17 +18,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
18
|
* accountId: "1d5fdc9e88c8a8c4518b068cd94331fe",
|
|
15
19
|
* appLauncherVisible: true,
|
|
16
20
|
* domain: "example.com",
|
|
17
|
-
* logoUrl: "https://
|
|
21
|
+
* logoUrl: "https://example.com/example.png",
|
|
18
22
|
* name: "My Bookmark App",
|
|
19
23
|
* });
|
|
20
24
|
* ```
|
|
21
25
|
*
|
|
22
26
|
* ## Import
|
|
23
27
|
*
|
|
24
|
-
* Access Bookmarks can be imported using a composite ID formed of account ID and bookmark ID.
|
|
25
|
-
*
|
|
26
28
|
* ```sh
|
|
27
|
-
* $ pulumi import cloudflare:index/accessBookmark:AccessBookmark
|
|
29
|
+
* $ pulumi import cloudflare:index/accessBookmark:AccessBookmark example <account_id>/<bookmark_id>
|
|
28
30
|
* ```
|
|
29
31
|
*/
|
|
30
32
|
export declare class AccessBookmark extends pulumi.CustomResource {
|
|
@@ -44,11 +46,11 @@ export declare class AccessBookmark extends pulumi.CustomResource {
|
|
|
44
46
|
*/
|
|
45
47
|
static isInstance(obj: any): obj is AccessBookmark;
|
|
46
48
|
/**
|
|
47
|
-
* The account to
|
|
49
|
+
* The account identifier to target for the resource.
|
|
48
50
|
*/
|
|
49
51
|
readonly accountId: pulumi.Output<string>;
|
|
50
52
|
/**
|
|
51
|
-
* Option to show/hide the bookmark in the app launcher.
|
|
53
|
+
* Option to show/hide the bookmark in the app launcher.
|
|
52
54
|
*/
|
|
53
55
|
readonly appLauncherVisible: pulumi.Output<boolean | undefined>;
|
|
54
56
|
/**
|
|
@@ -56,8 +58,7 @@ export declare class AccessBookmark extends pulumi.CustomResource {
|
|
|
56
58
|
*/
|
|
57
59
|
readonly domain: pulumi.Output<string>;
|
|
58
60
|
/**
|
|
59
|
-
* The image URL for the logo shown in the app
|
|
60
|
-
* launcher dashboard.
|
|
61
|
+
* The image URL for the logo shown in the app launcher dashboard.
|
|
61
62
|
*/
|
|
62
63
|
readonly logoUrl: pulumi.Output<string | undefined>;
|
|
63
64
|
/**
|
|
@@ -65,7 +66,7 @@ export declare class AccessBookmark extends pulumi.CustomResource {
|
|
|
65
66
|
*/
|
|
66
67
|
readonly name: pulumi.Output<string>;
|
|
67
68
|
/**
|
|
68
|
-
* The
|
|
69
|
+
* The zone identifier to target for the resource.
|
|
69
70
|
*/
|
|
70
71
|
readonly zoneId: pulumi.Output<string>;
|
|
71
72
|
/**
|
|
@@ -82,11 +83,11 @@ export declare class AccessBookmark extends pulumi.CustomResource {
|
|
|
82
83
|
*/
|
|
83
84
|
export interface AccessBookmarkState {
|
|
84
85
|
/**
|
|
85
|
-
* The account to
|
|
86
|
+
* The account identifier to target for the resource.
|
|
86
87
|
*/
|
|
87
88
|
accountId?: pulumi.Input<string>;
|
|
88
89
|
/**
|
|
89
|
-
* Option to show/hide the bookmark in the app launcher.
|
|
90
|
+
* Option to show/hide the bookmark in the app launcher.
|
|
90
91
|
*/
|
|
91
92
|
appLauncherVisible?: pulumi.Input<boolean>;
|
|
92
93
|
/**
|
|
@@ -94,8 +95,7 @@ export interface AccessBookmarkState {
|
|
|
94
95
|
*/
|
|
95
96
|
domain?: pulumi.Input<string>;
|
|
96
97
|
/**
|
|
97
|
-
* The image URL for the logo shown in the app
|
|
98
|
-
* launcher dashboard.
|
|
98
|
+
* The image URL for the logo shown in the app launcher dashboard.
|
|
99
99
|
*/
|
|
100
100
|
logoUrl?: pulumi.Input<string>;
|
|
101
101
|
/**
|
|
@@ -103,7 +103,7 @@ export interface AccessBookmarkState {
|
|
|
103
103
|
*/
|
|
104
104
|
name?: pulumi.Input<string>;
|
|
105
105
|
/**
|
|
106
|
-
* The
|
|
106
|
+
* The zone identifier to target for the resource.
|
|
107
107
|
*/
|
|
108
108
|
zoneId?: pulumi.Input<string>;
|
|
109
109
|
}
|
|
@@ -112,11 +112,11 @@ export interface AccessBookmarkState {
|
|
|
112
112
|
*/
|
|
113
113
|
export interface AccessBookmarkArgs {
|
|
114
114
|
/**
|
|
115
|
-
* The account to
|
|
115
|
+
* The account identifier to target for the resource.
|
|
116
116
|
*/
|
|
117
117
|
accountId?: pulumi.Input<string>;
|
|
118
118
|
/**
|
|
119
|
-
* Option to show/hide the bookmark in the app launcher.
|
|
119
|
+
* Option to show/hide the bookmark in the app launcher.
|
|
120
120
|
*/
|
|
121
121
|
appLauncherVisible?: pulumi.Input<boolean>;
|
|
122
122
|
/**
|
|
@@ -124,8 +124,7 @@ export interface AccessBookmarkArgs {
|
|
|
124
124
|
*/
|
|
125
125
|
domain: pulumi.Input<string>;
|
|
126
126
|
/**
|
|
127
|
-
* The image URL for the logo shown in the app
|
|
128
|
-
* launcher dashboard.
|
|
127
|
+
* The image URL for the logo shown in the app launcher dashboard.
|
|
129
128
|
*/
|
|
130
129
|
logoUrl?: pulumi.Input<string>;
|
|
131
130
|
/**
|
|
@@ -133,7 +132,7 @@ export interface AccessBookmarkArgs {
|
|
|
133
132
|
*/
|
|
134
133
|
name: pulumi.Input<string>;
|
|
135
134
|
/**
|
|
136
|
-
* The
|
|
135
|
+
* The zone identifier to target for the resource.
|
|
137
136
|
*/
|
|
138
137
|
zoneId?: pulumi.Input<string>;
|
|
139
138
|
}
|
package/accessBookmark.js
CHANGED
|
@@ -6,9 +6,13 @@ exports.AccessBookmark = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a Cloudflare Access Bookmark resource. Access Bookmark
|
|
10
|
-
*
|
|
11
|
-
*
|
|
9
|
+
* Provides a Cloudflare Access Bookmark resource. Access Bookmark applications are not protected behind Access but are displayed in the App Launcher.
|
|
10
|
+
*
|
|
11
|
+
* > It's required that an `accountId` or `zoneId` is provided and in
|
|
12
|
+
* most cases using either is fine. However, if you're using a scoped
|
|
13
|
+
* access token, you must provide the argument that matches the token's
|
|
14
|
+
* scope. For example, an access token that is scoped to the "example.com"
|
|
15
|
+
* zone needs to use the `zoneId` argument.
|
|
12
16
|
*
|
|
13
17
|
* ## Example Usage
|
|
14
18
|
*
|
|
@@ -20,17 +24,15 @@ const utilities = require("./utilities");
|
|
|
20
24
|
* accountId: "1d5fdc9e88c8a8c4518b068cd94331fe",
|
|
21
25
|
* appLauncherVisible: true,
|
|
22
26
|
* domain: "example.com",
|
|
23
|
-
* logoUrl: "https://
|
|
27
|
+
* logoUrl: "https://example.com/example.png",
|
|
24
28
|
* name: "My Bookmark App",
|
|
25
29
|
* });
|
|
26
30
|
* ```
|
|
27
31
|
*
|
|
28
32
|
* ## Import
|
|
29
33
|
*
|
|
30
|
-
* Access Bookmarks can be imported using a composite ID formed of account ID and bookmark ID.
|
|
31
|
-
*
|
|
32
34
|
* ```sh
|
|
33
|
-
* $ pulumi import cloudflare:index/accessBookmark:AccessBookmark
|
|
35
|
+
* $ pulumi import cloudflare:index/accessBookmark:AccessBookmark example <account_id>/<bookmark_id>
|
|
34
36
|
* ```
|
|
35
37
|
*/
|
|
36
38
|
class AccessBookmark extends pulumi.CustomResource {
|
package/accessBookmark.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accessBookmark.js","sourceRoot":"","sources":["../accessBookmark.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"accessBookmark.js","sourceRoot":"","sources":["../accessBookmark.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,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K,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCA0FC;AA5EG,gBAAgB;AACO,2BAAY,GAAG,gDAAgD,CAAC"}
|
package/accessCaCertificate.d.ts
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Cloudflare Access can replace traditional SSH key models with short-lived
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* Cloudflare Access can replace traditional SSH key models with short-lived certificates issued to your users based on the token generated by their Access login.
|
|
4
|
+
*
|
|
5
|
+
* > It's required that an `accountId` or `zoneId` is provided and in
|
|
6
|
+
* most cases using either is fine. However, if you're using a scoped
|
|
7
|
+
* access token, you must provide the argument that matches the token's
|
|
8
|
+
* scope. For example, an access token that is scoped to the "example.com"
|
|
9
|
+
* zone needs to use the `zoneId` argument.
|
|
6
10
|
*
|
|
7
11
|
* ## Example Usage
|
|
8
12
|
*
|
|
@@ -24,10 +28,16 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
24
28
|
*
|
|
25
29
|
* ## Import
|
|
26
30
|
*
|
|
27
|
-
*
|
|
31
|
+
* # Account level CA certificate import.
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import cloudflare:index/accessCaCertificate:AccessCaCertificate example account/<account_id>/<certificate_id>
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* # Zone level CA certificate import.
|
|
28
38
|
*
|
|
29
39
|
* ```sh
|
|
30
|
-
* $ pulumi import cloudflare:index/accessCaCertificate:AccessCaCertificate example account
|
|
40
|
+
* $ pulumi import cloudflare:index/accessCaCertificate:AccessCaCertificate example account/<zone_id>/<certificate_id>
|
|
31
41
|
* ```
|
|
32
42
|
*/
|
|
33
43
|
export declare class AccessCaCertificate extends pulumi.CustomResource {
|
|
@@ -47,7 +57,7 @@ export declare class AccessCaCertificate extends pulumi.CustomResource {
|
|
|
47
57
|
*/
|
|
48
58
|
static isInstance(obj: any): obj is AccessCaCertificate;
|
|
49
59
|
/**
|
|
50
|
-
* The account to
|
|
60
|
+
* The account identifier to target for the resource.
|
|
51
61
|
*/
|
|
52
62
|
readonly accountId: pulumi.Output<string>;
|
|
53
63
|
/**
|
|
@@ -63,7 +73,7 @@ export declare class AccessCaCertificate extends pulumi.CustomResource {
|
|
|
63
73
|
*/
|
|
64
74
|
readonly publicKey: pulumi.Output<string>;
|
|
65
75
|
/**
|
|
66
|
-
* The
|
|
76
|
+
* The zone identifier to target for the resource.
|
|
67
77
|
*/
|
|
68
78
|
readonly zoneId: pulumi.Output<string>;
|
|
69
79
|
/**
|
|
@@ -80,7 +90,7 @@ export declare class AccessCaCertificate extends pulumi.CustomResource {
|
|
|
80
90
|
*/
|
|
81
91
|
export interface AccessCaCertificateState {
|
|
82
92
|
/**
|
|
83
|
-
* The account to
|
|
93
|
+
* The account identifier to target for the resource.
|
|
84
94
|
*/
|
|
85
95
|
accountId?: pulumi.Input<string>;
|
|
86
96
|
/**
|
|
@@ -96,7 +106,7 @@ export interface AccessCaCertificateState {
|
|
|
96
106
|
*/
|
|
97
107
|
publicKey?: pulumi.Input<string>;
|
|
98
108
|
/**
|
|
99
|
-
* The
|
|
109
|
+
* The zone identifier to target for the resource.
|
|
100
110
|
*/
|
|
101
111
|
zoneId?: pulumi.Input<string>;
|
|
102
112
|
}
|
|
@@ -105,7 +115,7 @@ export interface AccessCaCertificateState {
|
|
|
105
115
|
*/
|
|
106
116
|
export interface AccessCaCertificateArgs {
|
|
107
117
|
/**
|
|
108
|
-
* The account to
|
|
118
|
+
* The account identifier to target for the resource.
|
|
109
119
|
*/
|
|
110
120
|
accountId?: pulumi.Input<string>;
|
|
111
121
|
/**
|
|
@@ -113,7 +123,7 @@ export interface AccessCaCertificateArgs {
|
|
|
113
123
|
*/
|
|
114
124
|
applicationId: pulumi.Input<string>;
|
|
115
125
|
/**
|
|
116
|
-
* The
|
|
126
|
+
* The zone identifier to target for the resource.
|
|
117
127
|
*/
|
|
118
128
|
zoneId?: pulumi.Input<string>;
|
|
119
129
|
}
|