@pulumi/cloudflare 4.11.0-alpha.1663281018 → 4.11.0-alpha.1663706367
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/accessPolicy.d.ts +3 -3
- package/accessRule.d.ts +6 -6
- package/accessServiceToken.d.ts +3 -3
- package/getAccessIdentityProvider.d.ts +6 -6
- package/getZone.d.ts +12 -3
- package/getZone.js.map +1 -1
- package/logpushJob.d.ts +6 -6
- package/notificationPolicy.d.ts +3 -3
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/record.d.ts +2 -2
- package/record.js +2 -2
- package/ruleset.d.ts +3 -3
- package/types/input.d.ts +7 -7
- package/types/output.d.ts +7 -7
- package/workerScript.d.ts +20 -9
- package/workerScript.js +7 -6
- package/workerScript.js.map +1 -1
- package/zone.d.ts +3 -3
package/accessPolicy.d.ts
CHANGED
|
@@ -111,7 +111,7 @@ export declare class AccessPolicy extends pulumi.CustomResource {
|
|
|
111
111
|
*/
|
|
112
112
|
readonly precedence: pulumi.Output<number>;
|
|
113
113
|
/**
|
|
114
|
-
* The prompt to display to the user for a justification for accessing the resource.
|
|
114
|
+
* The prompt to display to the user for a justification for accessing the resource. Required when using `purposeJustificationRequired`.
|
|
115
115
|
*/
|
|
116
116
|
readonly purposeJustificationPrompt: pulumi.Output<string | undefined>;
|
|
117
117
|
/**
|
|
@@ -173,7 +173,7 @@ export interface AccessPolicyState {
|
|
|
173
173
|
*/
|
|
174
174
|
precedence?: pulumi.Input<number>;
|
|
175
175
|
/**
|
|
176
|
-
* The prompt to display to the user for a justification for accessing the resource.
|
|
176
|
+
* The prompt to display to the user for a justification for accessing the resource. Required when using `purposeJustificationRequired`.
|
|
177
177
|
*/
|
|
178
178
|
purposeJustificationPrompt?: pulumi.Input<string>;
|
|
179
179
|
/**
|
|
@@ -227,7 +227,7 @@ export interface AccessPolicyArgs {
|
|
|
227
227
|
*/
|
|
228
228
|
precedence: pulumi.Input<number>;
|
|
229
229
|
/**
|
|
230
|
-
* The prompt to display to the user for a justification for accessing the resource.
|
|
230
|
+
* The prompt to display to the user for a justification for accessing the resource. Required when using `purposeJustificationRequired`.
|
|
231
231
|
*/
|
|
232
232
|
purposeJustificationPrompt?: pulumi.Input<string>;
|
|
233
233
|
/**
|
package/accessRule.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ export declare class AccessRule extends pulumi.CustomResource {
|
|
|
88
88
|
*/
|
|
89
89
|
static isInstance(obj: any): obj is AccessRule;
|
|
90
90
|
/**
|
|
91
|
-
* The account identifier to target for the resource.
|
|
91
|
+
* The account identifier to target for the resource. Must provide only one of `accountId`, `zoneId`.
|
|
92
92
|
*/
|
|
93
93
|
readonly accountId: pulumi.Output<string>;
|
|
94
94
|
/**
|
|
@@ -104,7 +104,7 @@ export declare class AccessRule extends pulumi.CustomResource {
|
|
|
104
104
|
*/
|
|
105
105
|
readonly notes: pulumi.Output<string | undefined>;
|
|
106
106
|
/**
|
|
107
|
-
* The zone identifier to target for the resource.
|
|
107
|
+
* The zone identifier to target for the resource. Must provide only one of `accountId`, `zoneId`.
|
|
108
108
|
*/
|
|
109
109
|
readonly zoneId: pulumi.Output<string>;
|
|
110
110
|
/**
|
|
@@ -121,7 +121,7 @@ export declare class AccessRule extends pulumi.CustomResource {
|
|
|
121
121
|
*/
|
|
122
122
|
export interface AccessRuleState {
|
|
123
123
|
/**
|
|
124
|
-
* The account identifier to target for the resource.
|
|
124
|
+
* The account identifier to target for the resource. Must provide only one of `accountId`, `zoneId`.
|
|
125
125
|
*/
|
|
126
126
|
accountId?: pulumi.Input<string>;
|
|
127
127
|
/**
|
|
@@ -137,7 +137,7 @@ export interface AccessRuleState {
|
|
|
137
137
|
*/
|
|
138
138
|
notes?: pulumi.Input<string>;
|
|
139
139
|
/**
|
|
140
|
-
* The zone identifier to target for the resource.
|
|
140
|
+
* The zone identifier to target for the resource. Must provide only one of `accountId`, `zoneId`.
|
|
141
141
|
*/
|
|
142
142
|
zoneId?: pulumi.Input<string>;
|
|
143
143
|
}
|
|
@@ -146,7 +146,7 @@ export interface AccessRuleState {
|
|
|
146
146
|
*/
|
|
147
147
|
export interface AccessRuleArgs {
|
|
148
148
|
/**
|
|
149
|
-
* The account identifier to target for the resource.
|
|
149
|
+
* The account identifier to target for the resource. Must provide only one of `accountId`, `zoneId`.
|
|
150
150
|
*/
|
|
151
151
|
accountId?: pulumi.Input<string>;
|
|
152
152
|
/**
|
|
@@ -162,7 +162,7 @@ export interface AccessRuleArgs {
|
|
|
162
162
|
*/
|
|
163
163
|
notes?: pulumi.Input<string>;
|
|
164
164
|
/**
|
|
165
|
-
* The zone identifier to target for the resource.
|
|
165
|
+
* The zone identifier to target for the resource. Must provide only one of `accountId`, `zoneId`.
|
|
166
166
|
*/
|
|
167
167
|
zoneId?: pulumi.Input<string>;
|
|
168
168
|
}
|
package/accessServiceToken.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ export declare class AccessServiceToken extends pulumi.CustomResource {
|
|
|
58
58
|
*/
|
|
59
59
|
readonly expiresAt: pulumi.Output<string>;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* Refresh the token if terraform is run within the specified amount of days before expiration
|
|
62
62
|
*/
|
|
63
63
|
readonly minDaysForRenewal: pulumi.Output<number | undefined>;
|
|
64
64
|
/**
|
|
@@ -99,7 +99,7 @@ export interface AccessServiceTokenState {
|
|
|
99
99
|
*/
|
|
100
100
|
expiresAt?: pulumi.Input<string>;
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* Refresh the token if terraform is run within the specified amount of days before expiration
|
|
103
103
|
*/
|
|
104
104
|
minDaysForRenewal?: pulumi.Input<number>;
|
|
105
105
|
/**
|
|
@@ -120,7 +120,7 @@ export interface AccessServiceTokenArgs {
|
|
|
120
120
|
*/
|
|
121
121
|
accountId?: pulumi.Input<string>;
|
|
122
122
|
/**
|
|
123
|
-
*
|
|
123
|
+
* Refresh the token if terraform is run within the specified amount of days before expiration
|
|
124
124
|
*/
|
|
125
125
|
minDaysForRenewal?: pulumi.Input<number>;
|
|
126
126
|
/**
|
|
@@ -5,12 +5,12 @@ export declare function getAccessIdentityProvider(args: GetAccessIdentityProvide
|
|
|
5
5
|
*/
|
|
6
6
|
export interface GetAccessIdentityProviderArgs {
|
|
7
7
|
/**
|
|
8
|
-
* The account identifier to target for the resource.
|
|
8
|
+
* The account identifier to target for the resource. Must provide only one of `zoneId`, `accountId`.
|
|
9
9
|
*/
|
|
10
10
|
accountId?: string;
|
|
11
11
|
name: string;
|
|
12
12
|
/**
|
|
13
|
-
* The zone identifier to target for the resource.
|
|
13
|
+
* The zone identifier to target for the resource. Must provide only one of `zoneId`, `accountId`.
|
|
14
14
|
*/
|
|
15
15
|
zoneId?: string;
|
|
16
16
|
}
|
|
@@ -19,7 +19,7 @@ export interface GetAccessIdentityProviderArgs {
|
|
|
19
19
|
*/
|
|
20
20
|
export interface GetAccessIdentityProviderResult {
|
|
21
21
|
/**
|
|
22
|
-
* The account identifier to target for the resource.
|
|
22
|
+
* The account identifier to target for the resource. Must provide only one of `zoneId`, `accountId`.
|
|
23
23
|
*/
|
|
24
24
|
readonly accountId?: string;
|
|
25
25
|
/**
|
|
@@ -29,7 +29,7 @@ export interface GetAccessIdentityProviderResult {
|
|
|
29
29
|
readonly name: string;
|
|
30
30
|
readonly type: string;
|
|
31
31
|
/**
|
|
32
|
-
* The zone identifier to target for the resource.
|
|
32
|
+
* The zone identifier to target for the resource. Must provide only one of `zoneId`, `accountId`.
|
|
33
33
|
*/
|
|
34
34
|
readonly zoneId?: string;
|
|
35
35
|
}
|
|
@@ -39,12 +39,12 @@ export declare function getAccessIdentityProviderOutput(args: GetAccessIdentityP
|
|
|
39
39
|
*/
|
|
40
40
|
export interface GetAccessIdentityProviderOutputArgs {
|
|
41
41
|
/**
|
|
42
|
-
* The account identifier to target for the resource.
|
|
42
|
+
* The account identifier to target for the resource. Must provide only one of `zoneId`, `accountId`.
|
|
43
43
|
*/
|
|
44
44
|
accountId?: pulumi.Input<string>;
|
|
45
45
|
name: pulumi.Input<string>;
|
|
46
46
|
/**
|
|
47
|
-
* The zone identifier to target for the resource.
|
|
47
|
+
* The zone identifier to target for the resource. Must provide only one of `zoneId`, `accountId`.
|
|
48
48
|
*/
|
|
49
49
|
zoneId?: pulumi.Input<string>;
|
|
50
50
|
}
|
package/getZone.d.ts
CHANGED
|
@@ -8,9 +8,12 @@ export interface GetZoneArgs {
|
|
|
8
8
|
* The account identifier to target for the resource.
|
|
9
9
|
*/
|
|
10
10
|
accountId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Must provide only one of `zoneId`, `name`.
|
|
13
|
+
*/
|
|
11
14
|
name?: string;
|
|
12
15
|
/**
|
|
13
|
-
* The zone identifier to target for the resource.
|
|
16
|
+
* The zone identifier to target for the resource. Must provide only one of `zoneId`, `name`.
|
|
14
17
|
*/
|
|
15
18
|
zoneId?: string;
|
|
16
19
|
}
|
|
@@ -26,6 +29,9 @@ export interface GetZoneResult {
|
|
|
26
29
|
* The provider-assigned unique ID for this managed resource.
|
|
27
30
|
*/
|
|
28
31
|
readonly id: string;
|
|
32
|
+
/**
|
|
33
|
+
* Must provide only one of `zoneId`, `name`.
|
|
34
|
+
*/
|
|
29
35
|
readonly name: string;
|
|
30
36
|
readonly nameServers: string[];
|
|
31
37
|
readonly paused: boolean;
|
|
@@ -33,7 +39,7 @@ export interface GetZoneResult {
|
|
|
33
39
|
readonly status: string;
|
|
34
40
|
readonly vanityNameServers: string[];
|
|
35
41
|
/**
|
|
36
|
-
* The zone identifier to target for the resource.
|
|
42
|
+
* The zone identifier to target for the resource. Must provide only one of `zoneId`, `name`.
|
|
37
43
|
*/
|
|
38
44
|
readonly zoneId: string;
|
|
39
45
|
}
|
|
@@ -46,9 +52,12 @@ export interface GetZoneOutputArgs {
|
|
|
46
52
|
* The account identifier to target for the resource.
|
|
47
53
|
*/
|
|
48
54
|
accountId?: pulumi.Input<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Must provide only one of `zoneId`, `name`.
|
|
57
|
+
*/
|
|
49
58
|
name?: pulumi.Input<string>;
|
|
50
59
|
/**
|
|
51
|
-
* The zone identifier to target for the resource.
|
|
60
|
+
* The zone identifier to target for the resource. Must provide only one of `zoneId`, `name`.
|
|
52
61
|
*/
|
|
53
62
|
zoneId?: pulumi.Input<string>;
|
|
54
63
|
}
|
package/getZone.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getZone.js","sourceRoot":"","sources":["../getZone.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,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,kCAAkC,EAAE;QAC7D,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,0BAYC;
|
|
1
|
+
{"version":3,"file":"getZone.js","sourceRoot":"","sources":["../getZone.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,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,kCAAkC,EAAE;QAC7D,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,0BAYC;AA+CD,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
|
package/logpushJob.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export declare class LogpushJob extends pulumi.CustomResource {
|
|
|
31
31
|
*/
|
|
32
32
|
static isInstance(obj: any): obj is LogpushJob;
|
|
33
33
|
/**
|
|
34
|
-
* The account identifier to target for the resource.
|
|
34
|
+
* The account identifier to target for the resource. Must provide only one of `accountId`, `zoneId`.
|
|
35
35
|
*/
|
|
36
36
|
readonly accountId: pulumi.Output<string | undefined>;
|
|
37
37
|
/**
|
|
@@ -71,7 +71,7 @@ export declare class LogpushJob extends pulumi.CustomResource {
|
|
|
71
71
|
*/
|
|
72
72
|
readonly ownershipChallenge: pulumi.Output<string | undefined>;
|
|
73
73
|
/**
|
|
74
|
-
* The zone identifier to target for the resource.
|
|
74
|
+
* The zone identifier to target for the resource. Must provide only one of `accountId`, `zoneId`.
|
|
75
75
|
*/
|
|
76
76
|
readonly zoneId: pulumi.Output<string | undefined>;
|
|
77
77
|
/**
|
|
@@ -88,7 +88,7 @@ export declare class LogpushJob extends pulumi.CustomResource {
|
|
|
88
88
|
*/
|
|
89
89
|
export interface LogpushJobState {
|
|
90
90
|
/**
|
|
91
|
-
* The account identifier to target for the resource.
|
|
91
|
+
* The account identifier to target for the resource. Must provide only one of `accountId`, `zoneId`.
|
|
92
92
|
*/
|
|
93
93
|
accountId?: pulumi.Input<string>;
|
|
94
94
|
/**
|
|
@@ -128,7 +128,7 @@ export interface LogpushJobState {
|
|
|
128
128
|
*/
|
|
129
129
|
ownershipChallenge?: pulumi.Input<string>;
|
|
130
130
|
/**
|
|
131
|
-
* The zone identifier to target for the resource.
|
|
131
|
+
* The zone identifier to target for the resource. Must provide only one of `accountId`, `zoneId`.
|
|
132
132
|
*/
|
|
133
133
|
zoneId?: pulumi.Input<string>;
|
|
134
134
|
}
|
|
@@ -137,7 +137,7 @@ export interface LogpushJobState {
|
|
|
137
137
|
*/
|
|
138
138
|
export interface LogpushJobArgs {
|
|
139
139
|
/**
|
|
140
|
-
* The account identifier to target for the resource.
|
|
140
|
+
* The account identifier to target for the resource. Must provide only one of `accountId`, `zoneId`.
|
|
141
141
|
*/
|
|
142
142
|
accountId?: pulumi.Input<string>;
|
|
143
143
|
/**
|
|
@@ -177,7 +177,7 @@ export interface LogpushJobArgs {
|
|
|
177
177
|
*/
|
|
178
178
|
ownershipChallenge?: pulumi.Input<string>;
|
|
179
179
|
/**
|
|
180
|
-
* The zone identifier to target for the resource.
|
|
180
|
+
* The zone identifier to target for the resource. Must provide only one of `accountId`, `zoneId`.
|
|
181
181
|
*/
|
|
182
182
|
zoneId?: pulumi.Input<string>;
|
|
183
183
|
}
|
package/notificationPolicy.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export declare class NotificationPolicy extends pulumi.CustomResource {
|
|
|
32
32
|
*/
|
|
33
33
|
readonly accountId: pulumi.Output<string>;
|
|
34
34
|
/**
|
|
35
|
-
* The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of [available alert types](https://developers.cloudflare.com/fundamentals/notifications/notification-available/) Available values: `billingUsageAlert`, `healthCheckStatusNotification`, `g6PoolToggleAlert`, `realOriginMonitoring`, `universalSslEventType`, `bgpHijackNotification`, `httpAlertOriginError`, `workersAlert`, `weeklyAccountOverview`, `expiringServiceTokenAlert`, `secondaryDnsAllPrimariesFailing`, `secondaryDnsZoneValidationWarning`, `secondaryDnsPrimariesFailing`, `secondaryDnsZoneSuccessfullyUpdated`, `dosAttackL7`, `dosAttackL4`, `advancedDdosAttackL7Alert`, `advancedDdosAttackL4Alert`, `fbmVolumetricAttack`, `fbmAutoAdvertisement`, `loadBalancingPoolEnablementAlert`, `loadBalancingHealthAlert`, `g6HealthAlert`, `httpAlertEdgeError`, `clickhouseAlertFwAnomaly`, `clickhouseAlertFwEntAnomaly`, `failingLogpushJobDisabledAlert`, `scriptmonitorAlertNewHosts`, `scriptmonitorAlertNewScripts`, `scriptmonitorAlertNewMaliciousScripts`, `scriptmonitorAlertNewMaliciousUrl`, `scriptmonitorAlertNewCodeChangeDetections`, `scriptmonitorAlertNewMaxLengthScriptUrl`, `scriptmonitorAlertNewMaliciousHosts`, `sentinelAlert`, `hostnameAopCustomCertificateExpirationType`, `streamLiveNotifications`, `blockNotificationNewBlock`, `blockNotificationReviewRejected`, `blockNotificationReviewAccepted`, `webAnalyticsMetricsUpdate`, `workersUptime`.
|
|
35
|
+
* The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of [available alert types](https://developers.cloudflare.com/fundamentals/notifications/notification-available/). Available values: `billingUsageAlert`, `healthCheckStatusNotification`, `g6PoolToggleAlert`, `realOriginMonitoring`, `universalSslEventType`, `dedicatedSslCertificateEventType`, `customSslCertificateEventType`, `accessCustomCertificateExpirationType`, `zoneAopCustomCertificateExpirationType`, `bgpHijackNotification`, `httpAlertOriginError`, `workersAlert`, `weeklyAccountOverview`, `expiringServiceTokenAlert`, `secondaryDnsAllPrimariesFailing`, `secondaryDnsZoneValidationWarning`, `secondaryDnsPrimariesFailing`, `secondaryDnsZoneSuccessfullyUpdated`, `dosAttackL7`, `dosAttackL4`, `advancedDdosAttackL7Alert`, `advancedDdosAttackL4Alert`, `fbmVolumetricAttack`, `fbmAutoAdvertisement`, `loadBalancingPoolEnablementAlert`, `loadBalancingHealthAlert`, `g6HealthAlert`, `httpAlertEdgeError`, `clickhouseAlertFwAnomaly`, `clickhouseAlertFwEntAnomaly`, `failingLogpushJobDisabledAlert`, `scriptmonitorAlertNewHosts`, `scriptmonitorAlertNewScripts`, `scriptmonitorAlertNewMaliciousScripts`, `scriptmonitorAlertNewMaliciousUrl`, `scriptmonitorAlertNewCodeChangeDetections`, `scriptmonitorAlertNewMaxLengthScriptUrl`, `scriptmonitorAlertNewMaliciousHosts`, `sentinelAlert`, `hostnameAopCustomCertificateExpirationType`, `streamLiveNotifications`, `blockNotificationNewBlock`, `blockNotificationReviewRejected`, `blockNotificationReviewAccepted`, `webAnalyticsMetricsUpdate`, `workersUptime`.
|
|
36
36
|
*/
|
|
37
37
|
readonly alertType: pulumi.Output<string>;
|
|
38
38
|
/**
|
|
@@ -89,7 +89,7 @@ export interface NotificationPolicyState {
|
|
|
89
89
|
*/
|
|
90
90
|
accountId?: pulumi.Input<string>;
|
|
91
91
|
/**
|
|
92
|
-
* The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of [available alert types](https://developers.cloudflare.com/fundamentals/notifications/notification-available/) Available values: `billingUsageAlert`, `healthCheckStatusNotification`, `g6PoolToggleAlert`, `realOriginMonitoring`, `universalSslEventType`, `bgpHijackNotification`, `httpAlertOriginError`, `workersAlert`, `weeklyAccountOverview`, `expiringServiceTokenAlert`, `secondaryDnsAllPrimariesFailing`, `secondaryDnsZoneValidationWarning`, `secondaryDnsPrimariesFailing`, `secondaryDnsZoneSuccessfullyUpdated`, `dosAttackL7`, `dosAttackL4`, `advancedDdosAttackL7Alert`, `advancedDdosAttackL4Alert`, `fbmVolumetricAttack`, `fbmAutoAdvertisement`, `loadBalancingPoolEnablementAlert`, `loadBalancingHealthAlert`, `g6HealthAlert`, `httpAlertEdgeError`, `clickhouseAlertFwAnomaly`, `clickhouseAlertFwEntAnomaly`, `failingLogpushJobDisabledAlert`, `scriptmonitorAlertNewHosts`, `scriptmonitorAlertNewScripts`, `scriptmonitorAlertNewMaliciousScripts`, `scriptmonitorAlertNewMaliciousUrl`, `scriptmonitorAlertNewCodeChangeDetections`, `scriptmonitorAlertNewMaxLengthScriptUrl`, `scriptmonitorAlertNewMaliciousHosts`, `sentinelAlert`, `hostnameAopCustomCertificateExpirationType`, `streamLiveNotifications`, `blockNotificationNewBlock`, `blockNotificationReviewRejected`, `blockNotificationReviewAccepted`, `webAnalyticsMetricsUpdate`, `workersUptime`.
|
|
92
|
+
* The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of [available alert types](https://developers.cloudflare.com/fundamentals/notifications/notification-available/). Available values: `billingUsageAlert`, `healthCheckStatusNotification`, `g6PoolToggleAlert`, `realOriginMonitoring`, `universalSslEventType`, `dedicatedSslCertificateEventType`, `customSslCertificateEventType`, `accessCustomCertificateExpirationType`, `zoneAopCustomCertificateExpirationType`, `bgpHijackNotification`, `httpAlertOriginError`, `workersAlert`, `weeklyAccountOverview`, `expiringServiceTokenAlert`, `secondaryDnsAllPrimariesFailing`, `secondaryDnsZoneValidationWarning`, `secondaryDnsPrimariesFailing`, `secondaryDnsZoneSuccessfullyUpdated`, `dosAttackL7`, `dosAttackL4`, `advancedDdosAttackL7Alert`, `advancedDdosAttackL4Alert`, `fbmVolumetricAttack`, `fbmAutoAdvertisement`, `loadBalancingPoolEnablementAlert`, `loadBalancingHealthAlert`, `g6HealthAlert`, `httpAlertEdgeError`, `clickhouseAlertFwAnomaly`, `clickhouseAlertFwEntAnomaly`, `failingLogpushJobDisabledAlert`, `scriptmonitorAlertNewHosts`, `scriptmonitorAlertNewScripts`, `scriptmonitorAlertNewMaliciousScripts`, `scriptmonitorAlertNewMaliciousUrl`, `scriptmonitorAlertNewCodeChangeDetections`, `scriptmonitorAlertNewMaxLengthScriptUrl`, `scriptmonitorAlertNewMaliciousHosts`, `sentinelAlert`, `hostnameAopCustomCertificateExpirationType`, `streamLiveNotifications`, `blockNotificationNewBlock`, `blockNotificationReviewRejected`, `blockNotificationReviewAccepted`, `webAnalyticsMetricsUpdate`, `workersUptime`.
|
|
93
93
|
*/
|
|
94
94
|
alertType?: pulumi.Input<string>;
|
|
95
95
|
/**
|
|
@@ -138,7 +138,7 @@ export interface NotificationPolicyArgs {
|
|
|
138
138
|
*/
|
|
139
139
|
accountId: pulumi.Input<string>;
|
|
140
140
|
/**
|
|
141
|
-
* The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of [available alert types](https://developers.cloudflare.com/fundamentals/notifications/notification-available/) Available values: `billingUsageAlert`, `healthCheckStatusNotification`, `g6PoolToggleAlert`, `realOriginMonitoring`, `universalSslEventType`, `bgpHijackNotification`, `httpAlertOriginError`, `workersAlert`, `weeklyAccountOverview`, `expiringServiceTokenAlert`, `secondaryDnsAllPrimariesFailing`, `secondaryDnsZoneValidationWarning`, `secondaryDnsPrimariesFailing`, `secondaryDnsZoneSuccessfullyUpdated`, `dosAttackL7`, `dosAttackL4`, `advancedDdosAttackL7Alert`, `advancedDdosAttackL4Alert`, `fbmVolumetricAttack`, `fbmAutoAdvertisement`, `loadBalancingPoolEnablementAlert`, `loadBalancingHealthAlert`, `g6HealthAlert`, `httpAlertEdgeError`, `clickhouseAlertFwAnomaly`, `clickhouseAlertFwEntAnomaly`, `failingLogpushJobDisabledAlert`, `scriptmonitorAlertNewHosts`, `scriptmonitorAlertNewScripts`, `scriptmonitorAlertNewMaliciousScripts`, `scriptmonitorAlertNewMaliciousUrl`, `scriptmonitorAlertNewCodeChangeDetections`, `scriptmonitorAlertNewMaxLengthScriptUrl`, `scriptmonitorAlertNewMaliciousHosts`, `sentinelAlert`, `hostnameAopCustomCertificateExpirationType`, `streamLiveNotifications`, `blockNotificationNewBlock`, `blockNotificationReviewRejected`, `blockNotificationReviewAccepted`, `webAnalyticsMetricsUpdate`, `workersUptime`.
|
|
141
|
+
* The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of [available alert types](https://developers.cloudflare.com/fundamentals/notifications/notification-available/). Available values: `billingUsageAlert`, `healthCheckStatusNotification`, `g6PoolToggleAlert`, `realOriginMonitoring`, `universalSslEventType`, `dedicatedSslCertificateEventType`, `customSslCertificateEventType`, `accessCustomCertificateExpirationType`, `zoneAopCustomCertificateExpirationType`, `bgpHijackNotification`, `httpAlertOriginError`, `workersAlert`, `weeklyAccountOverview`, `expiringServiceTokenAlert`, `secondaryDnsAllPrimariesFailing`, `secondaryDnsZoneValidationWarning`, `secondaryDnsPrimariesFailing`, `secondaryDnsZoneSuccessfullyUpdated`, `dosAttackL7`, `dosAttackL4`, `advancedDdosAttackL7Alert`, `advancedDdosAttackL4Alert`, `fbmVolumetricAttack`, `fbmAutoAdvertisement`, `loadBalancingPoolEnablementAlert`, `loadBalancingHealthAlert`, `g6HealthAlert`, `httpAlertEdgeError`, `clickhouseAlertFwAnomaly`, `clickhouseAlertFwEntAnomaly`, `failingLogpushJobDisabledAlert`, `scriptmonitorAlertNewHosts`, `scriptmonitorAlertNewScripts`, `scriptmonitorAlertNewMaliciousScripts`, `scriptmonitorAlertNewMaliciousUrl`, `scriptmonitorAlertNewCodeChangeDetections`, `scriptmonitorAlertNewMaxLengthScriptUrl`, `scriptmonitorAlertNewMaliciousHosts`, `sentinelAlert`, `hostnameAopCustomCertificateExpirationType`, `streamLiveNotifications`, `blockNotificationNewBlock`, `blockNotificationReviewRejected`, `blockNotificationReviewAccepted`, `webAnalyticsMetricsUpdate`, `workersUptime`.
|
|
142
142
|
*/
|
|
143
143
|
alertType: pulumi.Input<string>;
|
|
144
144
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/cloudflare",
|
|
3
|
-
"version": "v4.11.0-alpha.
|
|
3
|
+
"version": "v4.11.0-alpha.1663706367+39fa193d",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Cloudflare cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource cloudflare v4.11.0-alpha.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource cloudflare v4.11.0-alpha.1663706367+39fa193d"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/cloudflare",
|
|
3
|
-
"version": "v4.11.0-alpha.
|
|
3
|
+
"version": "v4.11.0-alpha.1663706367+39fa193d",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Cloudflare cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource cloudflare v4.11.0-alpha.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource cloudflare v4.11.0-alpha.1663706367+39fa193d"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/record.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
12
12
|
* // Add a record to the domain
|
|
13
13
|
* const foobar = new cloudflare.Record("foobar", {
|
|
14
14
|
* zoneId: _var.cloudflare_zone_id,
|
|
15
|
-
* name: "
|
|
15
|
+
* name: "example",
|
|
16
16
|
* value: "192.168.0.11",
|
|
17
17
|
* type: "A",
|
|
18
18
|
* ttl: 3600,
|
|
@@ -25,7 +25,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
25
25
|
* data: {
|
|
26
26
|
* service: "_sip",
|
|
27
27
|
* proto: "_tls",
|
|
28
|
-
* name: "
|
|
28
|
+
* name: "example-srv",
|
|
29
29
|
* priority: 0,
|
|
30
30
|
* weight: 0,
|
|
31
31
|
* port: 443,
|
package/record.js
CHANGED
|
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* // Add a record to the domain
|
|
18
18
|
* const foobar = new cloudflare.Record("foobar", {
|
|
19
19
|
* zoneId: _var.cloudflare_zone_id,
|
|
20
|
-
* name: "
|
|
20
|
+
* name: "example",
|
|
21
21
|
* value: "192.168.0.11",
|
|
22
22
|
* type: "A",
|
|
23
23
|
* ttl: 3600,
|
|
@@ -30,7 +30,7 @@ const utilities = require("./utilities");
|
|
|
30
30
|
* data: {
|
|
31
31
|
* service: "_sip",
|
|
32
32
|
* proto: "_tls",
|
|
33
|
-
* name: "
|
|
33
|
+
* name: "example-srv",
|
|
34
34
|
* priority: 0,
|
|
35
35
|
* weight: 0,
|
|
36
36
|
* port: 443,
|
package/ruleset.d.ts
CHANGED
|
@@ -396,7 +396,7 @@ export declare class Ruleset extends pulumi.CustomResource {
|
|
|
396
396
|
*/
|
|
397
397
|
readonly name: pulumi.Output<string>;
|
|
398
398
|
/**
|
|
399
|
-
* Point in the request/response lifecycle where the ruleset will be created. Available values: `ddosL4`, `ddosL7`, `httpCustomErrors`, `httpLogCustomFields`, `httpRequestCacheSettings`, `httpRequestFirewallCustom`, `httpRequestFirewallManaged`, `httpRequestLateTransform`, `httpRequestLateTransformManaged`, `httpRequestMain`, `httpRequestOrigin`, `httpRequestDynamicRedirect`, `httpRequestRedirect`, `httpRequestSanitize`, `httpRequestTransform`, `httpResponseFirewallManaged`, `httpResponseHeadersTransform`, `httpResponseHeadersTransformManaged`, `magicTransit`, `httpRatelimit`, `httpRequestSbfm`.
|
|
399
|
+
* Point in the request/response lifecycle where the ruleset will be created. Available values: `ddosL4`, `ddosL7`, `httpCustomErrors`, `httpLogCustomFields`, `httpRequestCacheSettings`, `httpRequestFirewallCustom`, `httpRequestFirewallManaged`, `httpRequestLateTransform`, `httpRequestLateTransformManaged`, `httpRequestMain`, `httpRequestOrigin`, `httpRequestDynamicRedirect`, `httpRequestRedirect`, `httpRequestSanitize`, `httpRequestTransform`, `httpResponseFirewallManaged`, `httpResponseHeadersTransform`, `httpResponseHeadersTransformManaged`, `magicTransit`, `httpRatelimit`, `httpRequestSbfm`, `httpConfigSettings`.
|
|
400
400
|
*/
|
|
401
401
|
readonly phase: pulumi.Output<string>;
|
|
402
402
|
/**
|
|
@@ -441,7 +441,7 @@ export interface RulesetState {
|
|
|
441
441
|
*/
|
|
442
442
|
name?: pulumi.Input<string>;
|
|
443
443
|
/**
|
|
444
|
-
* Point in the request/response lifecycle where the ruleset will be created. Available values: `ddosL4`, `ddosL7`, `httpCustomErrors`, `httpLogCustomFields`, `httpRequestCacheSettings`, `httpRequestFirewallCustom`, `httpRequestFirewallManaged`, `httpRequestLateTransform`, `httpRequestLateTransformManaged`, `httpRequestMain`, `httpRequestOrigin`, `httpRequestDynamicRedirect`, `httpRequestRedirect`, `httpRequestSanitize`, `httpRequestTransform`, `httpResponseFirewallManaged`, `httpResponseHeadersTransform`, `httpResponseHeadersTransformManaged`, `magicTransit`, `httpRatelimit`, `httpRequestSbfm`.
|
|
444
|
+
* Point in the request/response lifecycle where the ruleset will be created. Available values: `ddosL4`, `ddosL7`, `httpCustomErrors`, `httpLogCustomFields`, `httpRequestCacheSettings`, `httpRequestFirewallCustom`, `httpRequestFirewallManaged`, `httpRequestLateTransform`, `httpRequestLateTransformManaged`, `httpRequestMain`, `httpRequestOrigin`, `httpRequestDynamicRedirect`, `httpRequestRedirect`, `httpRequestSanitize`, `httpRequestTransform`, `httpResponseFirewallManaged`, `httpResponseHeadersTransform`, `httpResponseHeadersTransformManaged`, `magicTransit`, `httpRatelimit`, `httpRequestSbfm`, `httpConfigSettings`.
|
|
445
445
|
*/
|
|
446
446
|
phase?: pulumi.Input<string>;
|
|
447
447
|
/**
|
|
@@ -478,7 +478,7 @@ export interface RulesetArgs {
|
|
|
478
478
|
*/
|
|
479
479
|
name: pulumi.Input<string>;
|
|
480
480
|
/**
|
|
481
|
-
* Point in the request/response lifecycle where the ruleset will be created. Available values: `ddosL4`, `ddosL7`, `httpCustomErrors`, `httpLogCustomFields`, `httpRequestCacheSettings`, `httpRequestFirewallCustom`, `httpRequestFirewallManaged`, `httpRequestLateTransform`, `httpRequestLateTransformManaged`, `httpRequestMain`, `httpRequestOrigin`, `httpRequestDynamicRedirect`, `httpRequestRedirect`, `httpRequestSanitize`, `httpRequestTransform`, `httpResponseFirewallManaged`, `httpResponseHeadersTransform`, `httpResponseHeadersTransformManaged`, `magicTransit`, `httpRatelimit`, `httpRequestSbfm`.
|
|
481
|
+
* Point in the request/response lifecycle where the ruleset will be created. Available values: `ddosL4`, `ddosL7`, `httpCustomErrors`, `httpLogCustomFields`, `httpRequestCacheSettings`, `httpRequestFirewallCustom`, `httpRequestFirewallManaged`, `httpRequestLateTransform`, `httpRequestLateTransformManaged`, `httpRequestMain`, `httpRequestOrigin`, `httpRequestDynamicRedirect`, `httpRequestRedirect`, `httpRequestSanitize`, `httpRequestTransform`, `httpResponseFirewallManaged`, `httpResponseHeadersTransform`, `httpResponseHeadersTransformManaged`, `magicTransit`, `httpRatelimit`, `httpRequestSbfm`, `httpConfigSettings`.
|
|
482
482
|
*/
|
|
483
483
|
phase: pulumi.Input<string>;
|
|
484
484
|
/**
|
package/types/input.d.ts
CHANGED
|
@@ -986,7 +986,7 @@ export interface NotificationPolicyFilters {
|
|
|
986
986
|
*/
|
|
987
987
|
eventTypes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
988
988
|
/**
|
|
989
|
-
* Identifier health check.
|
|
989
|
+
* Identifier health check. Required when using `filters.0.status`.
|
|
990
990
|
*/
|
|
991
991
|
healthCheckIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
992
992
|
/**
|
|
@@ -1021,9 +1021,6 @@ export interface NotificationPolicyFilters {
|
|
|
1021
1021
|
* Requests per second threshold for dos alert.
|
|
1022
1022
|
*/
|
|
1023
1023
|
requestsPerSeconds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1024
|
-
/**
|
|
1025
|
-
* A list of clickhouse services to alert on.
|
|
1026
|
-
*/
|
|
1027
1024
|
services?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1028
1025
|
/**
|
|
1029
1026
|
* A numerical limit. Example: `99.9`.
|
|
@@ -1456,7 +1453,7 @@ export interface RecordData {
|
|
|
1456
1453
|
}
|
|
1457
1454
|
export interface RulesetRule {
|
|
1458
1455
|
/**
|
|
1459
|
-
* Action to perform in the ruleset rule. Available values: `block`, `challenge`, `ddosDynamic`, `execute`, `forceConnectionClose`, `jsChallenge`, `log`, `logCustomField`, `managedChallenge`, `redirect`, `rewrite`, `route`, `score`, `setCacheSettings`, `serveError`, `skip`.
|
|
1456
|
+
* Action to perform in the ruleset rule. Available values: `block`, `challenge`, `ddosDynamic`, `execute`, `forceConnectionClose`, `jsChallenge`, `log`, `logCustomField`, `managedChallenge`, `redirect`, `rewrite`, `route`, `score`, `setCacheSettings`, `setConfig`, `serveError`, `skip`.
|
|
1460
1457
|
*/
|
|
1461
1458
|
action?: pulumi.Input<string>;
|
|
1462
1459
|
/**
|
|
@@ -1670,7 +1667,7 @@ export interface RulesetRuleActionParametersOverridesCategory {
|
|
|
1670
1667
|
}
|
|
1671
1668
|
export interface RulesetRuleActionParametersOverridesRule {
|
|
1672
1669
|
/**
|
|
1673
|
-
* Action to perform in the ruleset rule. Available values: `block`, `challenge`, `ddosDynamic`, `execute`, `forceConnectionClose`, `jsChallenge`, `log`, `logCustomField`, `managedChallenge`, `redirect`, `rewrite`, `route`, `score`, `setCacheSettings`, `serveError`, `skip`.
|
|
1670
|
+
* Action to perform in the ruleset rule. Available values: `block`, `challenge`, `ddosDynamic`, `execute`, `forceConnectionClose`, `jsChallenge`, `log`, `logCustomField`, `managedChallenge`, `redirect`, `rewrite`, `route`, `score`, `setCacheSettings`, `setConfig`, `serveError`, `skip`.
|
|
1674
1671
|
*/
|
|
1675
1672
|
action?: pulumi.Input<string>;
|
|
1676
1673
|
/**
|
|
@@ -1949,6 +1946,9 @@ export interface WorkerScriptKvNamespaceBinding {
|
|
|
1949
1946
|
* The global variable for the binding in your Worker code.
|
|
1950
1947
|
*/
|
|
1951
1948
|
name: pulumi.Input<string>;
|
|
1949
|
+
/**
|
|
1950
|
+
* ID of the KV namespace you want to use.
|
|
1951
|
+
*/
|
|
1952
1952
|
namespaceId: pulumi.Input<string>;
|
|
1953
1953
|
}
|
|
1954
1954
|
export interface WorkerScriptPlainTextBinding {
|
|
@@ -1957,7 +1957,7 @@ export interface WorkerScriptPlainTextBinding {
|
|
|
1957
1957
|
*/
|
|
1958
1958
|
name: pulumi.Input<string>;
|
|
1959
1959
|
/**
|
|
1960
|
-
* The
|
|
1960
|
+
* The plain text you want to store.
|
|
1961
1961
|
*/
|
|
1962
1962
|
text: pulumi.Input<string>;
|
|
1963
1963
|
}
|
package/types/output.d.ts
CHANGED
|
@@ -1024,7 +1024,7 @@ export interface NotificationPolicyFilters {
|
|
|
1024
1024
|
*/
|
|
1025
1025
|
eventTypes?: string[];
|
|
1026
1026
|
/**
|
|
1027
|
-
* Identifier health check.
|
|
1027
|
+
* Identifier health check. Required when using `filters.0.status`.
|
|
1028
1028
|
*/
|
|
1029
1029
|
healthCheckIds?: string[];
|
|
1030
1030
|
/**
|
|
@@ -1059,9 +1059,6 @@ export interface NotificationPolicyFilters {
|
|
|
1059
1059
|
* Requests per second threshold for dos alert.
|
|
1060
1060
|
*/
|
|
1061
1061
|
requestsPerSeconds?: string[];
|
|
1062
|
-
/**
|
|
1063
|
-
* A list of clickhouse services to alert on.
|
|
1064
|
-
*/
|
|
1065
1062
|
services?: string[];
|
|
1066
1063
|
/**
|
|
1067
1064
|
* A numerical limit. Example: `99.9`.
|
|
@@ -1494,7 +1491,7 @@ export interface RecordData {
|
|
|
1494
1491
|
}
|
|
1495
1492
|
export interface RulesetRule {
|
|
1496
1493
|
/**
|
|
1497
|
-
* Action to perform in the ruleset rule. Available values: `block`, `challenge`, `ddosDynamic`, `execute`, `forceConnectionClose`, `jsChallenge`, `log`, `logCustomField`, `managedChallenge`, `redirect`, `rewrite`, `route`, `score`, `setCacheSettings`, `serveError`, `skip`.
|
|
1494
|
+
* Action to perform in the ruleset rule. Available values: `block`, `challenge`, `ddosDynamic`, `execute`, `forceConnectionClose`, `jsChallenge`, `log`, `logCustomField`, `managedChallenge`, `redirect`, `rewrite`, `route`, `score`, `setCacheSettings`, `setConfig`, `serveError`, `skip`.
|
|
1498
1495
|
*/
|
|
1499
1496
|
action?: string;
|
|
1500
1497
|
/**
|
|
@@ -1708,7 +1705,7 @@ export interface RulesetRuleActionParametersOverridesCategory {
|
|
|
1708
1705
|
}
|
|
1709
1706
|
export interface RulesetRuleActionParametersOverridesRule {
|
|
1710
1707
|
/**
|
|
1711
|
-
* Action to perform in the ruleset rule. Available values: `block`, `challenge`, `ddosDynamic`, `execute`, `forceConnectionClose`, `jsChallenge`, `log`, `logCustomField`, `managedChallenge`, `redirect`, `rewrite`, `route`, `score`, `setCacheSettings`, `serveError`, `skip`.
|
|
1708
|
+
* Action to perform in the ruleset rule. Available values: `block`, `challenge`, `ddosDynamic`, `execute`, `forceConnectionClose`, `jsChallenge`, `log`, `logCustomField`, `managedChallenge`, `redirect`, `rewrite`, `route`, `score`, `setCacheSettings`, `setConfig`, `serveError`, `skip`.
|
|
1712
1709
|
*/
|
|
1713
1710
|
action?: string;
|
|
1714
1711
|
/**
|
|
@@ -1987,6 +1984,9 @@ export interface WorkerScriptKvNamespaceBinding {
|
|
|
1987
1984
|
* The global variable for the binding in your Worker code.
|
|
1988
1985
|
*/
|
|
1989
1986
|
name: string;
|
|
1987
|
+
/**
|
|
1988
|
+
* ID of the KV namespace you want to use.
|
|
1989
|
+
*/
|
|
1990
1990
|
namespaceId: string;
|
|
1991
1991
|
}
|
|
1992
1992
|
export interface WorkerScriptPlainTextBinding {
|
|
@@ -1995,7 +1995,7 @@ export interface WorkerScriptPlainTextBinding {
|
|
|
1995
1995
|
*/
|
|
1996
1996
|
name: string;
|
|
1997
1997
|
/**
|
|
1998
|
-
* The
|
|
1998
|
+
* The plain text you want to store.
|
|
1999
1999
|
*/
|
|
2000
2000
|
text: string;
|
|
2001
2001
|
}
|
package/workerScript.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
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 worker script resource. In order for a script to be active, you'll also need to setup a `cloudflare.WorkerRoute`.
|
|
4
|
+
* Provides a Cloudflare worker script resource. In order for a script to be active, you'll also need to setup a `cloudflare.WorkerRoute`.
|
|
5
|
+
*
|
|
6
|
+
* > This resource uses the Cloudflare account APIs. This requires setting the
|
|
7
|
+
* `CLOUDFLARE_ACCOUNT_ID` environment variable or `accountId` provider argument.
|
|
5
8
|
*
|
|
6
9
|
* ## Example Usage
|
|
7
10
|
*
|
|
@@ -45,13 +48,9 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
45
48
|
*
|
|
46
49
|
* ## Import
|
|
47
50
|
*
|
|
48
|
-
* To import a script, use a script name, e.g. `script_name`
|
|
49
|
-
*
|
|
50
51
|
* ```sh
|
|
51
|
-
* $ pulumi import cloudflare:index/workerScript:WorkerScript
|
|
52
|
+
* $ pulumi import cloudflare:index/workerScript:WorkerScript example <script_name>
|
|
52
53
|
* ```
|
|
53
|
-
*
|
|
54
|
-
* where- `script_name` - the script name
|
|
55
54
|
*/
|
|
56
55
|
export declare class WorkerScript extends pulumi.CustomResource {
|
|
57
56
|
/**
|
|
@@ -75,7 +74,11 @@ export declare class WorkerScript extends pulumi.CustomResource {
|
|
|
75
74
|
readonly content: pulumi.Output<string>;
|
|
76
75
|
readonly kvNamespaceBindings: pulumi.Output<outputs.WorkerScriptKvNamespaceBinding[] | undefined>;
|
|
77
76
|
/**
|
|
78
|
-
*
|
|
77
|
+
* Whether to upload Worker as a module.
|
|
78
|
+
*/
|
|
79
|
+
readonly module: pulumi.Output<boolean | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* The name for the script.
|
|
79
82
|
*/
|
|
80
83
|
readonly name: pulumi.Output<string>;
|
|
81
84
|
readonly plainTextBindings: pulumi.Output<outputs.WorkerScriptPlainTextBinding[] | undefined>;
|
|
@@ -102,7 +105,11 @@ export interface WorkerScriptState {
|
|
|
102
105
|
content?: pulumi.Input<string>;
|
|
103
106
|
kvNamespaceBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptKvNamespaceBinding>[]>;
|
|
104
107
|
/**
|
|
105
|
-
*
|
|
108
|
+
* Whether to upload Worker as a module.
|
|
109
|
+
*/
|
|
110
|
+
module?: pulumi.Input<boolean>;
|
|
111
|
+
/**
|
|
112
|
+
* The name for the script.
|
|
106
113
|
*/
|
|
107
114
|
name?: pulumi.Input<string>;
|
|
108
115
|
plainTextBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptPlainTextBinding>[]>;
|
|
@@ -121,7 +128,11 @@ export interface WorkerScriptArgs {
|
|
|
121
128
|
content: pulumi.Input<string>;
|
|
122
129
|
kvNamespaceBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptKvNamespaceBinding>[]>;
|
|
123
130
|
/**
|
|
124
|
-
*
|
|
131
|
+
* Whether to upload Worker as a module.
|
|
132
|
+
*/
|
|
133
|
+
module?: pulumi.Input<boolean>;
|
|
134
|
+
/**
|
|
135
|
+
* The name for the script.
|
|
125
136
|
*/
|
|
126
137
|
name: pulumi.Input<string>;
|
|
127
138
|
plainTextBindings?: pulumi.Input<pulumi.Input<inputs.WorkerScriptPlainTextBinding>[]>;
|
package/workerScript.js
CHANGED
|
@@ -6,7 +6,10 @@ exports.WorkerScript = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a Cloudflare worker script resource. In order for a script to be active, you'll also need to setup a `cloudflare.WorkerRoute`.
|
|
9
|
+
* Provides a Cloudflare worker script resource. In order for a script to be active, you'll also need to setup a `cloudflare.WorkerRoute`.
|
|
10
|
+
*
|
|
11
|
+
* > This resource uses the Cloudflare account APIs. This requires setting the
|
|
12
|
+
* `CLOUDFLARE_ACCOUNT_ID` environment variable or `accountId` provider argument.
|
|
10
13
|
*
|
|
11
14
|
* ## Example Usage
|
|
12
15
|
*
|
|
@@ -50,13 +53,9 @@ const utilities = require("./utilities");
|
|
|
50
53
|
*
|
|
51
54
|
* ## Import
|
|
52
55
|
*
|
|
53
|
-
* To import a script, use a script name, e.g. `script_name`
|
|
54
|
-
*
|
|
55
56
|
* ```sh
|
|
56
|
-
* $ pulumi import cloudflare:index/workerScript:WorkerScript
|
|
57
|
+
* $ pulumi import cloudflare:index/workerScript:WorkerScript example <script_name>
|
|
57
58
|
* ```
|
|
58
|
-
*
|
|
59
|
-
* where- `script_name` - the script name
|
|
60
59
|
*/
|
|
61
60
|
class WorkerScript extends pulumi.CustomResource {
|
|
62
61
|
constructor(name, argsOrState, opts) {
|
|
@@ -66,6 +65,7 @@ class WorkerScript extends pulumi.CustomResource {
|
|
|
66
65
|
const state = argsOrState;
|
|
67
66
|
resourceInputs["content"] = state ? state.content : undefined;
|
|
68
67
|
resourceInputs["kvNamespaceBindings"] = state ? state.kvNamespaceBindings : undefined;
|
|
68
|
+
resourceInputs["module"] = state ? state.module : undefined;
|
|
69
69
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
70
70
|
resourceInputs["plainTextBindings"] = state ? state.plainTextBindings : undefined;
|
|
71
71
|
resourceInputs["r2BucketBindings"] = state ? state.r2BucketBindings : undefined;
|
|
@@ -83,6 +83,7 @@ class WorkerScript extends pulumi.CustomResource {
|
|
|
83
83
|
}
|
|
84
84
|
resourceInputs["content"] = args ? args.content : undefined;
|
|
85
85
|
resourceInputs["kvNamespaceBindings"] = args ? args.kvNamespaceBindings : undefined;
|
|
86
|
+
resourceInputs["module"] = args ? args.module : undefined;
|
|
86
87
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
87
88
|
resourceInputs["plainTextBindings"] = args ? args.plainTextBindings : undefined;
|
|
88
89
|
resourceInputs["r2BucketBindings"] = args ? args.r2BucketBindings : undefined;
|
package/workerScript.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workerScript.js","sourceRoot":"","sources":["../workerScript.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"workerScript.js","sourceRoot":"","sources":["../workerScript.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAuDnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;SACzF;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;SACvF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;IAxFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCA0FC;AA5EG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
|
package/zone.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export declare class Zone extends pulumi.CustomResource {
|
|
|
45
45
|
*/
|
|
46
46
|
readonly accountId: pulumi.Output<string | undefined>;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Whether to scan for DNS records on creation. Ignored after zone is created.
|
|
49
49
|
*/
|
|
50
50
|
readonly jumpStart: pulumi.Output<boolean | undefined>;
|
|
51
51
|
readonly meta: pulumi.Output<{
|
|
@@ -101,7 +101,7 @@ export interface ZoneState {
|
|
|
101
101
|
*/
|
|
102
102
|
accountId?: pulumi.Input<string>;
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
* Whether to scan for DNS records on creation. Ignored after zone is created.
|
|
105
105
|
*/
|
|
106
106
|
jumpStart?: pulumi.Input<boolean>;
|
|
107
107
|
meta?: pulumi.Input<{
|
|
@@ -149,7 +149,7 @@ export interface ZoneArgs {
|
|
|
149
149
|
*/
|
|
150
150
|
accountId?: pulumi.Input<string>;
|
|
151
151
|
/**
|
|
152
|
-
*
|
|
152
|
+
* Whether to scan for DNS records on creation. Ignored after zone is created.
|
|
153
153
|
*/
|
|
154
154
|
jumpStart?: pulumi.Input<boolean>;
|
|
155
155
|
/**
|