1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getRateLimits
Cloudflare v6.0.0 published on Monday, Apr 14, 2025 by Pulumi

cloudflare.getRateLimits

Explore with Pulumi AI

Cloudflare v6.0.0 published on Monday, Apr 14, 2025 by Pulumi

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";

const exampleRateLimits = cloudflare.getRateLimits({
    zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
});
Copy
import pulumi
import pulumi_cloudflare as cloudflare

example_rate_limits = cloudflare.get_rate_limits(zone_id="023e105f4ecef8ad9ca31a8372d0c353")
Copy
package main

import (
	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudflare.LookupRateLimits(ctx, &cloudflare.LookupRateLimitsArgs{
			ZoneId: "023e105f4ecef8ad9ca31a8372d0c353",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;

return await Deployment.RunAsync(() => 
{
    var exampleRateLimits = Cloudflare.GetRateLimits.Invoke(new()
    {
        ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetRateLimitsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var exampleRateLimits = CloudflareFunctions.getRateLimits(GetRateLimitsArgs.builder()
            .zoneId("023e105f4ecef8ad9ca31a8372d0c353")
            .build());

    }
}
Copy
variables:
  exampleRateLimits:
    fn::invoke:
      function: cloudflare:getRateLimits
      arguments:
        zoneId: 023e105f4ecef8ad9ca31a8372d0c353
Copy

Using getRateLimits

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getRateLimits(args: GetRateLimitsArgs, opts?: InvokeOptions): Promise<GetRateLimitsResult>
function getRateLimitsOutput(args: GetRateLimitsOutputArgs, opts?: InvokeOptions): Output<GetRateLimitsResult>
Copy
def get_rate_limits(max_items: Optional[int] = None,
                    zone_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetRateLimitsResult
def get_rate_limits_output(max_items: Optional[pulumi.Input[int]] = None,
                    zone_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetRateLimitsResult]
Copy
func LookupRateLimits(ctx *Context, args *LookupRateLimitsArgs, opts ...InvokeOption) (*LookupRateLimitsResult, error)
func LookupRateLimitsOutput(ctx *Context, args *LookupRateLimitsOutputArgs, opts ...InvokeOption) LookupRateLimitsResultOutput
Copy

> Note: This function is named LookupRateLimits in the Go SDK.

public static class GetRateLimits 
{
    public static Task<GetRateLimitsResult> InvokeAsync(GetRateLimitsArgs args, InvokeOptions? opts = null)
    public static Output<GetRateLimitsResult> Invoke(GetRateLimitsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetRateLimitsResult> getRateLimits(GetRateLimitsArgs args, InvokeOptions options)
public static Output<GetRateLimitsResult> getRateLimits(GetRateLimitsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: cloudflare:index/getRateLimits:getRateLimits
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ZoneId This property is required. string
Identifier
MaxItems int
Max items to fetch, default: 1000
ZoneId This property is required. string
Identifier
MaxItems int
Max items to fetch, default: 1000
zoneId This property is required. String
Identifier
maxItems Integer
Max items to fetch, default: 1000
zoneId This property is required. string
Identifier
maxItems number
Max items to fetch, default: 1000
zone_id This property is required. str
Identifier
max_items int
Max items to fetch, default: 1000
zoneId This property is required. String
Identifier
maxItems Number
Max items to fetch, default: 1000

getRateLimits Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Results List<GetRateLimitsResult>
The items returned by the data source
ZoneId string
Identifier
MaxItems int
Max items to fetch, default: 1000
Id string
The provider-assigned unique ID for this managed resource.
Results []GetRateLimitsResult
The items returned by the data source
ZoneId string
Identifier
MaxItems int
Max items to fetch, default: 1000
id String
The provider-assigned unique ID for this managed resource.
results List<GetRateLimitsResult>
The items returned by the data source
zoneId String
Identifier
maxItems Integer
Max items to fetch, default: 1000
id string
The provider-assigned unique ID for this managed resource.
results GetRateLimitsResult[]
The items returned by the data source
zoneId string
Identifier
maxItems number
Max items to fetch, default: 1000
id str
The provider-assigned unique ID for this managed resource.
results Sequence[GetRateLimitsResult]
The items returned by the data source
zone_id str
Identifier
max_items int
Max items to fetch, default: 1000
id String
The provider-assigned unique ID for this managed resource.
results List<Property Map>
The items returned by the data source
zoneId String
Identifier
maxItems Number
Max items to fetch, default: 1000

Supporting Types

GetRateLimitsResult

Action This property is required. GetRateLimitsResultAction
The action to perform when the threshold of matched traffic within the configured period is exceeded.
Bypasses This property is required. List<GetRateLimitsResultBypass>
Criteria specifying when the current rate limit should be bypassed. You can specify that the rate limit should not apply to one or more URLs.
Description This property is required. string
An informative summary of the rate limit. This value is sanitized and any tags will be removed.
Disabled This property is required. bool
When true, indicates that the rate limit is currently disabled.
Id This property is required. string
The unique identifier of the rate limit.
Match This property is required. GetRateLimitsResultMatch
Determines which traffic the rate limit counts towards the threshold.
Period This property is required. double
The time in seconds (an integer value) to count matching traffic. If the count exceeds the configured threshold within this period, Cloudflare will perform the configured action.
Threshold This property is required. double
The threshold that will trigger the configured mitigation action. Configure this value along with the period property to establish a threshold per period.
Action This property is required. GetRateLimitsResultAction
The action to perform when the threshold of matched traffic within the configured period is exceeded.
Bypasses This property is required. []GetRateLimitsResultBypass
Criteria specifying when the current rate limit should be bypassed. You can specify that the rate limit should not apply to one or more URLs.
Description This property is required. string
An informative summary of the rate limit. This value is sanitized and any tags will be removed.
Disabled This property is required. bool
When true, indicates that the rate limit is currently disabled.
Id This property is required. string
The unique identifier of the rate limit.
Match This property is required. GetRateLimitsResultMatch
Determines which traffic the rate limit counts towards the threshold.
Period This property is required. float64
The time in seconds (an integer value) to count matching traffic. If the count exceeds the configured threshold within this period, Cloudflare will perform the configured action.
Threshold This property is required. float64
The threshold that will trigger the configured mitigation action. Configure this value along with the period property to establish a threshold per period.
action This property is required. GetRateLimitsResultAction
The action to perform when the threshold of matched traffic within the configured period is exceeded.
bypasses This property is required. List<GetRateLimitsResultBypass>
Criteria specifying when the current rate limit should be bypassed. You can specify that the rate limit should not apply to one or more URLs.
description This property is required. String
An informative summary of the rate limit. This value is sanitized and any tags will be removed.
disabled This property is required. Boolean
When true, indicates that the rate limit is currently disabled.
id This property is required. String
The unique identifier of the rate limit.
match This property is required. GetRateLimitsResultMatch
Determines which traffic the rate limit counts towards the threshold.
period This property is required. Double
The time in seconds (an integer value) to count matching traffic. If the count exceeds the configured threshold within this period, Cloudflare will perform the configured action.
threshold This property is required. Double
The threshold that will trigger the configured mitigation action. Configure this value along with the period property to establish a threshold per period.
action This property is required. GetRateLimitsResultAction
The action to perform when the threshold of matched traffic within the configured period is exceeded.
bypasses This property is required. GetRateLimitsResultBypass[]
Criteria specifying when the current rate limit should be bypassed. You can specify that the rate limit should not apply to one or more URLs.
description This property is required. string
An informative summary of the rate limit. This value is sanitized and any tags will be removed.
disabled This property is required. boolean
When true, indicates that the rate limit is currently disabled.
id This property is required. string
The unique identifier of the rate limit.
match This property is required. GetRateLimitsResultMatch
Determines which traffic the rate limit counts towards the threshold.
period This property is required. number
The time in seconds (an integer value) to count matching traffic. If the count exceeds the configured threshold within this period, Cloudflare will perform the configured action.
threshold This property is required. number
The threshold that will trigger the configured mitigation action. Configure this value along with the period property to establish a threshold per period.
action This property is required. GetRateLimitsResultAction
The action to perform when the threshold of matched traffic within the configured period is exceeded.
bypasses This property is required. Sequence[GetRateLimitsResultBypass]
Criteria specifying when the current rate limit should be bypassed. You can specify that the rate limit should not apply to one or more URLs.
description This property is required. str
An informative summary of the rate limit. This value is sanitized and any tags will be removed.
disabled This property is required. bool
When true, indicates that the rate limit is currently disabled.
id This property is required. str
The unique identifier of the rate limit.
match This property is required. GetRateLimitsResultMatch
Determines which traffic the rate limit counts towards the threshold.
period This property is required. float
The time in seconds (an integer value) to count matching traffic. If the count exceeds the configured threshold within this period, Cloudflare will perform the configured action.
threshold This property is required. float
The threshold that will trigger the configured mitigation action. Configure this value along with the period property to establish a threshold per period.
action This property is required. Property Map
The action to perform when the threshold of matched traffic within the configured period is exceeded.
bypasses This property is required. List<Property Map>
Criteria specifying when the current rate limit should be bypassed. You can specify that the rate limit should not apply to one or more URLs.
description This property is required. String
An informative summary of the rate limit. This value is sanitized and any tags will be removed.
disabled This property is required. Boolean
When true, indicates that the rate limit is currently disabled.
id This property is required. String
The unique identifier of the rate limit.
match This property is required. Property Map
Determines which traffic the rate limit counts towards the threshold.
period This property is required. Number
The time in seconds (an integer value) to count matching traffic. If the count exceeds the configured threshold within this period, Cloudflare will perform the configured action.
threshold This property is required. Number
The threshold that will trigger the configured mitigation action. Configure this value along with the period property to establish a threshold per period.

GetRateLimitsResultAction

Mode This property is required. string
The action to perform. Available values: "simulate", "ban", "challenge", "jschallenge", "managedchallenge".
Response This property is required. GetRateLimitsResultActionResponse
A custom content type and reponse to return when the threshold is exceeded. The custom response configured in this object will override the custom error for the zone. This object is optional. Notes: If you omit this object, Cloudflare will use the default HTML error page. If "mode" is "challenge", "managedchallenge", or "jschallenge", Cloudflare will use the zone challenge pages and you should not provide the "response" object.
Timeout This property is required. double
The time in seconds during which Cloudflare will perform the mitigation action. Must be an integer value greater than or equal to the period. Notes: If "mode" is "challenge", "managedchallenge", or "jschallenge", Cloudflare will use the zone's Challenge Passage time and you should not provide this value.
Mode This property is required. string
The action to perform. Available values: "simulate", "ban", "challenge", "jschallenge", "managedchallenge".
Response This property is required. GetRateLimitsResultActionResponse
A custom content type and reponse to return when the threshold is exceeded. The custom response configured in this object will override the custom error for the zone. This object is optional. Notes: If you omit this object, Cloudflare will use the default HTML error page. If "mode" is "challenge", "managedchallenge", or "jschallenge", Cloudflare will use the zone challenge pages and you should not provide the "response" object.
Timeout This property is required. float64
The time in seconds during which Cloudflare will perform the mitigation action. Must be an integer value greater than or equal to the period. Notes: If "mode" is "challenge", "managedchallenge", or "jschallenge", Cloudflare will use the zone's Challenge Passage time and you should not provide this value.
mode This property is required. String
The action to perform. Available values: "simulate", "ban", "challenge", "jschallenge", "managedchallenge".
response This property is required. GetRateLimitsResultActionResponse
A custom content type and reponse to return when the threshold is exceeded. The custom response configured in this object will override the custom error for the zone. This object is optional. Notes: If you omit this object, Cloudflare will use the default HTML error page. If "mode" is "challenge", "managedchallenge", or "jschallenge", Cloudflare will use the zone challenge pages and you should not provide the "response" object.
timeout This property is required. Double
The time in seconds during which Cloudflare will perform the mitigation action. Must be an integer value greater than or equal to the period. Notes: If "mode" is "challenge", "managedchallenge", or "jschallenge", Cloudflare will use the zone's Challenge Passage time and you should not provide this value.
mode This property is required. string
The action to perform. Available values: "simulate", "ban", "challenge", "jschallenge", "managedchallenge".
response This property is required. GetRateLimitsResultActionResponse
A custom content type and reponse to return when the threshold is exceeded. The custom response configured in this object will override the custom error for the zone. This object is optional. Notes: If you omit this object, Cloudflare will use the default HTML error page. If "mode" is "challenge", "managedchallenge", or "jschallenge", Cloudflare will use the zone challenge pages and you should not provide the "response" object.
timeout This property is required. number
The time in seconds during which Cloudflare will perform the mitigation action. Must be an integer value greater than or equal to the period. Notes: If "mode" is "challenge", "managedchallenge", or "jschallenge", Cloudflare will use the zone's Challenge Passage time and you should not provide this value.
mode This property is required. str
The action to perform. Available values: "simulate", "ban", "challenge", "jschallenge", "managedchallenge".
response This property is required. GetRateLimitsResultActionResponse
A custom content type and reponse to return when the threshold is exceeded. The custom response configured in this object will override the custom error for the zone. This object is optional. Notes: If you omit this object, Cloudflare will use the default HTML error page. If "mode" is "challenge", "managedchallenge", or "jschallenge", Cloudflare will use the zone challenge pages and you should not provide the "response" object.
timeout This property is required. float
The time in seconds during which Cloudflare will perform the mitigation action. Must be an integer value greater than or equal to the period. Notes: If "mode" is "challenge", "managedchallenge", or "jschallenge", Cloudflare will use the zone's Challenge Passage time and you should not provide this value.
mode This property is required. String
The action to perform. Available values: "simulate", "ban", "challenge", "jschallenge", "managedchallenge".
response This property is required. Property Map
A custom content type and reponse to return when the threshold is exceeded. The custom response configured in this object will override the custom error for the zone. This object is optional. Notes: If you omit this object, Cloudflare will use the default HTML error page. If "mode" is "challenge", "managedchallenge", or "jschallenge", Cloudflare will use the zone challenge pages and you should not provide the "response" object.
timeout This property is required. Number
The time in seconds during which Cloudflare will perform the mitigation action. Must be an integer value greater than or equal to the period. Notes: If "mode" is "challenge", "managedchallenge", or "jschallenge", Cloudflare will use the zone's Challenge Passage time and you should not provide this value.

GetRateLimitsResultActionResponse

Body This property is required. string
The response body to return. The value must conform to the configured content type.
ContentType This property is required. string
The content type of the body. Must be one of the following: text/plain, text/xml, or application/json.
Body This property is required. string
The response body to return. The value must conform to the configured content type.
ContentType This property is required. string
The content type of the body. Must be one of the following: text/plain, text/xml, or application/json.
body This property is required. String
The response body to return. The value must conform to the configured content type.
contentType This property is required. String
The content type of the body. Must be one of the following: text/plain, text/xml, or application/json.
body This property is required. string
The response body to return. The value must conform to the configured content type.
contentType This property is required. string
The content type of the body. Must be one of the following: text/plain, text/xml, or application/json.
body This property is required. str
The response body to return. The value must conform to the configured content type.
content_type This property is required. str
The content type of the body. Must be one of the following: text/plain, text/xml, or application/json.
body This property is required. String
The response body to return. The value must conform to the configured content type.
contentType This property is required. String
The content type of the body. Must be one of the following: text/plain, text/xml, or application/json.

GetRateLimitsResultBypass

Name This property is required. string
Available values: "url".
Value This property is required. string
The URL to bypass.
Name This property is required. string
Available values: "url".
Value This property is required. string
The URL to bypass.
name This property is required. String
Available values: "url".
value This property is required. String
The URL to bypass.
name This property is required. string
Available values: "url".
value This property is required. string
The URL to bypass.
name This property is required. str
Available values: "url".
value This property is required. str
The URL to bypass.
name This property is required. String
Available values: "url".
value This property is required. String
The URL to bypass.

GetRateLimitsResultMatch

Headers This property is required. List<GetRateLimitsResultMatchHeader>
Request This property is required. GetRateLimitsResultMatchRequest
Response This property is required. GetRateLimitsResultMatchResponse
Headers This property is required. []GetRateLimitsResultMatchHeader
Request This property is required. GetRateLimitsResultMatchRequest
Response This property is required. GetRateLimitsResultMatchResponse
headers This property is required. List<GetRateLimitsResultMatchHeader>
request This property is required. GetRateLimitsResultMatchRequest
response This property is required. GetRateLimitsResultMatchResponse
headers This property is required. GetRateLimitsResultMatchHeader[]
request This property is required. GetRateLimitsResultMatchRequest
response This property is required. GetRateLimitsResultMatchResponse
headers This property is required. Sequence[GetRateLimitsResultMatchHeader]
request This property is required. GetRateLimitsResultMatchRequest
response This property is required. GetRateLimitsResultMatchResponse
headers This property is required. List<Property Map>
request This property is required. Property Map
response This property is required. Property Map

GetRateLimitsResultMatchHeader

Name This property is required. string
The name of the response header to match.
Op This property is required. string
The operator used when matching: eq means "equal" and ne means "not equal". Available values: "eq", "ne".
Value This property is required. string
The value of the response header, which must match exactly.
Name This property is required. string
The name of the response header to match.
Op This property is required. string
The operator used when matching: eq means "equal" and ne means "not equal". Available values: "eq", "ne".
Value This property is required. string
The value of the response header, which must match exactly.
name This property is required. String
The name of the response header to match.
op This property is required. String
The operator used when matching: eq means "equal" and ne means "not equal". Available values: "eq", "ne".
value This property is required. String
The value of the response header, which must match exactly.
name This property is required. string
The name of the response header to match.
op This property is required. string
The operator used when matching: eq means "equal" and ne means "not equal". Available values: "eq", "ne".
value This property is required. string
The value of the response header, which must match exactly.
name This property is required. str
The name of the response header to match.
op This property is required. str
The operator used when matching: eq means "equal" and ne means "not equal". Available values: "eq", "ne".
value This property is required. str
The value of the response header, which must match exactly.
name This property is required. String
The name of the response header to match.
op This property is required. String
The operator used when matching: eq means "equal" and ne means "not equal". Available values: "eq", "ne".
value This property is required. String
The value of the response header, which must match exactly.

GetRateLimitsResultMatchRequest

Methods This property is required. List<string>
The HTTP methods to match. You can specify a subset (for example, ['POST','PUT']) or all methods (['_ALL_']). This field is optional when creating a rate limit.
Schemes This property is required. List<string>
The HTTP schemes to match. You can specify one scheme (['HTTPS']), both schemes (['HTTP','HTTPS']), or all schemes (['_ALL_']). This field is optional.
Url This property is required. string
The URL pattern to match, composed of a host and a path such as example.org/path*. Normalization is applied before the pattern is matched. * wildcards are expanded to match applicable traffic. Query strings are not matched. Set the value to * to match all traffic to your zone.
Methods This property is required. []string
The HTTP methods to match. You can specify a subset (for example, ['POST','PUT']) or all methods (['_ALL_']). This field is optional when creating a rate limit.
Schemes This property is required. []string
The HTTP schemes to match. You can specify one scheme (['HTTPS']), both schemes (['HTTP','HTTPS']), or all schemes (['_ALL_']). This field is optional.
Url This property is required. string
The URL pattern to match, composed of a host and a path such as example.org/path*. Normalization is applied before the pattern is matched. * wildcards are expanded to match applicable traffic. Query strings are not matched. Set the value to * to match all traffic to your zone.
methods This property is required. List<String>
The HTTP methods to match. You can specify a subset (for example, ['POST','PUT']) or all methods (['_ALL_']). This field is optional when creating a rate limit.
schemes This property is required. List<String>
The HTTP schemes to match. You can specify one scheme (['HTTPS']), both schemes (['HTTP','HTTPS']), or all schemes (['_ALL_']). This field is optional.
url This property is required. String
The URL pattern to match, composed of a host and a path such as example.org/path*. Normalization is applied before the pattern is matched. * wildcards are expanded to match applicable traffic. Query strings are not matched. Set the value to * to match all traffic to your zone.
methods This property is required. string[]
The HTTP methods to match. You can specify a subset (for example, ['POST','PUT']) or all methods (['_ALL_']). This field is optional when creating a rate limit.
schemes This property is required. string[]
The HTTP schemes to match. You can specify one scheme (['HTTPS']), both schemes (['HTTP','HTTPS']), or all schemes (['_ALL_']). This field is optional.
url This property is required. string
The URL pattern to match, composed of a host and a path such as example.org/path*. Normalization is applied before the pattern is matched. * wildcards are expanded to match applicable traffic. Query strings are not matched. Set the value to * to match all traffic to your zone.
methods This property is required. Sequence[str]
The HTTP methods to match. You can specify a subset (for example, ['POST','PUT']) or all methods (['_ALL_']). This field is optional when creating a rate limit.
schemes This property is required. Sequence[str]
The HTTP schemes to match. You can specify one scheme (['HTTPS']), both schemes (['HTTP','HTTPS']), or all schemes (['_ALL_']). This field is optional.
url This property is required. str
The URL pattern to match, composed of a host and a path such as example.org/path*. Normalization is applied before the pattern is matched. * wildcards are expanded to match applicable traffic. Query strings are not matched. Set the value to * to match all traffic to your zone.
methods This property is required. List<String>
The HTTP methods to match. You can specify a subset (for example, ['POST','PUT']) or all methods (['_ALL_']). This field is optional when creating a rate limit.
schemes This property is required. List<String>
The HTTP schemes to match. You can specify one scheme (['HTTPS']), both schemes (['HTTP','HTTPS']), or all schemes (['_ALL_']). This field is optional.
url This property is required. String
The URL pattern to match, composed of a host and a path such as example.org/path*. Normalization is applied before the pattern is matched. * wildcards are expanded to match applicable traffic. Query strings are not matched. Set the value to * to match all traffic to your zone.

GetRateLimitsResultMatchResponse

OriginTraffic This property is required. bool
When true, only the uncached traffic served from your origin servers will count towards rate limiting. In this case, any cached traffic served by Cloudflare will not count towards rate limiting. This field is optional. Notes: This field is deprecated. Instead, use response headers and set "origintraffic" to "false" to avoid legacy behaviour interacting with the "responseheaders" property.
OriginTraffic This property is required. bool
When true, only the uncached traffic served from your origin servers will count towards rate limiting. In this case, any cached traffic served by Cloudflare will not count towards rate limiting. This field is optional. Notes: This field is deprecated. Instead, use response headers and set "origintraffic" to "false" to avoid legacy behaviour interacting with the "responseheaders" property.
originTraffic This property is required. Boolean
When true, only the uncached traffic served from your origin servers will count towards rate limiting. In this case, any cached traffic served by Cloudflare will not count towards rate limiting. This field is optional. Notes: This field is deprecated. Instead, use response headers and set "origintraffic" to "false" to avoid legacy behaviour interacting with the "responseheaders" property.
originTraffic This property is required. boolean
When true, only the uncached traffic served from your origin servers will count towards rate limiting. In this case, any cached traffic served by Cloudflare will not count towards rate limiting. This field is optional. Notes: This field is deprecated. Instead, use response headers and set "origintraffic" to "false" to avoid legacy behaviour interacting with the "responseheaders" property.
origin_traffic This property is required. bool
When true, only the uncached traffic served from your origin servers will count towards rate limiting. In this case, any cached traffic served by Cloudflare will not count towards rate limiting. This field is optional. Notes: This field is deprecated. Instead, use response headers and set "origintraffic" to "false" to avoid legacy behaviour interacting with the "responseheaders" property.
originTraffic This property is required. Boolean
When true, only the uncached traffic served from your origin servers will count towards rate limiting. In this case, any cached traffic served by Cloudflare will not count towards rate limiting. This field is optional. Notes: This field is deprecated. Instead, use response headers and set "origintraffic" to "false" to avoid legacy behaviour interacting with the "responseheaders" property.

Package Details

Repository
Cloudflare pulumi/pulumi-cloudflare
License
Apache-2.0
Notes
This Pulumi package is based on the cloudflare Terraform Provider.
Cloudflare v6.0.0 published on Monday, Apr 14, 2025 by Pulumi