@sst-provider/cloudflare5 5.0.0-alpha1
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/README.md +4 -0
- package/bin/accessApplication.d.ts +487 -0
- package/bin/accessApplication.js +119 -0
- package/bin/accessApplication.js.map +1 -0
- package/bin/accessCaCertificate.d.ts +91 -0
- package/bin/accessCaCertificate.js +62 -0
- package/bin/accessCaCertificate.js.map +1 -0
- package/bin/accessCustomPage.d.ts +117 -0
- package/bin/accessCustomPage.js +64 -0
- package/bin/accessCustomPage.js.map +1 -0
- package/bin/accessGroup.d.ts +80 -0
- package/bin/accessGroup.js +64 -0
- package/bin/accessGroup.js.map +1 -0
- package/bin/accessIdentityProvider.d.ts +125 -0
- package/bin/accessIdentityProvider.js +64 -0
- package/bin/accessIdentityProvider.js.map +1 -0
- package/bin/accessKeysConfiguration.d.ts +63 -0
- package/bin/accessKeysConfiguration.js +56 -0
- package/bin/accessKeysConfiguration.js.map +1 -0
- package/bin/accessMutualTlsCertificate.d.ts +101 -0
- package/bin/accessMutualTlsCertificate.js +61 -0
- package/bin/accessMutualTlsCertificate.js.map +1 -0
- package/bin/accessMutualTlsHostnameSettings.d.ts +65 -0
- package/bin/accessMutualTlsHostnameSettings.js +53 -0
- package/bin/accessMutualTlsHostnameSettings.js.map +1 -0
- package/bin/accessOrganization.d.ts +200 -0
- package/bin/accessOrganization.js +78 -0
- package/bin/accessOrganization.js.map +1 -0
- package/bin/accessPolicy.d.ts +197 -0
- package/bin/accessPolicy.js +87 -0
- package/bin/accessPolicy.js.map +1 -0
- package/bin/accessRule.d.ts +110 -0
- package/bin/accessRule.js +65 -0
- package/bin/accessRule.js.map +1 -0
- package/bin/accessServiceToken.d.ts +114 -0
- package/bin/accessServiceToken.js +67 -0
- package/bin/accessServiceToken.js.map +1 -0
- package/bin/accessTag.d.ts +93 -0
- package/bin/accessTag.js +57 -0
- package/bin/accessTag.js.map +1 -0
- package/bin/account.d.ts +78 -0
- package/bin/account.js +55 -0
- package/bin/account.js.map +1 -0
- package/bin/accountMember.d.ts +90 -0
- package/bin/accountMember.js +66 -0
- package/bin/accountMember.js.map +1 -0
- package/bin/addressMap.d.ts +134 -0
- package/bin/addressMap.js +71 -0
- package/bin/addressMap.js.map +1 -0
- package/bin/apiShield.d.ts +65 -0
- package/bin/apiShield.js +56 -0
- package/bin/apiShield.js.map +1 -0
- package/bin/apiShieldOperation.d.ts +96 -0
- package/bin/apiShieldOperation.js +69 -0
- package/bin/apiShieldOperation.js.map +1 -0
- package/bin/apiShieldOperationSchemaValidationSettings.d.ts +75 -0
- package/bin/apiShieldOperationSchemaValidationSettings.js +61 -0
- package/bin/apiShieldOperationSchemaValidationSettings.js.map +1 -0
- package/bin/apiShieldSchema.d.ts +99 -0
- package/bin/apiShieldSchema.js +65 -0
- package/bin/apiShieldSchema.js.map +1 -0
- package/bin/apiShieldSchemaValidationSettings.d.ts +75 -0
- package/bin/apiShieldSchemaValidationSettings.js +61 -0
- package/bin/apiShieldSchemaValidationSettings.js.map +1 -0
- package/bin/apiToken.d.ts +127 -0
- package/bin/apiToken.js +72 -0
- package/bin/apiToken.js.map +1 -0
- package/bin/argo.d.ts +81 -0
- package/bin/argo.js +58 -0
- package/bin/argo.js.map +1 -0
- package/bin/authenticatedOriginPulls.d.ts +90 -0
- package/bin/authenticatedOriginPulls.js +63 -0
- package/bin/authenticatedOriginPulls.js.map +1 -0
- package/bin/authenticatedOriginPullsCertificate.d.ts +143 -0
- package/bin/authenticatedOriginPullsCertificate.js +85 -0
- package/bin/authenticatedOriginPullsCertificate.js.map +1 -0
- package/bin/botManagement.d.ts +188 -0
- package/bin/botManagement.js +76 -0
- package/bin/botManagement.js.map +1 -0
- package/bin/byoIpPrefix.d.ts +90 -0
- package/bin/byoIpPrefix.js +63 -0
- package/bin/byoIpPrefix.js.map +1 -0
- package/bin/certificatePack.d.ts +167 -0
- package/bin/certificatePack.js +87 -0
- package/bin/certificatePack.js.map +1 -0
- package/bin/cloudConnectorRules.d.ts +62 -0
- package/bin/cloudConnectorRules.js +54 -0
- package/bin/cloudConnectorRules.js.map +1 -0
- package/bin/config/index.d.ts +1 -0
- package/bin/config/index.js +21 -0
- package/bin/config/index.js.map +1 -0
- package/bin/config/vars.d.ts +59 -0
- package/bin/config/vars.js +79 -0
- package/bin/config/vars.js.map +1 -0
- package/bin/customHostname.d.ts +160 -0
- package/bin/customHostname.js +75 -0
- package/bin/customHostname.js.map +1 -0
- package/bin/customHostnameFallbackOrigin.d.ts +71 -0
- package/bin/customHostnameFallbackOrigin.js +61 -0
- package/bin/customHostnameFallbackOrigin.js.map +1 -0
- package/bin/customPages.d.ts +102 -0
- package/bin/customPages.js +65 -0
- package/bin/customPages.js.map +1 -0
- package/bin/customSsl.d.ts +84 -0
- package/bin/customSsl.js +74 -0
- package/bin/customSsl.js.map +1 -0
- package/bin/d1database.d.ts +68 -0
- package/bin/d1database.js +56 -0
- package/bin/d1database.js.map +1 -0
- package/bin/deviceDexTest.d.ts +129 -0
- package/bin/deviceDexTest.js +80 -0
- package/bin/deviceDexTest.js.map +1 -0
- package/bin/deviceManagedNetworks.d.ts +89 -0
- package/bin/deviceManagedNetworks.js +66 -0
- package/bin/deviceManagedNetworks.js.map +1 -0
- package/bin/devicePolicyCertificates.d.ts +63 -0
- package/bin/devicePolicyCertificates.js +59 -0
- package/bin/devicePolicyCertificates.js.map +1 -0
- package/bin/devicePostureIntegration.d.ts +107 -0
- package/bin/devicePostureIntegration.js +67 -0
- package/bin/devicePostureIntegration.js.map +1 -0
- package/bin/devicePostureRule.d.ts +140 -0
- package/bin/devicePostureRule.js +71 -0
- package/bin/devicePostureRule.js.map +1 -0
- package/bin/deviceSettingsPolicy.d.ts +267 -0
- package/bin/deviceSettingsPolicy.js +93 -0
- package/bin/deviceSettingsPolicy.js.map +1 -0
- package/bin/dlpProfile.d.ts +140 -0
- package/bin/dlpProfile.js +77 -0
- package/bin/dlpProfile.js.map +1 -0
- package/bin/emailRoutingAddress.d.ts +92 -0
- package/bin/emailRoutingAddress.js +65 -0
- package/bin/emailRoutingAddress.js.map +1 -0
- package/bin/emailRoutingCatchAll.d.ts +109 -0
- package/bin/emailRoutingCatchAll.js +70 -0
- package/bin/emailRoutingCatchAll.js.map +1 -0
- package/bin/emailRoutingRule.d.ts +118 -0
- package/bin/emailRoutingRule.js +64 -0
- package/bin/emailRoutingRule.js.map +1 -0
- package/bin/emailRoutingSettings.d.ts +115 -0
- package/bin/emailRoutingSettings.js +71 -0
- package/bin/emailRoutingSettings.js.map +1 -0
- package/bin/fallbackDomain.d.ts +68 -0
- package/bin/fallbackDomain.js +61 -0
- package/bin/fallbackDomain.js.map +1 -0
- package/bin/filter.d.ts +99 -0
- package/bin/filter.js +65 -0
- package/bin/filter.js.map +1 -0
- package/bin/firewallRule.d.ts +132 -0
- package/bin/firewallRule.js +72 -0
- package/bin/firewallRule.js.map +1 -0
- package/bin/getAccessApplication.d.ts +34 -0
- package/bin/getAccessApplication.js +32 -0
- package/bin/getAccessApplication.js.map +1 -0
- package/bin/getAccessIdentityProvider.d.ts +31 -0
- package/bin/getAccessIdentityProvider.js +28 -0
- package/bin/getAccessIdentityProvider.js.map +1 -0
- package/bin/getAccountRoles.d.ts +26 -0
- package/bin/getAccountRoles.js +24 -0
- package/bin/getAccountRoles.js.map +1 -0
- package/bin/getAccounts.d.ts +26 -0
- package/bin/getAccounts.js +26 -0
- package/bin/getAccounts.js.map +1 -0
- package/bin/getApiTokenPermissionGroups.d.ts +27 -0
- package/bin/getApiTokenPermissionGroups.js +18 -0
- package/bin/getApiTokenPermissionGroups.js.map +1 -0
- package/bin/getDcvDelegation.d.ts +23 -0
- package/bin/getDcvDelegation.js +22 -0
- package/bin/getDcvDelegation.js.map +1 -0
- package/bin/getDevicePostureRules.d.ts +32 -0
- package/bin/getDevicePostureRules.js +28 -0
- package/bin/getDevicePostureRules.js.map +1 -0
- package/bin/getDevices.d.ts +26 -0
- package/bin/getDevices.js +24 -0
- package/bin/getDevices.js.map +1 -0
- package/bin/getDlpDatasets.d.ts +27 -0
- package/bin/getDlpDatasets.js +22 -0
- package/bin/getDlpDatasets.js.map +1 -0
- package/bin/getGatewayAppTypes.d.ts +27 -0
- package/bin/getGatewayAppTypes.js +22 -0
- package/bin/getGatewayAppTypes.js.map +1 -0
- package/bin/getGatewayCategories.d.ts +27 -0
- package/bin/getGatewayCategories.js +22 -0
- package/bin/getGatewayCategories.js.map +1 -0
- package/bin/getInfrastructureAccessTargets.d.ts +48 -0
- package/bin/getInfrastructureAccessTargets.js +36 -0
- package/bin/getInfrastructureAccessTargets.js.map +1 -0
- package/bin/getIpRanges.d.ts +26 -0
- package/bin/getIpRanges.js +24 -0
- package/bin/getIpRanges.js.map +1 -0
- package/bin/getList.d.ts +30 -0
- package/bin/getList.js +26 -0
- package/bin/getList.js.map +1 -0
- package/bin/getLists.d.ts +26 -0
- package/bin/getLists.js +24 -0
- package/bin/getLists.js.map +1 -0
- package/bin/getLoadBalancerPools.d.ts +32 -0
- package/bin/getLoadBalancerPools.js +28 -0
- package/bin/getLoadBalancerPools.js.map +1 -0
- package/bin/getOriginCaCertificate.d.ts +26 -0
- package/bin/getOriginCaCertificate.js +22 -0
- package/bin/getOriginCaCertificate.js.map +1 -0
- package/bin/getOriginCaRootCertificate.d.ts +25 -0
- package/bin/getOriginCaRootCertificate.js +24 -0
- package/bin/getOriginCaRootCertificate.js.map +1 -0
- package/bin/getRecord.d.ts +40 -0
- package/bin/getRecord.js +32 -0
- package/bin/getRecord.js.map +1 -0
- package/bin/getRulesets.d.ts +36 -0
- package/bin/getRulesets.js +32 -0
- package/bin/getRulesets.js.map +1 -0
- package/bin/getTunnel.d.ts +31 -0
- package/bin/getTunnel.js +26 -0
- package/bin/getTunnel.js.map +1 -0
- package/bin/getTunnelVirtualNetwork.d.ts +29 -0
- package/bin/getTunnelVirtualNetwork.js +26 -0
- package/bin/getTunnelVirtualNetwork.js.map +1 -0
- package/bin/getUser.d.ts +11 -0
- package/bin/getUser.js +18 -0
- package/bin/getUser.js.map +1 -0
- package/bin/getZeroTrustAccessApplication.d.ts +34 -0
- package/bin/getZeroTrustAccessApplication.js +32 -0
- package/bin/getZeroTrustAccessApplication.js.map +1 -0
- package/bin/getZeroTrustAccessIdentityProvider.d.ts +31 -0
- package/bin/getZeroTrustAccessIdentityProvider.js +28 -0
- package/bin/getZeroTrustAccessIdentityProvider.js.map +1 -0
- package/bin/getZeroTrustTunnelCloudflared.d.ts +31 -0
- package/bin/getZeroTrustTunnelCloudflared.js +26 -0
- package/bin/getZeroTrustTunnelCloudflared.js.map +1 -0
- package/bin/getZeroTrustTunnelVirtualNetwork.d.ts +29 -0
- package/bin/getZeroTrustTunnelVirtualNetwork.js +26 -0
- package/bin/getZeroTrustTunnelVirtualNetwork.js.map +1 -0
- package/bin/getZone.d.ts +35 -0
- package/bin/getZone.js +30 -0
- package/bin/getZone.js.map +1 -0
- package/bin/getZoneCacheReserve.d.ts +25 -0
- package/bin/getZoneCacheReserve.js +24 -0
- package/bin/getZoneCacheReserve.js.map +1 -0
- package/bin/getZoneDnssec.d.ts +34 -0
- package/bin/getZoneDnssec.js +24 -0
- package/bin/getZoneDnssec.js.map +1 -0
- package/bin/getZones.d.ts +27 -0
- package/bin/getZones.js +24 -0
- package/bin/getZones.js.map +1 -0
- package/bin/greTunnel.d.ts +171 -0
- package/bin/greTunnel.js +80 -0
- package/bin/greTunnel.js.map +1 -0
- package/bin/healthcheck.d.ts +318 -0
- package/bin/healthcheck.js +104 -0
- package/bin/healthcheck.js.map +1 -0
- package/bin/hostnameTlsSetting.d.ts +91 -0
- package/bin/hostnameTlsSetting.js +73 -0
- package/bin/hostnameTlsSetting.js.map +1 -0
- package/bin/hostnameTlsSettingCiphers.d.ts +91 -0
- package/bin/hostnameTlsSettingCiphers.js +70 -0
- package/bin/hostnameTlsSettingCiphers.js.map +1 -0
- package/bin/hyperdriveConfig.d.ts +98 -0
- package/bin/hyperdriveConfig.js +63 -0
- package/bin/hyperdriveConfig.js.map +1 -0
- package/bin/index.d.ts +588 -0
- package/bin/index.js +945 -0
- package/bin/index.js.map +1 -0
- package/bin/infrastructureAccessTarget.d.ts +90 -0
- package/bin/infrastructureAccessTarget.js +66 -0
- package/bin/infrastructureAccessTarget.js.map +1 -0
- package/bin/ipsecTunnel.d.ts +261 -0
- package/bin/ipsecTunnel.js +96 -0
- package/bin/ipsecTunnel.js.map +1 -0
- package/bin/keylessCertificate.d.ts +143 -0
- package/bin/keylessCertificate.js +74 -0
- package/bin/keylessCertificate.js.map +1 -0
- package/bin/list.d.ts +95 -0
- package/bin/list.js +65 -0
- package/bin/list.js.map +1 -0
- package/bin/listItem.d.ts +122 -0
- package/bin/listItem.js +67 -0
- package/bin/listItem.js.map +1 -0
- package/bin/loadBalancer.d.ts +378 -0
- package/bin/loadBalancer.js +100 -0
- package/bin/loadBalancer.js.map +1 -0
- package/bin/loadBalancerMonitor.d.ts +279 -0
- package/bin/loadBalancerMonitor.js +90 -0
- package/bin/loadBalancerMonitor.js.map +1 -0
- package/bin/loadBalancerPool.d.ts +234 -0
- package/bin/loadBalancerPool.js +85 -0
- package/bin/loadBalancerPool.js.map +1 -0
- package/bin/logpullRetention.d.ts +63 -0
- package/bin/logpullRetention.js +59 -0
- package/bin/logpullRetention.js.map +1 -0
- package/bin/logpushJob.d.ts +260 -0
- package/bin/logpushJob.js +85 -0
- package/bin/logpushJob.js.map +1 -0
- package/bin/logpushOwnershipChallenge.d.ts +92 -0
- package/bin/logpushOwnershipChallenge.js +60 -0
- package/bin/logpushOwnershipChallenge.js.map +1 -0
- package/bin/magicFirewallRuleset.d.ts +75 -0
- package/bin/magicFirewallRuleset.js +60 -0
- package/bin/magicFirewallRuleset.js.map +1 -0
- package/bin/magicWanGreTunnel.d.ts +171 -0
- package/bin/magicWanGreTunnel.js +80 -0
- package/bin/magicWanGreTunnel.js.map +1 -0
- package/bin/magicWanIpsecTunnel.d.ts +261 -0
- package/bin/magicWanIpsecTunnel.js +96 -0
- package/bin/magicWanIpsecTunnel.js.map +1 -0
- package/bin/magicWanStaticRoute.d.ts +135 -0
- package/bin/magicWanStaticRoute.js +74 -0
- package/bin/magicWanStaticRoute.js.map +1 -0
- package/bin/managedHeaders.d.ts +77 -0
- package/bin/managedHeaders.js +58 -0
- package/bin/managedHeaders.js.map +1 -0
- package/bin/mtlsCertificate.d.ts +142 -0
- package/bin/mtlsCertificate.js +78 -0
- package/bin/mtlsCertificate.js.map +1 -0
- package/bin/notificationPolicy.d.ts +228 -0
- package/bin/notificationPolicy.js +80 -0
- package/bin/notificationPolicy.js.map +1 -0
- package/bin/notificationPolicyWebhooks.d.ts +119 -0
- package/bin/notificationPolicyWebhooks.js +68 -0
- package/bin/notificationPolicyWebhooks.js.map +1 -0
- package/bin/observatoryScheduledTest.d.ts +104 -0
- package/bin/observatoryScheduledTest.js +71 -0
- package/bin/observatoryScheduledTest.js.map +1 -0
- package/bin/originCaCertificate.d.ts +118 -0
- package/bin/originCaCertificate.js +72 -0
- package/bin/originCaCertificate.js.map +1 -0
- package/bin/package.json +28 -0
- package/bin/pageRule.d.ts +83 -0
- package/bin/pageRule.js +68 -0
- package/bin/pageRule.js.map +1 -0
- package/bin/pagesDomain.d.ts +83 -0
- package/bin/pagesDomain.js +66 -0
- package/bin/pagesDomain.js.map +1 -0
- package/bin/pagesProject.d.ts +143 -0
- package/bin/pagesProject.js +73 -0
- package/bin/pagesProject.js.map +1 -0
- package/bin/provider.d.ts +120 -0
- package/bin/provider.js +56 -0
- package/bin/provider.js.map +1 -0
- package/bin/queue.d.ts +63 -0
- package/bin/queue.js +56 -0
- package/bin/queue.js.map +1 -0
- package/bin/r2bucket.d.ts +72 -0
- package/bin/r2bucket.js +56 -0
- package/bin/r2bucket.js.map +1 -0
- package/bin/rateLimit.d.ts +143 -0
- package/bin/rateLimit.js +79 -0
- package/bin/rateLimit.js.map +1 -0
- package/bin/record.d.ts +235 -0
- package/bin/record.js +91 -0
- package/bin/record.js.map +1 -0
- package/bin/regionalHostname.d.ts +91 -0
- package/bin/regionalHostname.js +68 -0
- package/bin/regionalHostname.js.map +1 -0
- package/bin/regionalTieredCache.d.ts +63 -0
- package/bin/regionalTieredCache.js +59 -0
- package/bin/regionalTieredCache.js.map +1 -0
- package/bin/riskBehavior.d.ts +62 -0
- package/bin/riskBehavior.js +54 -0
- package/bin/riskBehavior.js.map +1 -0
- package/bin/ruleset.d.ts +137 -0
- package/bin/ruleset.js +67 -0
- package/bin/ruleset.js.map +1 -0
- package/bin/spectrumApplication.d.ts +203 -0
- package/bin/spectrumApplication.js +84 -0
- package/bin/spectrumApplication.js.map +1 -0
- package/bin/splitTunnel.d.ts +89 -0
- package/bin/splitTunnel.js +66 -0
- package/bin/splitTunnel.js.map +1 -0
- package/bin/staticRoute.d.ts +135 -0
- package/bin/staticRoute.js +74 -0
- package/bin/staticRoute.js.map +1 -0
- package/bin/teamsAccount.d.ts +242 -0
- package/bin/teamsAccount.js +86 -0
- package/bin/teamsAccount.js.map +1 -0
- package/bin/teamsList.d.ts +113 -0
- package/bin/teamsList.js +67 -0
- package/bin/teamsList.js.map +1 -0
- package/bin/teamsLocation.d.ts +135 -0
- package/bin/teamsLocation.js +72 -0
- package/bin/teamsLocation.js.map +1 -0
- package/bin/teamsProxyEndpoint.d.ts +83 -0
- package/bin/teamsProxyEndpoint.js +63 -0
- package/bin/teamsProxyEndpoint.js.map +1 -0
- package/bin/teamsRule.d.ts +178 -0
- package/bin/teamsRule.js +85 -0
- package/bin/teamsRule.js.map +1 -0
- package/bin/tieredCache.d.ts +63 -0
- package/bin/tieredCache.js +59 -0
- package/bin/tieredCache.js.map +1 -0
- package/bin/totalTls.d.ts +78 -0
- package/bin/totalTls.js +61 -0
- package/bin/totalTls.js.map +1 -0
- package/bin/tunnel.d.ts +118 -0
- package/bin/tunnel.js +69 -0
- package/bin/tunnel.js.map +1 -0
- package/bin/tunnelConfig.d.ts +77 -0
- package/bin/tunnelConfig.js +64 -0
- package/bin/tunnelConfig.js.map +1 -0
- package/bin/tunnelRoute.d.ts +102 -0
- package/bin/tunnelRoute.js +68 -0
- package/bin/tunnelRoute.js.map +1 -0
- package/bin/tunnelVirtualNetwork.d.ts +90 -0
- package/bin/tunnelVirtualNetwork.js +60 -0
- package/bin/tunnelVirtualNetwork.js.map +1 -0
- package/bin/turnstileWidget.d.ts +143 -0
- package/bin/turnstileWidget.js +76 -0
- package/bin/turnstileWidget.js.map +1 -0
- package/bin/types/index.d.ts +3 -0
- package/bin/types/index.js +11 -0
- package/bin/types/index.js.map +1 -0
- package/bin/types/input.d.ts +7815 -0
- package/bin/types/input.js +5 -0
- package/bin/types/input.js.map +1 -0
- package/bin/types/output.d.ts +8099 -0
- package/bin/types/output.js +5 -0
- package/bin/types/output.js.map +1 -0
- package/bin/urlNormalizationSettings.d.ts +75 -0
- package/bin/urlNormalizationSettings.js +64 -0
- package/bin/urlNormalizationSettings.js.map +1 -0
- package/bin/userAgentBlockingRule.d.ts +101 -0
- package/bin/userAgentBlockingRule.js +74 -0
- package/bin/userAgentBlockingRule.js.map +1 -0
- package/bin/utilities.d.ts +9 -0
- package/bin/utilities.js +141 -0
- package/bin/utilities.js.map +1 -0
- package/bin/waitingRoom.d.ts +278 -0
- package/bin/waitingRoom.js +101 -0
- package/bin/waitingRoom.js.map +1 -0
- package/bin/waitingRoomEvent.d.ts +247 -0
- package/bin/waitingRoomEvent.js +95 -0
- package/bin/waitingRoomEvent.js.map +1 -0
- package/bin/waitingRoomRules.d.ts +77 -0
- package/bin/waitingRoomRules.js +61 -0
- package/bin/waitingRoomRules.js.map +1 -0
- package/bin/waitingRoomSettings.d.ts +63 -0
- package/bin/waitingRoomSettings.js +56 -0
- package/bin/waitingRoomSettings.js.map +1 -0
- package/bin/web3Hostname.d.ts +123 -0
- package/bin/web3Hostname.js +71 -0
- package/bin/web3Hostname.js.map +1 -0
- package/bin/webAnalyticsRule.d.ts +116 -0
- package/bin/webAnalyticsRule.js +81 -0
- package/bin/webAnalyticsRule.js.map +1 -0
- package/bin/webAnalyticsSite.d.ts +133 -0
- package/bin/webAnalyticsSite.js +75 -0
- package/bin/webAnalyticsSite.js.map +1 -0
- package/bin/workerCronTrigger.d.ts +75 -0
- package/bin/workerCronTrigger.js +64 -0
- package/bin/workerCronTrigger.js.map +1 -0
- package/bin/workerDomain.d.ts +99 -0
- package/bin/workerDomain.js +71 -0
- package/bin/workerDomain.js.map +1 -0
- package/bin/workerRoute.d.ts +75 -0
- package/bin/workerRoute.js +61 -0
- package/bin/workerRoute.js.map +1 -0
- package/bin/workerScript.d.ts +173 -0
- package/bin/workerScript.js +95 -0
- package/bin/workerScript.js.map +1 -0
- package/bin/workerSecret.d.ts +90 -0
- package/bin/workerSecret.js +68 -0
- package/bin/workerSecret.js.map +1 -0
- package/bin/workersCronTrigger.d.ts +75 -0
- package/bin/workersCronTrigger.js +64 -0
- package/bin/workersCronTrigger.js.map +1 -0
- package/bin/workersDomain.d.ts +99 -0
- package/bin/workersDomain.js +71 -0
- package/bin/workersDomain.js.map +1 -0
- package/bin/workersForPlatformsDispatchNamespace.d.ts +60 -0
- package/bin/workersForPlatformsDispatchNamespace.js +54 -0
- package/bin/workersForPlatformsDispatchNamespace.js.map +1 -0
- package/bin/workersForPlatformsNamespace.d.ts +60 -0
- package/bin/workersForPlatformsNamespace.js +54 -0
- package/bin/workersForPlatformsNamespace.js.map +1 -0
- package/bin/workersKv.d.ts +90 -0
- package/bin/workersKv.js +69 -0
- package/bin/workersKv.js.map +1 -0
- package/bin/workersKvNamespace.d.ts +63 -0
- package/bin/workersKvNamespace.js +59 -0
- package/bin/workersKvNamespace.js.map +1 -0
- package/bin/workersRoute.d.ts +75 -0
- package/bin/workersRoute.js +61 -0
- package/bin/workersRoute.js.map +1 -0
- package/bin/workersScript.d.ts +173 -0
- package/bin/workersScript.js +95 -0
- package/bin/workersScript.js.map +1 -0
- package/bin/workersSecret.d.ts +90 -0
- package/bin/workersSecret.js +68 -0
- package/bin/workersSecret.js.map +1 -0
- package/bin/zeroTrustAccessApplication.d.ts +487 -0
- package/bin/zeroTrustAccessApplication.js +119 -0
- package/bin/zeroTrustAccessApplication.js.map +1 -0
- package/bin/zeroTrustAccessCustomPage.d.ts +117 -0
- package/bin/zeroTrustAccessCustomPage.js +64 -0
- package/bin/zeroTrustAccessCustomPage.js.map +1 -0
- package/bin/zeroTrustAccessGroup.d.ts +80 -0
- package/bin/zeroTrustAccessGroup.js +64 -0
- package/bin/zeroTrustAccessGroup.js.map +1 -0
- package/bin/zeroTrustAccessIdentityProvider.d.ts +125 -0
- package/bin/zeroTrustAccessIdentityProvider.js +64 -0
- package/bin/zeroTrustAccessIdentityProvider.js.map +1 -0
- package/bin/zeroTrustAccessMtlsCertificate.d.ts +101 -0
- package/bin/zeroTrustAccessMtlsCertificate.js +61 -0
- package/bin/zeroTrustAccessMtlsCertificate.js.map +1 -0
- package/bin/zeroTrustAccessMtlsHostnameSettings.d.ts +65 -0
- package/bin/zeroTrustAccessMtlsHostnameSettings.js +53 -0
- package/bin/zeroTrustAccessMtlsHostnameSettings.js.map +1 -0
- package/bin/zeroTrustAccessOrganization.d.ts +200 -0
- package/bin/zeroTrustAccessOrganization.js +78 -0
- package/bin/zeroTrustAccessOrganization.js.map +1 -0
- package/bin/zeroTrustAccessPolicy.d.ts +197 -0
- package/bin/zeroTrustAccessPolicy.js +87 -0
- package/bin/zeroTrustAccessPolicy.js.map +1 -0
- package/bin/zeroTrustAccessServiceToken.d.ts +114 -0
- package/bin/zeroTrustAccessServiceToken.js +67 -0
- package/bin/zeroTrustAccessServiceToken.js.map +1 -0
- package/bin/zeroTrustAccessShortLivedCertificate.d.ts +91 -0
- package/bin/zeroTrustAccessShortLivedCertificate.js +62 -0
- package/bin/zeroTrustAccessShortLivedCertificate.js.map +1 -0
- package/bin/zeroTrustAccessTag.d.ts +93 -0
- package/bin/zeroTrustAccessTag.js +57 -0
- package/bin/zeroTrustAccessTag.js.map +1 -0
- package/bin/zeroTrustDeviceCertificates.d.ts +63 -0
- package/bin/zeroTrustDeviceCertificates.js +59 -0
- package/bin/zeroTrustDeviceCertificates.js.map +1 -0
- package/bin/zeroTrustDeviceManagedNetworks.d.ts +89 -0
- package/bin/zeroTrustDeviceManagedNetworks.js +66 -0
- package/bin/zeroTrustDeviceManagedNetworks.js.map +1 -0
- package/bin/zeroTrustDevicePostureIntegration.d.ts +107 -0
- package/bin/zeroTrustDevicePostureIntegration.js +67 -0
- package/bin/zeroTrustDevicePostureIntegration.js.map +1 -0
- package/bin/zeroTrustDevicePostureRule.d.ts +140 -0
- package/bin/zeroTrustDevicePostureRule.js +71 -0
- package/bin/zeroTrustDevicePostureRule.js.map +1 -0
- package/bin/zeroTrustDeviceProfiles.d.ts +267 -0
- package/bin/zeroTrustDeviceProfiles.js +93 -0
- package/bin/zeroTrustDeviceProfiles.js.map +1 -0
- package/bin/zeroTrustDexTest.d.ts +129 -0
- package/bin/zeroTrustDexTest.js +80 -0
- package/bin/zeroTrustDexTest.js.map +1 -0
- package/bin/zeroTrustDlpProfile.d.ts +140 -0
- package/bin/zeroTrustDlpProfile.js +77 -0
- package/bin/zeroTrustDlpProfile.js.map +1 -0
- package/bin/zeroTrustDnsLocation.d.ts +135 -0
- package/bin/zeroTrustDnsLocation.js +72 -0
- package/bin/zeroTrustDnsLocation.js.map +1 -0
- package/bin/zeroTrustGatewayCertificate.d.ts +144 -0
- package/bin/zeroTrustGatewayCertificate.js +74 -0
- package/bin/zeroTrustGatewayCertificate.js.map +1 -0
- package/bin/zeroTrustGatewayPolicy.d.ts +178 -0
- package/bin/zeroTrustGatewayPolicy.js +85 -0
- package/bin/zeroTrustGatewayPolicy.js.map +1 -0
- package/bin/zeroTrustGatewayProxyEndpoint.d.ts +83 -0
- package/bin/zeroTrustGatewayProxyEndpoint.js +63 -0
- package/bin/zeroTrustGatewayProxyEndpoint.js.map +1 -0
- package/bin/zeroTrustGatewaySettings.d.ts +242 -0
- package/bin/zeroTrustGatewaySettings.js +86 -0
- package/bin/zeroTrustGatewaySettings.js.map +1 -0
- package/bin/zeroTrustKeyAccessKeyConfiguration.d.ts +63 -0
- package/bin/zeroTrustKeyAccessKeyConfiguration.js +56 -0
- package/bin/zeroTrustKeyAccessKeyConfiguration.js.map +1 -0
- package/bin/zeroTrustList.d.ts +113 -0
- package/bin/zeroTrustList.js +67 -0
- package/bin/zeroTrustList.js.map +1 -0
- package/bin/zeroTrustLocalFallbackDomain.d.ts +68 -0
- package/bin/zeroTrustLocalFallbackDomain.js +61 -0
- package/bin/zeroTrustLocalFallbackDomain.js.map +1 -0
- package/bin/zeroTrustRiskBehavior.d.ts +62 -0
- package/bin/zeroTrustRiskBehavior.js +54 -0
- package/bin/zeroTrustRiskBehavior.js.map +1 -0
- package/bin/zeroTrustRiskScoreIntegration.d.ts +115 -0
- package/bin/zeroTrustRiskScoreIntegration.js +68 -0
- package/bin/zeroTrustRiskScoreIntegration.js.map +1 -0
- package/bin/zeroTrustSplitTunnel.d.ts +89 -0
- package/bin/zeroTrustSplitTunnel.js +66 -0
- package/bin/zeroTrustSplitTunnel.js.map +1 -0
- package/bin/zeroTrustTunnelCloudflared.d.ts +118 -0
- package/bin/zeroTrustTunnelCloudflared.js +69 -0
- package/bin/zeroTrustTunnelCloudflared.js.map +1 -0
- package/bin/zeroTrustTunnelCloudflaredConfig.d.ts +77 -0
- package/bin/zeroTrustTunnelCloudflaredConfig.js +64 -0
- package/bin/zeroTrustTunnelCloudflaredConfig.js.map +1 -0
- package/bin/zeroTrustTunnelRoute.d.ts +102 -0
- package/bin/zeroTrustTunnelRoute.js +68 -0
- package/bin/zeroTrustTunnelRoute.js.map +1 -0
- package/bin/zeroTrustTunnelVirtualNetwork.d.ts +90 -0
- package/bin/zeroTrustTunnelVirtualNetwork.js +60 -0
- package/bin/zeroTrustTunnelVirtualNetwork.js.map +1 -0
- package/bin/zone.d.ts +159 -0
- package/bin/zone.js +77 -0
- package/bin/zone.js.map +1 -0
- package/bin/zoneCacheReserve.d.ts +63 -0
- package/bin/zoneCacheReserve.js +59 -0
- package/bin/zoneCacheReserve.js.map +1 -0
- package/bin/zoneCacheVariants.d.ts +183 -0
- package/bin/zoneCacheVariants.js +76 -0
- package/bin/zoneCacheVariants.js.map +1 -0
- package/bin/zoneDnssec.d.ts +143 -0
- package/bin/zoneDnssec.js +76 -0
- package/bin/zoneDnssec.js.map +1 -0
- package/bin/zoneHold.d.ts +87 -0
- package/bin/zoneHold.js +63 -0
- package/bin/zoneHold.js.map +1 -0
- package/bin/zoneLockdown.d.ts +104 -0
- package/bin/zoneLockdown.js +70 -0
- package/bin/zoneLockdown.js.map +1 -0
- package/bin/zoneSettingsOverride.d.ts +66 -0
- package/bin/zoneSettingsOverride.js +66 -0
- package/bin/zoneSettingsOverride.js.map +1 -0
- package/package.json +28 -0
|
@@ -0,0 +1,58 @@
|
|
|
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.ManagedHeaders = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class ManagedHeaders extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing ManagedHeaders resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new ManagedHeaders(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of ManagedHeaders. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === ManagedHeaders.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["managedHeadersId"] = state ? state.managedHeadersId : undefined;
|
|
37
|
+
resourceInputs["managedRequestHeaders"] = state ? state.managedRequestHeaders : undefined;
|
|
38
|
+
resourceInputs["managedResponseHeaders"] = state ? state.managedResponseHeaders : undefined;
|
|
39
|
+
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
const args = argsOrState;
|
|
43
|
+
if ((!args || args.zoneId === undefined) && !opts.urn) {
|
|
44
|
+
throw new Error("Missing required property 'zoneId'");
|
|
45
|
+
}
|
|
46
|
+
resourceInputs["managedHeadersId"] = args ? args.managedHeadersId : undefined;
|
|
47
|
+
resourceInputs["managedRequestHeaders"] = args ? args.managedRequestHeaders : undefined;
|
|
48
|
+
resourceInputs["managedResponseHeaders"] = args ? args.managedResponseHeaders : undefined;
|
|
49
|
+
resourceInputs["zoneId"] = args ? args.zoneId : undefined;
|
|
50
|
+
}
|
|
51
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
52
|
+
super(ManagedHeaders.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
exports.ManagedHeaders = ManagedHeaders;
|
|
56
|
+
/** @internal */
|
|
57
|
+
ManagedHeaders.__pulumiType = 'cloudflare:index/managedHeaders:ManagedHeaders';
|
|
58
|
+
//#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AG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAA6C,CAAC;YAC3D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IACjH,CAAC;;AAvEL,wCAwEC;AA1DG,gBAAgB;AACO,2BAAY,GAAG,gDAAgD,CAAC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class MtlsCertificate extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing MtlsCertificate resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MtlsCertificateState, opts?: pulumi.CustomResourceOptions): MtlsCertificate;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of MtlsCertificate. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is MtlsCertificate;
|
|
18
|
+
/**
|
|
19
|
+
* The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
20
|
+
*/
|
|
21
|
+
readonly accountId: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* Whether this is a CA or leaf certificate. **Modifying this attribute will force creation of a new resource.**
|
|
24
|
+
*/
|
|
25
|
+
readonly ca: pulumi.Output<boolean>;
|
|
26
|
+
/**
|
|
27
|
+
* Certificate you intend to use with mTLS-enabled services. **Modifying this attribute will force creation of a new
|
|
28
|
+
* resource.**
|
|
29
|
+
*/
|
|
30
|
+
readonly certificates: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* **Modifying this attribute will force creation of a new resource.**
|
|
33
|
+
*/
|
|
34
|
+
readonly expiresOn: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* **Modifying this attribute will force creation of a new resource.**
|
|
37
|
+
*/
|
|
38
|
+
readonly issuer: pulumi.Output<string>;
|
|
39
|
+
readonly mtlsCertificateId: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* Optional unique name for the certificate. **Modifying this attribute will force creation of a new resource.**
|
|
42
|
+
*/
|
|
43
|
+
readonly name: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* The certificate's private key. **Modifying this attribute will force creation of a new resource.**
|
|
46
|
+
*/
|
|
47
|
+
readonly privateKey: pulumi.Output<string | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* **Modifying this attribute will force creation of a new resource.**
|
|
50
|
+
*/
|
|
51
|
+
readonly serialNumber: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* **Modifying this attribute will force creation of a new resource.**
|
|
54
|
+
*/
|
|
55
|
+
readonly signature: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* **Modifying this attribute will force creation of a new resource.**
|
|
58
|
+
*/
|
|
59
|
+
readonly uploadedOn: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Create a MtlsCertificate resource with the given unique name, arguments, and options.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resource.
|
|
64
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
65
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
66
|
+
*/
|
|
67
|
+
constructor(name: string, args: MtlsCertificateArgs, opts?: pulumi.CustomResourceOptions);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Input properties used for looking up and filtering MtlsCertificate resources.
|
|
71
|
+
*/
|
|
72
|
+
export interface MtlsCertificateState {
|
|
73
|
+
/**
|
|
74
|
+
* The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
75
|
+
*/
|
|
76
|
+
accountId?: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Whether this is a CA or leaf certificate. **Modifying this attribute will force creation of a new resource.**
|
|
79
|
+
*/
|
|
80
|
+
ca?: pulumi.Input<boolean>;
|
|
81
|
+
/**
|
|
82
|
+
* Certificate you intend to use with mTLS-enabled services. **Modifying this attribute will force creation of a new
|
|
83
|
+
* resource.**
|
|
84
|
+
*/
|
|
85
|
+
certificates?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* **Modifying this attribute will force creation of a new resource.**
|
|
88
|
+
*/
|
|
89
|
+
expiresOn?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* **Modifying this attribute will force creation of a new resource.**
|
|
92
|
+
*/
|
|
93
|
+
issuer?: pulumi.Input<string>;
|
|
94
|
+
mtlsCertificateId?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Optional unique name for the certificate. **Modifying this attribute will force creation of a new resource.**
|
|
97
|
+
*/
|
|
98
|
+
name?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The certificate's private key. **Modifying this attribute will force creation of a new resource.**
|
|
101
|
+
*/
|
|
102
|
+
privateKey?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* **Modifying this attribute will force creation of a new resource.**
|
|
105
|
+
*/
|
|
106
|
+
serialNumber?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* **Modifying this attribute will force creation of a new resource.**
|
|
109
|
+
*/
|
|
110
|
+
signature?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* **Modifying this attribute will force creation of a new resource.**
|
|
113
|
+
*/
|
|
114
|
+
uploadedOn?: pulumi.Input<string>;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* The set of arguments for constructing a MtlsCertificate resource.
|
|
118
|
+
*/
|
|
119
|
+
export interface MtlsCertificateArgs {
|
|
120
|
+
/**
|
|
121
|
+
* The account identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
122
|
+
*/
|
|
123
|
+
accountId: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Whether this is a CA or leaf certificate. **Modifying this attribute will force creation of a new resource.**
|
|
126
|
+
*/
|
|
127
|
+
ca: pulumi.Input<boolean>;
|
|
128
|
+
/**
|
|
129
|
+
* Certificate you intend to use with mTLS-enabled services. **Modifying this attribute will force creation of a new
|
|
130
|
+
* resource.**
|
|
131
|
+
*/
|
|
132
|
+
certificates: pulumi.Input<string>;
|
|
133
|
+
mtlsCertificateId?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Optional unique name for the certificate. **Modifying this attribute will force creation of a new resource.**
|
|
136
|
+
*/
|
|
137
|
+
name?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* The certificate's private key. **Modifying this attribute will force creation of a new resource.**
|
|
140
|
+
*/
|
|
141
|
+
privateKey?: pulumi.Input<string>;
|
|
142
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
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.MtlsCertificate = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class MtlsCertificate extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing MtlsCertificate resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new MtlsCertificate(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of MtlsCertificate. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === MtlsCertificate.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
37
|
+
resourceInputs["ca"] = state ? state.ca : undefined;
|
|
38
|
+
resourceInputs["certificates"] = state ? state.certificates : undefined;
|
|
39
|
+
resourceInputs["expiresOn"] = state ? state.expiresOn : undefined;
|
|
40
|
+
resourceInputs["issuer"] = state ? state.issuer : undefined;
|
|
41
|
+
resourceInputs["mtlsCertificateId"] = state ? state.mtlsCertificateId : undefined;
|
|
42
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
43
|
+
resourceInputs["privateKey"] = state ? state.privateKey : undefined;
|
|
44
|
+
resourceInputs["serialNumber"] = state ? state.serialNumber : undefined;
|
|
45
|
+
resourceInputs["signature"] = state ? state.signature : undefined;
|
|
46
|
+
resourceInputs["uploadedOn"] = state ? state.uploadedOn : undefined;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
const args = argsOrState;
|
|
50
|
+
if ((!args || args.accountId === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'accountId'");
|
|
52
|
+
}
|
|
53
|
+
if ((!args || args.ca === undefined) && !opts.urn) {
|
|
54
|
+
throw new Error("Missing required property 'ca'");
|
|
55
|
+
}
|
|
56
|
+
if ((!args || args.certificates === undefined) && !opts.urn) {
|
|
57
|
+
throw new Error("Missing required property 'certificates'");
|
|
58
|
+
}
|
|
59
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
60
|
+
resourceInputs["ca"] = args ? args.ca : undefined;
|
|
61
|
+
resourceInputs["certificates"] = args ? args.certificates : undefined;
|
|
62
|
+
resourceInputs["mtlsCertificateId"] = args ? args.mtlsCertificateId : undefined;
|
|
63
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
64
|
+
resourceInputs["privateKey"] = args ? args.privateKey : undefined;
|
|
65
|
+
resourceInputs["expiresOn"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["issuer"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["serialNumber"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["signature"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["uploadedOn"] = undefined /*out*/;
|
|
70
|
+
}
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
|
+
super(MtlsCertificate.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.MtlsCertificate = MtlsCertificate;
|
|
76
|
+
/** @internal */
|
|
77
|
+
MtlsCertificate.__pulumiType = 'cloudflare:index/mtlsCertificate:MtlsCertificate';
|
|
78
|
+
//# sourceMappingURL=mtlsCertificate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mtlsCertificate.js","sourceRoot":"","sources":["../mtlsCertificate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC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AC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAClH,CAAC;;AAxHL,0CAyHC;AA3GG,gBAAgB;AACO,4BAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class NotificationPolicy extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing NotificationPolicy resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NotificationPolicyState, opts?: pulumi.CustomResourceOptions): NotificationPolicy;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of NotificationPolicy. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is NotificationPolicy;
|
|
20
|
+
/**
|
|
21
|
+
* The account identifier to target for the resource.
|
|
22
|
+
*/
|
|
23
|
+
readonly accountId: pulumi.Output<string>;
|
|
24
|
+
/**
|
|
25
|
+
* The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of
|
|
26
|
+
* [available alert types](https://developers.cloudflare.com/fundamentals/notifications/notification-available/). Available
|
|
27
|
+
* values: `advanced_http_alert_error`, `access_custom_certificate_expiration_type`, `advanced_ddos_attack_l4_alert`,
|
|
28
|
+
* `advanced_ddos_attack_l7_alert`, `bgp_hijack_notification`, `billing_usage_alert`, `block_notification_block_removed`,
|
|
29
|
+
* `block_notification_new_block`, `block_notification_review_rejected`, `brand_protection_alert`,
|
|
30
|
+
* `brand_protection_digest`, `clickhouse_alert_fw_anomaly`, `clickhouse_alert_fw_ent_anomaly`,
|
|
31
|
+
* `custom_ssl_certificate_event_type`, `dedicated_ssl_certificate_event_type`, `dos_attack_l4`, `dos_attack_l7`,
|
|
32
|
+
* `expiring_service_token_alert`, `failing_logpush_job_disabled_alert`, `fbm_auto_advertisement`, `fbm_dosd_attack`,
|
|
33
|
+
* `fbm_volumetric_attack`, `health_check_status_notification`, `hostname_aop_custom_certificate_expiration_type`,
|
|
34
|
+
* `http_alert_edge_error`, `http_alert_origin_error`, `image_notification`, `incident_alert`,
|
|
35
|
+
* `load_balancing_health_alert`, `load_balancing_pool_enablement_alert`, `logo_match_alert`,
|
|
36
|
+
* `magic_tunnel_health_check_event`, `maintenance_event_notification`,
|
|
37
|
+
* `mtls_certificate_store_certificate_expiration_type`, `pages_event_alert`, `radar_notification`,
|
|
38
|
+
* `real_origin_monitoring`, `scriptmonitor_alert_new_code_change_detections`, `scriptmonitor_alert_new_hosts`,
|
|
39
|
+
* `scriptmonitor_alert_new_malicious_hosts`, `scriptmonitor_alert_new_malicious_scripts`,
|
|
40
|
+
* `scriptmonitor_alert_new_malicious_url`, `scriptmonitor_alert_new_max_length_resource_url`,
|
|
41
|
+
* `scriptmonitor_alert_new_resources`, `secondary_dns_all_primaries_failing`, `secondary_dns_primaries_failing`,
|
|
42
|
+
* `secondary_dns_zone_successfully_updated`, `secondary_dns_zone_validation_warning`, `sentinel_alert`,
|
|
43
|
+
* `stream_live_notifications`, `traffic_anomalies_alert`, `tunnel_health_event`, `tunnel_update_event`,
|
|
44
|
+
* `universal_ssl_event_type`, `web_analytics_metrics_update`, `weekly_account_overview`, `workers_alert`,
|
|
45
|
+
* `zone_aop_custom_certificate_expiration_type`.
|
|
46
|
+
*/
|
|
47
|
+
readonly alertType: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* When the notification policy was created.
|
|
50
|
+
*/
|
|
51
|
+
readonly created: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Description of the notification policy.
|
|
54
|
+
*/
|
|
55
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* The email ID to which the notification should be dispatched.
|
|
58
|
+
*/
|
|
59
|
+
readonly emailIntegrations: pulumi.Output<outputs.NotificationPolicyEmailIntegration[] | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* The status of the notification policy.
|
|
62
|
+
*/
|
|
63
|
+
readonly enabled: pulumi.Output<boolean>;
|
|
64
|
+
/**
|
|
65
|
+
* An optional nested block of filters that applies to the selected `alert_type`. A key-value map that specifies the type
|
|
66
|
+
* of filter and the values to match against (refer to the alert type block for available fields).
|
|
67
|
+
*/
|
|
68
|
+
readonly filters: pulumi.Output<outputs.NotificationPolicyFilters | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* When the notification policy was last modified.
|
|
71
|
+
*/
|
|
72
|
+
readonly modified: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The name of the notification policy.
|
|
75
|
+
*/
|
|
76
|
+
readonly name: pulumi.Output<string>;
|
|
77
|
+
readonly notificationPolicyId: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
|
|
80
|
+
*/
|
|
81
|
+
readonly pagerdutyIntegrations: pulumi.Output<outputs.NotificationPolicyPagerdutyIntegration[] | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
|
|
84
|
+
*/
|
|
85
|
+
readonly webhooksIntegrations: pulumi.Output<outputs.NotificationPolicyWebhooksIntegration[] | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* Create a NotificationPolicy resource with the given unique name, arguments, and options.
|
|
88
|
+
*
|
|
89
|
+
* @param name The _unique_ name of the resource.
|
|
90
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
91
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
92
|
+
*/
|
|
93
|
+
constructor(name: string, args: NotificationPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Input properties used for looking up and filtering NotificationPolicy resources.
|
|
97
|
+
*/
|
|
98
|
+
export interface NotificationPolicyState {
|
|
99
|
+
/**
|
|
100
|
+
* The account identifier to target for the resource.
|
|
101
|
+
*/
|
|
102
|
+
accountId?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of
|
|
105
|
+
* [available alert types](https://developers.cloudflare.com/fundamentals/notifications/notification-available/). Available
|
|
106
|
+
* values: `advanced_http_alert_error`, `access_custom_certificate_expiration_type`, `advanced_ddos_attack_l4_alert`,
|
|
107
|
+
* `advanced_ddos_attack_l7_alert`, `bgp_hijack_notification`, `billing_usage_alert`, `block_notification_block_removed`,
|
|
108
|
+
* `block_notification_new_block`, `block_notification_review_rejected`, `brand_protection_alert`,
|
|
109
|
+
* `brand_protection_digest`, `clickhouse_alert_fw_anomaly`, `clickhouse_alert_fw_ent_anomaly`,
|
|
110
|
+
* `custom_ssl_certificate_event_type`, `dedicated_ssl_certificate_event_type`, `dos_attack_l4`, `dos_attack_l7`,
|
|
111
|
+
* `expiring_service_token_alert`, `failing_logpush_job_disabled_alert`, `fbm_auto_advertisement`, `fbm_dosd_attack`,
|
|
112
|
+
* `fbm_volumetric_attack`, `health_check_status_notification`, `hostname_aop_custom_certificate_expiration_type`,
|
|
113
|
+
* `http_alert_edge_error`, `http_alert_origin_error`, `image_notification`, `incident_alert`,
|
|
114
|
+
* `load_balancing_health_alert`, `load_balancing_pool_enablement_alert`, `logo_match_alert`,
|
|
115
|
+
* `magic_tunnel_health_check_event`, `maintenance_event_notification`,
|
|
116
|
+
* `mtls_certificate_store_certificate_expiration_type`, `pages_event_alert`, `radar_notification`,
|
|
117
|
+
* `real_origin_monitoring`, `scriptmonitor_alert_new_code_change_detections`, `scriptmonitor_alert_new_hosts`,
|
|
118
|
+
* `scriptmonitor_alert_new_malicious_hosts`, `scriptmonitor_alert_new_malicious_scripts`,
|
|
119
|
+
* `scriptmonitor_alert_new_malicious_url`, `scriptmonitor_alert_new_max_length_resource_url`,
|
|
120
|
+
* `scriptmonitor_alert_new_resources`, `secondary_dns_all_primaries_failing`, `secondary_dns_primaries_failing`,
|
|
121
|
+
* `secondary_dns_zone_successfully_updated`, `secondary_dns_zone_validation_warning`, `sentinel_alert`,
|
|
122
|
+
* `stream_live_notifications`, `traffic_anomalies_alert`, `tunnel_health_event`, `tunnel_update_event`,
|
|
123
|
+
* `universal_ssl_event_type`, `web_analytics_metrics_update`, `weekly_account_overview`, `workers_alert`,
|
|
124
|
+
* `zone_aop_custom_certificate_expiration_type`.
|
|
125
|
+
*/
|
|
126
|
+
alertType?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* When the notification policy was created.
|
|
129
|
+
*/
|
|
130
|
+
created?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Description of the notification policy.
|
|
133
|
+
*/
|
|
134
|
+
description?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The email ID to which the notification should be dispatched.
|
|
137
|
+
*/
|
|
138
|
+
emailIntegrations?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyEmailIntegration>[]>;
|
|
139
|
+
/**
|
|
140
|
+
* The status of the notification policy.
|
|
141
|
+
*/
|
|
142
|
+
enabled?: pulumi.Input<boolean>;
|
|
143
|
+
/**
|
|
144
|
+
* An optional nested block of filters that applies to the selected `alert_type`. A key-value map that specifies the type
|
|
145
|
+
* of filter and the values to match against (refer to the alert type block for available fields).
|
|
146
|
+
*/
|
|
147
|
+
filters?: pulumi.Input<inputs.NotificationPolicyFilters>;
|
|
148
|
+
/**
|
|
149
|
+
* When the notification policy was last modified.
|
|
150
|
+
*/
|
|
151
|
+
modified?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* The name of the notification policy.
|
|
154
|
+
*/
|
|
155
|
+
name?: pulumi.Input<string>;
|
|
156
|
+
notificationPolicyId?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
|
|
159
|
+
*/
|
|
160
|
+
pagerdutyIntegrations?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyPagerdutyIntegration>[]>;
|
|
161
|
+
/**
|
|
162
|
+
* The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
|
|
163
|
+
*/
|
|
164
|
+
webhooksIntegrations?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyWebhooksIntegration>[]>;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* The set of arguments for constructing a NotificationPolicy resource.
|
|
168
|
+
*/
|
|
169
|
+
export interface NotificationPolicyArgs {
|
|
170
|
+
/**
|
|
171
|
+
* The account identifier to target for the resource.
|
|
172
|
+
*/
|
|
173
|
+
accountId: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of
|
|
176
|
+
* [available alert types](https://developers.cloudflare.com/fundamentals/notifications/notification-available/). Available
|
|
177
|
+
* values: `advanced_http_alert_error`, `access_custom_certificate_expiration_type`, `advanced_ddos_attack_l4_alert`,
|
|
178
|
+
* `advanced_ddos_attack_l7_alert`, `bgp_hijack_notification`, `billing_usage_alert`, `block_notification_block_removed`,
|
|
179
|
+
* `block_notification_new_block`, `block_notification_review_rejected`, `brand_protection_alert`,
|
|
180
|
+
* `brand_protection_digest`, `clickhouse_alert_fw_anomaly`, `clickhouse_alert_fw_ent_anomaly`,
|
|
181
|
+
* `custom_ssl_certificate_event_type`, `dedicated_ssl_certificate_event_type`, `dos_attack_l4`, `dos_attack_l7`,
|
|
182
|
+
* `expiring_service_token_alert`, `failing_logpush_job_disabled_alert`, `fbm_auto_advertisement`, `fbm_dosd_attack`,
|
|
183
|
+
* `fbm_volumetric_attack`, `health_check_status_notification`, `hostname_aop_custom_certificate_expiration_type`,
|
|
184
|
+
* `http_alert_edge_error`, `http_alert_origin_error`, `image_notification`, `incident_alert`,
|
|
185
|
+
* `load_balancing_health_alert`, `load_balancing_pool_enablement_alert`, `logo_match_alert`,
|
|
186
|
+
* `magic_tunnel_health_check_event`, `maintenance_event_notification`,
|
|
187
|
+
* `mtls_certificate_store_certificate_expiration_type`, `pages_event_alert`, `radar_notification`,
|
|
188
|
+
* `real_origin_monitoring`, `scriptmonitor_alert_new_code_change_detections`, `scriptmonitor_alert_new_hosts`,
|
|
189
|
+
* `scriptmonitor_alert_new_malicious_hosts`, `scriptmonitor_alert_new_malicious_scripts`,
|
|
190
|
+
* `scriptmonitor_alert_new_malicious_url`, `scriptmonitor_alert_new_max_length_resource_url`,
|
|
191
|
+
* `scriptmonitor_alert_new_resources`, `secondary_dns_all_primaries_failing`, `secondary_dns_primaries_failing`,
|
|
192
|
+
* `secondary_dns_zone_successfully_updated`, `secondary_dns_zone_validation_warning`, `sentinel_alert`,
|
|
193
|
+
* `stream_live_notifications`, `traffic_anomalies_alert`, `tunnel_health_event`, `tunnel_update_event`,
|
|
194
|
+
* `universal_ssl_event_type`, `web_analytics_metrics_update`, `weekly_account_overview`, `workers_alert`,
|
|
195
|
+
* `zone_aop_custom_certificate_expiration_type`.
|
|
196
|
+
*/
|
|
197
|
+
alertType: pulumi.Input<string>;
|
|
198
|
+
/**
|
|
199
|
+
* Description of the notification policy.
|
|
200
|
+
*/
|
|
201
|
+
description?: pulumi.Input<string>;
|
|
202
|
+
/**
|
|
203
|
+
* The email ID to which the notification should be dispatched.
|
|
204
|
+
*/
|
|
205
|
+
emailIntegrations?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyEmailIntegration>[]>;
|
|
206
|
+
/**
|
|
207
|
+
* The status of the notification policy.
|
|
208
|
+
*/
|
|
209
|
+
enabled: pulumi.Input<boolean>;
|
|
210
|
+
/**
|
|
211
|
+
* An optional nested block of filters that applies to the selected `alert_type`. A key-value map that specifies the type
|
|
212
|
+
* of filter and the values to match against (refer to the alert type block for available fields).
|
|
213
|
+
*/
|
|
214
|
+
filters?: pulumi.Input<inputs.NotificationPolicyFilters>;
|
|
215
|
+
/**
|
|
216
|
+
* The name of the notification policy.
|
|
217
|
+
*/
|
|
218
|
+
name?: pulumi.Input<string>;
|
|
219
|
+
notificationPolicyId?: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* The unique ID of a configured pagerduty endpoint to which the notification should be dispatched.
|
|
222
|
+
*/
|
|
223
|
+
pagerdutyIntegrations?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyPagerdutyIntegration>[]>;
|
|
224
|
+
/**
|
|
225
|
+
* The unique ID of a configured webhooks endpoint to which the notification should be dispatched.
|
|
226
|
+
*/
|
|
227
|
+
webhooksIntegrations?: pulumi.Input<pulumi.Input<inputs.NotificationPolicyWebhooksIntegration>[]>;
|
|
228
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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.NotificationPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class NotificationPolicy extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing NotificationPolicy resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new NotificationPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of NotificationPolicy. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === NotificationPolicy.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
37
|
+
resourceInputs["alertType"] = state ? state.alertType : undefined;
|
|
38
|
+
resourceInputs["created"] = state ? state.created : undefined;
|
|
39
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
40
|
+
resourceInputs["emailIntegrations"] = state ? state.emailIntegrations : undefined;
|
|
41
|
+
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
42
|
+
resourceInputs["filters"] = state ? state.filters : undefined;
|
|
43
|
+
resourceInputs["modified"] = state ? state.modified : undefined;
|
|
44
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
45
|
+
resourceInputs["notificationPolicyId"] = state ? state.notificationPolicyId : undefined;
|
|
46
|
+
resourceInputs["pagerdutyIntegrations"] = state ? state.pagerdutyIntegrations : undefined;
|
|
47
|
+
resourceInputs["webhooksIntegrations"] = state ? state.webhooksIntegrations : undefined;
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
const args = argsOrState;
|
|
51
|
+
if ((!args || args.accountId === undefined) && !opts.urn) {
|
|
52
|
+
throw new Error("Missing required property 'accountId'");
|
|
53
|
+
}
|
|
54
|
+
if ((!args || args.alertType === undefined) && !opts.urn) {
|
|
55
|
+
throw new Error("Missing required property 'alertType'");
|
|
56
|
+
}
|
|
57
|
+
if ((!args || args.enabled === undefined) && !opts.urn) {
|
|
58
|
+
throw new Error("Missing required property 'enabled'");
|
|
59
|
+
}
|
|
60
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
61
|
+
resourceInputs["alertType"] = args ? args.alertType : undefined;
|
|
62
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
63
|
+
resourceInputs["emailIntegrations"] = args ? args.emailIntegrations : undefined;
|
|
64
|
+
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
65
|
+
resourceInputs["filters"] = args ? args.filters : undefined;
|
|
66
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
67
|
+
resourceInputs["notificationPolicyId"] = args ? args.notificationPolicyId : undefined;
|
|
68
|
+
resourceInputs["pagerdutyIntegrations"] = args ? args.pagerdutyIntegrations : undefined;
|
|
69
|
+
resourceInputs["webhooksIntegrations"] = args ? args.webhooksIntegrations : undefined;
|
|
70
|
+
resourceInputs["created"] = undefined /*out*/;
|
|
71
|
+
resourceInputs["modified"] = undefined /*out*/;
|
|
72
|
+
}
|
|
73
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
74
|
+
super(NotificationPolicy.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.NotificationPolicy = NotificationPolicy;
|
|
78
|
+
/** @internal */
|
|
79
|
+
NotificationPolicy.__pulumiType = 'cloudflare:index/notificationPolicy:NotificationPolicy';
|
|
80
|
+
//# sourceMappingURL=notificationPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationPolicy.js","sourceRoot":"","sources":["../notificationPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IA6ED,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAA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