Viewing docs for Cloudflare v6.14.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
Viewing docs for Cloudflare v6.14.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustLists = cloudflare.getZeroTrustLists({
accountId: "699d98642c564d2e855e9661899b7252",
type: "SERIAL",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_lists = cloudflare.get_zero_trust_lists(account_id="699d98642c564d2e855e9661899b7252",
type="SERIAL")
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.LookupZeroTrustLists(ctx, &cloudflare.LookupZeroTrustListsArgs{
AccountId: "699d98642c564d2e855e9661899b7252",
Type: pulumi.StringRef("SERIAL"),
}, 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 exampleZeroTrustLists = Cloudflare.GetZeroTrustLists.Invoke(new()
{
AccountId = "699d98642c564d2e855e9661899b7252",
Type = "SERIAL",
});
});
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.GetZeroTrustListsArgs;
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 exampleZeroTrustLists = CloudflareFunctions.getZeroTrustLists(GetZeroTrustListsArgs.builder()
.accountId("699d98642c564d2e855e9661899b7252")
.type("SERIAL")
.build());
}
}
variables:
exampleZeroTrustLists:
fn::invoke:
function: cloudflare:getZeroTrustLists
arguments:
accountId: 699d98642c564d2e855e9661899b7252
type: SERIAL
Using getZeroTrustLists
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 getZeroTrustLists(args: GetZeroTrustListsArgs, opts?: InvokeOptions): Promise<GetZeroTrustListsResult>
function getZeroTrustListsOutput(args: GetZeroTrustListsOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustListsResult>def get_zero_trust_lists(account_id: Optional[str] = None,
max_items: Optional[int] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustListsResult
def get_zero_trust_lists_output(account_id: Optional[pulumi.Input[str]] = None,
max_items: Optional[pulumi.Input[int]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustListsResult]func LookupZeroTrustLists(ctx *Context, args *LookupZeroTrustListsArgs, opts ...InvokeOption) (*LookupZeroTrustListsResult, error)
func LookupZeroTrustListsOutput(ctx *Context, args *LookupZeroTrustListsOutputArgs, opts ...InvokeOption) LookupZeroTrustListsResultOutput> Note: This function is named LookupZeroTrustLists in the Go SDK.
public static class GetZeroTrustLists
{
public static Task<GetZeroTrustListsResult> InvokeAsync(GetZeroTrustListsArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustListsResult> Invoke(GetZeroTrustListsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetZeroTrustListsResult> getZeroTrustLists(GetZeroTrustListsArgs args, InvokeOptions options)
public static Output<GetZeroTrustListsResult> getZeroTrustLists(GetZeroTrustListsArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustLists:getZeroTrustLists
arguments:
# arguments dictionaryThe following arguments are supported:
- account_
id str - max_
items int - Max items to fetch, default: 1000
- type str
- Specify the list type. Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP", "CATEGORY", "LOCATION", "DEVICE".
getZeroTrustLists Result
The following output properties are available:
- Account
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<Get
Zero Trust Lists Result> - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- Type string
- Specify the list type. Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP", "CATEGORY", "LOCATION", "DEVICE".
- Account
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Zero Trust Lists Result - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- Type string
- Specify the list type. Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP", "CATEGORY", "LOCATION", "DEVICE".
- account
Id String - id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Zero Trust Lists Result> - The items returned by the data source
- max
Items Integer - Max items to fetch, default: 1000
- type String
- Specify the list type. Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP", "CATEGORY", "LOCATION", "DEVICE".
- account
Id string - id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Zero Trust Lists Result[] - The items returned by the data source
- max
Items number - Max items to fetch, default: 1000
- type string
- Specify the list type. Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP", "CATEGORY", "LOCATION", "DEVICE".
- account_
id str - id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[Get
Zero Trust Lists Result] - The items returned by the data source
- max_
items int - Max items to fetch, default: 1000
- type str
- Specify the list type. Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP", "CATEGORY", "LOCATION", "DEVICE".
- account
Id String - id String
- The provider-assigned unique ID for this managed resource.
- results List<Property Map>
- The items returned by the data source
- max
Items Number - Max items to fetch, default: 1000
- type String
- Specify the list type. Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP", "CATEGORY", "LOCATION", "DEVICE".
Supporting Types
GetZeroTrustListsResult
- Created
At string - Description string
- Provide the list description.
- Id string
- Identify the API resource with a UUID.
- Items
List<Get
Zero Trust Lists Result Item> - Provide the list items.
- List
Count double - Indicate the number of items in the list.
- Name string
- Specify the list name.
- Type string
- Specify the list type. Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP", "CATEGORY", "LOCATION", "DEVICE".
- Updated
At string
- Created
At string - Description string
- Provide the list description.
- Id string
- Identify the API resource with a UUID.
- Items
[]Get
Zero Trust Lists Result Item - Provide the list items.
- List
Count float64 - Indicate the number of items in the list.
- Name string
- Specify the list name.
- Type string
- Specify the list type. Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP", "CATEGORY", "LOCATION", "DEVICE".
- Updated
At string
- created
At String - description String
- Provide the list description.
- id String
- Identify the API resource with a UUID.
- items
List<Get
Zero Trust Lists Result Item> - Provide the list items.
- list
Count Double - Indicate the number of items in the list.
- name String
- Specify the list name.
- type String
- Specify the list type. Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP", "CATEGORY", "LOCATION", "DEVICE".
- updated
At String
- created
At string - description string
- Provide the list description.
- id string
- Identify the API resource with a UUID.
- items
Get
Zero Trust Lists Result Item[] - Provide the list items.
- list
Count number - Indicate the number of items in the list.
- name string
- Specify the list name.
- type string
- Specify the list type. Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP", "CATEGORY", "LOCATION", "DEVICE".
- updated
At string
- created_
at str - description str
- Provide the list description.
- id str
- Identify the API resource with a UUID.
- items
Sequence[Get
Zero Trust Lists Result Item] - Provide the list items.
- list_
count float - Indicate the number of items in the list.
- name str
- Specify the list name.
- type str
- Specify the list type. Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP", "CATEGORY", "LOCATION", "DEVICE".
- updated_
at str
- created
At String - description String
- Provide the list description.
- id String
- Identify the API resource with a UUID.
- items List<Property Map>
- Provide the list items.
- list
Count Number - Indicate the number of items in the list.
- name String
- Specify the list name.
- type String
- Specify the list type. Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP", "CATEGORY", "LOCATION", "DEVICE".
- updated
At String
GetZeroTrustListsResultItem
- Created
At string - Description string
- Provide the list item description (optional).
- Value string
- Specify the item value.
- Created
At string - Description string
- Provide the list item description (optional).
- Value string
- Specify the item value.
- created
At String - description String
- Provide the list item description (optional).
- value String
- Specify the item value.
- created
At string - description string
- Provide the list item description (optional).
- value string
- Specify the item value.
- created_
at str - description str
- Provide the list item description (optional).
- value str
- Specify the item value.
- created
At String - description String
- Provide the list item description (optional).
- value String
- Specify the item value.
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.14.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
