@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,5 @@
|
|
|
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
|
+
//# sourceMappingURL=output.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class UrlNormalizationSettings extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing UrlNormalizationSettings 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?: UrlNormalizationSettingsState, opts?: pulumi.CustomResourceOptions): UrlNormalizationSettings;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of UrlNormalizationSettings. 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 UrlNormalizationSettings;
|
|
18
|
+
/**
|
|
19
|
+
* The scope of the URL normalization.
|
|
20
|
+
*/
|
|
21
|
+
readonly scope: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* The type of URL normalization performed by Cloudflare.
|
|
24
|
+
*/
|
|
25
|
+
readonly type: pulumi.Output<string>;
|
|
26
|
+
readonly urlNormalizationSettingsId: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
29
|
+
*/
|
|
30
|
+
readonly zoneId: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* Create a UrlNormalizationSettings resource with the given unique name, arguments, and options.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resource.
|
|
35
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
36
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
37
|
+
*/
|
|
38
|
+
constructor(name: string, args: UrlNormalizationSettingsArgs, opts?: pulumi.CustomResourceOptions);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Input properties used for looking up and filtering UrlNormalizationSettings resources.
|
|
42
|
+
*/
|
|
43
|
+
export interface UrlNormalizationSettingsState {
|
|
44
|
+
/**
|
|
45
|
+
* The scope of the URL normalization.
|
|
46
|
+
*/
|
|
47
|
+
scope?: pulumi.Input<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The type of URL normalization performed by Cloudflare.
|
|
50
|
+
*/
|
|
51
|
+
type?: pulumi.Input<string>;
|
|
52
|
+
urlNormalizationSettingsId?: pulumi.Input<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
55
|
+
*/
|
|
56
|
+
zoneId?: pulumi.Input<string>;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The set of arguments for constructing a UrlNormalizationSettings resource.
|
|
60
|
+
*/
|
|
61
|
+
export interface UrlNormalizationSettingsArgs {
|
|
62
|
+
/**
|
|
63
|
+
* The scope of the URL normalization.
|
|
64
|
+
*/
|
|
65
|
+
scope: pulumi.Input<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The type of URL normalization performed by Cloudflare.
|
|
68
|
+
*/
|
|
69
|
+
type: pulumi.Input<string>;
|
|
70
|
+
urlNormalizationSettingsId?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
73
|
+
*/
|
|
74
|
+
zoneId: pulumi.Input<string>;
|
|
75
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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.UrlNormalizationSettings = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class UrlNormalizationSettings extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing UrlNormalizationSettings 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 UrlNormalizationSettings(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of UrlNormalizationSettings. 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'] === UrlNormalizationSettings.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["scope"] = state ? state.scope : undefined;
|
|
37
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
38
|
+
resourceInputs["urlNormalizationSettingsId"] = state ? state.urlNormalizationSettingsId : undefined;
|
|
39
|
+
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
const args = argsOrState;
|
|
43
|
+
if ((!args || args.scope === undefined) && !opts.urn) {
|
|
44
|
+
throw new Error("Missing required property 'scope'");
|
|
45
|
+
}
|
|
46
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
47
|
+
throw new Error("Missing required property 'type'");
|
|
48
|
+
}
|
|
49
|
+
if ((!args || args.zoneId === undefined) && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'zoneId'");
|
|
51
|
+
}
|
|
52
|
+
resourceInputs["scope"] = args ? args.scope : undefined;
|
|
53
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
54
|
+
resourceInputs["urlNormalizationSettingsId"] = args ? args.urlNormalizationSettingsId : undefined;
|
|
55
|
+
resourceInputs["zoneId"] = args ? args.zoneId : undefined;
|
|
56
|
+
}
|
|
57
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
58
|
+
super(UrlNormalizationSettings.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.UrlNormalizationSettings = UrlNormalizationSettings;
|
|
62
|
+
/** @internal */
|
|
63
|
+
UrlNormalizationSettings.__pulumiType = 'cloudflare:index/urlNormalizationSettings:UrlNormalizationSettings';
|
|
64
|
+
//# sourceMappingURL=urlNormalizationSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"urlNormalizationSettings.js","sourceRoot":"","sources":["../urlNormalizationSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;IAwBD,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,C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0BAA0B,CAAC,CAAC,CAAC,SAAS,CAAC;YAClG,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,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC3H,CAAC;;AA7EL,4DA8EC;AAhEG,gBAAgB;AACO,qCAAY,GAAG,oEAAoE,CAAC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
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 UserAgentBlockingRule extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing UserAgentBlockingRule 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?: UserAgentBlockingRuleState, opts?: pulumi.CustomResourceOptions): UserAgentBlockingRule;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of UserAgentBlockingRule. 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 UserAgentBlockingRule;
|
|
20
|
+
/**
|
|
21
|
+
* The configuration object for the current rule.
|
|
22
|
+
*/
|
|
23
|
+
readonly configuration: pulumi.Output<outputs.UserAgentBlockingRuleConfiguration>;
|
|
24
|
+
/**
|
|
25
|
+
* An informative summary of the rule.
|
|
26
|
+
*/
|
|
27
|
+
readonly description: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* The action to apply to a matched request. Available values: `block`, `challenge`, `js_challenge`, `managed_challenge`.
|
|
30
|
+
*/
|
|
31
|
+
readonly mode: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* When true, indicates that the rule is currently paused.
|
|
34
|
+
*/
|
|
35
|
+
readonly paused: pulumi.Output<boolean>;
|
|
36
|
+
readonly userAgentBlockingRuleId: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
39
|
+
*/
|
|
40
|
+
readonly zoneId: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Create a UserAgentBlockingRule resource with the given unique name, arguments, and options.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resource.
|
|
45
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
46
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
47
|
+
*/
|
|
48
|
+
constructor(name: string, args: UserAgentBlockingRuleArgs, opts?: pulumi.CustomResourceOptions);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Input properties used for looking up and filtering UserAgentBlockingRule resources.
|
|
52
|
+
*/
|
|
53
|
+
export interface UserAgentBlockingRuleState {
|
|
54
|
+
/**
|
|
55
|
+
* The configuration object for the current rule.
|
|
56
|
+
*/
|
|
57
|
+
configuration?: pulumi.Input<inputs.UserAgentBlockingRuleConfiguration>;
|
|
58
|
+
/**
|
|
59
|
+
* An informative summary of the rule.
|
|
60
|
+
*/
|
|
61
|
+
description?: pulumi.Input<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The action to apply to a matched request. Available values: `block`, `challenge`, `js_challenge`, `managed_challenge`.
|
|
64
|
+
*/
|
|
65
|
+
mode?: pulumi.Input<string>;
|
|
66
|
+
/**
|
|
67
|
+
* When true, indicates that the rule is currently paused.
|
|
68
|
+
*/
|
|
69
|
+
paused?: pulumi.Input<boolean>;
|
|
70
|
+
userAgentBlockingRuleId?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
73
|
+
*/
|
|
74
|
+
zoneId?: pulumi.Input<string>;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* The set of arguments for constructing a UserAgentBlockingRule resource.
|
|
78
|
+
*/
|
|
79
|
+
export interface UserAgentBlockingRuleArgs {
|
|
80
|
+
/**
|
|
81
|
+
* The configuration object for the current rule.
|
|
82
|
+
*/
|
|
83
|
+
configuration: pulumi.Input<inputs.UserAgentBlockingRuleConfiguration>;
|
|
84
|
+
/**
|
|
85
|
+
* An informative summary of the rule.
|
|
86
|
+
*/
|
|
87
|
+
description: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The action to apply to a matched request. Available values: `block`, `challenge`, `js_challenge`, `managed_challenge`.
|
|
90
|
+
*/
|
|
91
|
+
mode: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* When true, indicates that the rule is currently paused.
|
|
94
|
+
*/
|
|
95
|
+
paused: pulumi.Input<boolean>;
|
|
96
|
+
userAgentBlockingRuleId?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
99
|
+
*/
|
|
100
|
+
zoneId: pulumi.Input<string>;
|
|
101
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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.UserAgentBlockingRule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class UserAgentBlockingRule extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing UserAgentBlockingRule 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 UserAgentBlockingRule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of UserAgentBlockingRule. 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'] === UserAgentBlockingRule.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["configuration"] = state ? state.configuration : undefined;
|
|
37
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
38
|
+
resourceInputs["mode"] = state ? state.mode : undefined;
|
|
39
|
+
resourceInputs["paused"] = state ? state.paused : undefined;
|
|
40
|
+
resourceInputs["userAgentBlockingRuleId"] = state ? state.userAgentBlockingRuleId : undefined;
|
|
41
|
+
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
const args = argsOrState;
|
|
45
|
+
if ((!args || args.configuration === undefined) && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'configuration'");
|
|
47
|
+
}
|
|
48
|
+
if ((!args || args.description === undefined) && !opts.urn) {
|
|
49
|
+
throw new Error("Missing required property 'description'");
|
|
50
|
+
}
|
|
51
|
+
if ((!args || args.mode === undefined) && !opts.urn) {
|
|
52
|
+
throw new Error("Missing required property 'mode'");
|
|
53
|
+
}
|
|
54
|
+
if ((!args || args.paused === undefined) && !opts.urn) {
|
|
55
|
+
throw new Error("Missing required property 'paused'");
|
|
56
|
+
}
|
|
57
|
+
if ((!args || args.zoneId === undefined) && !opts.urn) {
|
|
58
|
+
throw new Error("Missing required property 'zoneId'");
|
|
59
|
+
}
|
|
60
|
+
resourceInputs["configuration"] = args ? args.configuration : undefined;
|
|
61
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
62
|
+
resourceInputs["mode"] = args ? args.mode : undefined;
|
|
63
|
+
resourceInputs["paused"] = args ? args.paused : undefined;
|
|
64
|
+
resourceInputs["userAgentBlockingRuleId"] = args ? args.userAgentBlockingRuleId : undefined;
|
|
65
|
+
resourceInputs["zoneId"] = args ? args.zoneId : undefined;
|
|
66
|
+
}
|
|
67
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
68
|
+
super(UserAgentBlockingRule.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.UserAgentBlockingRule = UserAgentBlockingRule;
|
|
72
|
+
/** @internal */
|
|
73
|
+
UserAgentBlockingRule.__pulumiType = 'cloudflare:index/userAgentBlockingRule:UserAgentBlockingRule';
|
|
74
|
+
//# sourceMappingURL=userAgentBlockingRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userAgentBlockingRule.js","sourceRoot":"","sources":["../userAgentBlock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C,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,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,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IACxH,CAAC;;AA/FL,sDAgGC;AAlFG,gBAAgB;AACO,kCAAY,GAAG,8DAA8D,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare function getEnv(...vars: string[]): string | undefined;
|
|
3
|
+
export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
|
|
4
|
+
export declare function getEnvNumber(...vars: string[]): number | undefined;
|
|
5
|
+
export declare function getVersion(): string;
|
|
6
|
+
export declare function callAsync<T>(tok: string, props: pulumi.Inputs, res?: pulumi.Resource, opts?: {
|
|
7
|
+
property?: string;
|
|
8
|
+
}): Promise<T>;
|
|
9
|
+
export declare function getPackage(): Promise<string | undefined>;
|
package/bin/utilities.js
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
6
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
7
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
8
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
9
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
10
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.getPackage = exports.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
15
|
+
const resproto = require("@pulumi/pulumi/proto/resource_pb");
|
|
16
|
+
const mutex = require("async-mutex");
|
|
17
|
+
const runtime = require("@pulumi/pulumi/runtime");
|
|
18
|
+
function getEnv(...vars) {
|
|
19
|
+
for (const v of vars) {
|
|
20
|
+
const value = process.env[v];
|
|
21
|
+
if (value) {
|
|
22
|
+
return value;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
exports.getEnv = getEnv;
|
|
28
|
+
function getEnvBoolean(...vars) {
|
|
29
|
+
const s = getEnv(...vars);
|
|
30
|
+
if (s !== undefined) {
|
|
31
|
+
// NOTE: these values are taken from https://golang.org/src/strconv/atob.go?s=351:391#L1, which is what
|
|
32
|
+
// Terraform uses internally when parsing boolean values.
|
|
33
|
+
if (["1", "t", "T", "true", "TRUE", "True"].find(v => v === s) !== undefined) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
if (["0", "f", "F", "false", "FALSE", "False"].find(v => v === s) !== undefined) {
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return undefined;
|
|
41
|
+
}
|
|
42
|
+
exports.getEnvBoolean = getEnvBoolean;
|
|
43
|
+
function getEnvNumber(...vars) {
|
|
44
|
+
const s = getEnv(...vars);
|
|
45
|
+
if (s !== undefined) {
|
|
46
|
+
const f = parseFloat(s);
|
|
47
|
+
if (!isNaN(f)) {
|
|
48
|
+
return f;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return undefined;
|
|
52
|
+
}
|
|
53
|
+
exports.getEnvNumber = getEnvNumber;
|
|
54
|
+
function getVersion() {
|
|
55
|
+
let version = require('./package.json').version;
|
|
56
|
+
// Node allows for the version to be prefixed by a "v", while semver doesn't.
|
|
57
|
+
// If there is a v, strip it off.
|
|
58
|
+
if (version.indexOf('v') === 0) {
|
|
59
|
+
version = version.slice(1);
|
|
60
|
+
}
|
|
61
|
+
return version;
|
|
62
|
+
}
|
|
63
|
+
exports.getVersion = getVersion;
|
|
64
|
+
/** @internal */
|
|
65
|
+
function resourceOptsDefaults() {
|
|
66
|
+
return { version: getVersion() };
|
|
67
|
+
}
|
|
68
|
+
exports.resourceOptsDefaults = resourceOptsDefaults;
|
|
69
|
+
/** @internal */
|
|
70
|
+
function lazyLoad(exports, props, loadModule) {
|
|
71
|
+
for (let property of props) {
|
|
72
|
+
Object.defineProperty(exports, property, {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () {
|
|
75
|
+
return loadModule()[property];
|
|
76
|
+
},
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.lazyLoad = lazyLoad;
|
|
81
|
+
function callAsync(tok, props, res, opts) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
83
|
+
const o = runtime.call(tok, props, res);
|
|
84
|
+
const value = yield o.promise(true /*withUnknowns*/);
|
|
85
|
+
const isKnown = yield o.isKnown;
|
|
86
|
+
const isSecret = yield o.isSecret;
|
|
87
|
+
const problem = !isKnown ? "an unknown value"
|
|
88
|
+
: isSecret ? "a secret value"
|
|
89
|
+
: undefined;
|
|
90
|
+
// Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
91
|
+
if (problem) {
|
|
92
|
+
throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
|
|
93
|
+
"This is an error in the provider, please report this to the provider developer.");
|
|
94
|
+
}
|
|
95
|
+
// Extract a single property if requested.
|
|
96
|
+
if (opts && opts.property) {
|
|
97
|
+
return value[opts.property];
|
|
98
|
+
}
|
|
99
|
+
return value;
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
exports.callAsync = callAsync;
|
|
103
|
+
const _packageLock = new mutex.Mutex();
|
|
104
|
+
var _packageRef = undefined;
|
|
105
|
+
function getPackage() {
|
|
106
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
107
|
+
if (_packageRef === undefined) {
|
|
108
|
+
if (!runtime.supportsParameterization()) {
|
|
109
|
+
throw new Error("The Pulumi CLI does not support parameterization. Please update the Pulumi CLI");
|
|
110
|
+
}
|
|
111
|
+
yield _packageLock.acquire();
|
|
112
|
+
if (_packageRef === undefined) {
|
|
113
|
+
const monitor = runtime.getMonitor();
|
|
114
|
+
const params = new resproto.Parameterization();
|
|
115
|
+
params.setName("cloudflare");
|
|
116
|
+
params.setVersion("4.43.0");
|
|
117
|
+
params.setValue(Uint8Array.from(atob("eyJyZW1vdGUiOnsidXJsIjoicmVnaXN0cnkub3BlbnRvZnUub3JnL2Nsb3VkZmxhcmUvY2xvdWRmbGFyZSIsInZlcnNpb24iOiI0LjQzLjAifX0="), c => c.charCodeAt(0)));
|
|
118
|
+
const req = new resproto.RegisterPackageRequest();
|
|
119
|
+
req.setName("terraform-provider");
|
|
120
|
+
req.setVersion("0.2.0");
|
|
121
|
+
req.setDownloadUrl("");
|
|
122
|
+
req.setParameterization(params);
|
|
123
|
+
const resp = yield new Promise((resolve, reject) => {
|
|
124
|
+
monitor.registerPackage(req, (err, resp) => {
|
|
125
|
+
if (err) {
|
|
126
|
+
reject(err);
|
|
127
|
+
}
|
|
128
|
+
else {
|
|
129
|
+
resolve(resp);
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
});
|
|
133
|
+
_packageRef = resp.getRef();
|
|
134
|
+
}
|
|
135
|
+
_packageLock.release();
|
|
136
|
+
}
|
|
137
|
+
return _packageRef;
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
exports.getPackage = getPackage;
|
|
141
|
+
//# sourceMappingURL=utilities.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;AAEjF,6DAA6D;AAC7D,qCAAqC;AAErC,kDAAkD;AAGlD,SAAgB,MAAM,CAAC,GAAG,IAAc;IACpC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;QAClB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AARD,wBAQC;AAED,SAAgB,aAAa,CAAC,GAAG,IAAc;IAC3C,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1B,IAAI,CAAC,KAAK,SAAS,EAAE;QACjB,uGAAuG;QACvG,yDAAyD;QACzD,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,SAAS,EAAE;YAC1E,O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