Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const examplePageShieldCookiesList = cloudflare.getPageShieldCookiesList({
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
direction: "asc",
domain: "example.com",
"export": "csv",
hosts: "blog.cloudflare.com,www.example*,*cloudflare.com",
httpOnly: true,
name: "session_id",
orderBy: "first_seen_at",
page: "2",
pageUrl: "example.com/page,*/checkout,example.com/*,*checkout*",
path: "/",
perPage: 100,
sameSite: "strict",
secure: true,
type: "first_party",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_page_shield_cookies_list = cloudflare.get_page_shield_cookies_list(zone_id="023e105f4ecef8ad9ca31a8372d0c353",
direction="asc",
domain="example.com",
export="csv",
hosts="blog.cloudflare.com,www.example*,*cloudflare.com",
http_only=True,
name="session_id",
order_by="first_seen_at",
page="2",
page_url="example.com/page,*/checkout,example.com/*,*checkout*",
path="/",
per_page=100,
same_site="strict",
secure=True,
type="first_party")
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.LookupPageShieldCookiesList(ctx, &cloudflare.LookupPageShieldCookiesListArgs{
ZoneId: "023e105f4ecef8ad9ca31a8372d0c353",
Direction: pulumi.StringRef("asc"),
Domain: pulumi.StringRef("example.com"),
Export: pulumi.StringRef("csv"),
Hosts: pulumi.StringRef("blog.cloudflare.com,www.example*,*cloudflare.com"),
HttpOnly: pulumi.BoolRef(true),
Name: pulumi.StringRef("session_id"),
OrderBy: pulumi.StringRef("first_seen_at"),
Page: pulumi.StringRef("2"),
PageUrl: pulumi.StringRef("example.com/page,*/checkout,example.com/*,*checkout*"),
Path: pulumi.StringRef("/"),
PerPage: pulumi.Float64Ref(100),
SameSite: pulumi.StringRef("strict"),
Secure: pulumi.BoolRef(true),
Type: pulumi.StringRef("first_party"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var examplePageShieldCookiesList = Cloudflare.GetPageShieldCookiesList.Invoke(new()
{
ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
Direction = "asc",
Domain = "example.com",
Export = "csv",
Hosts = "blog.cloudflare.com,www.example*,*cloudflare.com",
HttpOnly = true,
Name = "session_id",
OrderBy = "first_seen_at",
Page = "2",
PageUrl = "example.com/page,*/checkout,example.com/*,*checkout*",
Path = "/",
PerPage = 100,
SameSite = "strict",
Secure = true,
Type = "first_party",
});
});
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.GetPageShieldCookiesListArgs;
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 examplePageShieldCookiesList = CloudflareFunctions.getPageShieldCookiesList(GetPageShieldCookiesListArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.direction("asc")
.domain("example.com")
.export("csv")
.hosts("blog.cloudflare.com,www.example*,*cloudflare.com")
.httpOnly(true)
.name("session_id")
.orderBy("first_seen_at")
.page("2")
.pageUrl("example.com/page,*/checkout,example.com/*,*checkout*")
.path("/")
.perPage(100)
.sameSite("strict")
.secure(true)
.type("first_party")
.build());
}
}
variables:
examplePageShieldCookiesList:
fn::invoke:
function: cloudflare:getPageShieldCookiesList
arguments:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
direction: asc
domain: example.com
export: csv
hosts: blog.cloudflare.com,www.example*,*cloudflare.com
httpOnly: true
name: session_id
orderBy: first_seen_at
page: '2'
pageUrl: example.com/page,*/checkout,example.com/*,*checkout*
path: /
perPage: 100
sameSite: strict
secure: true
type: first_party
Using getPageShieldCookiesList
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 getPageShieldCookiesList(args: GetPageShieldCookiesListArgs, opts?: InvokeOptions): Promise<GetPageShieldCookiesListResult>
function getPageShieldCookiesListOutput(args: GetPageShieldCookiesListOutputArgs, opts?: InvokeOptions): Output<GetPageShieldCookiesListResult>def get_page_shield_cookies_list(direction: Optional[str] = None,
domain: Optional[str] = None,
export: Optional[str] = None,
hosts: Optional[str] = None,
http_only: Optional[bool] = None,
max_items: Optional[int] = None,
name: Optional[str] = None,
order_by: Optional[str] = None,
page: Optional[str] = None,
page_url: Optional[str] = None,
path: Optional[str] = None,
per_page: Optional[float] = None,
same_site: Optional[str] = None,
secure: Optional[bool] = None,
type: Optional[str] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPageShieldCookiesListResult
def get_page_shield_cookies_list_output(direction: Optional[pulumi.Input[str]] = None,
domain: Optional[pulumi.Input[str]] = None,
export: Optional[pulumi.Input[str]] = None,
hosts: Optional[pulumi.Input[str]] = None,
http_only: Optional[pulumi.Input[bool]] = None,
max_items: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
order_by: Optional[pulumi.Input[str]] = None,
page: Optional[pulumi.Input[str]] = None,
page_url: Optional[pulumi.Input[str]] = None,
path: Optional[pulumi.Input[str]] = None,
per_page: Optional[pulumi.Input[float]] = None,
same_site: Optional[pulumi.Input[str]] = None,
secure: Optional[pulumi.Input[bool]] = None,
type: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPageShieldCookiesListResult]func LookupPageShieldCookiesList(ctx *Context, args *LookupPageShieldCookiesListArgs, opts ...InvokeOption) (*LookupPageShieldCookiesListResult, error)
func LookupPageShieldCookiesListOutput(ctx *Context, args *LookupPageShieldCookiesListOutputArgs, opts ...InvokeOption) LookupPageShieldCookiesListResultOutput> Note: This function is named LookupPageShieldCookiesList in the Go SDK.
public static class GetPageShieldCookiesList
{
public static Task<GetPageShieldCookiesListResult> InvokeAsync(GetPageShieldCookiesListArgs args, InvokeOptions? opts = null)
public static Output<GetPageShieldCookiesListResult> Invoke(GetPageShieldCookiesListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPageShieldCookiesListResult> getPageShieldCookiesList(GetPageShieldCookiesListArgs args, InvokeOptions options)
public static Output<GetPageShieldCookiesListResult> getPageShieldCookiesList(GetPageShieldCookiesListArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getPageShieldCookiesList:getPageShieldCookiesList
arguments:
# arguments dictionaryThe following arguments are supported:
- Zone
Id string - Identifier
- Direction string
- The direction used to sort returned cookies.' Available values: "asc", "desc".
- Domain string
- Filters the returned cookies that match the specified domain attribute
- Export string
- Export the list of cookies as a file, limited to 50000 entries. Available values: "csv".
- Hosts string
- Includes cookies that match one or more URL-encoded hostnames separated by commas.
- Http
Only bool - Max
Items int - Name string
- Order
By string - Page string
- Page
Url string - Path string
- Per
Page double - Same
Site string - Secure bool
- Type string
- Zone
Id string - Identifier
- Direction string
- The direction used to sort returned cookies.' Available values: "asc", "desc".
- Domain string
- Filters the returned cookies that match the specified domain attribute
- Export string
- Export the list of cookies as a file, limited to 50000 entries. Available values: "csv".
- Hosts string
- Includes cookies that match one or more URL-encoded hostnames separated by commas.
- Http
Only bool - Max
Items int - Name string
- Order
By string - Page string
- Page
Url string - Path string
- Per
Page float64 - Same
Site string - Secure bool
- Type string
- zone
Id String - Identifier
- direction String
- The direction used to sort returned cookies.' Available values: "asc", "desc".
- domain String
- Filters the returned cookies that match the specified domain attribute
- export String
- Export the list of cookies as a file, limited to 50000 entries. Available values: "csv".
- hosts String
- Includes cookies that match one or more URL-encoded hostnames separated by commas.
- http
Only Boolean - max
Items Integer - name String
- order
By String - page String
- page
Url String - path String
- per
Page Double - same
Site String - secure Boolean
- type String
- zone
Id string - Identifier
- direction string
- The direction used to sort returned cookies.' Available values: "asc", "desc".
- domain string
- Filters the returned cookies that match the specified domain attribute
- export string
- Export the list of cookies as a file, limited to 50000 entries. Available values: "csv".
- hosts string
- Includes cookies that match one or more URL-encoded hostnames separated by commas.
- http
Only boolean - max
Items number - name string
- order
By string - page string
- page
Url string - path string
- per
Page number - same
Site string - secure boolean
- type string
- zone_
id str - Identifier
- direction str
- The direction used to sort returned cookies.' Available values: "asc", "desc".
- domain str
- Filters the returned cookies that match the specified domain attribute
- export str
- Export the list of cookies as a file, limited to 50000 entries. Available values: "csv".
- hosts str
- Includes cookies that match one or more URL-encoded hostnames separated by commas.
- http_
only bool - max_
items int - name str
- order_
by str - page str
- page_
url str - path str
- per_
page float - same_
site str - secure bool
- type str
- zone
Id String - Identifier
- direction String
- The direction used to sort returned cookies.' Available values: "asc", "desc".
- domain String
- Filters the returned cookies that match the specified domain attribute
- export String
- Export the list of cookies as a file, limited to 50000 entries. Available values: "csv".
- hosts String
- Includes cookies that match one or more URL-encoded hostnames separated by commas.
- http
Only Boolean - max
Items Number - name String
- order
By String - page String
- page
Url String - path String
- per
Page Number - same
Site String - secure Boolean
- type String
getPageShieldCookiesList Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<Get
Page Shield Cookies List Result> - Zone
Id string - Identifier
- Direction string
- The direction used to sort returned cookies.' Available values: "asc", "desc".
- Domain string
- Filters the returned cookies that match the specified domain attribute
- Export string
- Export the list of cookies as a file, limited to 50000 entries. Available values: "csv".
- Hosts string
- Includes cookies that match one or more URL-encoded hostnames separated by commas.
- Http
Only bool - Max
Items int - Name string
- Order
By string - Page string
- Page
Url string - Path string
- Per
Page double - Same
Site string - Secure bool
- Type string
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Page Shield Cookies List Result - Zone
Id string - Identifier
- Direction string
- The direction used to sort returned cookies.' Available values: "asc", "desc".
- Domain string
- Filters the returned cookies that match the specified domain attribute
- Export string
- Export the list of cookies as a file, limited to 50000 entries. Available values: "csv".
- Hosts string
- Includes cookies that match one or more URL-encoded hostnames separated by commas.
- Http
Only bool - Max
Items int - Name string
- Order
By string - Page string
- Page
Url string - Path string
- Per
Page float64 - Same
Site string - Secure bool
- Type string
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Page Shield Cookies List Result> - zone
Id String - Identifier
- direction String
- The direction used to sort returned cookies.' Available values: "asc", "desc".
- domain String
- Filters the returned cookies that match the specified domain attribute
- export String
- Export the list of cookies as a file, limited to 50000 entries. Available values: "csv".
- hosts String
- Includes cookies that match one or more URL-encoded hostnames separated by commas.
- http
Only Boolean - max
Items Integer - name String
- order
By String - page String
- page
Url String - path String
- per
Page Double - same
Site String - secure Boolean
- type String
- id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Page Shield Cookies List Result[] - zone
Id string - Identifier
- direction string
- The direction used to sort returned cookies.' Available values: "asc", "desc".
- domain string
- Filters the returned cookies that match the specified domain attribute
- export string
- Export the list of cookies as a file, limited to 50000 entries. Available values: "csv".
- hosts string
- Includes cookies that match one or more URL-encoded hostnames separated by commas.
- http
Only boolean - max
Items number - name string
- order
By string - page string
- page
Url string - path string
- per
Page number - same
Site string - secure boolean
- type string
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[Get
Page Shield Cookies List Result] - zone_
id str - Identifier
- direction str
- The direction used to sort returned cookies.' Available values: "asc", "desc".
- domain str
- Filters the returned cookies that match the specified domain attribute
- export str
- Export the list of cookies as a file, limited to 50000 entries. Available values: "csv".
- hosts str
- Includes cookies that match one or more URL-encoded hostnames separated by commas.
- http_
only bool - max_
items int - name str
- order_
by str - page str
- page_
url str - path str
- per_
page float - same_
site str - secure bool
- type str
- id String
- The provider-assigned unique ID for this managed resource.
- results List<Property Map>
- zone
Id String - Identifier
- direction String
- The direction used to sort returned cookies.' Available values: "asc", "desc".
- domain String
- Filters the returned cookies that match the specified domain attribute
- export String
- Export the list of cookies as a file, limited to 50000 entries. Available values: "csv".
- hosts String
- Includes cookies that match one or more URL-encoded hostnames separated by commas.
- http
Only Boolean - max
Items Number - name String
- order
By String - page String
- page
Url String - path String
- per
Page Number - same
Site String - secure Boolean
- type String
Supporting Types
GetPageShieldCookiesListResult
- Domain
Attribute string - Expires
Attribute string - First
Seen stringAt - Host string
- Http
Only boolAttribute - Id string
- Identifier
- Last
Seen stringAt - Max
Age intAttribute - Name string
- Page
Urls List<string> - Path
Attribute string - Same
Site stringAttribute - Available values: "lax", "strict", "none".
- Secure
Attribute bool - Type string
- Available values: <span pulumi-lang-nodejs=""firstParty"" pulumi-lang-dotnet=""FirstParty"" pulumi-lang-go=""firstParty"" pulumi-lang-python=""first_party"" pulumi-lang-yaml=""firstParty"" pulumi-lang-java=""firstParty"">"first_party", "unknown".
- Domain
Attribute string - Expires
Attribute string - First
Seen stringAt - Host string
- Http
Only boolAttribute - Id string
- Identifier
- Last
Seen stringAt - Max
Age intAttribute - Name string
- Page
Urls []string - Path
Attribute string - Same
Site stringAttribute - Available values: "lax", "strict", "none".
- Secure
Attribute bool - Type string
- Available values: <span pulumi-lang-nodejs=""firstParty"" pulumi-lang-dotnet=""FirstParty"" pulumi-lang-go=""firstParty"" pulumi-lang-python=""first_party"" pulumi-lang-yaml=""firstParty"" pulumi-lang-java=""firstParty"">"first_party", "unknown".
- domain
Attribute String - expires
Attribute String - first
Seen StringAt - host String
- http
Only BooleanAttribute - id String
- Identifier
- last
Seen StringAt - max
Age IntegerAttribute - name String
- page
Urls List<String> - path
Attribute String - same
Site StringAttribute - Available values: "lax", "strict", "none".
- secure
Attribute Boolean - type String
- Available values: <span pulumi-lang-nodejs=""firstParty"" pulumi-lang-dotnet=""FirstParty"" pulumi-lang-go=""firstParty"" pulumi-lang-python=""first_party"" pulumi-lang-yaml=""firstParty"" pulumi-lang-java=""firstParty"">"first_party", "unknown".
- domain
Attribute string - expires
Attribute string - first
Seen stringAt - host string
- http
Only booleanAttribute - id string
- Identifier
- last
Seen stringAt - max
Age numberAttribute - name string
- page
Urls string[] - path
Attribute string - same
Site stringAttribute - Available values: "lax", "strict", "none".
- secure
Attribute boolean - type string
- Available values: <span pulumi-lang-nodejs=""firstParty"" pulumi-lang-dotnet=""FirstParty"" pulumi-lang-go=""firstParty"" pulumi-lang-python=""first_party"" pulumi-lang-yaml=""firstParty"" pulumi-lang-java=""firstParty"">"first_party", "unknown".
- domain_
attribute str - expires_
attribute str - first_
seen_ strat - host str
- http_
only_ boolattribute - id str
- Identifier
- last_
seen_ strat - max_
age_ intattribute - name str
- page_
urls Sequence[str] - path_
attribute str - same_
site_ strattribute - Available values: "lax", "strict", "none".
- secure_
attribute bool - type str
- Available values: <span pulumi-lang-nodejs=""firstParty"" pulumi-lang-dotnet=""FirstParty"" pulumi-lang-go=""firstParty"" pulumi-lang-python=""first_party"" pulumi-lang-yaml=""firstParty"" pulumi-lang-java=""firstParty"">"first_party", "unknown".
- domain
Attribute String - expires
Attribute String - first
Seen StringAt - host String
- http
Only BooleanAttribute - id String
- Identifier
- last
Seen StringAt - max
Age NumberAttribute - name String
- page
Urls List<String> - path
Attribute String - same
Site StringAttribute - Available values: "lax", "strict", "none".
- secure
Attribute Boolean - type String
- Available values: <span pulumi-lang-nodejs=""firstParty"" pulumi-lang-dotnet=""FirstParty"" pulumi-lang-go=""firstParty"" pulumi-lang-python=""first_party"" pulumi-lang-yaml=""firstParty"" pulumi-lang-java=""firstParty"">"first_party", "unknown".
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 v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
