@pulumi/cloudflare 6.11.0-alpha.1761588517 → 6.11.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 +3 -3
- package/accessIdentityProvider.d.ts +31 -0
- package/accessIdentityProvider.js +31 -0
- package/accessIdentityProvider.js.map +1 -1
- package/accessMutualTlsHostnameSettings.d.ts +14 -0
- package/accessMutualTlsHostnameSettings.js +14 -0
- package/accessMutualTlsHostnameSettings.js.map +1 -1
- package/accessOrganization.d.ts +29 -0
- package/accessOrganization.js +29 -0
- package/accessOrganization.js.map +1 -1
- package/accessPolicy.d.ts +49 -0
- package/accessPolicy.js +49 -0
- package/accessPolicy.js.map +1 -1
- package/account.d.ts +12 -0
- package/account.js +2 -0
- package/account.js.map +1 -1
- package/accountDnsSettings.d.ts +32 -0
- package/accountDnsSettings.js +32 -0
- package/accountDnsSettings.js.map +1 -1
- package/accountSubscription.d.ts +19 -0
- package/accountSubscription.js +19 -0
- package/accountSubscription.js.map +1 -1
- package/accountToken.d.ts +46 -0
- package/accountToken.js +46 -0
- package/accountToken.js.map +1 -1
- package/apiShield.d.ts +0 -12
- package/apiShield.js +0 -6
- package/apiShield.js.map +1 -1
- package/apiToken.d.ts +45 -0
- package/apiToken.js +45 -0
- package/apiToken.js.map +1 -1
- package/authenticatedOriginPulls.d.ts +14 -0
- package/authenticatedOriginPulls.js +14 -0
- package/authenticatedOriginPulls.js.map +1 -1
- package/contentScanning.d.ts +84 -0
- package/contentScanning.js +72 -0
- package/contentScanning.js.map +1 -0
- package/customHostname.d.ts +73 -0
- package/customHostname.js +73 -0
- package/customHostname.js.map +1 -1
- package/customPages.d.ts +3 -3
- package/deviceManagedNetworks.d.ts +15 -0
- package/deviceManagedNetworks.js +15 -0
- package/deviceManagedNetworks.js.map +1 -1
- package/devicePostureIntegration.d.ts +18 -0
- package/devicePostureIntegration.js +18 -0
- package/devicePostureIntegration.js.map +1 -1
- package/devicePostureRule.d.ts +24 -0
- package/devicePostureRule.js +24 -0
- package/devicePostureRule.js.map +1 -1
- package/dlpCustomProfile.d.ts +29 -3
- package/dlpCustomProfile.js +26 -0
- package/dlpCustomProfile.js.map +1 -1
- package/dnsFirewall.d.ts +26 -0
- package/dnsFirewall.js +26 -0
- package/dnsFirewall.js.map +1 -1
- package/dnsRecord.d.ts +20 -0
- package/dnsRecord.js +20 -0
- package/dnsRecord.js.map +1 -1
- package/getAccount.d.ts +4 -0
- package/getAccount.js.map +1 -1
- package/getApiShield.d.ts +0 -14
- package/getApiShield.js +0 -4
- package/getApiShield.js.map +1 -1
- package/getContentScanning.d.ts +66 -0
- package/getContentScanning.js +46 -0
- package/getContentScanning.js.map +1 -0
- package/getCustomPages.d.ts +3 -3
- package/getList.d.ts +3 -3
- package/getMagicTransitConnector.d.ts +1 -0
- package/getMagicTransitConnector.js.map +1 -1
- package/getNotificationPolicy.d.ts +3 -3
- package/getNotificationPolicy.js +2 -2
- package/getNotificationPolicyWebhooks.d.ts +2 -2
- package/getNotificationPolicyWebhooks.js +2 -2
- package/getOrganization.d.ts +59 -0
- package/getOrganization.js +50 -0
- package/getOrganization.js.map +1 -0
- package/getOrganizationProfile.d.ts +54 -0
- package/getOrganizationProfile.js +46 -0
- package/getOrganizationProfile.js.map +1 -0
- package/getOrganizations.d.ts +138 -0
- package/getOrganizations.js +90 -0
- package/getOrganizations.js.map +1 -0
- package/getPagesProject.d.ts +23 -3
- package/getPagesProject.js.map +1 -1
- package/getWorker.d.ts +4 -0
- package/getWorker.js.map +1 -1
- package/getZeroTrustAccessApplication.d.ts +1 -1
- package/getZeroTrustDexTest.d.ts +9 -0
- package/getZeroTrustDexTest.js +2 -0
- package/getZeroTrustDexTest.js.map +1 -1
- package/getZeroTrustGatewayPolicy.d.ts +1 -1
- package/getZeroTrustTunnelCloudflaredConfig.d.ts +4 -0
- package/getZeroTrustTunnelCloudflaredConfig.js.map +1 -1
- package/healthcheck.d.ts +43 -0
- package/healthcheck.js +43 -0
- package/healthcheck.js.map +1 -1
- package/hyperdriveConfig.d.ts +27 -0
- package/hyperdriveConfig.js +27 -0
- package/hyperdriveConfig.js.map +1 -1
- package/index.d.ts +21 -0
- package/index.js +46 -18
- package/index.js.map +1 -1
- package/keylessCertificate.d.ts +18 -0
- package/keylessCertificate.js +18 -0
- package/keylessCertificate.js.map +1 -1
- package/listItem.d.ts +8 -0
- package/listItem.js +8 -0
- package/listItem.js.map +1 -1
- package/loadBalancer.d.ts +142 -0
- package/loadBalancer.js +142 -0
- package/loadBalancer.js.map +1 -1
- package/logpushJob.d.ts +41 -0
- package/logpushJob.js +41 -0
- package/logpushJob.js.map +1 -1
- package/magicTransitSiteAcl.d.ts +29 -0
- package/magicTransitSiteAcl.js +29 -0
- package/magicTransitSiteAcl.js.map +1 -1
- package/magicTransitSiteLan.d.ts +42 -0
- package/magicTransitSiteLan.js +42 -0
- package/magicTransitSiteLan.js.map +1 -1
- package/magicTransitSiteWan.d.ts +19 -0
- package/magicTransitSiteWan.js +19 -0
- package/magicTransitSiteWan.js.map +1 -1
- package/magicWanStaticRoute.d.ts +18 -0
- package/magicWanStaticRoute.js +18 -0
- package/magicWanStaticRoute.js.map +1 -1
- package/notificationPolicy.d.ts +73 -3
- package/notificationPolicy.js +70 -0
- package/notificationPolicy.js.map +1 -1
- package/organization.d.ts +79 -0
- package/organization.js +88 -0
- package/organization.js.map +1 -0
- package/organizationProfile.d.ts +71 -0
- package/organizationProfile.js +94 -0
- package/organizationProfile.js.map +1 -0
- package/package.json +2 -2
- package/pageRule.d.ts +18 -0
- package/pageRule.js +18 -0
- package/pageRule.js.map +1 -1
- package/pagesProject.d.ts +250 -9
- package/pagesProject.js +214 -0
- package/pagesProject.js.map +1 -1
- package/queueConsumer.d.ts +20 -0
- package/queueConsumer.js +20 -0
- package/queueConsumer.js.map +1 -1
- package/r2bucketCors.d.ts +20 -0
- package/r2bucketCors.js +20 -0
- package/r2bucketCors.js.map +1 -1
- package/r2bucketEventNotification.d.ts +2 -2
- package/r2bucketEventNotification.js +3 -0
- package/r2bucketEventNotification.js.map +1 -1
- package/r2bucketLifecycle.d.ts +36 -0
- package/r2bucketLifecycle.js +36 -0
- package/r2bucketLifecycle.js.map +1 -1
- package/record.d.ts +20 -0
- package/record.js +20 -0
- package/record.js.map +1 -1
- package/snippet.d.ts +22 -0
- package/snippet.js +22 -0
- package/snippet.js.map +1 -1
- package/snippetRules.d.ts +15 -0
- package/snippetRules.js +15 -0
- package/snippetRules.js.map +1 -1
- package/staticRoute.d.ts +18 -0
- package/staticRoute.js +18 -0
- package/staticRoute.js.map +1 -1
- package/teamsAccount.d.ts +75 -0
- package/teamsAccount.js +75 -0
- package/teamsAccount.js.map +1 -1
- package/teamsRule.d.ts +130 -3
- package/teamsRule.js +127 -0
- package/teamsRule.js.map +1 -1
- package/tunnelConfig.d.ts +12 -0
- package/tunnelConfig.js +2 -0
- package/tunnelConfig.js.map +1 -1
- package/types/input.d.ts +571 -42
- package/types/output.d.ts +993 -64
- package/worker.d.ts +39 -0
- package/worker.js +33 -0
- package/worker.js.map +1 -1
- package/workerScript.d.ts +82 -1
- package/workerScript.js +82 -1
- package/workerScript.js.map +1 -1
- package/workerVersion.d.ts +57 -0
- package/workerVersion.js +57 -0
- package/workerVersion.js.map +1 -1
- package/workersDeployment.d.ts +18 -0
- package/workersDeployment.js +18 -0
- package/workersDeployment.js.map +1 -1
- package/workersScript.d.ts +82 -1
- package/workersScript.js +82 -1
- package/workersScript.js.map +1 -1
- package/zeroTrustAccessApplication.d.ts +3 -3
- package/zeroTrustAccessIdentityProvider.d.ts +31 -0
- package/zeroTrustAccessIdentityProvider.js +31 -0
- package/zeroTrustAccessIdentityProvider.js.map +1 -1
- package/zeroTrustAccessMtlsHostnameSettings.d.ts +14 -0
- package/zeroTrustAccessMtlsHostnameSettings.js +14 -0
- package/zeroTrustAccessMtlsHostnameSettings.js.map +1 -1
- package/zeroTrustAccessPolicy.d.ts +49 -0
- package/zeroTrustAccessPolicy.js +49 -0
- package/zeroTrustAccessPolicy.js.map +1 -1
- package/zeroTrustDeviceManagedNetworks.d.ts +15 -0
- package/zeroTrustDeviceManagedNetworks.js +15 -0
- package/zeroTrustDeviceManagedNetworks.js.map +1 -1
- package/zeroTrustDevicePostureIntegration.d.ts +18 -0
- package/zeroTrustDevicePostureIntegration.js +18 -0
- package/zeroTrustDevicePostureIntegration.js.map +1 -1
- package/zeroTrustDevicePostureRule.d.ts +24 -0
- package/zeroTrustDevicePostureRule.js +24 -0
- package/zeroTrustDevicePostureRule.js.map +1 -1
- package/zeroTrustDexTest.d.ts +26 -1
- package/zeroTrustDexTest.js +25 -1
- package/zeroTrustDexTest.js.map +1 -1
- package/zeroTrustDlpCustomEntry.d.ts +2 -2
- package/zeroTrustDlpCustomEntry.js +0 -3
- package/zeroTrustDlpCustomEntry.js.map +1 -1
- package/zeroTrustDlpCustomProfile.d.ts +29 -3
- package/zeroTrustDlpCustomProfile.js +26 -0
- package/zeroTrustDlpCustomProfile.js.map +1 -1
- package/zeroTrustDlpEntry.d.ts +2 -2
- package/zeroTrustDlpEntry.js +0 -3
- package/zeroTrustDlpEntry.js.map +1 -1
- package/zeroTrustDlpPredefinedEntry.d.ts +1 -1
- package/zeroTrustGatewayPolicy.d.ts +130 -3
- package/zeroTrustGatewayPolicy.js +127 -0
- package/zeroTrustGatewayPolicy.js.map +1 -1
- package/zeroTrustGatewaySettings.d.ts +75 -0
- package/zeroTrustGatewaySettings.js +75 -0
- package/zeroTrustGatewaySettings.js.map +1 -1
- package/zeroTrustOrganization.d.ts +29 -0
- package/zeroTrustOrganization.js +29 -0
- package/zeroTrustOrganization.js.map +1 -1
- package/zeroTrustTunnelCloudflaredConfig.d.ts +12 -0
- package/zeroTrustTunnelCloudflaredConfig.js +2 -0
- package/zeroTrustTunnelCloudflaredConfig.js.map +1 -1
- package/zoneCacheVariants.d.ts +55 -0
- package/zoneCacheVariants.js +55 -0
- package/zoneCacheVariants.js.map +1 -1
- package/zoneDnsSettings.d.ts +31 -0
- package/zoneDnsSettings.js +31 -0
- package/zoneDnsSettings.js.map +1 -1
- package/zoneSubscription.d.ts +19 -0
- package/zoneSubscription.js +19 -0
- package/zoneSubscription.js.map +1 -1
package/magicTransitSiteLan.d.ts
CHANGED
|
@@ -4,6 +4,48 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
10
|
+
*
|
|
11
|
+
* const exampleMagicTransitSiteLan = new cloudflare.MagicTransitSiteLan("example_magic_transit_site_lan", {
|
|
12
|
+
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
13
|
+
* siteId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
14
|
+
* physport: 1,
|
|
15
|
+
* haLink: true,
|
|
16
|
+
* name: "name",
|
|
17
|
+
* nat: {
|
|
18
|
+
* staticPrefix: "192.0.2.0/24",
|
|
19
|
+
* },
|
|
20
|
+
* routedSubnets: [{
|
|
21
|
+
* nextHop: "192.0.2.1",
|
|
22
|
+
* prefix: "192.0.2.0/24",
|
|
23
|
+
* nat: {
|
|
24
|
+
* staticPrefix: "192.0.2.0/24",
|
|
25
|
+
* },
|
|
26
|
+
* }],
|
|
27
|
+
* staticAddressing: {
|
|
28
|
+
* address: "192.0.2.0/24",
|
|
29
|
+
* dhcpRelay: {
|
|
30
|
+
* serverAddresses: ["192.0.2.1"],
|
|
31
|
+
* },
|
|
32
|
+
* dhcpServer: {
|
|
33
|
+
* dhcpPoolEnd: "192.0.2.1",
|
|
34
|
+
* dhcpPoolStart: "192.0.2.1",
|
|
35
|
+
* dnsServer: "192.0.2.1",
|
|
36
|
+
* dnsServers: ["192.0.2.1"],
|
|
37
|
+
* reservations: {
|
|
38
|
+
* "00:11:22:33:44:55": "192.0.2.100",
|
|
39
|
+
* "AA:BB:CC:DD:EE:FF": "192.168.1.101",
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* secondaryAddress: "192.0.2.0/24",
|
|
43
|
+
* virtualAddress: "192.0.2.0/24",
|
|
44
|
+
* },
|
|
45
|
+
* vlanTag: 42,
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
7
49
|
* ## Import
|
|
8
50
|
*
|
|
9
51
|
* ```sh
|
package/magicTransitSiteLan.js
CHANGED
|
@@ -8,6 +8,48 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
14
|
+
*
|
|
15
|
+
* const exampleMagicTransitSiteLan = new cloudflare.MagicTransitSiteLan("example_magic_transit_site_lan", {
|
|
16
|
+
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
17
|
+
* siteId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
18
|
+
* physport: 1,
|
|
19
|
+
* haLink: true,
|
|
20
|
+
* name: "name",
|
|
21
|
+
* nat: {
|
|
22
|
+
* staticPrefix: "192.0.2.0/24",
|
|
23
|
+
* },
|
|
24
|
+
* routedSubnets: [{
|
|
25
|
+
* nextHop: "192.0.2.1",
|
|
26
|
+
* prefix: "192.0.2.0/24",
|
|
27
|
+
* nat: {
|
|
28
|
+
* staticPrefix: "192.0.2.0/24",
|
|
29
|
+
* },
|
|
30
|
+
* }],
|
|
31
|
+
* staticAddressing: {
|
|
32
|
+
* address: "192.0.2.0/24",
|
|
33
|
+
* dhcpRelay: {
|
|
34
|
+
* serverAddresses: ["192.0.2.1"],
|
|
35
|
+
* },
|
|
36
|
+
* dhcpServer: {
|
|
37
|
+
* dhcpPoolEnd: "192.0.2.1",
|
|
38
|
+
* dhcpPoolStart: "192.0.2.1",
|
|
39
|
+
* dnsServer: "192.0.2.1",
|
|
40
|
+
* dnsServers: ["192.0.2.1"],
|
|
41
|
+
* reservations: {
|
|
42
|
+
* "00:11:22:33:44:55": "192.0.2.100",
|
|
43
|
+
* "AA:BB:CC:DD:EE:FF": "192.168.1.101",
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* secondaryAddress: "192.0.2.0/24",
|
|
47
|
+
* virtualAddress: "192.0.2.0/24",
|
|
48
|
+
* },
|
|
49
|
+
* vlanTag: 42,
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
11
53
|
* ## Import
|
|
12
54
|
*
|
|
13
55
|
* ```sh
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magicTransitSiteLan.js","sourceRoot":"","sources":["../magicTransitSiteLan.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"magicTransitSiteLan.js","sourceRoot":"","sources":["../magicTransitSiteLan.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QAC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gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAlGL,kDAmGC;AArFG,gBAAgB;AACO,gCAAY,GAAG,0DAA0D,CAAC"}
|
package/magicTransitSiteWan.d.ts
CHANGED
|
@@ -4,6 +4,25 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
10
|
+
*
|
|
11
|
+
* const exampleMagicTransitSiteWan = new cloudflare.MagicTransitSiteWan("example_magic_transit_site_wan", {
|
|
12
|
+
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
13
|
+
* siteId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
14
|
+
* physport: 1,
|
|
15
|
+
* name: "name",
|
|
16
|
+
* priority: 0,
|
|
17
|
+
* staticAddressing: {
|
|
18
|
+
* address: "192.0.2.0/24",
|
|
19
|
+
* gatewayAddress: "192.0.2.1",
|
|
20
|
+
* secondaryAddress: "192.0.2.0/24",
|
|
21
|
+
* },
|
|
22
|
+
* vlanTag: 42,
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
7
26
|
* ## Import
|
|
8
27
|
*
|
|
9
28
|
* ```sh
|
package/magicTransitSiteWan.js
CHANGED
|
@@ -8,6 +8,25 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
14
|
+
*
|
|
15
|
+
* const exampleMagicTransitSiteWan = new cloudflare.MagicTransitSiteWan("example_magic_transit_site_wan", {
|
|
16
|
+
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
17
|
+
* siteId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
18
|
+
* physport: 1,
|
|
19
|
+
* name: "name",
|
|
20
|
+
* priority: 0,
|
|
21
|
+
* staticAddressing: {
|
|
22
|
+
* address: "192.0.2.0/24",
|
|
23
|
+
* gatewayAddress: "192.0.2.1",
|
|
24
|
+
* secondaryAddress: "192.0.2.0/24",
|
|
25
|
+
* },
|
|
26
|
+
* vlanTag: 42,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
11
30
|
* ## Import
|
|
12
31
|
*
|
|
13
32
|
* ```sh
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magicTransitSiteWan.js","sourceRoot":"","sources":["../magicTransitSiteWan.ts"],"names":[],"mappings":";AAAA,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C,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAhGL,kDAiGC;AAnFG,gBAAgB;AACO,gCAAY,GAAG,0DAA0D,CAAC"}
|
package/magicWanStaticRoute.d.ts
CHANGED
|
@@ -4,6 +4,24 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
10
|
+
*
|
|
11
|
+
* const exampleMagicWanStaticRoute = new cloudflare.MagicWanStaticRoute("example_magic_wan_static_route", {
|
|
12
|
+
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
13
|
+
* nexthop: "203.0.113.1",
|
|
14
|
+
* prefix: "192.0.2.0/24",
|
|
15
|
+
* priority: 0,
|
|
16
|
+
* description: "New route for new prefix 203.0.113.1",
|
|
17
|
+
* scope: {
|
|
18
|
+
* coloNames: ["den01"],
|
|
19
|
+
* coloRegions: ["APAC"],
|
|
20
|
+
* },
|
|
21
|
+
* weight: 0,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
7
25
|
* ## Import
|
|
8
26
|
*
|
|
9
27
|
* ```sh
|
package/magicWanStaticRoute.js
CHANGED
|
@@ -8,6 +8,24 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
14
|
+
*
|
|
15
|
+
* const exampleMagicWanStaticRoute = new cloudflare.MagicWanStaticRoute("example_magic_wan_static_route", {
|
|
16
|
+
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
17
|
+
* nexthop: "203.0.113.1",
|
|
18
|
+
* prefix: "192.0.2.0/24",
|
|
19
|
+
* priority: 0,
|
|
20
|
+
* description: "New route for new prefix 203.0.113.1",
|
|
21
|
+
* scope: {
|
|
22
|
+
* coloNames: ["den01"],
|
|
23
|
+
* coloRegions: ["APAC"],
|
|
24
|
+
* },
|
|
25
|
+
* weight: 0,
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
11
29
|
* ## Import
|
|
12
30
|
*
|
|
13
31
|
* ```sh
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magicWanStaticRoute.js","sourceRoot":"","sources":["../magicWanStaticRoute.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"magicWanStaticRoute.js","sourceRoot":"","sources":["../magicWanStaticRoute.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;I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```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
10
|
+
*
|
|
11
|
+
* const exampleNotificationPolicy = new cloudflare.NotificationPolicy("example_notification_policy", {
|
|
12
|
+
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
13
|
+
* alertType: "universal_ssl_event_type",
|
|
14
|
+
* enabled: true,
|
|
15
|
+
* mechanisms: {
|
|
16
|
+
* emails: [{
|
|
17
|
+
* id: "id",
|
|
18
|
+
* }],
|
|
19
|
+
* pagerduties: [{
|
|
20
|
+
* id: "f174e90afafe4643bbbc4a0ed4fc8415",
|
|
21
|
+
* }],
|
|
22
|
+
* webhooks: [{
|
|
23
|
+
* id: "f174e90afafe4643bbbc4a0ed4fc8415",
|
|
24
|
+
* }],
|
|
25
|
+
* },
|
|
26
|
+
* name: "SSL Notification Event Policy",
|
|
27
|
+
* alertInterval: "30m",
|
|
28
|
+
* description: "Something describing the policy.",
|
|
29
|
+
* filters: {
|
|
30
|
+
* actions: ["string"],
|
|
31
|
+
* affectedAsns: ["string"],
|
|
32
|
+
* affectedComponents: ["string"],
|
|
33
|
+
* affectedLocations: ["string"],
|
|
34
|
+
* airportCodes: ["string"],
|
|
35
|
+
* alertTriggerPreferences: ["string"],
|
|
36
|
+
* alertTriggerPreferencesValues: ["string"],
|
|
37
|
+
* enableds: ["string"],
|
|
38
|
+
* environments: ["string"],
|
|
39
|
+
* events: ["string"],
|
|
40
|
+
* eventSources: ["string"],
|
|
41
|
+
* eventTypes: ["string"],
|
|
42
|
+
* groupBies: ["string"],
|
|
43
|
+
* healthCheckIds: ["string"],
|
|
44
|
+
* incidentImpacts: ["INCIDENT_IMPACT_NONE"],
|
|
45
|
+
* inputIds: ["string"],
|
|
46
|
+
* insightClasses: ["string"],
|
|
47
|
+
* limits: ["string"],
|
|
48
|
+
* logoTags: ["string"],
|
|
49
|
+
* megabitsPerSeconds: ["string"],
|
|
50
|
+
* newHealths: ["string"],
|
|
51
|
+
* newStatuses: ["string"],
|
|
52
|
+
* packetsPerSeconds: ["string"],
|
|
53
|
+
* poolIds: ["string"],
|
|
54
|
+
* popNames: ["string"],
|
|
55
|
+
* products: ["string"],
|
|
56
|
+
* projectIds: ["string"],
|
|
57
|
+
* protocols: ["string"],
|
|
58
|
+
* queryTags: ["string"],
|
|
59
|
+
* requestsPerSeconds: ["string"],
|
|
60
|
+
* selectors: ["string"],
|
|
61
|
+
* services: ["string"],
|
|
62
|
+
* slos: ["99.9"],
|
|
63
|
+
* statuses: ["string"],
|
|
64
|
+
* targetHostnames: ["string"],
|
|
65
|
+
* targetIps: ["string"],
|
|
66
|
+
* targetZoneNames: ["string"],
|
|
67
|
+
* trafficExclusions: ["security_events"],
|
|
68
|
+
* tunnelIds: ["string"],
|
|
69
|
+
* tunnelNames: ["string"],
|
|
70
|
+
* types: ["string"],
|
|
71
|
+
* wheres: ["string"],
|
|
72
|
+
* zones: ["string"],
|
|
73
|
+
* },
|
|
74
|
+
* });
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
7
77
|
* ## Import
|
|
8
78
|
*
|
|
9
79
|
* ```sh
|
|
@@ -36,7 +106,7 @@ export declare class NotificationPolicy extends pulumi.CustomResource {
|
|
|
36
106
|
readonly alertInterval: pulumi.Output<string | undefined>;
|
|
37
107
|
/**
|
|
38
108
|
* Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which then will give you a list of possible values.
|
|
39
|
-
* Available values: "access*custom*certificate*expiration*type", "advanced*ddos*attack*l4*alert", "advanced*ddos*attack*l7*alert", "advanced*http*alert*error", "bgp*hijack*notification", "billing*usage*alert", "block*notification*block*removed", "block*notification*new*block", "block*notification*review*rejected", "bot*traffic*basic*alert", "brand*protection*alert", "brand*protection*digest", "clickhouse*alert*fw*anomaly", "clickhouse*alert*fw*ent*anomaly", "cloudforce*one*request*notification", "custom*analytics", "custom*bot*detection*alert", "custom*ssl*certificate*event*type", "dedicated*ssl*certificate*event*type", "device*connectivity*anomaly*alert", "dos*attack*l4", "dos*attack*l7", "expiring*service*token*alert", "failing*logpush*job*disabled*alert", "fbm*auto*advertisement", "fbm*dosd*attack", "fbm*volumetric*attack", "health*check*status*notification", "hostname*aop*custom*certificate*expiration*type", "http*alert*edge*error", "http*alert*origin*error", "image*notification", "image*resizing*notification", "incident*alert", "load*balancing*health*alert", "load*balancing*pool*enablement*alert", "logo*match*alert", "magic*tunnel*health*check*event", "magic*wan*tunnel*health", "maintenance*event*notification", "mtls*certificate*store*certificate*expiration*type", "pages*event*alert", "radar*notification", "real*origin*monitoring", "scriptmonitor*alert*new*code*change*detections", "scriptmonitor*alert*new*hosts", "scriptmonitor*alert*new*malicious*hosts", "scriptmonitor*alert*new*malicious*scripts", "scriptmonitor*alert*new*malicious*url", "scriptmonitor*alert*new*max*length*resource*url", "scriptmonitor*alert*new*resources", "secondary*dns*all*primaries*failing", "secondary*dns*primaries*failing", "secondary*dns*warning", "secondary*dns*zone*successfully*updated", "secondary*dns*zone*validation*warning", "security*insights*alert", "sentinel*alert", "stream*live*notifications", "synthetic*test*latency*alert", "synthetic*test*low*availability*alert", "traffic*anomalies*alert", "tunnel*health*event", "tunnel*update*event", "universal*ssl*event*type", "web*analytics*metrics*update", "zone*aop*custom*certificate*expiration*type".
|
|
109
|
+
* Available values: "abuse*report*alert", "access*custom*certificate*expiration*type", "advanced*ddos*attack*l4*alert", "advanced*ddos*attack*l7*alert", "advanced*http*alert*error", "bgp*hijack*notification", "billing*usage*alert", "block*notification*block*removed", "block*notification*new*block", "block*notification*review*rejected", "bot*traffic*basic*alert", "brand*protection*alert", "brand*protection*digest", "clickhouse*alert*fw*anomaly", "clickhouse*alert*fw*ent*anomaly", "cloudforce*one*request*notification", "custom*analytics", "custom*bot*detection*alert", "custom*ssl*certificate*event*type", "dedicated*ssl*certificate*event*type", "device*connectivity*anomaly*alert", "dos*attack*l4", "dos*attack*l7", "expiring*service*token*alert", "failing*logpush*job*disabled*alert", "fbm*auto*advertisement", "fbm*dosd*attack", "fbm*volumetric*attack", "health*check*status*notification", "hostname*aop*custom*certificate*expiration*type", "http*alert*edge*error", "http*alert*origin*error", "image*notification", "image*resizing*notification", "incident*alert", "load*balancing*health*alert", "load*balancing*pool*enablement*alert", "logo*match*alert", "magic*tunnel*health*check*event", "magic*wan*tunnel*health", "maintenance*event*notification", "mtls*certificate*store*certificate*expiration*type", "pages*event*alert", "radar*notification", "real*origin*monitoring", "scriptmonitor*alert*new*code*change*detections", "scriptmonitor*alert*new*hosts", "scriptmonitor*alert*new*malicious*hosts", "scriptmonitor*alert*new*malicious*scripts", "scriptmonitor*alert*new*malicious*url", "scriptmonitor*alert*new*max*length*resource*url", "scriptmonitor*alert*new*resources", "secondary*dns*all*primaries*failing", "secondary*dns*primaries*failing", "secondary*dns*warning", "secondary*dns*zone*successfully*updated", "secondary*dns*zone*validation*warning", "security*insights*alert", "sentinel*alert", "stream*live*notifications", "synthetic*test*latency*alert", "synthetic*test*low*availability*alert", "traffic*anomalies*alert", "tunnel*health*event", "tunnel*update*event", "universal*ssl*event*type", "web*analytics*metrics*update", "zone*aop*custom*certificate*expiration*type".
|
|
40
110
|
*/
|
|
41
111
|
readonly alertType: pulumi.Output<string>;
|
|
42
112
|
readonly created: pulumi.Output<string>;
|
|
@@ -84,7 +154,7 @@ export interface NotificationPolicyState {
|
|
|
84
154
|
alertInterval?: pulumi.Input<string>;
|
|
85
155
|
/**
|
|
86
156
|
* Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which then will give you a list of possible values.
|
|
87
|
-
* Available values: "access*custom*certificate*expiration*type", "advanced*ddos*attack*l4*alert", "advanced*ddos*attack*l7*alert", "advanced*http*alert*error", "bgp*hijack*notification", "billing*usage*alert", "block*notification*block*removed", "block*notification*new*block", "block*notification*review*rejected", "bot*traffic*basic*alert", "brand*protection*alert", "brand*protection*digest", "clickhouse*alert*fw*anomaly", "clickhouse*alert*fw*ent*anomaly", "cloudforce*one*request*notification", "custom*analytics", "custom*bot*detection*alert", "custom*ssl*certificate*event*type", "dedicated*ssl*certificate*event*type", "device*connectivity*anomaly*alert", "dos*attack*l4", "dos*attack*l7", "expiring*service*token*alert", "failing*logpush*job*disabled*alert", "fbm*auto*advertisement", "fbm*dosd*attack", "fbm*volumetric*attack", "health*check*status*notification", "hostname*aop*custom*certificate*expiration*type", "http*alert*edge*error", "http*alert*origin*error", "image*notification", "image*resizing*notification", "incident*alert", "load*balancing*health*alert", "load*balancing*pool*enablement*alert", "logo*match*alert", "magic*tunnel*health*check*event", "magic*wan*tunnel*health", "maintenance*event*notification", "mtls*certificate*store*certificate*expiration*type", "pages*event*alert", "radar*notification", "real*origin*monitoring", "scriptmonitor*alert*new*code*change*detections", "scriptmonitor*alert*new*hosts", "scriptmonitor*alert*new*malicious*hosts", "scriptmonitor*alert*new*malicious*scripts", "scriptmonitor*alert*new*malicious*url", "scriptmonitor*alert*new*max*length*resource*url", "scriptmonitor*alert*new*resources", "secondary*dns*all*primaries*failing", "secondary*dns*primaries*failing", "secondary*dns*warning", "secondary*dns*zone*successfully*updated", "secondary*dns*zone*validation*warning", "security*insights*alert", "sentinel*alert", "stream*live*notifications", "synthetic*test*latency*alert", "synthetic*test*low*availability*alert", "traffic*anomalies*alert", "tunnel*health*event", "tunnel*update*event", "universal*ssl*event*type", "web*analytics*metrics*update", "zone*aop*custom*certificate*expiration*type".
|
|
157
|
+
* Available values: "abuse*report*alert", "access*custom*certificate*expiration*type", "advanced*ddos*attack*l4*alert", "advanced*ddos*attack*l7*alert", "advanced*http*alert*error", "bgp*hijack*notification", "billing*usage*alert", "block*notification*block*removed", "block*notification*new*block", "block*notification*review*rejected", "bot*traffic*basic*alert", "brand*protection*alert", "brand*protection*digest", "clickhouse*alert*fw*anomaly", "clickhouse*alert*fw*ent*anomaly", "cloudforce*one*request*notification", "custom*analytics", "custom*bot*detection*alert", "custom*ssl*certificate*event*type", "dedicated*ssl*certificate*event*type", "device*connectivity*anomaly*alert", "dos*attack*l4", "dos*attack*l7", "expiring*service*token*alert", "failing*logpush*job*disabled*alert", "fbm*auto*advertisement", "fbm*dosd*attack", "fbm*volumetric*attack", "health*check*status*notification", "hostname*aop*custom*certificate*expiration*type", "http*alert*edge*error", "http*alert*origin*error", "image*notification", "image*resizing*notification", "incident*alert", "load*balancing*health*alert", "load*balancing*pool*enablement*alert", "logo*match*alert", "magic*tunnel*health*check*event", "magic*wan*tunnel*health", "maintenance*event*notification", "mtls*certificate*store*certificate*expiration*type", "pages*event*alert", "radar*notification", "real*origin*monitoring", "scriptmonitor*alert*new*code*change*detections", "scriptmonitor*alert*new*hosts", "scriptmonitor*alert*new*malicious*hosts", "scriptmonitor*alert*new*malicious*scripts", "scriptmonitor*alert*new*malicious*url", "scriptmonitor*alert*new*max*length*resource*url", "scriptmonitor*alert*new*resources", "secondary*dns*all*primaries*failing", "secondary*dns*primaries*failing", "secondary*dns*warning", "secondary*dns*zone*successfully*updated", "secondary*dns*zone*validation*warning", "security*insights*alert", "sentinel*alert", "stream*live*notifications", "synthetic*test*latency*alert", "synthetic*test*low*availability*alert", "traffic*anomalies*alert", "tunnel*health*event", "tunnel*update*event", "universal*ssl*event*type", "web*analytics*metrics*update", "zone*aop*custom*certificate*expiration*type".
|
|
88
158
|
*/
|
|
89
159
|
alertType?: pulumi.Input<string>;
|
|
90
160
|
created?: pulumi.Input<string>;
|
|
@@ -124,7 +194,7 @@ export interface NotificationPolicyArgs {
|
|
|
124
194
|
alertInterval?: pulumi.Input<string>;
|
|
125
195
|
/**
|
|
126
196
|
* Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which then will give you a list of possible values.
|
|
127
|
-
* Available values: "access*custom*certificate*expiration*type", "advanced*ddos*attack*l4*alert", "advanced*ddos*attack*l7*alert", "advanced*http*alert*error", "bgp*hijack*notification", "billing*usage*alert", "block*notification*block*removed", "block*notification*new*block", "block*notification*review*rejected", "bot*traffic*basic*alert", "brand*protection*alert", "brand*protection*digest", "clickhouse*alert*fw*anomaly", "clickhouse*alert*fw*ent*anomaly", "cloudforce*one*request*notification", "custom*analytics", "custom*bot*detection*alert", "custom*ssl*certificate*event*type", "dedicated*ssl*certificate*event*type", "device*connectivity*anomaly*alert", "dos*attack*l4", "dos*attack*l7", "expiring*service*token*alert", "failing*logpush*job*disabled*alert", "fbm*auto*advertisement", "fbm*dosd*attack", "fbm*volumetric*attack", "health*check*status*notification", "hostname*aop*custom*certificate*expiration*type", "http*alert*edge*error", "http*alert*origin*error", "image*notification", "image*resizing*notification", "incident*alert", "load*balancing*health*alert", "load*balancing*pool*enablement*alert", "logo*match*alert", "magic*tunnel*health*check*event", "magic*wan*tunnel*health", "maintenance*event*notification", "mtls*certificate*store*certificate*expiration*type", "pages*event*alert", "radar*notification", "real*origin*monitoring", "scriptmonitor*alert*new*code*change*detections", "scriptmonitor*alert*new*hosts", "scriptmonitor*alert*new*malicious*hosts", "scriptmonitor*alert*new*malicious*scripts", "scriptmonitor*alert*new*malicious*url", "scriptmonitor*alert*new*max*length*resource*url", "scriptmonitor*alert*new*resources", "secondary*dns*all*primaries*failing", "secondary*dns*primaries*failing", "secondary*dns*warning", "secondary*dns*zone*successfully*updated", "secondary*dns*zone*validation*warning", "security*insights*alert", "sentinel*alert", "stream*live*notifications", "synthetic*test*latency*alert", "synthetic*test*low*availability*alert", "traffic*anomalies*alert", "tunnel*health*event", "tunnel*update*event", "universal*ssl*event*type", "web*analytics*metrics*update", "zone*aop*custom*certificate*expiration*type".
|
|
197
|
+
* Available values: "abuse*report*alert", "access*custom*certificate*expiration*type", "advanced*ddos*attack*l4*alert", "advanced*ddos*attack*l7*alert", "advanced*http*alert*error", "bgp*hijack*notification", "billing*usage*alert", "block*notification*block*removed", "block*notification*new*block", "block*notification*review*rejected", "bot*traffic*basic*alert", "brand*protection*alert", "brand*protection*digest", "clickhouse*alert*fw*anomaly", "clickhouse*alert*fw*ent*anomaly", "cloudforce*one*request*notification", "custom*analytics", "custom*bot*detection*alert", "custom*ssl*certificate*event*type", "dedicated*ssl*certificate*event*type", "device*connectivity*anomaly*alert", "dos*attack*l4", "dos*attack*l7", "expiring*service*token*alert", "failing*logpush*job*disabled*alert", "fbm*auto*advertisement", "fbm*dosd*attack", "fbm*volumetric*attack", "health*check*status*notification", "hostname*aop*custom*certificate*expiration*type", "http*alert*edge*error", "http*alert*origin*error", "image*notification", "image*resizing*notification", "incident*alert", "load*balancing*health*alert", "load*balancing*pool*enablement*alert", "logo*match*alert", "magic*tunnel*health*check*event", "magic*wan*tunnel*health", "maintenance*event*notification", "mtls*certificate*store*certificate*expiration*type", "pages*event*alert", "radar*notification", "real*origin*monitoring", "scriptmonitor*alert*new*code*change*detections", "scriptmonitor*alert*new*hosts", "scriptmonitor*alert*new*malicious*hosts", "scriptmonitor*alert*new*malicious*scripts", "scriptmonitor*alert*new*malicious*url", "scriptmonitor*alert*new*max*length*resource*url", "scriptmonitor*alert*new*resources", "secondary*dns*all*primaries*failing", "secondary*dns*primaries*failing", "secondary*dns*warning", "secondary*dns*zone*successfully*updated", "secondary*dns*zone*validation*warning", "security*insights*alert", "sentinel*alert", "stream*live*notifications", "synthetic*test*latency*alert", "synthetic*test*low*availability*alert", "traffic*anomalies*alert", "tunnel*health*event", "tunnel*update*event", "universal*ssl*event*type", "web*analytics*metrics*update", "zone*aop*custom*certificate*expiration*type".
|
|
128
198
|
*/
|
|
129
199
|
alertType: pulumi.Input<string>;
|
|
130
200
|
/**
|
package/notificationPolicy.js
CHANGED
|
@@ -8,6 +8,76 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
14
|
+
*
|
|
15
|
+
* const exampleNotificationPolicy = new cloudflare.NotificationPolicy("example_notification_policy", {
|
|
16
|
+
* accountId: "023e105f4ecef8ad9ca31a8372d0c353",
|
|
17
|
+
* alertType: "universal_ssl_event_type",
|
|
18
|
+
* enabled: true,
|
|
19
|
+
* mechanisms: {
|
|
20
|
+
* emails: [{
|
|
21
|
+
* id: "id",
|
|
22
|
+
* }],
|
|
23
|
+
* pagerduties: [{
|
|
24
|
+
* id: "f174e90afafe4643bbbc4a0ed4fc8415",
|
|
25
|
+
* }],
|
|
26
|
+
* webhooks: [{
|
|
27
|
+
* id: "f174e90afafe4643bbbc4a0ed4fc8415",
|
|
28
|
+
* }],
|
|
29
|
+
* },
|
|
30
|
+
* name: "SSL Notification Event Policy",
|
|
31
|
+
* alertInterval: "30m",
|
|
32
|
+
* description: "Something describing the policy.",
|
|
33
|
+
* filters: {
|
|
34
|
+
* actions: ["string"],
|
|
35
|
+
* affectedAsns: ["string"],
|
|
36
|
+
* affectedComponents: ["string"],
|
|
37
|
+
* affectedLocations: ["string"],
|
|
38
|
+
* airportCodes: ["string"],
|
|
39
|
+
* alertTriggerPreferences: ["string"],
|
|
40
|
+
* alertTriggerPreferencesValues: ["string"],
|
|
41
|
+
* enableds: ["string"],
|
|
42
|
+
* environments: ["string"],
|
|
43
|
+
* events: ["string"],
|
|
44
|
+
* eventSources: ["string"],
|
|
45
|
+
* eventTypes: ["string"],
|
|
46
|
+
* groupBies: ["string"],
|
|
47
|
+
* healthCheckIds: ["string"],
|
|
48
|
+
* incidentImpacts: ["INCIDENT_IMPACT_NONE"],
|
|
49
|
+
* inputIds: ["string"],
|
|
50
|
+
* insightClasses: ["string"],
|
|
51
|
+
* limits: ["string"],
|
|
52
|
+
* logoTags: ["string"],
|
|
53
|
+
* megabitsPerSeconds: ["string"],
|
|
54
|
+
* newHealths: ["string"],
|
|
55
|
+
* newStatuses: ["string"],
|
|
56
|
+
* packetsPerSeconds: ["string"],
|
|
57
|
+
* poolIds: ["string"],
|
|
58
|
+
* popNames: ["string"],
|
|
59
|
+
* products: ["string"],
|
|
60
|
+
* projectIds: ["string"],
|
|
61
|
+
* protocols: ["string"],
|
|
62
|
+
* queryTags: ["string"],
|
|
63
|
+
* requestsPerSeconds: ["string"],
|
|
64
|
+
* selectors: ["string"],
|
|
65
|
+
* services: ["string"],
|
|
66
|
+
* slos: ["99.9"],
|
|
67
|
+
* statuses: ["string"],
|
|
68
|
+
* targetHostnames: ["string"],
|
|
69
|
+
* targetIps: ["string"],
|
|
70
|
+
* targetZoneNames: ["string"],
|
|
71
|
+
* trafficExclusions: ["security_events"],
|
|
72
|
+
* tunnelIds: ["string"],
|
|
73
|
+
* tunnelNames: ["string"],
|
|
74
|
+
* types: ["string"],
|
|
75
|
+
* wheres: ["string"],
|
|
76
|
+
* zones: ["string"],
|
|
77
|
+
* },
|
|
78
|
+
* });
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
11
81
|
* ## Import
|
|
12
82
|
*
|
|
13
83
|
* ```sh
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notificationPolicy.js","sourceRoot":"","sources":["../notificationPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"notificationPolicy.js","sourceRoot":"","sources":["../notificationPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,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 -0,0 +1,79 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
10
|
+
*
|
|
11
|
+
* const exampleOrganization = new cloudflare.Organization("example_organization", {
|
|
12
|
+
* name: "name",
|
|
13
|
+
* parent: {
|
|
14
|
+
* id: "a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8",
|
|
15
|
+
* },
|
|
16
|
+
* profile: {
|
|
17
|
+
* businessAddress: "business_address",
|
|
18
|
+
* businessEmail: "business_email",
|
|
19
|
+
* businessName: "business_name",
|
|
20
|
+
* businessPhone: "business_phone",
|
|
21
|
+
* externalMetadata: "external_metadata",
|
|
22
|
+
* },
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import cloudflare:index/organization:Organization example '<organization_id>'
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare class Organization extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing Organization resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OrganizationState, opts?: pulumi.CustomResourceOptions): Organization;
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of Organization. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj: any): obj is Organization;
|
|
48
|
+
readonly createTime: pulumi.Output<string>;
|
|
49
|
+
readonly meta: pulumi.Output<outputs.OrganizationMeta>;
|
|
50
|
+
readonly name: pulumi.Output<string>;
|
|
51
|
+
readonly parent: pulumi.Output<outputs.OrganizationParent>;
|
|
52
|
+
readonly profile: pulumi.Output<outputs.OrganizationProfile | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* Create a Organization resource with the given unique name, arguments, and options.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resource.
|
|
57
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
58
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
59
|
+
*/
|
|
60
|
+
constructor(name: string, args: OrganizationArgs, opts?: pulumi.CustomResourceOptions);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Input properties used for looking up and filtering Organization resources.
|
|
64
|
+
*/
|
|
65
|
+
export interface OrganizationState {
|
|
66
|
+
createTime?: pulumi.Input<string>;
|
|
67
|
+
meta?: pulumi.Input<inputs.OrganizationMeta>;
|
|
68
|
+
name?: pulumi.Input<string>;
|
|
69
|
+
parent?: pulumi.Input<inputs.OrganizationParent>;
|
|
70
|
+
profile?: pulumi.Input<inputs.OrganizationProfile>;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* The set of arguments for constructing a Organization resource.
|
|
74
|
+
*/
|
|
75
|
+
export interface OrganizationArgs {
|
|
76
|
+
name: pulumi.Input<string>;
|
|
77
|
+
parent?: pulumi.Input<inputs.OrganizationParent>;
|
|
78
|
+
profile?: pulumi.Input<inputs.OrganizationProfile>;
|
|
79
|
+
}
|
package/organization.js
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Organization = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
14
|
+
*
|
|
15
|
+
* const exampleOrganization = new cloudflare.Organization("example_organization", {
|
|
16
|
+
* name: "name",
|
|
17
|
+
* parent: {
|
|
18
|
+
* id: "a7b9c3d2e8f4g1h5i6j0k9l2m3n7o4p8",
|
|
19
|
+
* },
|
|
20
|
+
* profile: {
|
|
21
|
+
* businessAddress: "business_address",
|
|
22
|
+
* businessEmail: "business_email",
|
|
23
|
+
* businessName: "business_name",
|
|
24
|
+
* businessPhone: "business_phone",
|
|
25
|
+
* externalMetadata: "external_metadata",
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import cloudflare:index/organization:Organization example '<organization_id>'
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
class Organization extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing Organization resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name, id, state, opts) {
|
|
47
|
+
return new Organization(name, state, { ...opts, id: id });
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of Organization. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === Organization.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
constructor(name, argsOrState, opts) {
|
|
60
|
+
let resourceInputs = {};
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
if (opts.id) {
|
|
63
|
+
const state = argsOrState;
|
|
64
|
+
resourceInputs["createTime"] = state?.createTime;
|
|
65
|
+
resourceInputs["meta"] = state?.meta;
|
|
66
|
+
resourceInputs["name"] = state?.name;
|
|
67
|
+
resourceInputs["parent"] = state?.parent;
|
|
68
|
+
resourceInputs["profile"] = state?.profile;
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
const args = argsOrState;
|
|
72
|
+
if (args?.name === undefined && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'name'");
|
|
74
|
+
}
|
|
75
|
+
resourceInputs["name"] = args?.name;
|
|
76
|
+
resourceInputs["parent"] = args?.parent;
|
|
77
|
+
resourceInputs["profile"] = args?.profile;
|
|
78
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["meta"] = undefined /*out*/;
|
|
80
|
+
}
|
|
81
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
82
|
+
super(Organization.__pulumiType, name, resourceInputs, opts);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.Organization = Organization;
|
|
86
|
+
/** @internal */
|
|
87
|
+
Organization.__pulumiType = 'cloudflare:index/organization:Organization';
|
|
88
|
+
//# sourceMappingURL=organization.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization.js","sourceRoot":"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