@pulumi/cloudflare 6.7.0-alpha.1756491364 → 6.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accessMutualTlsCertificate.d.ts +1 -1
- package/accessOrganization.d.ts +2 -2
- package/argoSmartRouting.d.ts +19 -3
- package/argoSmartRouting.js +4 -0
- package/argoSmartRouting.js.map +1 -1
- package/botManagement.d.ts +13 -0
- package/botManagement.js +3 -0
- package/botManagement.js.map +1 -1
- package/certificatePack.d.ts +18 -0
- package/certificatePack.js +4 -0
- package/certificatePack.js.map +1 -1
- package/customPages.d.ts +3 -3
- package/filter.d.ts +28 -6
- package/filter.js +13 -6
- package/filter.js.map +1 -1
- package/getArgoSmartRouting.d.ts +14 -1
- package/getArgoSmartRouting.js.map +1 -1
- package/getBotManagement.d.ts +4 -0
- package/getBotManagement.js.map +1 -1
- package/getCustomPages.d.ts +3 -3
- package/getList.d.ts +3 -3
- package/getListItem.d.ts +30 -1
- package/getListItem.js.map +1 -1
- package/getLoadBalancer.d.ts +6 -5
- package/getLoadBalancer.js.map +1 -1
- package/getLoadBalancerMonitor.d.ts +3 -3
- package/getLoadBalancerMonitors.d.ts +3 -3
- package/getLoadBalancerPool.d.ts +3 -3
- package/getLoadBalancerPools.d.ts +3 -3
- package/getLogpushDatasetField.d.ts +3 -3
- package/getLogpushDatasetJob.d.ts +9 -9
- package/getLogpushJob.d.ts +6 -6
- package/getR2CustomDomain.d.ts +4 -0
- package/getR2CustomDomain.js.map +1 -1
- package/getSnippet.d.ts +80 -0
- package/getSnippet.js +50 -0
- package/getSnippet.js.map +1 -0
- package/getSnippetList.d.ts +51 -0
- package/getSnippetList.js +24 -0
- package/getSnippetList.js.map +1 -0
- package/getSnippets.d.ts +0 -2
- package/getSnippets.js +0 -2
- package/getSnippets.js.map +1 -1
- package/getSnippetsList.d.ts +0 -24
- package/getSnippetsList.js +0 -24
- package/getSnippetsList.js.map +1 -1
- package/getStreams.d.ts +17 -3
- package/getStreams.js +4 -0
- package/getStreams.js.map +1 -1
- package/getUrlNormalizationSettings.d.ts +1 -1
- package/getWorkersForPlatformsDispatchNamespace.d.ts +4 -0
- package/getWorkersForPlatformsDispatchNamespace.js.map +1 -1
- package/getWorkersScripts.d.ts +14 -0
- package/getWorkersScripts.js +4 -0
- package/getWorkersScripts.js.map +1 -1
- package/getZeroTrustGatewayCertificate.d.ts +7 -7
- package/getZeroTrustGatewayPolicy.d.ts +0 -3
- package/getZeroTrustGatewayPolicy.js.map +1 -1
- package/getZeroTrustTunnelCloudflared.d.ts +7 -0
- package/getZeroTrustTunnelCloudflared.js.map +1 -1
- package/getZeroTrustTunnelCloudflaredRoutes.d.ts +1 -3
- package/getZeroTrustTunnelCloudflaredRoutes.js +0 -2
- package/getZeroTrustTunnelCloudflaredRoutes.js.map +1 -1
- package/getZeroTrustTunnelWarpConnector.d.ts +7 -0
- package/getZeroTrustTunnelWarpConnector.js.map +1 -1
- package/index.d.ts +9 -0
- package/index.js +21 -10
- package/index.js.map +1 -1
- package/loadBalancer.d.ts +12 -9
- package/loadBalancer.js.map +1 -1
- package/loadBalancerMonitor.d.ts +10 -10
- package/loadBalancerPool.d.ts +3 -3
- package/logpushJob.d.ts +16 -16
- package/logpushOwnershipChallenge.d.ts +3 -3
- package/magicWanGreTunnel.d.ts +38 -0
- package/magicWanGreTunnel.js +28 -0
- package/magicWanGreTunnel.js.map +1 -1
- package/magicWanIpsecTunnel.d.ts +38 -0
- package/magicWanIpsecTunnel.js +28 -0
- package/magicWanIpsecTunnel.js.map +1 -1
- package/package.json +2 -2
- package/r2customDomain.d.ts +13 -0
- package/r2customDomain.js +3 -0
- package/r2customDomain.js.map +1 -1
- package/ruleset.d.ts +23 -7
- package/ruleset.js +4 -0
- package/ruleset.js.map +1 -1
- package/snippet.d.ts +105 -0
- package/snippet.js +74 -0
- package/snippet.js.map +1 -0
- package/snippetRules.d.ts +0 -40
- package/snippetRules.js +0 -10
- package/snippetRules.js.map +1 -1
- package/snippets.d.ts +0 -3
- package/snippets.js +0 -3
- package/snippets.js.map +1 -1
- package/spectrumApplication.d.ts +5 -5
- package/spectrumApplication.js +3 -3
- package/teamsList.d.ts +1 -1
- package/teamsRule.d.ts +1 -28
- package/teamsRule.js.map +1 -1
- package/tunnel.d.ts +4 -0
- package/tunnel.js.map +1 -1
- package/tunnelRoute.d.ts +1 -1
- package/tunnelVirtualNetwork.d.ts +1 -1
- package/types/input.d.ts +215 -187
- package/types/output.d.ts +372 -266
- package/urlNormalizationSettings.d.ts +3 -3
- package/workerScript.d.ts +46 -28
- package/workerScript.js +1 -1
- package/workerScript.js.map +1 -1
- package/workersForPlatformsDispatchNamespace.d.ts +8 -0
- package/workersForPlatformsDispatchNamespace.js +2 -0
- package/workersForPlatformsDispatchNamespace.js.map +1 -1
- package/workersForPlatformsNamespace.d.ts +8 -0
- package/workersForPlatformsNamespace.js +2 -0
- package/workersForPlatformsNamespace.js.map +1 -1
- package/workersKv.d.ts +9 -0
- package/workersKv.js.map +1 -1
- package/workersScript.d.ts +46 -28
- package/workersScript.js +1 -1
- package/workersScript.js.map +1 -1
- package/zeroTrustAccessMtlsCertificate.d.ts +1 -1
- package/zeroTrustGatewayCertificate.d.ts +14 -14
- package/zeroTrustGatewayPolicy.d.ts +1 -28
- package/zeroTrustGatewayPolicy.js.map +1 -1
- package/zeroTrustList.d.ts +1 -1
- package/zeroTrustOrganization.d.ts +2 -2
- package/zeroTrustTunnelCloudflared.d.ts +4 -0
- package/zeroTrustTunnelCloudflared.js.map +1 -1
- package/zeroTrustTunnelCloudflaredRoute.d.ts +1 -1
- package/zeroTrustTunnelCloudflaredVirtualNetwork.d.ts +1 -1
- package/zeroTrustTunnelWarpConnector.d.ts +14 -0
- package/zeroTrustTunnelWarpConnector.js +2 -0
- package/zeroTrustTunnelWarpConnector.js.map +1 -1
package/getLoadBalancer.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare function getLoadBalancer(args: GetLoadBalancerArgs, opts?: pulumi
|
|
|
20
20
|
export interface GetLoadBalancerArgs {
|
|
21
21
|
loadBalancerId?: string;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Enterprise only: A mapping of Cloudflare PoP identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). Any PoPs not explicitly defined will fall back to using the corresponding country*pool, then region*pool mapping if it exists else to default_pools.
|
|
24
24
|
*/
|
|
25
25
|
popPools?: {
|
|
26
26
|
[key: string]: string[];
|
|
@@ -83,7 +83,7 @@ export interface GetLoadBalancerResult {
|
|
|
83
83
|
*/
|
|
84
84
|
readonly networks: string[];
|
|
85
85
|
/**
|
|
86
|
-
*
|
|
86
|
+
* Enterprise only: A mapping of Cloudflare PoP identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). Any PoPs not explicitly defined will fall back to using the corresponding country*pool, then region*pool mapping if it exists else to default_pools.
|
|
87
87
|
*/
|
|
88
88
|
readonly popPools: {
|
|
89
89
|
[key: string]: string[];
|
|
@@ -107,7 +107,8 @@ export interface GetLoadBalancerResult {
|
|
|
107
107
|
*/
|
|
108
108
|
readonly rules: outputs.GetLoadBalancerRule[];
|
|
109
109
|
/**
|
|
110
|
-
* Specifies the type of session affinity the load balancer should use unless specified as `"none"`. The supported types are:
|
|
110
|
+
* Specifies the type of session affinity the load balancer should use unless specified as `"none"`. The supported types are: - `"cookie"`: On the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy, then a new origin server is calculated and used. - `"ipCookie"`: Behaves the same as `"cookie"` except the initial origin selection is stable and based on the client's ip address. - `"header"`: On the first request to a proxied load balancer, a session key based on the configured HTTP headers (see `session_affinity_attributes.headers`) is generated, encoding the request headers used for storing in the load balancer session state which origin the request will be forwarded to. Subsequent requests to the load balancer with the same headers will be sent to the same origin server, for the duration of the session and as long as the origin server remains healthy. If the session has been idle for the duration of `sessionAffinityTtl` seconds or the origin server is unhealthy, then a new origin server is calculated and used. See `headers` in `sessionAffinityAttributes` for additional required configuration.
|
|
111
|
+
* Available values: "none", "cookie", "ipCookie", "header".
|
|
111
112
|
*/
|
|
112
113
|
readonly sessionAffinity: string;
|
|
113
114
|
/**
|
|
@@ -115,7 +116,7 @@ export interface GetLoadBalancerResult {
|
|
|
115
116
|
*/
|
|
116
117
|
readonly sessionAffinityAttributes: outputs.GetLoadBalancerSessionAffinityAttributes;
|
|
117
118
|
/**
|
|
118
|
-
* Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted ranges per `sessionAffinity` policy are:
|
|
119
|
+
* Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted ranges per `sessionAffinity` policy are: - `"cookie"` / `"ipCookie"`: The current default of 23 hours will be used unless explicitly set. The accepted range of values is between [1800, 604800]. - `"header"`: The current default of 1800 seconds will be used unless explicitly set. The accepted range of values is between [30, 3600]. Note: With session affinity by header, sessions only expire after they haven't been used for the number of seconds specified.
|
|
119
120
|
*/
|
|
120
121
|
readonly sessionAffinityTtl: number;
|
|
121
122
|
/**
|
|
@@ -148,7 +149,7 @@ export declare function getLoadBalancerOutput(args: GetLoadBalancerOutputArgs, o
|
|
|
148
149
|
export interface GetLoadBalancerOutputArgs {
|
|
149
150
|
loadBalancerId?: pulumi.Input<string>;
|
|
150
151
|
/**
|
|
151
|
-
*
|
|
152
|
+
* Enterprise only: A mapping of Cloudflare PoP identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). Any PoPs not explicitly defined will fall back to using the corresponding country*pool, then region*pool mapping if it exists else to default_pools.
|
|
152
153
|
*/
|
|
153
154
|
popPools?: pulumi.Input<{
|
|
154
155
|
[key: string]: pulumi.Input<pulumi.Input<string>[]>;
|
package/getLoadBalancer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLoadBalancer.js","sourceRoot":"","sources":["../getLoadBalancer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;
|
|
1
|
+
{"version":3,"file":"getLoadBalancer.js","sourceRoot":"","sources":["../getLoadBalancer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;AA4GD;;;;;;;;;;;;GAYG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE;QACnF,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC"}
|
|
@@ -18,7 +18,7 @@ export declare function getLoadBalancerMonitor(args: GetLoadBalancerMonitorArgs,
|
|
|
18
18
|
*/
|
|
19
19
|
export interface GetLoadBalancerMonitorArgs {
|
|
20
20
|
/**
|
|
21
|
-
* Identifier
|
|
21
|
+
* Identifier.
|
|
22
22
|
*/
|
|
23
23
|
accountId: string;
|
|
24
24
|
monitorId?: string;
|
|
@@ -28,7 +28,7 @@ export interface GetLoadBalancerMonitorArgs {
|
|
|
28
28
|
*/
|
|
29
29
|
export interface GetLoadBalancerMonitorResult {
|
|
30
30
|
/**
|
|
31
|
-
* Identifier
|
|
31
|
+
* Identifier.
|
|
32
32
|
*/
|
|
33
33
|
readonly accountId: string;
|
|
34
34
|
/**
|
|
@@ -125,7 +125,7 @@ export declare function getLoadBalancerMonitorOutput(args: GetLoadBalancerMonito
|
|
|
125
125
|
*/
|
|
126
126
|
export interface GetLoadBalancerMonitorOutputArgs {
|
|
127
127
|
/**
|
|
128
|
-
* Identifier
|
|
128
|
+
* Identifier.
|
|
129
129
|
*/
|
|
130
130
|
accountId: pulumi.Input<string>;
|
|
131
131
|
monitorId?: pulumi.Input<string>;
|
|
@@ -18,7 +18,7 @@ export declare function getLoadBalancerMonitors(args: GetLoadBalancerMonitorsArg
|
|
|
18
18
|
*/
|
|
19
19
|
export interface GetLoadBalancerMonitorsArgs {
|
|
20
20
|
/**
|
|
21
|
-
* Identifier
|
|
21
|
+
* Identifier.
|
|
22
22
|
*/
|
|
23
23
|
accountId: string;
|
|
24
24
|
/**
|
|
@@ -31,7 +31,7 @@ export interface GetLoadBalancerMonitorsArgs {
|
|
|
31
31
|
*/
|
|
32
32
|
export interface GetLoadBalancerMonitorsResult {
|
|
33
33
|
/**
|
|
34
|
-
* Identifier
|
|
34
|
+
* Identifier.
|
|
35
35
|
*/
|
|
36
36
|
readonly accountId: string;
|
|
37
37
|
/**
|
|
@@ -65,7 +65,7 @@ export declare function getLoadBalancerMonitorsOutput(args: GetLoadBalancerMonit
|
|
|
65
65
|
*/
|
|
66
66
|
export interface GetLoadBalancerMonitorsOutputArgs {
|
|
67
67
|
/**
|
|
68
|
-
* Identifier
|
|
68
|
+
* Identifier.
|
|
69
69
|
*/
|
|
70
70
|
accountId: pulumi.Input<string>;
|
|
71
71
|
/**
|
package/getLoadBalancerPool.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare function getLoadBalancerPool(args: GetLoadBalancerPoolArgs, opts?
|
|
|
20
20
|
*/
|
|
21
21
|
export interface GetLoadBalancerPoolArgs {
|
|
22
22
|
/**
|
|
23
|
-
* Identifier
|
|
23
|
+
* Identifier.
|
|
24
24
|
*/
|
|
25
25
|
accountId: string;
|
|
26
26
|
filter?: inputs.GetLoadBalancerPoolFilter;
|
|
@@ -31,7 +31,7 @@ export interface GetLoadBalancerPoolArgs {
|
|
|
31
31
|
*/
|
|
32
32
|
export interface GetLoadBalancerPoolResult {
|
|
33
33
|
/**
|
|
34
|
-
* Identifier
|
|
34
|
+
* Identifier.
|
|
35
35
|
*/
|
|
36
36
|
readonly accountId: string;
|
|
37
37
|
/**
|
|
@@ -122,7 +122,7 @@ export declare function getLoadBalancerPoolOutput(args: GetLoadBalancerPoolOutpu
|
|
|
122
122
|
*/
|
|
123
123
|
export interface GetLoadBalancerPoolOutputArgs {
|
|
124
124
|
/**
|
|
125
|
-
* Identifier
|
|
125
|
+
* Identifier.
|
|
126
126
|
*/
|
|
127
127
|
accountId: pulumi.Input<string>;
|
|
128
128
|
filter?: pulumi.Input<inputs.GetLoadBalancerPoolFilterArgs>;
|
|
@@ -19,7 +19,7 @@ export declare function getLoadBalancerPools(args: GetLoadBalancerPoolsArgs, opt
|
|
|
19
19
|
*/
|
|
20
20
|
export interface GetLoadBalancerPoolsArgs {
|
|
21
21
|
/**
|
|
22
|
-
* Identifier
|
|
22
|
+
* Identifier.
|
|
23
23
|
*/
|
|
24
24
|
accountId: string;
|
|
25
25
|
/**
|
|
@@ -36,7 +36,7 @@ export interface GetLoadBalancerPoolsArgs {
|
|
|
36
36
|
*/
|
|
37
37
|
export interface GetLoadBalancerPoolsResult {
|
|
38
38
|
/**
|
|
39
|
-
* Identifier
|
|
39
|
+
* Identifier.
|
|
40
40
|
*/
|
|
41
41
|
readonly accountId: string;
|
|
42
42
|
/**
|
|
@@ -75,7 +75,7 @@ export declare function getLoadBalancerPoolsOutput(args: GetLoadBalancerPoolsOut
|
|
|
75
75
|
*/
|
|
76
76
|
export interface GetLoadBalancerPoolsOutputArgs {
|
|
77
77
|
/**
|
|
78
|
-
* Identifier
|
|
78
|
+
* Identifier.
|
|
79
79
|
*/
|
|
80
80
|
accountId: pulumi.Input<string>;
|
|
81
81
|
/**
|
|
@@ -24,7 +24,7 @@ export interface GetLogpushDatasetFieldArgs {
|
|
|
24
24
|
accountId?: string;
|
|
25
25
|
/**
|
|
26
26
|
* Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/).
|
|
27
|
-
* Available values: "access*requests", "audit*logs", "biso*user*actions", "casb*findings", "device*posture*results", "dlp*forensic*copies", "dns*firewall*logs", "dns*logs", "email*security*alerts", "firewall*events", "gateway*dns", "gateway*http", "gateway*network", "http*requests", "magic*ids*detections", "nel*reports", "network*analytics*logs", "page*shield*events", "sinkhole*http*logs", "spectrum*events", "ssh*logs", "workers*trace*events", "zaraz*events", "zero*trust*network*sessions".
|
|
27
|
+
* Available values: "access*requests", "audit*logs", "audit*logs*v2", "biso*user*actions", "casb*findings", "device*posture*results", "dlp*forensic*copies", "dns*firewall*logs", "dns*logs", "email*security*alerts", "firewall*events", "gateway*dns", "gateway*http", "gateway*network", "http*requests", "magic*ids*detections", "nel*reports", "network*analytics*logs", "page*shield*events", "sinkhole*http*logs", "spectrum*events", "ssh*logs", "workers*trace*events", "zaraz*events", "zero*trust*network*sessions".
|
|
28
28
|
*/
|
|
29
29
|
datasetId?: string;
|
|
30
30
|
/**
|
|
@@ -42,7 +42,7 @@ export interface GetLogpushDatasetFieldResult {
|
|
|
42
42
|
readonly accountId?: string;
|
|
43
43
|
/**
|
|
44
44
|
* Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/).
|
|
45
|
-
* Available values: "access*requests", "audit*logs", "biso*user*actions", "casb*findings", "device*posture*results", "dlp*forensic*copies", "dns*firewall*logs", "dns*logs", "email*security*alerts", "firewall*events", "gateway*dns", "gateway*http", "gateway*network", "http*requests", "magic*ids*detections", "nel*reports", "network*analytics*logs", "page*shield*events", "sinkhole*http*logs", "spectrum*events", "ssh*logs", "workers*trace*events", "zaraz*events", "zero*trust*network*sessions".
|
|
45
|
+
* Available values: "access*requests", "audit*logs", "audit*logs*v2", "biso*user*actions", "casb*findings", "device*posture*results", "dlp*forensic*copies", "dns*firewall*logs", "dns*logs", "email*security*alerts", "firewall*events", "gateway*dns", "gateway*http", "gateway*network", "http*requests", "magic*ids*detections", "nel*reports", "network*analytics*logs", "page*shield*events", "sinkhole*http*logs", "spectrum*events", "ssh*logs", "workers*trace*events", "zaraz*events", "zero*trust*network*sessions".
|
|
46
46
|
*/
|
|
47
47
|
readonly datasetId: string;
|
|
48
48
|
/**
|
|
@@ -79,7 +79,7 @@ export interface GetLogpushDatasetFieldOutputArgs {
|
|
|
79
79
|
accountId?: pulumi.Input<string>;
|
|
80
80
|
/**
|
|
81
81
|
* Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/).
|
|
82
|
-
* Available values: "access*requests", "audit*logs", "biso*user*actions", "casb*findings", "device*posture*results", "dlp*forensic*copies", "dns*firewall*logs", "dns*logs", "email*security*alerts", "firewall*events", "gateway*dns", "gateway*http", "gateway*network", "http*requests", "magic*ids*detections", "nel*reports", "network*analytics*logs", "page*shield*events", "sinkhole*http*logs", "spectrum*events", "ssh*logs", "workers*trace*events", "zaraz*events", "zero*trust*network*sessions".
|
|
82
|
+
* Available values: "access*requests", "audit*logs", "audit*logs*v2", "biso*user*actions", "casb*findings", "device*posture*results", "dlp*forensic*copies", "dns*firewall*logs", "dns*logs", "email*security*alerts", "firewall*events", "gateway*dns", "gateway*http", "gateway*network", "http*requests", "magic*ids*detections", "nel*reports", "network*analytics*logs", "page*shield*events", "sinkhole*http*logs", "spectrum*events", "ssh*logs", "workers*trace*events", "zaraz*events", "zero*trust*network*sessions".
|
|
83
83
|
*/
|
|
84
84
|
datasetId?: pulumi.Input<string>;
|
|
85
85
|
/**
|
|
@@ -25,7 +25,7 @@ export interface GetLogpushDatasetJobArgs {
|
|
|
25
25
|
accountId?: string;
|
|
26
26
|
/**
|
|
27
27
|
* Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/).
|
|
28
|
-
* Available values: "access*requests", "audit*logs", "biso*user*actions", "casb*findings", "device*posture*results", "dlp*forensic*copies", "dns*firewall*logs", "dns*logs", "email*security*alerts", "firewall*events", "gateway*dns", "gateway*http", "gateway*network", "http*requests", "magic*ids*detections", "nel*reports", "network*analytics*logs", "page*shield*events", "sinkhole*http*logs", "spectrum*events", "ssh*logs", "workers*trace*events", "zaraz*events", "zero*trust*network*sessions".
|
|
28
|
+
* Available values: "access*requests", "audit*logs", "audit*logs*v2", "biso*user*actions", "casb*findings", "device*posture*results", "dlp*forensic*copies", "dns*firewall*logs", "dns*logs", "email*security*alerts", "firewall*events", "gateway*dns", "gateway*http", "gateway*network", "http*requests", "magic*ids*detections", "nel*reports", "network*analytics*logs", "page*shield*events", "sinkhole*http*logs", "spectrum*events", "ssh*logs", "workers*trace*events", "zaraz*events", "zero*trust*network*sessions".
|
|
29
29
|
*/
|
|
30
30
|
datasetId?: string;
|
|
31
31
|
/**
|
|
@@ -43,16 +43,16 @@ export interface GetLogpushDatasetJobResult {
|
|
|
43
43
|
readonly accountId?: string;
|
|
44
44
|
/**
|
|
45
45
|
* Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/).
|
|
46
|
-
* Available values: "access*requests", "audit*logs", "biso*user*actions", "casb*findings", "device*posture*results", "dlp*forensic*copies", "dns*firewall*logs", "dns*logs", "email*security*alerts", "firewall*events", "gateway*dns", "gateway*http", "gateway*network", "http*requests", "magic*ids*detections", "nel*reports", "network*analytics*logs", "page*shield*events", "sinkhole*http*logs", "spectrum*events", "ssh*logs", "workers*trace*events", "zaraz*events", "zero*trust*network*sessions".
|
|
46
|
+
* Available values: "access*requests", "audit*logs", "audit*logs*v2", "biso*user*actions", "casb*findings", "device*posture*results", "dlp*forensic*copies", "dns*firewall*logs", "dns*logs", "email*security*alerts", "firewall*events", "gateway*dns", "gateway*http", "gateway*network", "http*requests", "magic*ids*detections", "nel*reports", "network*analytics*logs", "page*shield*events", "sinkhole*http*logs", "spectrum*events", "ssh*logs", "workers*trace*events", "zaraz*events", "zero*trust*network*sessions".
|
|
47
47
|
*/
|
|
48
48
|
readonly dataset: string;
|
|
49
49
|
/**
|
|
50
50
|
* Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/).
|
|
51
|
-
* Available values: "access*requests", "audit*logs", "biso*user*actions", "casb*findings", "device*posture*results", "dlp*forensic*copies", "dns*firewall*logs", "dns*logs", "email*security*alerts", "firewall*events", "gateway*dns", "gateway*http", "gateway*network", "http*requests", "magic*ids*detections", "nel*reports", "network*analytics*logs", "page*shield*events", "sinkhole*http*logs", "spectrum*events", "ssh*logs", "workers*trace*events", "zaraz*events", "zero*trust*network*sessions".
|
|
51
|
+
* Available values: "access*requests", "audit*logs", "audit*logs*v2", "biso*user*actions", "casb*findings", "device*posture*results", "dlp*forensic*copies", "dns*firewall*logs", "dns*logs", "email*security*alerts", "firewall*events", "gateway*dns", "gateway*http", "gateway*network", "http*requests", "magic*ids*detections", "nel*reports", "network*analytics*logs", "page*shield*events", "sinkhole*http*logs", "spectrum*events", "ssh*logs", "workers*trace*events", "zaraz*events", "zero*trust*network*sessions".
|
|
52
52
|
*/
|
|
53
53
|
readonly datasetId: string;
|
|
54
54
|
/**
|
|
55
|
-
* Uniquely identifies a resource (such as an s3 bucket) where data will be pushed. Additional configuration parameters supported by the destination may be included.
|
|
55
|
+
* Uniquely identifies a resource (such as an s3 bucket) where data. will be pushed. Additional configuration parameters supported by the destination may be included.
|
|
56
56
|
*/
|
|
57
57
|
readonly destinationConf: string;
|
|
58
58
|
/**
|
|
@@ -60,11 +60,11 @@ export interface GetLogpushDatasetJobResult {
|
|
|
60
60
|
*/
|
|
61
61
|
readonly enabled: boolean;
|
|
62
62
|
/**
|
|
63
|
-
* If not null, the job is currently failing. Failures are usually repetitive (example: no permissions to write to destination bucket). Only the last failure is recorded. On successful execution of a job the error*message and last*error are set to null.
|
|
63
|
+
* If not null, the job is currently failing. Failures are usually. repetitive (example: no permissions to write to destination bucket). Only the last failure is recorded. On successful execution of a job the error*message and last*error are set to null.
|
|
64
64
|
*/
|
|
65
65
|
readonly errorMessage: string;
|
|
66
66
|
/**
|
|
67
|
-
* This field is deprecated. Please use `max_upload_*` parameters instead. The frequency at which Cloudflare sends batches of logs to your destination. Setting frequency to high sends your logs in larger quantities of smaller files. Setting frequency to low sends logs in smaller quantities of larger files.
|
|
67
|
+
* This field is deprecated. Please use `max_upload_*` parameters instead. . The frequency at which Cloudflare sends batches of logs to your destination. Setting frequency to high sends your logs in larger quantities of smaller files. Setting frequency to low sends logs in smaller quantities of larger files.
|
|
68
68
|
* Available values: "high", "low".
|
|
69
69
|
*
|
|
70
70
|
* @deprecated This attribute is deprecated.
|
|
@@ -84,7 +84,7 @@ export interface GetLogpushDatasetJobResult {
|
|
|
84
84
|
*/
|
|
85
85
|
readonly lastComplete: string;
|
|
86
86
|
/**
|
|
87
|
-
* Records the last time the job failed. If not null, the job is currently failing. If null, the job has either never failed or has run successfully at least once since last failure. See also the errorMessage field.
|
|
87
|
+
* Records the last time the job failed. If not null, the job is currently. failing. If null, the job has either never failed or has run successfully at least once since last failure. See also the errorMessage field.
|
|
88
88
|
*/
|
|
89
89
|
readonly lastError: string;
|
|
90
90
|
/**
|
|
@@ -106,7 +106,7 @@ export interface GetLogpushDatasetJobResult {
|
|
|
106
106
|
*/
|
|
107
107
|
readonly maxUploadRecords: number;
|
|
108
108
|
/**
|
|
109
|
-
* Optional human readable job name. Not unique. Cloudflare suggests that you set this to a meaningful string, like the domain name, to make it easier to identify your job.
|
|
109
|
+
* Optional human readable job name. Not unique. Cloudflare suggests. that you set this to a meaningful string, like the domain name, to make it easier to identify your job.
|
|
110
110
|
*/
|
|
111
111
|
readonly name: string;
|
|
112
112
|
/**
|
|
@@ -143,7 +143,7 @@ export interface GetLogpushDatasetJobOutputArgs {
|
|
|
143
143
|
accountId?: pulumi.Input<string>;
|
|
144
144
|
/**
|
|
145
145
|
* Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/).
|
|
146
|
-
* Available values: "access*requests", "audit*logs", "biso*user*actions", "casb*findings", "device*posture*results", "dlp*forensic*copies", "dns*firewall*logs", "dns*logs", "email*security*alerts", "firewall*events", "gateway*dns", "gateway*http", "gateway*network", "http*requests", "magic*ids*detections", "nel*reports", "network*analytics*logs", "page*shield*events", "sinkhole*http*logs", "spectrum*events", "ssh*logs", "workers*trace*events", "zaraz*events", "zero*trust*network*sessions".
|
|
146
|
+
* Available values: "access*requests", "audit*logs", "audit*logs*v2", "biso*user*actions", "casb*findings", "device*posture*results", "dlp*forensic*copies", "dns*firewall*logs", "dns*logs", "email*security*alerts", "firewall*events", "gateway*dns", "gateway*http", "gateway*network", "http*requests", "magic*ids*detections", "nel*reports", "network*analytics*logs", "page*shield*events", "sinkhole*http*logs", "spectrum*events", "ssh*logs", "workers*trace*events", "zaraz*events", "zero*trust*network*sessions".
|
|
147
147
|
*/
|
|
148
148
|
datasetId?: pulumi.Input<string>;
|
|
149
149
|
/**
|
package/getLogpushJob.d.ts
CHANGED
|
@@ -42,11 +42,11 @@ export interface GetLogpushJobResult {
|
|
|
42
42
|
readonly accountId?: string;
|
|
43
43
|
/**
|
|
44
44
|
* Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/).
|
|
45
|
-
* Available values: "access*requests", "audit*logs", "biso*user*actions", "casb*findings", "device*posture*results", "dlp*forensic*copies", "dns*firewall*logs", "dns*logs", "email*security*alerts", "firewall*events", "gateway*dns", "gateway*http", "gateway*network", "http*requests", "magic*ids*detections", "nel*reports", "network*analytics*logs", "page*shield*events", "sinkhole*http*logs", "spectrum*events", "ssh*logs", "workers*trace*events", "zaraz*events", "zero*trust*network*sessions".
|
|
45
|
+
* Available values: "access*requests", "audit*logs", "audit*logs*v2", "biso*user*actions", "casb*findings", "device*posture*results", "dlp*forensic*copies", "dns*firewall*logs", "dns*logs", "email*security*alerts", "firewall*events", "gateway*dns", "gateway*http", "gateway*network", "http*requests", "magic*ids*detections", "nel*reports", "network*analytics*logs", "page*shield*events", "sinkhole*http*logs", "spectrum*events", "ssh*logs", "workers*trace*events", "zaraz*events", "zero*trust*network*sessions".
|
|
46
46
|
*/
|
|
47
47
|
readonly dataset: string;
|
|
48
48
|
/**
|
|
49
|
-
* Uniquely identifies a resource (such as an s3 bucket) where data will be pushed. Additional configuration parameters supported by the destination may be included.
|
|
49
|
+
* Uniquely identifies a resource (such as an s3 bucket) where data. will be pushed. Additional configuration parameters supported by the destination may be included.
|
|
50
50
|
*/
|
|
51
51
|
readonly destinationConf: string;
|
|
52
52
|
/**
|
|
@@ -54,11 +54,11 @@ export interface GetLogpushJobResult {
|
|
|
54
54
|
*/
|
|
55
55
|
readonly enabled: boolean;
|
|
56
56
|
/**
|
|
57
|
-
* If not null, the job is currently failing. Failures are usually repetitive (example: no permissions to write to destination bucket). Only the last failure is recorded. On successful execution of a job the error*message and last*error are set to null.
|
|
57
|
+
* If not null, the job is currently failing. Failures are usually. repetitive (example: no permissions to write to destination bucket). Only the last failure is recorded. On successful execution of a job the error*message and last*error are set to null.
|
|
58
58
|
*/
|
|
59
59
|
readonly errorMessage: string;
|
|
60
60
|
/**
|
|
61
|
-
* This field is deprecated. Please use `max_upload_*` parameters instead. The frequency at which Cloudflare sends batches of logs to your destination. Setting frequency to high sends your logs in larger quantities of smaller files. Setting frequency to low sends logs in smaller quantities of larger files.
|
|
61
|
+
* This field is deprecated. Please use `max_upload_*` parameters instead. . The frequency at which Cloudflare sends batches of logs to your destination. Setting frequency to high sends your logs in larger quantities of smaller files. Setting frequency to low sends logs in smaller quantities of larger files.
|
|
62
62
|
* Available values: "high", "low".
|
|
63
63
|
*
|
|
64
64
|
* @deprecated This attribute is deprecated.
|
|
@@ -82,7 +82,7 @@ export interface GetLogpushJobResult {
|
|
|
82
82
|
*/
|
|
83
83
|
readonly lastComplete: string;
|
|
84
84
|
/**
|
|
85
|
-
* Records the last time the job failed. If not null, the job is currently failing. If null, the job has either never failed or has run successfully at least once since last failure. See also the errorMessage field.
|
|
85
|
+
* Records the last time the job failed. If not null, the job is currently. failing. If null, the job has either never failed or has run successfully at least once since last failure. See also the errorMessage field.
|
|
86
86
|
*/
|
|
87
87
|
readonly lastError: string;
|
|
88
88
|
/**
|
|
@@ -104,7 +104,7 @@ export interface GetLogpushJobResult {
|
|
|
104
104
|
*/
|
|
105
105
|
readonly maxUploadRecords: number;
|
|
106
106
|
/**
|
|
107
|
-
* Optional human readable job name. Not unique. Cloudflare suggests that you set this to a meaningful string, like the domain name, to make it easier to identify your job.
|
|
107
|
+
* Optional human readable job name. Not unique. Cloudflare suggests. that you set this to a meaningful string, like the domain name, to make it easier to identify your job.
|
|
108
108
|
*/
|
|
109
109
|
readonly name: string;
|
|
110
110
|
/**
|
package/getR2CustomDomain.d.ts
CHANGED
|
@@ -44,6 +44,10 @@ export interface GetR2CustomDomainResult {
|
|
|
44
44
|
* Name of the bucket.
|
|
45
45
|
*/
|
|
46
46
|
readonly bucketName: string;
|
|
47
|
+
/**
|
|
48
|
+
* An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format.
|
|
49
|
+
*/
|
|
50
|
+
readonly ciphers: string[];
|
|
47
51
|
/**
|
|
48
52
|
* Name of the custom domain.
|
|
49
53
|
*/
|
package/getR2CustomDomain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getR2CustomDomain.js","sourceRoot":"","sources":["../getR2CustomDomain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;
|
|
1
|
+
{"version":3,"file":"getR2CustomDomain.js","sourceRoot":"","sources":["../getR2CustomDomain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;AA+DD;;;;;;;;;;;;;GAaG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAAiC;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0DAOC"}
|
package/getSnippet.d.ts
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
8
|
+
*
|
|
9
|
+
* const exampleSnippet = cloudflare.getSnippet({
|
|
10
|
+
* zoneId: "9f1839b6152d298aca64c4e906b6d074",
|
|
11
|
+
* snippetName: "my_snippet",
|
|
12
|
+
* });
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare function getSnippet(args: GetSnippetArgs, opts?: pulumi.InvokeOptions): Promise<GetSnippetResult>;
|
|
16
|
+
/**
|
|
17
|
+
* A collection of arguments for invoking getSnippet.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetSnippetArgs {
|
|
20
|
+
/**
|
|
21
|
+
* The identifying name of the snippet.
|
|
22
|
+
*/
|
|
23
|
+
snippetName: string;
|
|
24
|
+
/**
|
|
25
|
+
* The unique ID of the zone.
|
|
26
|
+
*/
|
|
27
|
+
zoneId: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getSnippet.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetSnippetResult {
|
|
33
|
+
/**
|
|
34
|
+
* The timestamp of when the snippet was created.
|
|
35
|
+
*/
|
|
36
|
+
readonly createdOn: string;
|
|
37
|
+
/**
|
|
38
|
+
* The provider-assigned unique ID for this managed resource.
|
|
39
|
+
*/
|
|
40
|
+
readonly id: string;
|
|
41
|
+
/**
|
|
42
|
+
* The timestamp of when the snippet was last modified.
|
|
43
|
+
*/
|
|
44
|
+
readonly modifiedOn: string;
|
|
45
|
+
/**
|
|
46
|
+
* The identifying name of the snippet.
|
|
47
|
+
*/
|
|
48
|
+
readonly snippetName: string;
|
|
49
|
+
/**
|
|
50
|
+
* The unique ID of the zone.
|
|
51
|
+
*/
|
|
52
|
+
readonly zoneId: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* ## Example Usage
|
|
56
|
+
*
|
|
57
|
+
* ```typescript
|
|
58
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
59
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
60
|
+
*
|
|
61
|
+
* const exampleSnippet = cloudflare.getSnippet({
|
|
62
|
+
* zoneId: "9f1839b6152d298aca64c4e906b6d074",
|
|
63
|
+
* snippetName: "my_snippet",
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
export declare function getSnippetOutput(args: GetSnippetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSnippetResult>;
|
|
68
|
+
/**
|
|
69
|
+
* A collection of arguments for invoking getSnippet.
|
|
70
|
+
*/
|
|
71
|
+
export interface GetSnippetOutputArgs {
|
|
72
|
+
/**
|
|
73
|
+
* The identifying name of the snippet.
|
|
74
|
+
*/
|
|
75
|
+
snippetName: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The unique ID of the zone.
|
|
78
|
+
*/
|
|
79
|
+
zoneId: pulumi.Input<string>;
|
|
80
|
+
}
|
package/getSnippet.js
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
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.getSnippetOutput = exports.getSnippet = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
14
|
+
*
|
|
15
|
+
* const exampleSnippet = cloudflare.getSnippet({
|
|
16
|
+
* zoneId: "9f1839b6152d298aca64c4e906b6d074",
|
|
17
|
+
* snippetName: "my_snippet",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function getSnippet(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invoke("cloudflare:index/getSnippet:getSnippet", {
|
|
24
|
+
"snippetName": args.snippetName,
|
|
25
|
+
"zoneId": args.zoneId,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.getSnippet = getSnippet;
|
|
29
|
+
/**
|
|
30
|
+
* ## Example Usage
|
|
31
|
+
*
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
35
|
+
*
|
|
36
|
+
* const exampleSnippet = cloudflare.getSnippet({
|
|
37
|
+
* zoneId: "9f1839b6152d298aca64c4e906b6d074",
|
|
38
|
+
* snippetName: "my_snippet",
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
function getSnippetOutput(args, opts) {
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invokeOutput("cloudflare:index/getSnippet:getSnippet", {
|
|
45
|
+
"snippetName": args.snippetName,
|
|
46
|
+
"zoneId": args.zoneId,
|
|
47
|
+
}, opts);
|
|
48
|
+
}
|
|
49
|
+
exports.getSnippetOutput = getSnippetOutput;
|
|
50
|
+
//# sourceMappingURL=getSnippet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSnippet.js","sourceRoot":"","sources":["../getSnippet.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gCAMC;AAyCD;;;;;;;;;;;;GAYG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
export declare function getSnippetList(args: GetSnippetListArgs, opts?: pulumi.InvokeOptions): Promise<GetSnippetListResult>;
|
|
4
|
+
/**
|
|
5
|
+
* A collection of arguments for invoking getSnippetList.
|
|
6
|
+
*/
|
|
7
|
+
export interface GetSnippetListArgs {
|
|
8
|
+
/**
|
|
9
|
+
* Max items to fetch, default: 1000
|
|
10
|
+
*/
|
|
11
|
+
maxItems?: number;
|
|
12
|
+
/**
|
|
13
|
+
* The unique ID of the zone.
|
|
14
|
+
*/
|
|
15
|
+
zoneId: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A collection of values returned by getSnippetList.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetSnippetListResult {
|
|
21
|
+
/**
|
|
22
|
+
* The provider-assigned unique ID for this managed resource.
|
|
23
|
+
*/
|
|
24
|
+
readonly id: string;
|
|
25
|
+
/**
|
|
26
|
+
* Max items to fetch, default: 1000
|
|
27
|
+
*/
|
|
28
|
+
readonly maxItems?: number;
|
|
29
|
+
/**
|
|
30
|
+
* The items returned by the data source
|
|
31
|
+
*/
|
|
32
|
+
readonly results: outputs.GetSnippetListResult[];
|
|
33
|
+
/**
|
|
34
|
+
* The unique ID of the zone.
|
|
35
|
+
*/
|
|
36
|
+
readonly zoneId: string;
|
|
37
|
+
}
|
|
38
|
+
export declare function getSnippetListOutput(args: GetSnippetListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSnippetListResult>;
|
|
39
|
+
/**
|
|
40
|
+
* A collection of arguments for invoking getSnippetList.
|
|
41
|
+
*/
|
|
42
|
+
export interface GetSnippetListOutputArgs {
|
|
43
|
+
/**
|
|
44
|
+
* Max items to fetch, default: 1000
|
|
45
|
+
*/
|
|
46
|
+
maxItems?: pulumi.Input<number>;
|
|
47
|
+
/**
|
|
48
|
+
* The unique ID of the zone.
|
|
49
|
+
*/
|
|
50
|
+
zoneId: pulumi.Input<string>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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.getSnippetListOutput = exports.getSnippetList = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
function getSnippetList(args, opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("cloudflare:index/getSnippetList:getSnippetList", {
|
|
11
|
+
"maxItems": args.maxItems,
|
|
12
|
+
"zoneId": args.zoneId,
|
|
13
|
+
}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getSnippetList = getSnippetList;
|
|
16
|
+
function getSnippetListOutput(args, opts) {
|
|
17
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
18
|
+
return pulumi.runtime.invokeOutput("cloudflare:index/getSnippetList:getSnippetList", {
|
|
19
|
+
"maxItems": args.maxItems,
|
|
20
|
+
"zoneId": args.zoneId,
|
|
21
|
+
}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getSnippetListOutput = getSnippetListOutput;
|
|
24
|
+
//# sourceMappingURL=getSnippetList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSnippetList.js","sourceRoot":"","sources":["../getSnippetList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AAqCD,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gDAAgD,EAAE;QACjF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC"}
|
package/getSnippets.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
*
|
|
9
9
|
* const exampleSnippets = cloudflare.getSnippets({
|
|
10
10
|
* zoneId: "9f1839b6152d298aca64c4e906b6d074",
|
|
11
|
-
* snippetName: "my_snippet",
|
|
12
11
|
* });
|
|
13
12
|
* ```
|
|
14
13
|
*/
|
|
@@ -60,7 +59,6 @@ export interface GetSnippetsResult {
|
|
|
60
59
|
*
|
|
61
60
|
* const exampleSnippets = cloudflare.getSnippets({
|
|
62
61
|
* zoneId: "9f1839b6152d298aca64c4e906b6d074",
|
|
63
|
-
* snippetName: "my_snippet",
|
|
64
62
|
* });
|
|
65
63
|
* ```
|
|
66
64
|
*/
|
package/getSnippets.js
CHANGED
|
@@ -14,7 +14,6 @@ const utilities = require("./utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* const exampleSnippets = cloudflare.getSnippets({
|
|
16
16
|
* zoneId: "9f1839b6152d298aca64c4e906b6d074",
|
|
17
|
-
* snippetName: "my_snippet",
|
|
18
17
|
* });
|
|
19
18
|
* ```
|
|
20
19
|
*/
|
|
@@ -35,7 +34,6 @@ exports.getSnippets = getSnippets;
|
|
|
35
34
|
*
|
|
36
35
|
* const exampleSnippets = cloudflare.getSnippets({
|
|
37
36
|
* zoneId: "9f1839b6152d298aca64c4e906b6d074",
|
|
38
|
-
* snippetName: "my_snippet",
|
|
39
37
|
* });
|
|
40
38
|
* ```
|
|
41
39
|
*/
|
package/getSnippets.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSnippets.js","sourceRoot":"","sources":["../getSnippets.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getSnippets.js","sourceRoot":"","sources":["../getSnippets.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AAyCD;;;;;;;;;;;GAWG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAAiC;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC"}
|
package/getSnippetsList.d.ts
CHANGED
|
@@ -1,17 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
|
-
/**
|
|
4
|
-
* ## Example Usage
|
|
5
|
-
*
|
|
6
|
-
* ```typescript
|
|
7
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
-
* import * as cloudflare from "@pulumi/cloudflare";
|
|
9
|
-
*
|
|
10
|
-
* const exampleSnippetsList = cloudflare.getSnippetsList({
|
|
11
|
-
* zoneId: "9f1839b6152d298aca64c4e906b6d074",
|
|
12
|
-
* });
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
3
|
export declare function getSnippetsList(args: GetSnippetsListArgs, opts?: pulumi.InvokeOptions): Promise<GetSnippetsListResult>;
|
|
16
4
|
/**
|
|
17
5
|
* A collection of arguments for invoking getSnippetsList.
|
|
@@ -47,18 +35,6 @@ export interface GetSnippetsListResult {
|
|
|
47
35
|
*/
|
|
48
36
|
readonly zoneId: string;
|
|
49
37
|
}
|
|
50
|
-
/**
|
|
51
|
-
* ## Example Usage
|
|
52
|
-
*
|
|
53
|
-
* ```typescript
|
|
54
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
55
|
-
* import * as cloudflare from "@pulumi/cloudflare";
|
|
56
|
-
*
|
|
57
|
-
* const exampleSnippetsList = cloudflare.getSnippetsList({
|
|
58
|
-
* zoneId: "9f1839b6152d298aca64c4e906b6d074",
|
|
59
|
-
* });
|
|
60
|
-
* ```
|
|
61
|
-
*/
|
|
62
38
|
export declare function getSnippetsListOutput(args: GetSnippetsListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSnippetsListResult>;
|
|
63
39
|
/**
|
|
64
40
|
* A collection of arguments for invoking getSnippetsList.
|