@pulumi/cloudflare 5.26.0 → 5.27.0-alpha.1713461096
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 +0 -28
- package/accessApplication.js +0 -28
- package/accessApplication.js.map +1 -1
- package/accessCaCertificate.d.ts +2 -2
- package/accessCaCertificate.js +2 -2
- package/accessCustomPage.d.ts +2 -2
- package/accessCustomPage.js +2 -2
- package/accessGroup.d.ts +0 -41
- package/accessGroup.js +0 -41
- package/accessGroup.js.map +1 -1
- package/accessIdentityProvider.d.ts +14 -15
- package/accessIdentityProvider.js +14 -15
- package/accessIdentityProvider.js.map +1 -1
- package/accessMutualTlsCertificate.d.ts +2 -2
- package/accessMutualTlsCertificate.js +2 -2
- package/accessMutualTlsHostnameSettings.d.ts +3 -3
- package/accessMutualTlsHostnameSettings.js +3 -3
- package/accessOrganization.d.ts +6 -6
- package/accessOrganization.js +6 -6
- package/accessPolicy.d.ts +0 -39
- package/accessPolicy.js +0 -39
- package/accessPolicy.js.map +1 -1
- package/accessRule.d.ts +3 -3
- package/accessRule.js +3 -3
- package/accessServiceToken.d.ts +0 -16
- package/accessServiceToken.js +0 -16
- package/accessServiceToken.js.map +1 -1
- package/account.d.ts +1 -1
- package/account.js +1 -1
- package/addressMap.d.ts +1 -1
- package/addressMap.js +1 -1
- package/apiShield.d.ts +1 -1
- package/apiShield.js +1 -1
- package/apiShieldOperation.d.ts +3 -3
- package/apiShieldOperation.js +3 -3
- package/apiShieldOperationSchemaValidationSettings.d.ts +3 -3
- package/apiShieldOperationSchemaValidationSettings.js +3 -3
- package/apiShieldSchema.d.ts +5 -3
- package/apiShieldSchema.js +5 -3
- package/apiShieldSchema.js.map +1 -1
- package/apiShieldSchemaValidationSettings.d.ts +1 -1
- package/apiShieldSchemaValidationSettings.js +1 -1
- package/argo.d.ts +2 -2
- package/argo.js +2 -2
- package/authenticatedOriginPulls.d.ts +5 -5
- package/authenticatedOriginPulls.js +5 -5
- package/authenticatedOriginPullsCertificate.d.ts +4 -4
- package/authenticatedOriginPullsCertificate.js +4 -4
- package/botManagement.d.ts +3 -3
- package/botManagement.js +3 -3
- package/byoIpPrefix.d.ts +2 -2
- package/byoIpPrefix.js +2 -2
- package/certificatePack.d.ts +0 -22
- package/certificatePack.js +0 -22
- package/certificatePack.js.map +1 -1
- package/customHostname.d.ts +1 -1
- package/customHostname.js +1 -1
- package/customHostnameFallbackOrigin.d.ts +1 -1
- package/customHostnameFallbackOrigin.js +1 -1
- package/customPages.d.ts +2 -2
- package/customPages.js +2 -2
- package/customSsl.d.ts +3 -3
- package/customSsl.js +3 -3
- package/deviceDexTest.d.ts +4 -4
- package/deviceDexTest.js +4 -4
- package/deviceManagedNetworks.d.ts +4 -4
- package/deviceManagedNetworks.js +4 -4
- package/devicePolicyCertificates.d.ts +1 -1
- package/devicePolicyCertificates.js +1 -1
- package/devicePostureIntegration.d.ts +3 -3
- package/devicePostureIntegration.js +3 -3
- package/devicePostureRule.d.ts +1 -1
- package/devicePostureRule.js +1 -1
- package/deviceSettingsPolicy.d.ts +10 -10
- package/deviceSettingsPolicy.js +10 -10
- package/emailRoutingCatchAll.d.ts +6 -6
- package/emailRoutingCatchAll.js +6 -6
- package/emailRoutingRule.d.ts +7 -7
- package/emailRoutingRule.js +7 -7
- package/emailRoutingSettings.d.ts +2 -2
- package/emailRoutingSettings.js +2 -2
- package/filter.d.ts +1 -1
- package/filter.js +1 -1
- package/firewallRule.d.ts +3 -3
- package/firewallRule.js +3 -3
- package/getAccessIdentityProvider.d.ts +6 -6
- package/getAccessIdentityProvider.js +6 -6
- package/getIpRanges.d.ts +2 -2
- package/getIpRanges.js +2 -2
- package/getRecord.d.ts +2 -2
- package/getRecord.js +2 -2
- package/getRulesets.d.ts +2 -2
- package/getRulesets.js +2 -2
- package/getZone.d.ts +6 -6
- package/getZone.js +6 -6
- package/getZones.d.ts +0 -32
- package/getZones.js +0 -32
- package/getZones.js.map +1 -1
- package/greTunnel.d.ts +5 -5
- package/greTunnel.js +5 -5
- package/healthcheck.d.ts +4 -4
- package/healthcheck.js +4 -4
- package/hostnameTlsSetting.d.ts +1 -1
- package/hostnameTlsSetting.js +1 -1
- package/hostnameTlsSettingCiphers.d.ts +1 -1
- package/hostnameTlsSettingCiphers.js +1 -1
- package/hyperdriveConfig.d.ts +2 -2
- package/hyperdriveConfig.js +2 -2
- package/ipsecTunnel.d.ts +4 -4
- package/ipsecTunnel.js +4 -4
- package/keylessCertificate.d.ts +4 -4
- package/keylessCertificate.js +4 -4
- package/listItem.d.ts +8 -8
- package/listItem.js +8 -8
- package/loadBalancer.d.ts +2 -2
- package/loadBalancer.js +2 -2
- package/loadBalancerMonitor.d.ts +0 -21
- package/loadBalancerMonitor.js +0 -21
- package/loadBalancerMonitor.js.map +1 -1
- package/loadBalancerPool.d.ts +17 -17
- package/loadBalancerPool.js +17 -17
- package/logpullRetention.d.ts +1 -1
- package/logpullRetention.js +1 -1
- package/logpushOwnershipChallenge.d.ts +1 -1
- package/logpushOwnershipChallenge.js +1 -1
- package/magicFirewallRuleset.d.ts +3 -3
- package/magicFirewallRuleset.js +3 -3
- package/managedHeaders.d.ts +3 -3
- package/managedHeaders.js +3 -3
- package/mtlsCertificate.d.ts +4 -6
- package/mtlsCertificate.js +4 -6
- package/mtlsCertificate.js.map +1 -1
- package/notificationPolicy.d.ts +0 -31
- package/notificationPolicy.js +0 -31
- package/notificationPolicy.js.map +1 -1
- package/notificationPolicyWebhooks.d.ts +1 -1
- package/notificationPolicyWebhooks.js +1 -1
- package/observatoryScheduledTest.d.ts +3 -3
- package/observatoryScheduledTest.js +3 -3
- package/originCaCertificate.d.ts +5 -5
- package/originCaCertificate.js +5 -5
- package/package.json +1 -1
- package/pageRule.d.ts +2 -2
- package/pageRule.js +2 -2
- package/pagesDomain.d.ts +1 -1
- package/pagesDomain.js +1 -1
- package/pagesProject.d.ts +0 -143
- package/pagesProject.js +0 -143
- package/pagesProject.js.map +1 -1
- package/r2bucket.d.ts +1 -1
- package/r2bucket.js +1 -1
- package/rateLimit.d.ts +33 -33
- package/rateLimit.js +33 -33
- package/record.d.ts +3 -3
- package/record.js +3 -3
- package/regionalHostname.d.ts +6 -6
- package/regionalHostname.js +6 -6
- package/regionalTieredCache.d.ts +1 -1
- package/regionalTieredCache.js +1 -1
- package/spectrumApplication.d.ts +6 -6
- package/spectrumApplication.js +6 -6
- package/splitTunnel.d.ts +0 -56
- package/splitTunnel.js +0 -56
- package/splitTunnel.js.map +1 -1
- package/staticRoute.d.ts +3 -3
- package/staticRoute.js +3 -3
- package/teamsAccount.d.ts +19 -19
- package/teamsAccount.js +19 -19
- package/teamsList.d.ts +2 -2
- package/teamsList.js +2 -2
- package/teamsLocation.d.ts +1 -1
- package/teamsLocation.js +1 -1
- package/teamsProxyEndpoint.d.ts +1 -1
- package/teamsProxyEndpoint.js +1 -1
- package/teamsRule.d.ts +4 -4
- package/teamsRule.js +4 -4
- package/tieredCache.d.ts +1 -1
- package/tieredCache.js +1 -1
- package/totalTls.d.ts +2 -2
- package/totalTls.js +2 -2
- package/tunnelConfig.d.ts +2 -2
- package/tunnelConfig.js +2 -2
- package/tunnelRoute.d.ts +0 -31
- package/tunnelRoute.js +0 -31
- package/tunnelRoute.js.map +1 -1
- package/tunnelVirtualNetwork.d.ts +1 -1
- package/tunnelVirtualNetwork.js +1 -1
- package/turnstileWidget.d.ts +1 -1
- package/turnstileWidget.js +1 -1
- package/types/input.d.ts +2 -2
- package/types/output.d.ts +2 -2
- package/urlNormalizationSettings.d.ts +2 -2
- package/urlNormalizationSettings.js +2 -2
- package/userAgentBlockingRule.d.ts +10 -10
- package/userAgentBlockingRule.js +10 -10
- package/waitingRoom.d.ts +7 -7
- package/waitingRoom.js +7 -7
- package/waitingRoomEvent.d.ts +4 -4
- package/waitingRoomEvent.js +4 -4
- package/waitingRoomRules.d.ts +4 -4
- package/waitingRoomRules.js +4 -4
- package/waitingRoomSettings.d.ts +1 -1
- package/waitingRoomSettings.js +1 -1
- package/webAnalyticsRule.d.ts +4 -4
- package/webAnalyticsRule.js +4 -4
- package/webAnalyticsSite.d.ts +1 -1
- package/webAnalyticsSite.js +1 -1
- package/workerCronTrigger.d.ts +6 -4
- package/workerCronTrigger.js +6 -4
- package/workerCronTrigger.js.map +1 -1
- package/workerRoute.d.ts +2 -3
- package/workerRoute.js +2 -3
- package/workerRoute.js.map +1 -1
- package/workerScript.d.ts +10 -6
- package/workerScript.js +10 -6
- package/workerScript.js.map +1 -1
- package/workerSecret.d.ts +1 -1
- package/workerSecret.js +1 -1
- package/workersForPlatformsNamespace.d.ts +5 -3
- package/workersForPlatformsNamespace.js +5 -3
- package/workersForPlatformsNamespace.js.map +1 -1
- package/workersKv.d.ts +1 -1
- package/workersKv.js +1 -1
- package/zoneCacheReserve.d.ts +1 -1
- package/zoneCacheReserve.js +1 -1
- package/zoneCacheVariants.d.ts +9 -9
- package/zoneCacheVariants.js +9 -9
- package/zoneDnssec.d.ts +2 -2
- package/zoneDnssec.js +2 -2
- package/zoneHold.d.ts +1 -1
- package/zoneHold.js +1 -1
- package/zoneLockdown.d.ts +4 -4
- package/zoneLockdown.js +4 -4
package/workerScript.js
CHANGED
|
@@ -14,17 +14,19 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* ```typescript
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
17
|
-
* import * as
|
|
17
|
+
* import * as std from "@pulumi/std";
|
|
18
18
|
*
|
|
19
|
-
* const myNamespace = new cloudflare.WorkersKvNamespace("
|
|
19
|
+
* const myNamespace = new cloudflare.WorkersKvNamespace("my_namespace", {
|
|
20
20
|
* accountId: "f037e56e89293a057740de681ac9abbe",
|
|
21
21
|
* title: "example",
|
|
22
22
|
* });
|
|
23
23
|
* // Sets the script with the name "script_1"
|
|
24
|
-
* const myScript = new cloudflare.WorkerScript("
|
|
24
|
+
* const myScript = new cloudflare.WorkerScript("my_script", {
|
|
25
25
|
* accountId: "f037e56e89293a057740de681ac9abbe",
|
|
26
26
|
* name: "script_1",
|
|
27
|
-
* content:
|
|
27
|
+
* content: std.file({
|
|
28
|
+
* input: "script.js",
|
|
29
|
+
* }).then(invoke => invoke.result),
|
|
28
30
|
* kvNamespaceBindings: [{
|
|
29
31
|
* name: "MY_EXAMPLE_KV_NAMESPACE",
|
|
30
32
|
* namespaceId: myNamespace.id,
|
|
@@ -35,11 +37,13 @@ const utilities = require("./utilities");
|
|
|
35
37
|
* }],
|
|
36
38
|
* secretTextBindings: [{
|
|
37
39
|
* name: "MY_EXAMPLE_SECRET_TEXT",
|
|
38
|
-
* text:
|
|
40
|
+
* text: secretFooValue,
|
|
39
41
|
* }],
|
|
40
42
|
* webassemblyBindings: [{
|
|
41
43
|
* name: "MY_EXAMPLE_WASM",
|
|
42
|
-
* module:
|
|
44
|
+
* module: std.filebase64({
|
|
45
|
+
* input: "example.wasm",
|
|
46
|
+
* }).then(invoke => invoke.result),
|
|
43
47
|
* }],
|
|
44
48
|
* serviceBindings: [{
|
|
45
49
|
* name: "MY_SERVICE_BINDING",
|
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;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"workerScript.js","sourceRoot":"","sources":["../workerScript.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE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AC,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,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,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;;AAzIL,oCA0IC;AA5HG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
|
package/workerSecret.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
10
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
11
11
|
*
|
|
12
|
-
* const mySecret = new cloudflare.WorkerSecret("
|
|
12
|
+
* const mySecret = new cloudflare.WorkerSecret("my_secret", {
|
|
13
13
|
* accountId: "f037e56e89293a057740de681ac9abbe",
|
|
14
14
|
* name: "MY_EXAMPLE_SECRET_TEXT",
|
|
15
15
|
* scriptName: "script_1",
|
package/workerSecret.js
CHANGED
|
@@ -15,7 +15,7 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
17
17
|
*
|
|
18
|
-
* const mySecret = new cloudflare.WorkerSecret("
|
|
18
|
+
* const mySecret = new cloudflare.WorkerSecret("my_secret", {
|
|
19
19
|
* accountId: "f037e56e89293a057740de681ac9abbe",
|
|
20
20
|
* name: "MY_EXAMPLE_SECRET_TEXT",
|
|
21
21
|
* scriptName: "script_1",
|
|
@@ -9,16 +9,18 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* ```typescript
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
12
|
-
* import * as
|
|
12
|
+
* import * as std from "@pulumi/std";
|
|
13
13
|
*
|
|
14
14
|
* const example = new cloudflare.WorkersForPlatformsNamespace("example", {
|
|
15
15
|
* accountId: "f037e56e89293a057740de681ac9abbe",
|
|
16
16
|
* name: "example-namespace",
|
|
17
17
|
* });
|
|
18
|
-
* const customerWorker1 = new cloudflare.WorkerScript("
|
|
18
|
+
* const customerWorker1 = new cloudflare.WorkerScript("customer_worker_1", {
|
|
19
19
|
* accountId: "f037e56e89293a057740de681ac9abbe",
|
|
20
20
|
* name: "customer-worker-1",
|
|
21
|
-
* content:
|
|
21
|
+
* content: std.file({
|
|
22
|
+
* input: "script.js",
|
|
23
|
+
* }).then(invoke => invoke.result),
|
|
22
24
|
* dispatchNamespace: example.name,
|
|
23
25
|
* tags: ["free"],
|
|
24
26
|
* });
|
|
@@ -15,16 +15,18 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* ```typescript
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
18
|
-
* import * as
|
|
18
|
+
* import * as std from "@pulumi/std";
|
|
19
19
|
*
|
|
20
20
|
* const example = new cloudflare.WorkersForPlatformsNamespace("example", {
|
|
21
21
|
* accountId: "f037e56e89293a057740de681ac9abbe",
|
|
22
22
|
* name: "example-namespace",
|
|
23
23
|
* });
|
|
24
|
-
* const customerWorker1 = new cloudflare.WorkerScript("
|
|
24
|
+
* const customerWorker1 = new cloudflare.WorkerScript("customer_worker_1", {
|
|
25
25
|
* accountId: "f037e56e89293a057740de681ac9abbe",
|
|
26
26
|
* name: "customer-worker-1",
|
|
27
|
-
* content:
|
|
27
|
+
* content: std.file({
|
|
28
|
+
* input: "script.js",
|
|
29
|
+
* }).then(invoke => invoke.result),
|
|
28
30
|
* dispatchNamespace: example.name,
|
|
29
31
|
* tags: ["free"],
|
|
30
32
|
* });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workersForPlatformsNamespace.js","sourceRoot":"","sources":["../workersForPlatformsNamespace.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"workersForPlatformsNamespace.js","sourceRoot":"","sources":["../workersForPlatformsNamespace.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyC,EAAE,IAAmC;QACvI,OAAO,IAAI,4BAA4B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnF,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,4BAA4B,CAAC,YAAY,CAAC;IAC7E,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAkF,EAAE,IAAmC;QAC7I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAA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
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
10
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
11
11
|
*
|
|
12
|
-
* const exampleNs = new cloudflare.WorkersKvNamespace("
|
|
12
|
+
* const exampleNs = new cloudflare.WorkersKvNamespace("example_ns", {
|
|
13
13
|
* accountId: "f037e56e89293a057740de681ac9abbe",
|
|
14
14
|
* title: "test-namespace",
|
|
15
15
|
* });
|
package/workersKv.js
CHANGED
|
@@ -15,7 +15,7 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
17
17
|
*
|
|
18
|
-
* const exampleNs = new cloudflare.WorkersKvNamespace("
|
|
18
|
+
* const exampleNs = new cloudflare.WorkersKvNamespace("example_ns", {
|
|
19
19
|
* accountId: "f037e56e89293a057740de681ac9abbe",
|
|
20
20
|
* title: "test-namespace",
|
|
21
21
|
* });
|
package/zoneCacheReserve.d.ts
CHANGED
|
@@ -14,8 +14,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
14
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
15
15
|
*
|
|
16
16
|
* const example = new cloudflare.ZoneCacheReserve("example", {
|
|
17
|
-
* enabled: true,
|
|
18
17
|
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
18
|
+
* enabled: true,
|
|
19
19
|
* });
|
|
20
20
|
* ```
|
|
21
21
|
* <!--End PulumiCodeChooser -->
|
package/zoneCacheReserve.js
CHANGED
|
@@ -20,8 +20,8 @@ const utilities = require("./utilities");
|
|
|
20
20
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
21
21
|
*
|
|
22
22
|
* const example = new cloudflare.ZoneCacheReserve("example", {
|
|
23
|
-
* enabled: true,
|
|
24
23
|
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
24
|
+
* enabled: true,
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
27
27
|
* <!--End PulumiCodeChooser -->
|
package/zoneCacheVariants.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
11
11
|
*
|
|
12
12
|
* const example = new cloudflare.ZoneCacheVariants("example", {
|
|
13
|
+
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
13
14
|
* avifs: [
|
|
14
15
|
* "image/avif",
|
|
15
16
|
* "image/webp",
|
|
@@ -22,10 +23,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
22
23
|
* "image/gif",
|
|
23
24
|
* "image/webp",
|
|
24
25
|
* ],
|
|
25
|
-
* jp2s: [
|
|
26
|
-
* "image/jp2",
|
|
27
|
-
* "image/webp",
|
|
28
|
-
* ],
|
|
29
26
|
* jpegs: [
|
|
30
27
|
* "image/jpeg",
|
|
31
28
|
* "image/webp",
|
|
@@ -38,23 +35,26 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
38
35
|
* "image/jpg2",
|
|
39
36
|
* "image/webp",
|
|
40
37
|
* ],
|
|
41
|
-
*
|
|
42
|
-
* "image/
|
|
38
|
+
* jp2s: [
|
|
39
|
+
* "image/jp2",
|
|
43
40
|
* "image/webp",
|
|
44
41
|
* ],
|
|
45
|
-
*
|
|
46
|
-
* "image/
|
|
42
|
+
* pngs: [
|
|
43
|
+
* "image/png",
|
|
47
44
|
* "image/webp",
|
|
48
45
|
* ],
|
|
49
46
|
* tiffs: [
|
|
50
47
|
* "image/tiff",
|
|
51
48
|
* "image/webp",
|
|
52
49
|
* ],
|
|
50
|
+
* tifs: [
|
|
51
|
+
* "image/tif",
|
|
52
|
+
* "image/webp",
|
|
53
|
+
* ],
|
|
53
54
|
* webps: [
|
|
54
55
|
* "image/jpeg",
|
|
55
56
|
* "image/webp",
|
|
56
57
|
* ],
|
|
57
|
-
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
58
58
|
* });
|
|
59
59
|
* ```
|
|
60
60
|
* <!--End PulumiCodeChooser -->
|
package/zoneCacheVariants.js
CHANGED
|
@@ -16,6 +16,7 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
17
17
|
*
|
|
18
18
|
* const example = new cloudflare.ZoneCacheVariants("example", {
|
|
19
|
+
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
19
20
|
* avifs: [
|
|
20
21
|
* "image/avif",
|
|
21
22
|
* "image/webp",
|
|
@@ -28,10 +29,6 @@ const utilities = require("./utilities");
|
|
|
28
29
|
* "image/gif",
|
|
29
30
|
* "image/webp",
|
|
30
31
|
* ],
|
|
31
|
-
* jp2s: [
|
|
32
|
-
* "image/jp2",
|
|
33
|
-
* "image/webp",
|
|
34
|
-
* ],
|
|
35
32
|
* jpegs: [
|
|
36
33
|
* "image/jpeg",
|
|
37
34
|
* "image/webp",
|
|
@@ -44,23 +41,26 @@ const utilities = require("./utilities");
|
|
|
44
41
|
* "image/jpg2",
|
|
45
42
|
* "image/webp",
|
|
46
43
|
* ],
|
|
47
|
-
*
|
|
48
|
-
* "image/
|
|
44
|
+
* jp2s: [
|
|
45
|
+
* "image/jp2",
|
|
49
46
|
* "image/webp",
|
|
50
47
|
* ],
|
|
51
|
-
*
|
|
52
|
-
* "image/
|
|
48
|
+
* pngs: [
|
|
49
|
+
* "image/png",
|
|
53
50
|
* "image/webp",
|
|
54
51
|
* ],
|
|
55
52
|
* tiffs: [
|
|
56
53
|
* "image/tiff",
|
|
57
54
|
* "image/webp",
|
|
58
55
|
* ],
|
|
56
|
+
* tifs: [
|
|
57
|
+
* "image/tif",
|
|
58
|
+
* "image/webp",
|
|
59
|
+
* ],
|
|
59
60
|
* webps: [
|
|
60
61
|
* "image/jpeg",
|
|
61
62
|
* "image/webp",
|
|
62
63
|
* ],
|
|
63
|
-
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
64
64
|
* });
|
|
65
65
|
* ```
|
|
66
66
|
* <!--End PulumiCodeChooser -->
|
package/zoneDnssec.d.ts
CHANGED
|
@@ -9,8 +9,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
10
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
11
11
|
*
|
|
12
|
-
* const
|
|
13
|
-
* const exampleZoneDnssec = new cloudflare.ZoneDnssec("
|
|
12
|
+
* const example = new cloudflare.Zone("example", {zone: "example.com"});
|
|
13
|
+
* const exampleZoneDnssec = new cloudflare.ZoneDnssec("example", {zoneId: example.id});
|
|
14
14
|
* ```
|
|
15
15
|
* <!--End PulumiCodeChooser -->
|
|
16
16
|
*
|
package/zoneDnssec.js
CHANGED
|
@@ -15,8 +15,8 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
17
17
|
*
|
|
18
|
-
* const
|
|
19
|
-
* const exampleZoneDnssec = new cloudflare.ZoneDnssec("
|
|
18
|
+
* const example = new cloudflare.Zone("example", {zone: "example.com"});
|
|
19
|
+
* const exampleZoneDnssec = new cloudflare.ZoneDnssec("example", {zoneId: example.id});
|
|
20
20
|
* ```
|
|
21
21
|
* <!--End PulumiCodeChooser -->
|
|
22
22
|
*
|
package/zoneHold.d.ts
CHANGED
|
@@ -11,8 +11,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
11
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
12
12
|
*
|
|
13
13
|
* const example = new cloudflare.ZoneHold("example", {
|
|
14
|
-
* hold: true,
|
|
15
14
|
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
15
|
+
* hold: true,
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
18
|
* <!--End PulumiCodeChooser -->
|
package/zoneHold.js
CHANGED
|
@@ -17,8 +17,8 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* import * as cloudflare from "@pulumi/cloudflare";
|
|
18
18
|
*
|
|
19
19
|
* const example = new cloudflare.ZoneHold("example", {
|
|
20
|
-
* hold: true,
|
|
21
20
|
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
21
|
+
* hold: true,
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
24
|
* <!--End PulumiCodeChooser -->
|
package/zoneLockdown.d.ts
CHANGED
|
@@ -17,14 +17,14 @@ import * as outputs from "./types/output";
|
|
|
17
17
|
*
|
|
18
18
|
* // Restrict access to these endpoints to requests from a known IP address range.
|
|
19
19
|
* const example = new cloudflare.ZoneLockdown("example", {
|
|
20
|
+
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
21
|
+
* paused: false,
|
|
22
|
+
* description: "Restrict access to these endpoints to requests from a known IP address range",
|
|
23
|
+
* urls: ["api.mysite.com/some/endpoint*"],
|
|
20
24
|
* configurations: [{
|
|
21
25
|
* target: "ip_range",
|
|
22
26
|
* value: "192.0.2.0/24",
|
|
23
27
|
* }],
|
|
24
|
-
* description: "Restrict access to these endpoints to requests from a known IP address range",
|
|
25
|
-
* paused: false,
|
|
26
|
-
* urls: ["api.mysite.com/some/endpoint*"],
|
|
27
|
-
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
28
28
|
* });
|
|
29
29
|
* ```
|
|
30
30
|
* <!--End PulumiCodeChooser -->
|
package/zoneLockdown.js
CHANGED
|
@@ -21,14 +21,14 @@ const utilities = require("./utilities");
|
|
|
21
21
|
*
|
|
22
22
|
* // Restrict access to these endpoints to requests from a known IP address range.
|
|
23
23
|
* const example = new cloudflare.ZoneLockdown("example", {
|
|
24
|
+
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
25
|
+
* paused: false,
|
|
26
|
+
* description: "Restrict access to these endpoints to requests from a known IP address range",
|
|
27
|
+
* urls: ["api.mysite.com/some/endpoint*"],
|
|
24
28
|
* configurations: [{
|
|
25
29
|
* target: "ip_range",
|
|
26
30
|
* value: "192.0.2.0/24",
|
|
27
31
|
* }],
|
|
28
|
-
* description: "Restrict access to these endpoints to requests from a known IP address range",
|
|
29
|
-
* paused: false,
|
|
30
|
-
* urls: ["api.mysite.com/some/endpoint*"],
|
|
31
|
-
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
32
32
|
* });
|
|
33
33
|
* ```
|
|
34
34
|
* <!--End PulumiCodeChooser -->
|