@pulumi/cloudflare 4.13.0 → 4.14.0-alpha.1671230688
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/accessGroup.d.ts +3 -3
- package/accessIdentityProvider.d.ts +6 -6
- package/accessRule.d.ts +9 -9
- package/accessServiceToken.d.ts +4 -4
- package/account.d.ts +3 -3
- package/apiShield.d.ts +3 -3
- package/byoIpPrefix.d.ts +3 -3
- package/certificatePack.d.ts +24 -24
- package/customHostname.d.ts +6 -6
- package/deviceSettingsPolicy.d.ts +265 -0
- package/deviceSettingsPolicy.js +122 -0
- package/deviceSettingsPolicy.js.map +1 -0
- package/dlpProfile.d.ts +9 -9
- package/emailRoutingAddress.d.ts +6 -6
- package/emailRoutingSettings.d.ts +6 -6
- package/fallbackDomain.d.ts +18 -12
- package/fallbackDomain.js +8 -3
- package/fallbackDomain.js.map +1 -1
- package/filter.d.ts +3 -3
- package/firewallRule.d.ts +3 -3
- package/getAccessIdentityProvider.d.ts +24 -0
- package/getAccessIdentityProvider.js +25 -1
- package/getAccessIdentityProvider.js.map +1 -1
- package/getAccountRoles.d.ts +3 -0
- package/getAccountRoles.js +4 -1
- package/getAccountRoles.js.map +1 -1
- package/getAccounts.d.ts +14 -0
- package/getAccounts.js +15 -1
- package/getAccounts.js.map +1 -1
- package/getApiTokenPermissionGroups.d.ts +27 -5
- package/getApiTokenPermissionGroups.js +6 -3
- package/getApiTokenPermissionGroups.js.map +1 -1
- package/getDevices.d.ts +14 -0
- package/getDevices.js +15 -1
- package/getDevices.js.map +1 -1
- package/getLoadBalancerPools.d.ts +94 -0
- package/getLoadBalancerPools.js +55 -0
- package/getLoadBalancerPools.js.map +1 -0
- package/getOriginCaRootCertificate.d.ts +14 -0
- package/getOriginCaRootCertificate.js +15 -1
- package/getOriginCaRootCertificate.js.map +1 -1
- package/getRecord.d.ts +15 -0
- package/getRecord.js +16 -1
- package/getRecord.js.map +1 -1
- package/getWafGroups.d.ts +20 -0
- package/getWafGroups.js +21 -1
- package/getWafGroups.js.map +1 -1
- package/getWafPackages.d.ts +22 -0
- package/getWafPackages.js +23 -1
- package/getWafPackages.js.map +1 -1
- package/getWafRules.d.ts +23 -0
- package/getWafRules.js +24 -1
- package/getWafRules.js.map +1 -1
- package/getZone.d.ts +40 -0
- package/getZone.js +41 -1
- package/getZone.js.map +1 -1
- package/getZoneDnssec.d.ts +14 -0
- package/getZoneDnssec.js +15 -1
- package/getZoneDnssec.js.map +1 -1
- package/getZones.d.ts +59 -0
- package/getZones.js +60 -1
- package/getZones.js.map +1 -1
- package/healthcheck.d.ts +3 -3
- package/index.d.ts +12 -0
- package/index.js +21 -3
- package/index.js.map +1 -1
- package/ipsecTunnel.d.ts +3 -3
- package/list.d.ts +3 -3
- package/loadBalancer.d.ts +3 -3
- package/logpushJob.d.ts +3 -3
- package/originCaCertificate.d.ts +29 -18
- package/originCaCertificate.js +5 -4
- package/originCaCertificate.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/pagesDomain.d.ts +11 -9
- package/pagesDomain.js +2 -0
- package/pagesDomain.js.map +1 -1
- package/pagesProject.d.ts +6 -0
- package/pagesProject.js +6 -0
- package/pagesProject.js.map +1 -1
- package/ruleset.d.ts +14 -4
- package/ruleset.js +11 -1
- package/ruleset.js.map +1 -1
- package/splitTunnel.d.ts +23 -37
- package/splitTunnel.js +4 -28
- package/splitTunnel.js.map +1 -1
- package/totalTls.d.ts +3 -3
- package/tunnelConfig.d.ts +136 -0
- package/tunnelConfig.js +124 -0
- package/tunnelConfig.js.map +1 -0
- package/tunnelRoute.d.ts +7 -9
- package/tunnelRoute.js +1 -3
- package/tunnelRoute.js.map +1 -1
- package/tunnelVirtualNetwork.d.ts +3 -3
- package/types/input.d.ts +224 -10
- package/types/output.d.ts +143 -10
- package/urlNormalizationSettings.d.ts +88 -0
- package/urlNormalizationSettings.js +78 -0
- package/urlNormalizationSettings.js.map +1 -0
- package/userAgentBlockingRule.d.ts +3 -3
- package/waitingRoom.d.ts +6 -6
- package/waitingRoomEvent.d.ts +15 -15
- package/waitingRoomRules.d.ts +6 -6
- package/workerScript.d.ts +10 -3
- package/workerScript.js +6 -0
- package/workerScript.js.map +1 -1
- package/workersKv.d.ts +32 -14
- package/workersKv.js +13 -5
- package/workersKv.js.map +1 -1
- package/workersKvNamespace.d.ts +15 -10
- package/workersKvNamespace.js +11 -7
- package/workersKvNamespace.js.map +1 -1
- package/zone.d.ts +3 -3
package/types/output.d.ts
CHANGED
|
@@ -423,11 +423,11 @@ export interface AccessPolicyRequireSaml {
|
|
|
423
423
|
}
|
|
424
424
|
export interface AccessRuleConfiguration {
|
|
425
425
|
/**
|
|
426
|
-
* The request property to target. Available values: `ip`, `ip6`, `ipRange`, `asn`, `country`.
|
|
426
|
+
* The request property to target. Available values: `ip`, `ip6`, `ipRange`, `asn`, `country`. **Modifying this attribute will force creation of a new resource.**
|
|
427
427
|
*/
|
|
428
428
|
target: string;
|
|
429
429
|
/**
|
|
430
|
-
* The value to target. Depends on target's type.
|
|
430
|
+
* The value to target. Depends on target's type. **Modifying this attribute will force creation of a new resource.**
|
|
431
431
|
*/
|
|
432
432
|
value: string;
|
|
433
433
|
}
|
|
@@ -712,15 +712,15 @@ export interface EmailRoutingRuleMatcher {
|
|
|
712
712
|
}
|
|
713
713
|
export interface FallbackDomainDomain {
|
|
714
714
|
/**
|
|
715
|
-
*
|
|
715
|
+
* A description of the fallback domain, displayed in the client UI.
|
|
716
716
|
*/
|
|
717
717
|
description?: string;
|
|
718
718
|
/**
|
|
719
|
-
*
|
|
719
|
+
* A list of IP addresses to handle domain resolution.
|
|
720
720
|
*/
|
|
721
721
|
dnsServers?: string[];
|
|
722
722
|
/**
|
|
723
|
-
* The domain to
|
|
723
|
+
* The domain suffix to match when resolving locally.
|
|
724
724
|
*/
|
|
725
725
|
suffix?: string;
|
|
726
726
|
}
|
|
@@ -810,6 +810,87 @@ export interface GetDevicesDevice {
|
|
|
810
810
|
*/
|
|
811
811
|
version?: string;
|
|
812
812
|
}
|
|
813
|
+
export interface GetLoadBalancerPoolsFilter {
|
|
814
|
+
/**
|
|
815
|
+
* A regular expression matching the name of the Load Balancer pool to lookup.
|
|
816
|
+
*/
|
|
817
|
+
name?: string;
|
|
818
|
+
}
|
|
819
|
+
export interface GetLoadBalancerPoolsPool {
|
|
820
|
+
/**
|
|
821
|
+
* List of regions (specified by region code) from which to run health checks. Empty means every Cloudflare data center (the default), but requires an Enterprise plan. Region codes can be found [here](https://support.cloudflare.com/hc/en-us/articles/115000540888-Load-Balancing-Geographic-Regions).
|
|
822
|
+
*/
|
|
823
|
+
checkRegions: string[];
|
|
824
|
+
/**
|
|
825
|
+
* The RFC3339 timestamp of when the load balancer was created.
|
|
826
|
+
*/
|
|
827
|
+
createdOn: string;
|
|
828
|
+
/**
|
|
829
|
+
* Brief description of the Load Balancer Pool intention.
|
|
830
|
+
*/
|
|
831
|
+
description: string;
|
|
832
|
+
/**
|
|
833
|
+
* Whether this pool is enabled. Disabled pools will not receive traffic and are excluded from health checks.
|
|
834
|
+
*/
|
|
835
|
+
enabled: boolean;
|
|
836
|
+
/**
|
|
837
|
+
* ID for this load balancer pool.
|
|
838
|
+
*/
|
|
839
|
+
id: string;
|
|
840
|
+
/**
|
|
841
|
+
* Latitude this pool is physically located at; used for proximity steering.
|
|
842
|
+
*/
|
|
843
|
+
latitude: number;
|
|
844
|
+
/**
|
|
845
|
+
* Setting for controlling load shedding for this pool.
|
|
846
|
+
*/
|
|
847
|
+
loadSheddings: outputs.GetLoadBalancerPoolsPoolLoadShedding[];
|
|
848
|
+
/**
|
|
849
|
+
* Longitude this pool is physically located at; used for proximity steering.
|
|
850
|
+
*/
|
|
851
|
+
longitude: number;
|
|
852
|
+
/**
|
|
853
|
+
* Minimum number of origins that must be healthy for this pool to serve traffic.
|
|
854
|
+
*/
|
|
855
|
+
minimumOrigins: number;
|
|
856
|
+
/**
|
|
857
|
+
* The RFC3339 timestamp of when the load balancer was last modified.
|
|
858
|
+
*/
|
|
859
|
+
modifiedOn: string;
|
|
860
|
+
/**
|
|
861
|
+
* ID of the Monitor to use for health checking origins within this pool.
|
|
862
|
+
*/
|
|
863
|
+
monitor: string;
|
|
864
|
+
/**
|
|
865
|
+
* Short name (tag) for the pool.
|
|
866
|
+
*/
|
|
867
|
+
name: string;
|
|
868
|
+
/**
|
|
869
|
+
* Email address to send health status notifications to. Multiple emails are set as a comma delimited list.
|
|
870
|
+
*/
|
|
871
|
+
notificationEmail: string;
|
|
872
|
+
/**
|
|
873
|
+
* The list of origins within this pool.
|
|
874
|
+
*/
|
|
875
|
+
origins: outputs.GetLoadBalancerPoolsPoolOrigin[];
|
|
876
|
+
}
|
|
877
|
+
export interface GetLoadBalancerPoolsPoolLoadShedding {
|
|
878
|
+
defaultPercent?: number;
|
|
879
|
+
defaultPolicy?: string;
|
|
880
|
+
sessionPercent?: number;
|
|
881
|
+
sessionPolicy?: string;
|
|
882
|
+
}
|
|
883
|
+
export interface GetLoadBalancerPoolsPoolOrigin {
|
|
884
|
+
address: string;
|
|
885
|
+
enabled?: boolean;
|
|
886
|
+
headers?: outputs.GetLoadBalancerPoolsPoolOriginHeader[];
|
|
887
|
+
name: string;
|
|
888
|
+
weight?: number;
|
|
889
|
+
}
|
|
890
|
+
export interface GetLoadBalancerPoolsPoolOriginHeader {
|
|
891
|
+
header: string;
|
|
892
|
+
values: string[];
|
|
893
|
+
}
|
|
813
894
|
export interface GetWafGroupsFilter {
|
|
814
895
|
/**
|
|
815
896
|
* Mode of the WAF Rule Groups to lookup. Valid values: on and off.
|
|
@@ -2063,7 +2144,7 @@ export interface RulesetRuleActionParametersEdgeTtlStatusCodeTtlStatusCodeRange
|
|
|
2063
2144
|
export interface RulesetRuleActionParametersFromList {
|
|
2064
2145
|
key: string;
|
|
2065
2146
|
/**
|
|
2066
|
-
* Name of the ruleset.
|
|
2147
|
+
* Name of the ruleset. **Modifying this attribute will force creation of a new resource.**
|
|
2067
2148
|
*/
|
|
2068
2149
|
name: string;
|
|
2069
2150
|
}
|
|
@@ -2079,7 +2160,7 @@ export interface RulesetRuleActionParametersFromValueTargetUrl {
|
|
|
2079
2160
|
export interface RulesetRuleActionParametersHeader {
|
|
2080
2161
|
expression?: string;
|
|
2081
2162
|
/**
|
|
2082
|
-
* Name of the ruleset.
|
|
2163
|
+
* Name of the ruleset. **Modifying this attribute will force creation of a new resource.**
|
|
2083
2164
|
*/
|
|
2084
2165
|
name?: string;
|
|
2085
2166
|
operation?: string;
|
|
@@ -2205,15 +2286,15 @@ export interface SpectrumApplicationOriginPortRange {
|
|
|
2205
2286
|
}
|
|
2206
2287
|
export interface SplitTunnelTunnel {
|
|
2207
2288
|
/**
|
|
2208
|
-
* The address
|
|
2289
|
+
* The address for the tunnel.
|
|
2209
2290
|
*/
|
|
2210
2291
|
address?: string;
|
|
2211
2292
|
/**
|
|
2212
|
-
*
|
|
2293
|
+
* A description for the tunnel.
|
|
2213
2294
|
*/
|
|
2214
2295
|
description?: string;
|
|
2215
2296
|
/**
|
|
2216
|
-
* The domain name
|
|
2297
|
+
* The domain name for the tunnel.
|
|
2217
2298
|
*/
|
|
2218
2299
|
host?: string;
|
|
2219
2300
|
}
|
|
@@ -2391,6 +2472,48 @@ export interface TeamsRuleRuleSettingsL4override {
|
|
|
2391
2472
|
*/
|
|
2392
2473
|
port: number;
|
|
2393
2474
|
}
|
|
2475
|
+
export interface TunnelConfigConfig {
|
|
2476
|
+
/**
|
|
2477
|
+
* Each incoming request received by cloudflared causes cloudflared to send a request to a local service. This section configures the rules that determine which requests are sent to which local services. [Read more](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide/local/local-management/ingress/).
|
|
2478
|
+
*/
|
|
2479
|
+
ingressRules: outputs.TunnelConfigConfigIngressRule[];
|
|
2480
|
+
originRequest?: outputs.TunnelConfigConfigOriginRequest;
|
|
2481
|
+
/**
|
|
2482
|
+
* If you're exposing a [private network](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/private-net/), you need to add the `warp-routing` key and set it to `true`.
|
|
2483
|
+
*/
|
|
2484
|
+
warpRouting?: outputs.TunnelConfigConfigWarpRouting;
|
|
2485
|
+
}
|
|
2486
|
+
export interface TunnelConfigConfigIngressRule {
|
|
2487
|
+
hostname?: string;
|
|
2488
|
+
path?: string;
|
|
2489
|
+
service: string;
|
|
2490
|
+
}
|
|
2491
|
+
export interface TunnelConfigConfigOriginRequest {
|
|
2492
|
+
bastionMode?: boolean;
|
|
2493
|
+
caPool?: string;
|
|
2494
|
+
connectTimeout?: string;
|
|
2495
|
+
disableChunkedEncoding?: boolean;
|
|
2496
|
+
httpHostHeader?: string;
|
|
2497
|
+
ipRules?: outputs.TunnelConfigConfigOriginRequestIpRule[];
|
|
2498
|
+
keepAliveConnections?: number;
|
|
2499
|
+
keepAliveTimeout?: string;
|
|
2500
|
+
noHappyEyeballs?: boolean;
|
|
2501
|
+
noTlsVerify?: boolean;
|
|
2502
|
+
originServerName?: string;
|
|
2503
|
+
proxyAddress?: string;
|
|
2504
|
+
proxyPort?: number;
|
|
2505
|
+
proxyType?: string;
|
|
2506
|
+
tcpKeepAlive?: string;
|
|
2507
|
+
tlsTimeout?: string;
|
|
2508
|
+
}
|
|
2509
|
+
export interface TunnelConfigConfigOriginRequestIpRule {
|
|
2510
|
+
allow?: boolean;
|
|
2511
|
+
ports?: number[];
|
|
2512
|
+
prefix?: string;
|
|
2513
|
+
}
|
|
2514
|
+
export interface TunnelConfigConfigWarpRouting {
|
|
2515
|
+
enabled?: boolean;
|
|
2516
|
+
}
|
|
2394
2517
|
export interface UserAgentBlockingRuleConfiguration {
|
|
2395
2518
|
/**
|
|
2396
2519
|
* The configuration target for this rule. You must set the target to ua for User Agent Blocking rules.
|
|
@@ -2427,6 +2550,16 @@ export interface WaitingRoomRulesRule {
|
|
|
2427
2550
|
*/
|
|
2428
2551
|
version: string;
|
|
2429
2552
|
}
|
|
2553
|
+
export interface WorkerScriptAnalyticsEngineBinding {
|
|
2554
|
+
/**
|
|
2555
|
+
* The name of the Analytics Engine dataset to write to.
|
|
2556
|
+
*/
|
|
2557
|
+
dataset: string;
|
|
2558
|
+
/**
|
|
2559
|
+
* The global variable for the binding in your Worker code.
|
|
2560
|
+
*/
|
|
2561
|
+
name: string;
|
|
2562
|
+
}
|
|
2430
2563
|
export interface WorkerScriptKvNamespaceBinding {
|
|
2431
2564
|
/**
|
|
2432
2565
|
* The global variable for the binding in your Worker code.
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage URL Normalization Settings.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
10
|
+
*
|
|
11
|
+
* const example = new cloudflare.UrlNormalizationSettings("example", {
|
|
12
|
+
* scope: "incoming",
|
|
13
|
+
* type: "cloudflare",
|
|
14
|
+
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare class UrlNormalizationSettings extends pulumi.CustomResource {
|
|
19
|
+
/**
|
|
20
|
+
* Get an existing UrlNormalizationSettings resource's state with the given name, ID, and optional extra
|
|
21
|
+
* properties used to qualify the lookup.
|
|
22
|
+
*
|
|
23
|
+
* @param name The _unique_ name of the resulting resource.
|
|
24
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
25
|
+
* @param state Any extra arguments used during the lookup.
|
|
26
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
27
|
+
*/
|
|
28
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: UrlNormalizationSettingsState, opts?: pulumi.CustomResourceOptions): UrlNormalizationSettings;
|
|
29
|
+
/**
|
|
30
|
+
* Returns true if the given object is an instance of UrlNormalizationSettings. This is designed to work even
|
|
31
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
32
|
+
*/
|
|
33
|
+
static isInstance(obj: any): obj is UrlNormalizationSettings;
|
|
34
|
+
/**
|
|
35
|
+
* The scope of the URL normalization.
|
|
36
|
+
*/
|
|
37
|
+
readonly scope: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* The type of URL normalization performed by Cloudflare.
|
|
40
|
+
*/
|
|
41
|
+
readonly type: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* The zone identifier to target for the resource.
|
|
44
|
+
*/
|
|
45
|
+
readonly zoneId: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Create a UrlNormalizationSettings resource with the given unique name, arguments, and options.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resource.
|
|
50
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
51
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
52
|
+
*/
|
|
53
|
+
constructor(name: string, args: UrlNormalizationSettingsArgs, opts?: pulumi.CustomResourceOptions);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Input properties used for looking up and filtering UrlNormalizationSettings resources.
|
|
57
|
+
*/
|
|
58
|
+
export interface UrlNormalizationSettingsState {
|
|
59
|
+
/**
|
|
60
|
+
* The scope of the URL normalization.
|
|
61
|
+
*/
|
|
62
|
+
scope?: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* The type of URL normalization performed by Cloudflare.
|
|
65
|
+
*/
|
|
66
|
+
type?: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* The zone identifier to target for the resource.
|
|
69
|
+
*/
|
|
70
|
+
zoneId?: pulumi.Input<string>;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* The set of arguments for constructing a UrlNormalizationSettings resource.
|
|
74
|
+
*/
|
|
75
|
+
export interface UrlNormalizationSettingsArgs {
|
|
76
|
+
/**
|
|
77
|
+
* The scope of the URL normalization.
|
|
78
|
+
*/
|
|
79
|
+
scope: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The type of URL normalization performed by Cloudflare.
|
|
82
|
+
*/
|
|
83
|
+
type: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The zone identifier to target for the resource.
|
|
86
|
+
*/
|
|
87
|
+
zoneId: pulumi.Input<string>;
|
|
88
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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
|
+
/**
|
|
9
|
+
* Provides a resource to manage URL Normalization Settings.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
16
|
+
*
|
|
17
|
+
* const example = new cloudflare.UrlNormalizationSettings("example", {
|
|
18
|
+
* scope: "incoming",
|
|
19
|
+
* type: "cloudflare",
|
|
20
|
+
* zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
class UrlNormalizationSettings extends pulumi.CustomResource {
|
|
25
|
+
/**
|
|
26
|
+
* Get an existing UrlNormalizationSettings resource's state with the given name, ID, and optional extra
|
|
27
|
+
* properties used to qualify the lookup.
|
|
28
|
+
*
|
|
29
|
+
* @param name The _unique_ name of the resulting resource.
|
|
30
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
31
|
+
* @param state Any extra arguments used during the lookup.
|
|
32
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
33
|
+
*/
|
|
34
|
+
static get(name, id, state, opts) {
|
|
35
|
+
return new UrlNormalizationSettings(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of UrlNormalizationSettings. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj) {
|
|
42
|
+
if (obj === undefined || obj === null) {
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
return obj['__pulumiType'] === UrlNormalizationSettings.__pulumiType;
|
|
46
|
+
}
|
|
47
|
+
constructor(name, argsOrState, opts) {
|
|
48
|
+
let resourceInputs = {};
|
|
49
|
+
opts = opts || {};
|
|
50
|
+
if (opts.id) {
|
|
51
|
+
const state = argsOrState;
|
|
52
|
+
resourceInputs["scope"] = state ? state.scope : undefined;
|
|
53
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
54
|
+
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
const args = argsOrState;
|
|
58
|
+
if ((!args || args.scope === undefined) && !opts.urn) {
|
|
59
|
+
throw new Error("Missing required property 'scope'");
|
|
60
|
+
}
|
|
61
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'type'");
|
|
63
|
+
}
|
|
64
|
+
if ((!args || args.zoneId === undefined) && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'zoneId'");
|
|
66
|
+
}
|
|
67
|
+
resourceInputs["scope"] = args ? args.scope : undefined;
|
|
68
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
69
|
+
resourceInputs["zoneId"] = args ? args.zoneId : undefined;
|
|
70
|
+
}
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
|
+
super(UrlNormalizationSettings.__pulumiType, name, resourceInputs, opts);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.UrlNormalizationSettings = UrlNormalizationSettings;
|
|
76
|
+
/** @internal */
|
|
77
|
+
UrlNormalizationSettings.__pulumiType = 'cloudflare:index/urlNormalizationSettings:UrlNormalizationSettings';
|
|
78
|
+
//# sourceMappingURL=urlNormalizationSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"urlNormalizationSettings.js","sourceRoot":"","sources":["../urlNormalizationSettings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,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;IAuBD,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,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAAuD,CAAC;YACrE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,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,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,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;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,CAAC,CAAC;IAC7E,CAAC;;AA1EL,4DA2EC;AA7DG,gBAAgB;AACO,qCAAY,GAAG,oEAAoE,CAAC"}
|
|
@@ -65,7 +65,7 @@ export declare class UserAgentBlockingRule extends pulumi.CustomResource {
|
|
|
65
65
|
*/
|
|
66
66
|
readonly paused: pulumi.Output<boolean>;
|
|
67
67
|
/**
|
|
68
|
-
* The zone identifier to target for the resource.
|
|
68
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
69
69
|
*/
|
|
70
70
|
readonly zoneId: pulumi.Output<string>;
|
|
71
71
|
/**
|
|
@@ -98,7 +98,7 @@ export interface UserAgentBlockingRuleState {
|
|
|
98
98
|
*/
|
|
99
99
|
paused?: pulumi.Input<boolean>;
|
|
100
100
|
/**
|
|
101
|
-
* The zone identifier to target for the resource.
|
|
101
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
102
102
|
*/
|
|
103
103
|
zoneId?: pulumi.Input<string>;
|
|
104
104
|
}
|
|
@@ -123,7 +123,7 @@ export interface UserAgentBlockingRuleArgs {
|
|
|
123
123
|
*/
|
|
124
124
|
paused: pulumi.Input<boolean>;
|
|
125
125
|
/**
|
|
126
|
-
* The zone identifier to target for the resource.
|
|
126
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
127
127
|
*/
|
|
128
128
|
zoneId: pulumi.Input<string>;
|
|
129
129
|
}
|
package/waitingRoom.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ export declare class WaitingRoom extends pulumi.CustomResource {
|
|
|
68
68
|
*/
|
|
69
69
|
readonly jsonResponseEnabled: pulumi.Output<boolean | undefined>;
|
|
70
70
|
/**
|
|
71
|
-
* A unique name to identify the waiting room.
|
|
71
|
+
* A unique name to identify the waiting room. **Modifying this attribute will force creation of a new resource.**
|
|
72
72
|
*/
|
|
73
73
|
readonly name: pulumi.Output<string>;
|
|
74
74
|
/**
|
|
@@ -100,7 +100,7 @@ export declare class WaitingRoom extends pulumi.CustomResource {
|
|
|
100
100
|
*/
|
|
101
101
|
readonly totalActiveUsers: pulumi.Output<number>;
|
|
102
102
|
/**
|
|
103
|
-
* The zone identifier to target for the resource.
|
|
103
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
104
104
|
*/
|
|
105
105
|
readonly zoneId: pulumi.Output<string>;
|
|
106
106
|
/**
|
|
@@ -141,7 +141,7 @@ export interface WaitingRoomState {
|
|
|
141
141
|
*/
|
|
142
142
|
jsonResponseEnabled?: pulumi.Input<boolean>;
|
|
143
143
|
/**
|
|
144
|
-
* A unique name to identify the waiting room.
|
|
144
|
+
* A unique name to identify the waiting room. **Modifying this attribute will force creation of a new resource.**
|
|
145
145
|
*/
|
|
146
146
|
name?: pulumi.Input<string>;
|
|
147
147
|
/**
|
|
@@ -173,7 +173,7 @@ export interface WaitingRoomState {
|
|
|
173
173
|
*/
|
|
174
174
|
totalActiveUsers?: pulumi.Input<number>;
|
|
175
175
|
/**
|
|
176
|
-
* The zone identifier to target for the resource.
|
|
176
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
177
177
|
*/
|
|
178
178
|
zoneId?: pulumi.Input<string>;
|
|
179
179
|
}
|
|
@@ -206,7 +206,7 @@ export interface WaitingRoomArgs {
|
|
|
206
206
|
*/
|
|
207
207
|
jsonResponseEnabled?: pulumi.Input<boolean>;
|
|
208
208
|
/**
|
|
209
|
-
* A unique name to identify the waiting room.
|
|
209
|
+
* A unique name to identify the waiting room. **Modifying this attribute will force creation of a new resource.**
|
|
210
210
|
*/
|
|
211
211
|
name: pulumi.Input<string>;
|
|
212
212
|
/**
|
|
@@ -238,7 +238,7 @@ export interface WaitingRoomArgs {
|
|
|
238
238
|
*/
|
|
239
239
|
totalActiveUsers: pulumi.Input<number>;
|
|
240
240
|
/**
|
|
241
|
-
* The zone identifier to target for the resource.
|
|
241
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
242
242
|
*/
|
|
243
243
|
zoneId: pulumi.Input<string>;
|
|
244
244
|
}
|
package/waitingRoomEvent.d.ts
CHANGED
|
@@ -59,11 +59,11 @@ export declare class WaitingRoomEvent extends pulumi.CustomResource {
|
|
|
59
59
|
*/
|
|
60
60
|
readonly disableSessionRenewal: pulumi.Output<boolean | undefined>;
|
|
61
61
|
/**
|
|
62
|
-
* ISO 8601 timestamp that marks the end of the event.
|
|
62
|
+
* ISO 8601 timestamp that marks the end of the event. **Modifying this attribute will force creation of a new resource.**
|
|
63
63
|
*/
|
|
64
64
|
readonly eventEndTime: pulumi.Output<string>;
|
|
65
65
|
/**
|
|
66
|
-
* ISO 8601 timestamp that marks the start of the event. Must occur at least 1 minute before `eventEndTime`.
|
|
66
|
+
* ISO 8601 timestamp that marks the start of the event. Must occur at least 1 minute before `eventEndTime`. **Modifying this attribute will force creation of a new resource.**
|
|
67
67
|
*/
|
|
68
68
|
readonly eventStartTime: pulumi.Output<string>;
|
|
69
69
|
/**
|
|
@@ -71,7 +71,7 @@ export declare class WaitingRoomEvent extends pulumi.CustomResource {
|
|
|
71
71
|
*/
|
|
72
72
|
readonly modifiedOn: pulumi.Output<string>;
|
|
73
73
|
/**
|
|
74
|
-
* A unique name to identify the event. Only alphanumeric characters, hyphens, and underscores are allowed.
|
|
74
|
+
* A unique name to identify the event. Only alphanumeric characters, hyphens, and underscores are allowed. **Modifying this attribute will force creation of a new resource.**
|
|
75
75
|
*/
|
|
76
76
|
readonly name: pulumi.Output<string>;
|
|
77
77
|
/**
|
|
@@ -103,11 +103,11 @@ export declare class WaitingRoomEvent extends pulumi.CustomResource {
|
|
|
103
103
|
*/
|
|
104
104
|
readonly totalActiveUsers: pulumi.Output<number | undefined>;
|
|
105
105
|
/**
|
|
106
|
-
* The Waiting Room ID the event should apply to.
|
|
106
|
+
* The Waiting Room ID the event should apply to. **Modifying this attribute will force creation of a new resource.**
|
|
107
107
|
*/
|
|
108
108
|
readonly waitingRoomId: pulumi.Output<string>;
|
|
109
109
|
/**
|
|
110
|
-
* The zone identifier to target for the resource.
|
|
110
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
111
111
|
*/
|
|
112
112
|
readonly zoneId: pulumi.Output<string>;
|
|
113
113
|
/**
|
|
@@ -140,11 +140,11 @@ export interface WaitingRoomEventState {
|
|
|
140
140
|
*/
|
|
141
141
|
disableSessionRenewal?: pulumi.Input<boolean>;
|
|
142
142
|
/**
|
|
143
|
-
* ISO 8601 timestamp that marks the end of the event.
|
|
143
|
+
* ISO 8601 timestamp that marks the end of the event. **Modifying this attribute will force creation of a new resource.**
|
|
144
144
|
*/
|
|
145
145
|
eventEndTime?: pulumi.Input<string>;
|
|
146
146
|
/**
|
|
147
|
-
* ISO 8601 timestamp that marks the start of the event. Must occur at least 1 minute before `eventEndTime`.
|
|
147
|
+
* ISO 8601 timestamp that marks the start of the event. Must occur at least 1 minute before `eventEndTime`. **Modifying this attribute will force creation of a new resource.**
|
|
148
148
|
*/
|
|
149
149
|
eventStartTime?: pulumi.Input<string>;
|
|
150
150
|
/**
|
|
@@ -152,7 +152,7 @@ export interface WaitingRoomEventState {
|
|
|
152
152
|
*/
|
|
153
153
|
modifiedOn?: pulumi.Input<string>;
|
|
154
154
|
/**
|
|
155
|
-
* A unique name to identify the event. Only alphanumeric characters, hyphens, and underscores are allowed.
|
|
155
|
+
* A unique name to identify the event. Only alphanumeric characters, hyphens, and underscores are allowed. **Modifying this attribute will force creation of a new resource.**
|
|
156
156
|
*/
|
|
157
157
|
name?: pulumi.Input<string>;
|
|
158
158
|
/**
|
|
@@ -184,11 +184,11 @@ export interface WaitingRoomEventState {
|
|
|
184
184
|
*/
|
|
185
185
|
totalActiveUsers?: pulumi.Input<number>;
|
|
186
186
|
/**
|
|
187
|
-
* The Waiting Room ID the event should apply to.
|
|
187
|
+
* The Waiting Room ID the event should apply to. **Modifying this attribute will force creation of a new resource.**
|
|
188
188
|
*/
|
|
189
189
|
waitingRoomId?: pulumi.Input<string>;
|
|
190
190
|
/**
|
|
191
|
-
* The zone identifier to target for the resource.
|
|
191
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
192
192
|
*/
|
|
193
193
|
zoneId?: pulumi.Input<string>;
|
|
194
194
|
}
|
|
@@ -209,15 +209,15 @@ export interface WaitingRoomEventArgs {
|
|
|
209
209
|
*/
|
|
210
210
|
disableSessionRenewal?: pulumi.Input<boolean>;
|
|
211
211
|
/**
|
|
212
|
-
* ISO 8601 timestamp that marks the end of the event.
|
|
212
|
+
* ISO 8601 timestamp that marks the end of the event. **Modifying this attribute will force creation of a new resource.**
|
|
213
213
|
*/
|
|
214
214
|
eventEndTime: pulumi.Input<string>;
|
|
215
215
|
/**
|
|
216
|
-
* ISO 8601 timestamp that marks the start of the event. Must occur at least 1 minute before `eventEndTime`.
|
|
216
|
+
* ISO 8601 timestamp that marks the start of the event. Must occur at least 1 minute before `eventEndTime`. **Modifying this attribute will force creation of a new resource.**
|
|
217
217
|
*/
|
|
218
218
|
eventStartTime: pulumi.Input<string>;
|
|
219
219
|
/**
|
|
220
|
-
* A unique name to identify the event. Only alphanumeric characters, hyphens, and underscores are allowed.
|
|
220
|
+
* A unique name to identify the event. Only alphanumeric characters, hyphens, and underscores are allowed. **Modifying this attribute will force creation of a new resource.**
|
|
221
221
|
*/
|
|
222
222
|
name: pulumi.Input<string>;
|
|
223
223
|
/**
|
|
@@ -249,11 +249,11 @@ export interface WaitingRoomEventArgs {
|
|
|
249
249
|
*/
|
|
250
250
|
totalActiveUsers?: pulumi.Input<number>;
|
|
251
251
|
/**
|
|
252
|
-
* The Waiting Room ID the event should apply to.
|
|
252
|
+
* The Waiting Room ID the event should apply to. **Modifying this attribute will force creation of a new resource.**
|
|
253
253
|
*/
|
|
254
254
|
waitingRoomId: pulumi.Input<string>;
|
|
255
255
|
/**
|
|
256
|
-
* The zone identifier to target for the resource.
|
|
256
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
257
257
|
*/
|
|
258
258
|
zoneId: pulumi.Input<string>;
|
|
259
259
|
}
|
package/waitingRoomRules.d.ts
CHANGED
|
@@ -57,11 +57,11 @@ export declare class WaitingRoomRules extends pulumi.CustomResource {
|
|
|
57
57
|
*/
|
|
58
58
|
readonly rules: pulumi.Output<outputs.WaitingRoomRulesRule[] | undefined>;
|
|
59
59
|
/**
|
|
60
|
-
* The Waiting Room ID the rules should apply to.
|
|
60
|
+
* The Waiting Room ID the rules should apply to. **Modifying this attribute will force creation of a new resource.**
|
|
61
61
|
*/
|
|
62
62
|
readonly waitingRoomId: pulumi.Output<string>;
|
|
63
63
|
/**
|
|
64
|
-
* The zone identifier to target for the resource.
|
|
64
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
65
65
|
*/
|
|
66
66
|
readonly zoneId: pulumi.Output<string>;
|
|
67
67
|
/**
|
|
@@ -82,11 +82,11 @@ export interface WaitingRoomRulesState {
|
|
|
82
82
|
*/
|
|
83
83
|
rules?: pulumi.Input<pulumi.Input<inputs.WaitingRoomRulesRule>[]>;
|
|
84
84
|
/**
|
|
85
|
-
* The Waiting Room ID the rules should apply to.
|
|
85
|
+
* The Waiting Room ID the rules should apply to. **Modifying this attribute will force creation of a new resource.**
|
|
86
86
|
*/
|
|
87
87
|
waitingRoomId?: pulumi.Input<string>;
|
|
88
88
|
/**
|
|
89
|
-
* The zone identifier to target for the resource.
|
|
89
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
90
90
|
*/
|
|
91
91
|
zoneId?: pulumi.Input<string>;
|
|
92
92
|
}
|
|
@@ -99,11 +99,11 @@ export interface WaitingRoomRulesArgs {
|
|
|
99
99
|
*/
|
|
100
100
|
rules?: pulumi.Input<pulumi.Input<inputs.WaitingRoomRulesRule>[]>;
|
|
101
101
|
/**
|
|
102
|
-
* The Waiting Room ID the rules should apply to.
|
|
102
|
+
* The Waiting Room ID the rules should apply to. **Modifying this attribute will force creation of a new resource.**
|
|
103
103
|
*/
|
|
104
104
|
waitingRoomId: pulumi.Input<string>;
|
|
105
105
|
/**
|
|
106
|
-
* The zone identifier to target for the resource.
|
|
106
|
+
* The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**
|
|
107
107
|
*/
|
|
108
108
|
zoneId: pulumi.Input<string>;
|
|
109
109
|
}
|