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 examplePageShieldConnectionsList = cloudflare.getPageShieldConnectionsList({
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
direction: "asc",
excludeCdnCgi: true,
excludeUrls: "blog.cloudflare.com,www.example",
"export": "csv",
hosts: "blog.cloudflare.com,www.example*,*cloudflare.com",
orderBy: "first_seen_at",
page: "2",
pageUrl: "example.com/page,*/checkout,example.com/*,*checkout*",
perPage: 100,
prioritizeMalicious: true,
status: "active,inactive",
urls: "blog.cloudflare.com,www.example",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_page_shield_connections_list = cloudflare.get_page_shield_connections_list(zone_id="023e105f4ecef8ad9ca31a8372d0c353",
direction="asc",
exclude_cdn_cgi=True,
exclude_urls="blog.cloudflare.com,www.example",
export="csv",
hosts="blog.cloudflare.com,www.example*,*cloudflare.com",
order_by="first_seen_at",
page="2",
page_url="example.com/page,*/checkout,example.com/*,*checkout*",
per_page=100,
prioritize_malicious=True,
status="active,inactive",
urls="blog.cloudflare.com,www.example")
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.LookupPageShieldConnectionsList(ctx, &cloudflare.LookupPageShieldConnectionsListArgs{
ZoneId: "023e105f4ecef8ad9ca31a8372d0c353",
Direction: pulumi.StringRef("asc"),
ExcludeCdnCgi: pulumi.BoolRef(true),
ExcludeUrls: pulumi.StringRef("blog.cloudflare.com,www.example"),
Export: pulumi.StringRef("csv"),
Hosts: pulumi.StringRef("blog.cloudflare.com,www.example*,*cloudflare.com"),
OrderBy: pulumi.StringRef("first_seen_at"),
Page: pulumi.StringRef("2"),
PageUrl: pulumi.StringRef("example.com/page,*/checkout,example.com/*,*checkout*"),
PerPage: pulumi.Float64Ref(100),
PrioritizeMalicious: pulumi.BoolRef(true),
Status: pulumi.StringRef("active,inactive"),
Urls: pulumi.StringRef("blog.cloudflare.com,www.example"),
}, 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 examplePageShieldConnectionsList = Cloudflare.GetPageShieldConnectionsList.Invoke(new()
{
ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
Direction = "asc",
ExcludeCdnCgi = true,
ExcludeUrls = "blog.cloudflare.com,www.example",
Export = "csv",
Hosts = "blog.cloudflare.com,www.example*,*cloudflare.com",
OrderBy = "first_seen_at",
Page = "2",
PageUrl = "example.com/page,*/checkout,example.com/*,*checkout*",
PerPage = 100,
PrioritizeMalicious = true,
Status = "active,inactive",
Urls = "blog.cloudflare.com,www.example",
});
});
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.GetPageShieldConnectionsListArgs;
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 examplePageShieldConnectionsList = CloudflareFunctions.getPageShieldConnectionsList(GetPageShieldConnectionsListArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.direction("asc")
.excludeCdnCgi(true)
.excludeUrls("blog.cloudflare.com,www.example")
.export("csv")
.hosts("blog.cloudflare.com,www.example*,*cloudflare.com")
.orderBy("first_seen_at")
.page("2")
.pageUrl("example.com/page,*/checkout,example.com/*,*checkout*")
.perPage(100)
.prioritizeMalicious(true)
.status("active,inactive")
.urls("blog.cloudflare.com,www.example")
.build());
}
}
variables:
examplePageShieldConnectionsList:
fn::invoke:
function: cloudflare:getPageShieldConnectionsList
arguments:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
direction: asc
excludeCdnCgi: true
excludeUrls: blog.cloudflare.com,www.example
export: csv
hosts: blog.cloudflare.com,www.example*,*cloudflare.com
orderBy: first_seen_at
page: '2'
pageUrl: example.com/page,*/checkout,example.com/*,*checkout*
perPage: 100
prioritizeMalicious: true
status: active,inactive
urls: blog.cloudflare.com,www.example
Using getPageShieldConnectionsList
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 getPageShieldConnectionsList(args: GetPageShieldConnectionsListArgs, opts?: InvokeOptions): Promise<GetPageShieldConnectionsListResult>
function getPageShieldConnectionsListOutput(args: GetPageShieldConnectionsListOutputArgs, opts?: InvokeOptions): Output<GetPageShieldConnectionsListResult>def get_page_shield_connections_list(direction: Optional[str] = None,
exclude_cdn_cgi: Optional[bool] = None,
exclude_urls: Optional[str] = None,
export: Optional[str] = None,
hosts: Optional[str] = None,
max_items: Optional[int] = None,
order_by: Optional[str] = None,
page: Optional[str] = None,
page_url: Optional[str] = None,
per_page: Optional[float] = None,
prioritize_malicious: Optional[bool] = None,
status: Optional[str] = None,
urls: Optional[str] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPageShieldConnectionsListResult
def get_page_shield_connections_list_output(direction: Optional[pulumi.Input[str]] = None,
exclude_cdn_cgi: Optional[pulumi.Input[bool]] = None,
exclude_urls: Optional[pulumi.Input[str]] = None,
export: Optional[pulumi.Input[str]] = None,
hosts: Optional[pulumi.Input[str]] = None,
max_items: Optional[pulumi.Input[int]] = None,
order_by: Optional[pulumi.Input[str]] = None,
page: Optional[pulumi.Input[str]] = None,
page_url: Optional[pulumi.Input[str]] = None,
per_page: Optional[pulumi.Input[float]] = None,
prioritize_malicious: Optional[pulumi.Input[bool]] = None,
status: Optional[pulumi.Input[str]] = None,
urls: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPageShieldConnectionsListResult]func LookupPageShieldConnectionsList(ctx *Context, args *LookupPageShieldConnectionsListArgs, opts ...InvokeOption) (*LookupPageShieldConnectionsListResult, error)
func LookupPageShieldConnectionsListOutput(ctx *Context, args *LookupPageShieldConnectionsListOutputArgs, opts ...InvokeOption) LookupPageShieldConnectionsListResultOutput> Note: This function is named LookupPageShieldConnectionsList in the Go SDK.
public static class GetPageShieldConnectionsList
{
public static Task<GetPageShieldConnectionsListResult> InvokeAsync(GetPageShieldConnectionsListArgs args, InvokeOptions? opts = null)
public static Output<GetPageShieldConnectionsListResult> Invoke(GetPageShieldConnectionsListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPageShieldConnectionsListResult> getPageShieldConnectionsList(GetPageShieldConnectionsListArgs args, InvokeOptions options)
public static Output<GetPageShieldConnectionsListResult> getPageShieldConnectionsList(GetPageShieldConnectionsListArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getPageShieldConnectionsList:getPageShieldConnectionsList
arguments:
# arguments dictionaryThe following arguments are supported:
- Zone
Id string - Identifier
- Direction string
- The direction used to sort returned connections. Available values: "asc", "desc".
- Exclude
Cdn boolCgi - When true, excludes connections seen in a
/cdn-cgipath from the returned connections. The default value is true. - Exclude
Urls string - Excludes connections whose URL contains one of the URL-encoded URLs separated by commas.
- Export string
- Export the list of connections as a file, limited to 50000 entries. Available values: "csv".
- Hosts string
- Includes connections that match one or more URL-encoded hostnames separated by commas.
- Max
Items int - Order
By string - Page string
- Page
Url string - Per
Page double - Prioritize
Malicious bool - Status string
- Urls string
- Zone
Id string - Identifier
- Direction string
- The direction used to sort returned connections. Available values: "asc", "desc".
- Exclude
Cdn boolCgi - When true, excludes connections seen in a
/cdn-cgipath from the returned connections. The default value is true. - Exclude
Urls string - Excludes connections whose URL contains one of the URL-encoded URLs separated by commas.
- Export string
- Export the list of connections as a file, limited to 50000 entries. Available values: "csv".
- Hosts string
- Includes connections that match one or more URL-encoded hostnames separated by commas.
- Max
Items int - Order
By string - Page string
- Page
Url string - Per
Page float64 - Prioritize
Malicious bool - Status string
- Urls string
- zone
Id String - Identifier
- direction String
- The direction used to sort returned connections. Available values: "asc", "desc".
- exclude
Cdn BooleanCgi - When true, excludes connections seen in a
/cdn-cgipath from the returned connections. The default value is true. - exclude
Urls String - Excludes connections whose URL contains one of the URL-encoded URLs separated by commas.
- export String
- Export the list of connections as a file, limited to 50000 entries. Available values: "csv".
- hosts String
- Includes connections that match one or more URL-encoded hostnames separated by commas.
- max
Items Integer - order
By String - page String
- page
Url String - per
Page Double - prioritize
Malicious Boolean - status String
- urls String
- zone
Id string - Identifier
- direction string
- The direction used to sort returned connections. Available values: "asc", "desc".
- exclude
Cdn booleanCgi - When true, excludes connections seen in a
/cdn-cgipath from the returned connections. The default value is true. - exclude
Urls string - Excludes connections whose URL contains one of the URL-encoded URLs separated by commas.
- export string
- Export the list of connections as a file, limited to 50000 entries. Available values: "csv".
- hosts string
- Includes connections that match one or more URL-encoded hostnames separated by commas.
- max
Items number - order
By string - page string
- page
Url string - per
Page number - prioritize
Malicious boolean - status string
- urls string
- zone_
id str - Identifier
- direction str
- The direction used to sort returned connections. Available values: "asc", "desc".
- exclude_
cdn_ boolcgi - When true, excludes connections seen in a
/cdn-cgipath from the returned connections. The default value is true. - exclude_
urls str - Excludes connections whose URL contains one of the URL-encoded URLs separated by commas.
- export str
- Export the list of connections as a file, limited to 50000 entries. Available values: "csv".
- hosts str
- Includes connections that match one or more URL-encoded hostnames separated by commas.
- max_
items int - order_
by str - page str
- page_
url str - per_
page float - prioritize_
malicious bool - status str
- urls str
- zone
Id String - Identifier
- direction String
- The direction used to sort returned connections. Available values: "asc", "desc".
- exclude
Cdn BooleanCgi - When true, excludes connections seen in a
/cdn-cgipath from the returned connections. The default value is true. - exclude
Urls String - Excludes connections whose URL contains one of the URL-encoded URLs separated by commas.
- export String
- Export the list of connections as a file, limited to 50000 entries. Available values: "csv".
- hosts String
- Includes connections that match one or more URL-encoded hostnames separated by commas.
- max
Items Number - order
By String - page String
- page
Url String - per
Page Number - prioritize
Malicious Boolean - status String
- urls String
getPageShieldConnectionsList Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<Get
Page Shield Connections List Result> - Zone
Id string - Identifier
- Direction string
- The direction used to sort returned connections. Available values: "asc", "desc".
- Exclude
Cdn boolCgi - When true, excludes connections seen in a
/cdn-cgipath from the returned connections. The default value is true. - Exclude
Urls string - Excludes connections whose URL contains one of the URL-encoded URLs separated by commas.
- Export string
- Export the list of connections as a file, limited to 50000 entries. Available values: "csv".
- Hosts string
- Includes connections that match one or more URL-encoded hostnames separated by commas.
- Max
Items int - Order
By string - Page string
- Page
Url string - Per
Page double - Prioritize
Malicious bool - Status string
- Urls string
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Page Shield Connections List Result - Zone
Id string - Identifier
- Direction string
- The direction used to sort returned connections. Available values: "asc", "desc".
- Exclude
Cdn boolCgi - When true, excludes connections seen in a
/cdn-cgipath from the returned connections. The default value is true. - Exclude
Urls string - Excludes connections whose URL contains one of the URL-encoded URLs separated by commas.
- Export string
- Export the list of connections as a file, limited to 50000 entries. Available values: "csv".
- Hosts string
- Includes connections that match one or more URL-encoded hostnames separated by commas.
- Max
Items int - Order
By string - Page string
- Page
Url string - Per
Page float64 - Prioritize
Malicious bool - Status string
- Urls string
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Page Shield Connections List Result> - zone
Id String - Identifier
- direction String
- The direction used to sort returned connections. Available values: "asc", "desc".
- exclude
Cdn BooleanCgi - When true, excludes connections seen in a
/cdn-cgipath from the returned connections. The default value is true. - exclude
Urls String - Excludes connections whose URL contains one of the URL-encoded URLs separated by commas.
- export String
- Export the list of connections as a file, limited to 50000 entries. Available values: "csv".
- hosts String
- Includes connections that match one or more URL-encoded hostnames separated by commas.
- max
Items Integer - order
By String - page String
- page
Url String - per
Page Double - prioritize
Malicious Boolean - status String
- urls String
- id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Page Shield Connections List Result[] - zone
Id string - Identifier
- direction string
- The direction used to sort returned connections. Available values: "asc", "desc".
- exclude
Cdn booleanCgi - When true, excludes connections seen in a
/cdn-cgipath from the returned connections. The default value is true. - exclude
Urls string - Excludes connections whose URL contains one of the URL-encoded URLs separated by commas.
- export string
- Export the list of connections as a file, limited to 50000 entries. Available values: "csv".
- hosts string
- Includes connections that match one or more URL-encoded hostnames separated by commas.
- max
Items number - order
By string - page string
- page
Url string - per
Page number - prioritize
Malicious boolean - status string
- urls string
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[Get
Page Shield Connections List Result] - zone_
id str - Identifier
- direction str
- The direction used to sort returned connections. Available values: "asc", "desc".
- exclude_
cdn_ boolcgi - When true, excludes connections seen in a
/cdn-cgipath from the returned connections. The default value is true. - exclude_
urls str - Excludes connections whose URL contains one of the URL-encoded URLs separated by commas.
- export str
- Export the list of connections as a file, limited to 50000 entries. Available values: "csv".
- hosts str
- Includes connections that match one or more URL-encoded hostnames separated by commas.
- max_
items int - order_
by str - page str
- page_
url str - per_
page float - prioritize_
malicious bool - status str
- urls 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 connections. Available values: "asc", "desc".
- exclude
Cdn BooleanCgi - When true, excludes connections seen in a
/cdn-cgipath from the returned connections. The default value is true. - exclude
Urls String - Excludes connections whose URL contains one of the URL-encoded URLs separated by commas.
- export String
- Export the list of connections as a file, limited to 50000 entries. Available values: "csv".
- hosts String
- Includes connections that match one or more URL-encoded hostnames separated by commas.
- max
Items Number - order
By String - page String
- page
Url String - per
Page Number - prioritize
Malicious Boolean - status String
- urls String
Supporting Types
GetPageShieldConnectionsListResult
- Added
At string - Domain
Reported boolMalicious - First
Page stringUrl - First
Seen stringAt - Host string
- Id string
- Identifier
- Last
Seen stringAt - Malicious
Domain List<string>Categories - Malicious
Url List<string>Categories - Page
Urls List<string> - Url string
- Url
Contains boolCdn Cgi Path - Url
Reported boolMalicious
- Added
At string - Domain
Reported boolMalicious - First
Page stringUrl - First
Seen stringAt - Host string
- Id string
- Identifier
- Last
Seen stringAt - Malicious
Domain []stringCategories - Malicious
Url []stringCategories - Page
Urls []string - Url string
- Url
Contains boolCdn Cgi Path - Url
Reported boolMalicious
- added
At String - domain
Reported BooleanMalicious - first
Page StringUrl - first
Seen StringAt - host String
- id String
- Identifier
- last
Seen StringAt - malicious
Domain List<String>Categories - malicious
Url List<String>Categories - page
Urls List<String> - url String
- url
Contains BooleanCdn Cgi Path - url
Reported BooleanMalicious
- added
At string - domain
Reported booleanMalicious - first
Page stringUrl - first
Seen stringAt - host string
- id string
- Identifier
- last
Seen stringAt - malicious
Domain string[]Categories - malicious
Url string[]Categories - page
Urls string[] - url string
- url
Contains booleanCdn Cgi Path - url
Reported booleanMalicious
- added_
at str - domain_
reported_ boolmalicious - first_
page_ strurl - first_
seen_ strat - host str
- id str
- Identifier
- last_
seen_ strat - malicious_
domain_ Sequence[str]categories - malicious_
url_ Sequence[str]categories - page_
urls Sequence[str] - url str
- url_
contains_ boolcdn_ cgi_ path - url_
reported_ boolmalicious
- added
At String - domain
Reported BooleanMalicious - first
Page StringUrl - first
Seen StringAt - host String
- id String
- Identifier
- last
Seen StringAt - malicious
Domain List<String>Categories - malicious
Url List<String>Categories - page
Urls List<String> - url String
- url
Contains BooleanCdn Cgi Path - url
Reported BooleanMalicious
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
