Viewing docs for Cloudflare v4.16.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for Cloudflare v4.16.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Use this datasource to lookup Rulesets in an account or zone.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var example = Cloudflare.GetRulesets.Invoke(new()
{
Filter = new Cloudflare.Inputs.GetRulesetsFilterInputArgs
{
Name = ".*OWASP.*",
},
ZoneId = "0da42c8d2132a9ddaf714f9e7c920711",
});
});
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v4/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.GetRulesets(ctx, &cloudflare.GetRulesetsArgs{
Filter: cloudflare.GetRulesetsFilter{
Name: pulumi.StringRef(".*OWASP.*"),
},
ZoneId: pulumi.StringRef("0da42c8d2132a9ddaf714f9e7c920711"),
}, nil)
if err != nil {
return err
}
return nil
})
}
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.GetRulesetsArgs;
import com.pulumi.cloudflare.inputs.GetRulesetsFilterArgs;
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 example = CloudflareFunctions.getRulesets(GetRulesetsArgs.builder()
.filter(GetRulesetsFilterArgs.builder()
.name(".*OWASP.*")
.build())
.zoneId("0da42c8d2132a9ddaf714f9e7c920711")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const example = cloudflare.getRulesets({
filter: {
name: ".*OWASP.*",
},
zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
});
import pulumi
import pulumi_cloudflare as cloudflare
example = cloudflare.get_rulesets(filter=cloudflare.GetRulesetsFilterArgs(
name=".*OWASP.*",
),
zone_id="0da42c8d2132a9ddaf714f9e7c920711")
variables:
example:
fn::invoke:
Function: cloudflare:getRulesets
Arguments:
filter:
name: .*OWASP.*
zoneId: 0da42c8d2132a9ddaf714f9e7c920711
Using getRulesets
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 getRulesets(args: GetRulesetsArgs, opts?: InvokeOptions): Promise<GetRulesetsResult>
function getRulesetsOutput(args: GetRulesetsOutputArgs, opts?: InvokeOptions): Output<GetRulesetsResult>def get_rulesets(account_id: Optional[str] = None,
filter: Optional[GetRulesetsFilter] = None,
include_rules: Optional[bool] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRulesetsResult
def get_rulesets_output(account_id: Optional[pulumi.Input[str]] = None,
filter: Optional[pulumi.Input[GetRulesetsFilterArgs]] = None,
include_rules: Optional[pulumi.Input[bool]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRulesetsResult]func GetRulesets(ctx *Context, args *GetRulesetsArgs, opts ...InvokeOption) (*GetRulesetsResult, error)
func GetRulesetsOutput(ctx *Context, args *GetRulesetsOutputArgs, opts ...InvokeOption) GetRulesetsResultOutput> Note: This function is named GetRulesets in the Go SDK.
public static class GetRulesets
{
public static Task<GetRulesetsResult> InvokeAsync(GetRulesetsArgs args, InvokeOptions? opts = null)
public static Output<GetRulesetsResult> Invoke(GetRulesetsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRulesetsResult> getRulesets(GetRulesetsArgs args, InvokeOptions options)
public static Output<GetRulesetsResult> getRulesets(GetRulesetsArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getRulesets:getRulesets
arguments:
# arguments dictionaryThe following arguments are supported:
- Account
Id string - The account identifier to target for the resource. Must provide only one of
zone_id,account_id. - Filter
Get
Rulesets Filter - Include
Rules bool - Include rule data in response.
- Zone
Id string - The zone identifier to target for the resource. Must provide only one of
zone_id,account_id.
- Account
Id string - The account identifier to target for the resource. Must provide only one of
zone_id,account_id. - Filter
Get
Rulesets Filter - Include
Rules bool - Include rule data in response.
- Zone
Id string - The zone identifier to target for the resource. Must provide only one of
zone_id,account_id.
- account
Id String - The account identifier to target for the resource. Must provide only one of
zone_id,account_id. - filter
Get
Rulesets Filter - include
Rules Boolean - Include rule data in response.
- zone
Id String - The zone identifier to target for the resource. Must provide only one of
zone_id,account_id.
- account
Id string - The account identifier to target for the resource. Must provide only one of
zone_id,account_id. - filter
Get
Rulesets Filter - include
Rules boolean - Include rule data in response.
- zone
Id string - The zone identifier to target for the resource. Must provide only one of
zone_id,account_id.
- account_
id str - The account identifier to target for the resource. Must provide only one of
zone_id,account_id. - filter
Get
Rulesets Filter - include_
rules bool - Include rule data in response.
- zone_
id str - The zone identifier to target for the resource. Must provide only one of
zone_id,account_id.
- account
Id String - The account identifier to target for the resource. Must provide only one of
zone_id,account_id. - filter Property Map
- include
Rules Boolean - Include rule data in response.
- zone
Id String - The zone identifier to target for the resource. Must provide only one of
zone_id,account_id.
getRulesets Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Rulesets
List<Get
Rulesets Ruleset> - Account
Id string - The account identifier to target for the resource. Must provide only one of
zone_id,account_id. - Filter
Get
Rulesets Filter - Include
Rules bool - Include rule data in response.
- Zone
Id string - The zone identifier to target for the resource. Must provide only one of
zone_id,account_id.
- Id string
- The provider-assigned unique ID for this managed resource.
- Rulesets
[]Get
Rulesets Ruleset - Account
Id string - The account identifier to target for the resource. Must provide only one of
zone_id,account_id. - Filter
Get
Rulesets Filter - Include
Rules bool - Include rule data in response.
- Zone
Id string - The zone identifier to target for the resource. Must provide only one of
zone_id,account_id.
- id String
- The provider-assigned unique ID for this managed resource.
- rulesets
List<Get
Rulesets Ruleset> - account
Id String - The account identifier to target for the resource. Must provide only one of
zone_id,account_id. - filter
Get
Rulesets Filter - include
Rules Boolean - Include rule data in response.
- zone
Id String - The zone identifier to target for the resource. Must provide only one of
zone_id,account_id.
- id string
- The provider-assigned unique ID for this managed resource.
- rulesets
Get
Rulesets Ruleset[] - account
Id string - The account identifier to target for the resource. Must provide only one of
zone_id,account_id. - filter
Get
Rulesets Filter - include
Rules boolean - Include rule data in response.
- zone
Id string - The zone identifier to target for the resource. Must provide only one of
zone_id,account_id.
- id str
- The provider-assigned unique ID for this managed resource.
- rulesets
Sequence[Get
Rulesets Ruleset] - account_
id str - The account identifier to target for the resource. Must provide only one of
zone_id,account_id. - filter
Get
Rulesets Filter - include_
rules bool - Include rule data in response.
- zone_
id str - The zone identifier to target for the resource. Must provide only one of
zone_id,account_id.
- id String
- The provider-assigned unique ID for this managed resource.
- rulesets List<Property Map>
- account
Id String - The account identifier to target for the resource. Must provide only one of
zone_id,account_id. - filter Property Map
- include
Rules Boolean - Include rule data in response.
- zone
Id String - The zone identifier to target for the resource. Must provide only one of
zone_id,account_id.
Supporting Types
GetRulesetsFilter
- Id string
- The ID of the Ruleset to target.
- Kind string
- Type of Ruleset to create. Available values:
custom,managed,root,schema,zone. - Name string
- Name of the ruleset.
- Phase string
- Point in the request/response lifecycle where the ruleset will be created. Available values:
ddos_l4,ddos_l7,http_custom_errors,http_log_custom_fields,http_request_cache_settings,http_request_firewall_custom,http_request_firewall_managed,http_request_late_transform,http_request_late_transform_managed,http_request_main,http_request_origin,http_request_dynamic_redirect,http_request_redirect,http_request_sanitize,http_request_transform,http_response_firewall_managed,http_response_headers_transform,http_response_headers_transform_managed,magic_transit,http_ratelimit,http_request_sbfm,http_config_settings. - Version string
- Version of the ruleset to filter on.
- Id string
- The ID of the Ruleset to target.
- Kind string
- Type of Ruleset to create. Available values:
custom,managed,root,schema,zone. - Name string
- Name of the ruleset.
- Phase string
- Point in the request/response lifecycle where the ruleset will be created. Available values:
ddos_l4,ddos_l7,http_custom_errors,http_log_custom_fields,http_request_cache_settings,http_request_firewall_custom,http_request_firewall_managed,http_request_late_transform,http_request_late_transform_managed,http_request_main,http_request_origin,http_request_dynamic_redirect,http_request_redirect,http_request_sanitize,http_request_transform,http_response_firewall_managed,http_response_headers_transform,http_response_headers_transform_managed,magic_transit,http_ratelimit,http_request_sbfm,http_config_settings. - Version string
- Version of the ruleset to filter on.
- id String
- The ID of the Ruleset to target.
- kind String
- Type of Ruleset to create. Available values:
custom,managed,root,schema,zone. - name String
- Name of the ruleset.
- phase String
- Point in the request/response lifecycle where the ruleset will be created. Available values:
ddos_l4,ddos_l7,http_custom_errors,http_log_custom_fields,http_request_cache_settings,http_request_firewall_custom,http_request_firewall_managed,http_request_late_transform,http_request_late_transform_managed,http_request_main,http_request_origin,http_request_dynamic_redirect,http_request_redirect,http_request_sanitize,http_request_transform,http_response_firewall_managed,http_response_headers_transform,http_response_headers_transform_managed,magic_transit,http_ratelimit,http_request_sbfm,http_config_settings. - version String
- Version of the ruleset to filter on.
- id string
- The ID of the Ruleset to target.
- kind string
- Type of Ruleset to create. Available values:
custom,managed,root,schema,zone. - name string
- Name of the ruleset.
- phase string
- Point in the request/response lifecycle where the ruleset will be created. Available values:
ddos_l4,ddos_l7,http_custom_errors,http_log_custom_fields,http_request_cache_settings,http_request_firewall_custom,http_request_firewall_managed,http_request_late_transform,http_request_late_transform_managed,http_request_main,http_request_origin,http_request_dynamic_redirect,http_request_redirect,http_request_sanitize,http_request_transform,http_response_firewall_managed,http_response_headers_transform,http_response_headers_transform_managed,magic_transit,http_ratelimit,http_request_sbfm,http_config_settings. - version string
- Version of the ruleset to filter on.
- id str
- The ID of the Ruleset to target.
- kind str
- Type of Ruleset to create. Available values:
custom,managed,root,schema,zone. - name str
- Name of the ruleset.
- phase str
- Point in the request/response lifecycle where the ruleset will be created. Available values:
ddos_l4,ddos_l7,http_custom_errors,http_log_custom_fields,http_request_cache_settings,http_request_firewall_custom,http_request_firewall_managed,http_request_late_transform,http_request_late_transform_managed,http_request_main,http_request_origin,http_request_dynamic_redirect,http_request_redirect,http_request_sanitize,http_request_transform,http_response_firewall_managed,http_response_headers_transform,http_response_headers_transform_managed,magic_transit,http_ratelimit,http_request_sbfm,http_config_settings. - version str
- Version of the ruleset to filter on.
- id String
- The ID of the Ruleset to target.
- kind String
- Type of Ruleset to create. Available values:
custom,managed,root,schema,zone. - name String
- Name of the ruleset.
- phase String
- Point in the request/response lifecycle where the ruleset will be created. Available values:
ddos_l4,ddos_l7,http_custom_errors,http_log_custom_fields,http_request_cache_settings,http_request_firewall_custom,http_request_firewall_managed,http_request_late_transform,http_request_late_transform_managed,http_request_main,http_request_origin,http_request_dynamic_redirect,http_request_redirect,http_request_sanitize,http_request_transform,http_response_firewall_managed,http_response_headers_transform,http_response_headers_transform_managed,magic_transit,http_ratelimit,http_request_sbfm,http_config_settings. - version String
- Version of the ruleset to filter on.
GetRulesetsRuleset
- Id string
- The ID of this resource.
- Kind string
- Name string
- Phase string
- Version string
- Description string
- Rules
List<Get
Rulesets Ruleset Rule>
- Id string
- The ID of this resource.
- Kind string
- Name string
- Phase string
- Version string
- Description string
- Rules
[]Get
Rulesets Ruleset Rule
- id String
- The ID of this resource.
- kind String
- name String
- phase String
- version String
- description String
- rules
List<Get
Rulesets Ruleset Rule>
- id string
- The ID of this resource.
- kind string
- name string
- phase string
- version string
- description string
- rules
Get
Rulesets Ruleset Rule[]
- id str
- The ID of this resource.
- kind str
- name str
- phase str
- version str
- description str
- rules
Sequence[Get
Rulesets Ruleset Rule]
- id String
- The ID of this resource.
- kind String
- name String
- phase String
- version String
- description String
- rules List<Property Map>
GetRulesetsRulesetRule
- Expression string
- Id string
- The ID of this resource.
- Ref string
- Version string
- Action string
- Action
Parameters GetRulesets Ruleset Rule Action Parameters - Description string
- Enabled bool
- Exposed
Credential GetCheck Rulesets Ruleset Rule Exposed Credential Check - Last
Updated string - Logging
Get
Rulesets Ruleset Rule Logging - Ratelimit
Get
Rulesets Ruleset Rule Ratelimit
- Expression string
- Id string
- The ID of this resource.
- Ref string
- Version string
- Action string
- Action
Parameters GetRulesets Ruleset Rule Action Parameters - Description string
- Enabled bool
- Exposed
Credential GetCheck Rulesets Ruleset Rule Exposed Credential Check - Last
Updated string - Logging
Get
Rulesets Ruleset Rule Logging - Ratelimit
Get
Rulesets Ruleset Rule Ratelimit
- expression String
- id String
- The ID of this resource.
- ref String
- version String
- action String
- action
Parameters GetRulesets Ruleset Rule Action Parameters - description String
- enabled Boolean
- exposed
Credential GetCheck Rulesets Ruleset Rule Exposed Credential Check - last
Updated String - logging
Get
Rulesets Ruleset Rule Logging - ratelimit
Get
Rulesets Ruleset Rule Ratelimit
- expression string
- id string
- The ID of this resource.
- ref string
- version string
- action string
- action
Parameters GetRulesets Ruleset Rule Action Parameters - description string
- enabled boolean
- exposed
Credential GetCheck Rulesets Ruleset Rule Exposed Credential Check - last
Updated string - logging
Get
Rulesets Ruleset Rule Logging - ratelimit
Get
Rulesets Ruleset Rule Ratelimit
- expression str
- id str
- The ID of this resource.
- ref str
- version str
- action str
- action_
parameters GetRulesets Ruleset Rule Action Parameters - description str
- enabled bool
- exposed_
credential_ Getcheck Rulesets Ruleset Rule Exposed Credential Check - last_
updated str - logging
Get
Rulesets Ruleset Rule Logging - ratelimit
Get
Rulesets Ruleset Rule Ratelimit
- expression String
- id String
- The ID of this resource.
- ref String
- version String
- action String
- action
Parameters Property Map - description String
- enabled Boolean
- exposed
Credential Property MapCheck - last
Updated String - logging Property Map
- ratelimit Property Map
GetRulesetsRulesetRuleActionParameters
- Version string
- Automatic
Https boolRewrites - Autominifies
List<Get
Rulesets Ruleset Rule Action Parameters Autominify> - Bic bool
- Browser
Ttl GetRulesets Ruleset Rule Action Parameters Browser Ttl - Cache bool
- Cache
Key GetRulesets Ruleset Rule Action Parameters Cache Key - Content string
- Content
Type string - List<string>
- Disable
Apps bool - Disable
Railgun bool - Disable
Zaraz bool - Edge
Ttl GetRulesets Ruleset Rule Action Parameters Edge Ttl - Email
Obfuscation bool - From
List GetRulesets Ruleset Rule Action Parameters From List - From
Value GetRulesets Ruleset Rule Action Parameters From Value - Headers
List<Get
Rulesets Ruleset Rule Action Parameters Header> - Host
Header string - Hotlink
Protection bool - Id string
- The ID of this resource.
- Increment int
- Matched
Data GetRulesets Ruleset Rule Action Parameters Matched Data - Mirage bool
- Opportunistic
Encryption bool - Origin
Get
Rulesets Ruleset Rule Action Parameters Origin - Origin
Error boolPage Passthru - Overrides
Get
Rulesets Ruleset Rule Action Parameters Overrides - Phases List<string>
- Polish string
- Products List<string>
- Request
Fields List<string> - bool
- Response
Fields List<string> - Responses
List<Get
Rulesets Ruleset Rule Action Parameters Response> - Rocket
Loader bool - Rules Dictionary<string, string>
- Ruleset string
- Rulesets List<string>
- Security
Level string - Serve
Stale GetRulesets Ruleset Rule Action Parameters Serve Stale - Server
Side boolExcludes - Sni
Get
Rulesets Ruleset Rule Action Parameters Sni - Ssl string
- Status
Code int - Sxg bool
- Uri
Get
Rulesets Ruleset Rule Action Parameters Uri
- Version string
- Automatic
Https boolRewrites - Autominifies
[]Get
Rulesets Ruleset Rule Action Parameters Autominify - Bic bool
- Browser
Ttl GetRulesets Ruleset Rule Action Parameters Browser Ttl - Cache bool
- Cache
Key GetRulesets Ruleset Rule Action Parameters Cache Key - Content string
- Content
Type string - []string
- Disable
Apps bool - Disable
Railgun bool - Disable
Zaraz bool - Edge
Ttl GetRulesets Ruleset Rule Action Parameters Edge Ttl - Email
Obfuscation bool - From
List GetRulesets Ruleset Rule Action Parameters From List - From
Value GetRulesets Ruleset Rule Action Parameters From Value - Headers
[]Get
Rulesets Ruleset Rule Action Parameters Header - Host
Header string - Hotlink
Protection bool - Id string
- The ID of this resource.
- Increment int
- Matched
Data GetRulesets Ruleset Rule Action Parameters Matched Data - Mirage bool
- Opportunistic
Encryption bool - Origin
Get
Rulesets Ruleset Rule Action Parameters Origin - Origin
Error boolPage Passthru - Overrides
Get
Rulesets Ruleset Rule Action Parameters Overrides - Phases []string
- Polish string
- Products []string
- Request
Fields []string - bool
- Response
Fields []string - Responses
[]Get
Rulesets Ruleset Rule Action Parameters Response - Rocket
Loader bool - Rules map[string]string
- Ruleset string
- Rulesets []string
- Security
Level string - Serve
Stale GetRulesets Ruleset Rule Action Parameters Serve Stale - Server
Side boolExcludes - Sni
Get
Rulesets Ruleset Rule Action Parameters Sni - Ssl string
- Status
Code int - Sxg bool
- Uri
Get
Rulesets Ruleset Rule Action Parameters Uri
- version String
- automatic
Https BooleanRewrites - autominifies
List<Get
Rulesets Ruleset Rule Action Parameters Autominify> - bic Boolean
- browser
Ttl GetRulesets Ruleset Rule Action Parameters Browser Ttl - cache Boolean
- cache
Key GetRulesets Ruleset Rule Action Parameters Cache Key - content String
- content
Type String - List<String>
- disable
Apps Boolean - disable
Railgun Boolean - disable
Zaraz Boolean - edge
Ttl GetRulesets Ruleset Rule Action Parameters Edge Ttl - email
Obfuscation Boolean - from
List GetRulesets Ruleset Rule Action Parameters From List - from
Value GetRulesets Ruleset Rule Action Parameters From Value - headers
List<Get
Rulesets Ruleset Rule Action Parameters Header> - host
Header String - hotlink
Protection Boolean - id String
- The ID of this resource.
- increment Integer
- matched
Data GetRulesets Ruleset Rule Action Parameters Matched Data - mirage Boolean
- opportunistic
Encryption Boolean - origin
Get
Rulesets Ruleset Rule Action Parameters Origin - origin
Error BooleanPage Passthru - overrides
Get
Rulesets Ruleset Rule Action Parameters Overrides - phases List<String>
- polish String
- products List<String>
- request
Fields List<String> - Boolean
- response
Fields List<String> - responses
List<Get
Rulesets Ruleset Rule Action Parameters Response> - rocket
Loader Boolean - rules Map<String,String>
- ruleset String
- rulesets List<String>
- security
Level String - serve
Stale GetRulesets Ruleset Rule Action Parameters Serve Stale - server
Side BooleanExcludes - sni
Get
Rulesets Ruleset Rule Action Parameters Sni - ssl String
- status
Code Integer - sxg Boolean
- uri
Get
Rulesets Ruleset Rule Action Parameters Uri
- version string
- automatic
Https booleanRewrites - autominifies
Get
Rulesets Ruleset Rule Action Parameters Autominify[] - bic boolean
- browser
Ttl GetRulesets Ruleset Rule Action Parameters Browser Ttl - cache boolean
- cache
Key GetRulesets Ruleset Rule Action Parameters Cache Key - content string
- content
Type string - string[]
- disable
Apps boolean - disable
Railgun boolean - disable
Zaraz boolean - edge
Ttl GetRulesets Ruleset Rule Action Parameters Edge Ttl - email
Obfuscation boolean - from
List GetRulesets Ruleset Rule Action Parameters From List - from
Value GetRulesets Ruleset Rule Action Parameters From Value - headers
Get
Rulesets Ruleset Rule Action Parameters Header[] - host
Header string - hotlink
Protection boolean - id string
- The ID of this resource.
- increment number
- matched
Data GetRulesets Ruleset Rule Action Parameters Matched Data - mirage boolean
- opportunistic
Encryption boolean - origin
Get
Rulesets Ruleset Rule Action Parameters Origin - origin
Error booleanPage Passthru - overrides
Get
Rulesets Ruleset Rule Action Parameters Overrides - phases string[]
- polish string
- products string[]
- request
Fields string[] - boolean
- response
Fields string[] - responses
Get
Rulesets Ruleset Rule Action Parameters Response[] - rocket
Loader boolean - rules {[key: string]: string}
- ruleset string
- rulesets string[]
- security
Level string - serve
Stale GetRulesets Ruleset Rule Action Parameters Serve Stale - server
Side booleanExcludes - sni
Get
Rulesets Ruleset Rule Action Parameters Sni - ssl string
- status
Code number - sxg boolean
- uri
Get
Rulesets Ruleset Rule Action Parameters Uri
- version str
- automatic_
https_ boolrewrites - autominifies
Sequence[Get
Rulesets Ruleset Rule Action Parameters Autominify] - bic bool
- browser_
ttl GetRulesets Ruleset Rule Action Parameters Browser Ttl - cache bool
- cache_
key GetRulesets Ruleset Rule Action Parameters Cache Key - content str
- content_
type str - Sequence[str]
- disable_
apps bool - disable_
railgun bool - disable_
zaraz bool - edge_
ttl GetRulesets Ruleset Rule Action Parameters Edge Ttl - email_
obfuscation bool - from_
list GetRulesets Ruleset Rule Action Parameters From List - from_
value GetRulesets Ruleset Rule Action Parameters From Value - headers
Sequence[Get
Rulesets Ruleset Rule Action Parameters Header] - host_
header str - hotlink_
protection bool - id str
- The ID of this resource.
- increment int
- matched_
data GetRulesets Ruleset Rule Action Parameters Matched Data - mirage bool
- opportunistic_
encryption bool - origin
Get
Rulesets Ruleset Rule Action Parameters Origin - origin_
error_ boolpage_ passthru - overrides
Get
Rulesets Ruleset Rule Action Parameters Overrides - phases Sequence[str]
- polish str
- products Sequence[str]
- request_
fields Sequence[str] - bool
- response_
fields Sequence[str] - responses
Sequence[Get
Rulesets Ruleset Rule Action Parameters Response] - rocket_
loader bool - rules Mapping[str, str]
- ruleset str
- rulesets Sequence[str]
- security_
level str - serve_
stale GetRulesets Ruleset Rule Action Parameters Serve Stale - server_
side_ boolexcludes - sni
Get
Rulesets Ruleset Rule Action Parameters Sni - ssl str
- status_
code int - sxg bool
- uri
Get
Rulesets Ruleset Rule Action Parameters Uri
- version String
- automatic
Https BooleanRewrites - autominifies List<Property Map>
- bic Boolean
- browser
Ttl Property Map - cache Boolean
- cache
Key Property Map - content String
- content
Type String - List<String>
- disable
Apps Boolean - disable
Railgun Boolean - disable
Zaraz Boolean - edge
Ttl Property Map - email
Obfuscation Boolean - from
List Property Map - from
Value Property Map - headers List<Property Map>
- host
Header String - hotlink
Protection Boolean - id String
- The ID of this resource.
- increment Number
- matched
Data Property Map - mirage Boolean
- opportunistic
Encryption Boolean - origin Property Map
- origin
Error BooleanPage Passthru - overrides Property Map
- phases List<String>
- polish String
- products List<String>
- request
Fields List<String> - Boolean
- response
Fields List<String> - responses List<Property Map>
- rocket
Loader Boolean - rules Map<String>
- ruleset String
- rulesets List<String>
- security
Level String - serve
Stale Property Map - server
Side BooleanExcludes - sni Property Map
- ssl String
- status
Code Number - sxg Boolean
- uri Property Map
GetRulesetsRulesetRuleActionParametersAutominify
GetRulesetsRulesetRuleActionParametersBrowserTtl
GetRulesetsRulesetRuleActionParametersCacheKey
- cache
By BooleanDevice Type - cache
Deception BooleanArmor - custom
Key Property Map - ignore
Query BooleanStrings Order
GetRulesetsRulesetRuleActionParametersCacheKeyCustomKey
-
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key Cookie - Header
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key Header - Host
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key Host - Query
String GetRulesets Ruleset Rule Action Parameters Cache Key Custom Key Query String - User
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key User
-
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key Cookie - Header
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key Header - Host
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key Host - Query
String GetRulesets Ruleset Rule Action Parameters Cache Key Custom Key Query String - User
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key User
-
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key Cookie - header
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key Header - host
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key Host - query
String GetRulesets Ruleset Rule Action Parameters Cache Key Custom Key Query String - user
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key User
-
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key Cookie - header
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key Header - host
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key Host - query
String GetRulesets Ruleset Rule Action Parameters Cache Key Custom Key Query String - user
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key User
-
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key Cookie - header
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key Header - host
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key Host - query_
string GetRulesets Ruleset Rule Action Parameters Cache Key Custom Key Query String - user
Get
Rulesets Ruleset Rule Action Parameters Cache Key Custom Key User
GetRulesetsRulesetRuleActionParametersCacheKeyCustomKeyCookie
- Check
Presences List<string> - Includes List<string>
- Check
Presences []string - Includes []string
- check
Presences List<String> - includes List<String>
- check
Presences string[] - includes string[]
- check_
presences Sequence[str] - includes Sequence[str]
- check
Presences List<String> - includes List<String>
GetRulesetsRulesetRuleActionParametersCacheKeyCustomKeyHeader
- Check
Presences List<string> - Exclude
Origin bool - Includes List<string>
- Check
Presences []string - Exclude
Origin bool - Includes []string
- check
Presences List<String> - exclude
Origin Boolean - includes List<String>
- check
Presences string[] - exclude
Origin boolean - includes string[]
- check_
presences Sequence[str] - exclude_
origin bool - includes Sequence[str]
- check
Presences List<String> - exclude
Origin Boolean - includes List<String>
GetRulesetsRulesetRuleActionParametersCacheKeyCustomKeyHost
- Resolved bool
- Resolved bool
- resolved Boolean
- resolved boolean
- resolved bool
- resolved Boolean
GetRulesetsRulesetRuleActionParametersCacheKeyCustomKeyQueryString
GetRulesetsRulesetRuleActionParametersCacheKeyCustomKeyUser
- Device
Type bool - Geo bool
- Lang bool
- Device
Type bool - Geo bool
- Lang bool
- device
Type Boolean - geo Boolean
- lang Boolean
- device
Type boolean - geo boolean
- lang boolean
- device_
type bool - geo bool
- lang bool
- device
Type Boolean - geo Boolean
- lang Boolean
GetRulesetsRulesetRuleActionParametersEdgeTtl
- mode String
- default Number
- status
Code List<Property Map>Ttls
GetRulesetsRulesetRuleActionParametersEdgeTtlStatusCodeTtl
- value Number
- status
Code Number - status
Code List<Property Map>Ranges
GetRulesetsRulesetRuleActionParametersEdgeTtlStatusCodeTtlStatusCodeRange
GetRulesetsRulesetRuleActionParametersFromList
GetRulesetsRulesetRuleActionParametersFromValue
- preserve
Query BooleanString - status
Code Number - target
Url Property Map
GetRulesetsRulesetRuleActionParametersFromValueTargetUrl
- Expression string
- Value string
- Expression string
- Value string
- expression String
- value String
- expression string
- value string
- expression str
- value str
- expression String
- value String
GetRulesetsRulesetRuleActionParametersHeader
- Expression string
- Name string
- Operation string
- Value string
- Expression string
- Name string
- Operation string
- Value string
- expression String
- name String
- operation String
- value String
- expression string
- name string
- operation string
- value string
- expression str
- name str
- operation str
- value str
- expression String
- name String
- operation String
- value String
GetRulesetsRulesetRuleActionParametersMatchedData
- Public
Key string
- Public
Key string
- public
Key String
- public
Key string
- public_
key str
- public
Key String
GetRulesetsRulesetRuleActionParametersOrigin
GetRulesetsRulesetRuleActionParametersOverrides
- action String
- categories List<Property Map>
- enabled Boolean
- rules List<Property Map>
- sensitivity
Level String - status String
GetRulesetsRulesetRuleActionParametersOverridesCategory
GetRulesetsRulesetRuleActionParametersOverridesRule
- Action string
- Enabled bool
- Id string
- The ID of this resource.
- Score
Threshold int - Sensitivity
Level string - Status string
- Action string
- Enabled bool
- Id string
- The ID of this resource.
- Score
Threshold int - Sensitivity
Level string - Status string
- action String
- enabled Boolean
- id String
- The ID of this resource.
- score
Threshold Integer - sensitivity
Level String - status String
- action string
- enabled boolean
- id string
- The ID of this resource.
- score
Threshold number - sensitivity
Level string - status string
- action str
- enabled bool
- id str
- The ID of this resource.
- score_
threshold int - sensitivity_
level str - status str
- action String
- enabled Boolean
- id String
- The ID of this resource.
- score
Threshold Number - sensitivity
Level String - status String
GetRulesetsRulesetRuleActionParametersResponse
- Content string
- Content
Type string - Status
Code int
- Content string
- Content
Type string - Status
Code int
- content String
- content
Type String - status
Code Integer
- content string
- content
Type string - status
Code number
- content str
- content_
type str - status_
code int
- content String
- content
Type String - status
Code Number
GetRulesetsRulesetRuleActionParametersServeStale
- disable
Stale BooleanWhile Updating
- disable
Stale booleanWhile Updating
- disable
Stale BooleanWhile Updating
GetRulesetsRulesetRuleActionParametersSni
- Value string
- Value string
- value String
- value string
- value str
- value String
GetRulesetsRulesetRuleActionParametersUri
- origin Boolean
- path Property Map
- query Property Map
GetRulesetsRulesetRuleActionParametersUriPath
- Expression string
- Value string
- Expression string
- Value string
- expression String
- value String
- expression string
- value string
- expression str
- value str
- expression String
- value String
GetRulesetsRulesetRuleActionParametersUriQuery
- Expression string
- Value string
- Expression string
- Value string
- expression String
- value String
- expression string
- value string
- expression str
- value str
- expression String
- value String
GetRulesetsRulesetRuleExposedCredentialCheck
- Password
Expression string - Username
Expression string
- Password
Expression string - Username
Expression string
- password
Expression String - username
Expression String
- password
Expression string - username
Expression string
- password
Expression String - username
Expression String
GetRulesetsRulesetRuleLogging
GetRulesetsRulesetRuleRatelimit
- Characteristics List<string>
- Counting
Expression string - Mitigation
Timeout int - Period int
- Requests
Per intPeriod - Requests
To boolOrigin - Score
Per intPeriod - Score
Response stringHeader Name
- Characteristics []string
- Counting
Expression string - Mitigation
Timeout int - Period int
- Requests
Per intPeriod - Requests
To boolOrigin - Score
Per intPeriod - Score
Response stringHeader Name
- characteristics List<String>
- counting
Expression String - mitigation
Timeout Integer - period Integer
- requests
Per IntegerPeriod - requests
To BooleanOrigin - score
Per IntegerPeriod - score
Response StringHeader Name
- characteristics string[]
- counting
Expression string - mitigation
Timeout number - period number
- requests
Per numberPeriod - requests
To booleanOrigin - score
Per numberPeriod - score
Response stringHeader Name
- characteristics Sequence[str]
- counting_
expression str - mitigation_
timeout int - period int
- requests_
per_ intperiod - requests_
to_ boolorigin - score_
per_ intperiod - score_
response_ strheader_ name
- characteristics List<String>
- counting
Expression String - mitigation
Timeout Number - period Number
- requests
Per NumberPeriod - requests
To BooleanOrigin - score
Per NumberPeriod - score
Response StringHeader Name
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v4.16.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
