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 exampleZeroTrustList = cloudflare.getZeroTrustList({
accountId: "699d98642c564d2e855e9661899b7252",
listId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_list = cloudflare.get_zero_trust_list(account_id="699d98642c564d2e855e9661899b7252",
list_id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
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.LookupZeroTrustList(ctx, &cloudflare.LookupZeroTrustListArgs{
AccountId: "699d98642c564d2e855e9661899b7252",
ListId: pulumi.StringRef("f174e90a-fafe-4643-bbbc-4a0ed4fc8415"),
}, 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 exampleZeroTrustList = Cloudflare.GetZeroTrustList.Invoke(new()
{
AccountId = "699d98642c564d2e855e9661899b7252",
ListId = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
});
});
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.GetZeroTrustListArgs;
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 exampleZeroTrustList = CloudflareFunctions.getZeroTrustList(GetZeroTrustListArgs.builder()
.accountId("699d98642c564d2e855e9661899b7252")
.listId("f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
.build());
}
}
variables:
exampleZeroTrustList:
fn::invoke:
function: cloudflare:getZeroTrustList
arguments:
accountId: 699d98642c564d2e855e9661899b7252
listId: f174e90a-fafe-4643-bbbc-4a0ed4fc8415
Using getZeroTrustList
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 getZeroTrustList(args: GetZeroTrustListArgs, opts?: InvokeOptions): Promise<GetZeroTrustListResult>
function getZeroTrustListOutput(args: GetZeroTrustListOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustListResult>def get_zero_trust_list(account_id: Optional[str] = None,
filter: Optional[GetZeroTrustListFilter] = None,
list_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustListResult
def get_zero_trust_list_output(account_id: Optional[pulumi.Input[str]] = None,
filter: Optional[pulumi.Input[GetZeroTrustListFilterArgs]] = None,
list_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustListResult]func LookupZeroTrustList(ctx *Context, args *LookupZeroTrustListArgs, opts ...InvokeOption) (*LookupZeroTrustListResult, error)
func LookupZeroTrustListOutput(ctx *Context, args *LookupZeroTrustListOutputArgs, opts ...InvokeOption) LookupZeroTrustListResultOutput> Note: This function is named LookupZeroTrustList in the Go SDK.
public static class GetZeroTrustList
{
public static Task<GetZeroTrustListResult> InvokeAsync(GetZeroTrustListArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustListResult> Invoke(GetZeroTrustListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetZeroTrustListResult> getZeroTrustList(GetZeroTrustListArgs args, InvokeOptions options)
public static Output<GetZeroTrustListResult> getZeroTrustList(GetZeroTrustListArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustList:getZeroTrustList
arguments:
# arguments dictionaryThe following arguments are supported:
- Account
Id string - Filter
Get
Zero Trust List Filter - List
Id string - Identify the API resource with a UUID.
- Account
Id string - Filter
Get
Zero Trust List Filter - List
Id string - Identify the API resource with a UUID.
- account
Id String - filter
Get
Zero Trust List Filter - list
Id String - Identify the API resource with a UUID.
- account
Id string - filter
Get
Zero Trust List Filter - list
Id string - Identify the API resource with a UUID.
- account_
id str - filter
Get
Zero Trust List Filter - list_
id str - Identify the API resource with a UUID.
- account
Id String - filter Property Map
- list
Id String - Identify the API resource with a UUID.
getZeroTrustList Result
The following output properties are available:
- Account
Id string - Created
At string - Description string
- Provide the list description.
- Id string
- Identify the API resource with a UUID.
- Items
List<Get
Zero Trust List 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 - Filter
Get
Zero Trust List Filter - List
Id string - Identify the API resource with a UUID.
- Account
Id string - Created
At string - Description string
- Provide the list description.
- Id string
- Identify the API resource with a UUID.
- Items
[]Get
Zero Trust List 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 - Filter
Get
Zero Trust List Filter - List
Id string - Identify the API resource with a UUID.
- account
Id String - created
At String - description String
- Provide the list description.
- id String
- Identify the API resource with a UUID.
- items
List<Get
Zero Trust List 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 - filter
Get
Zero Trust List Filter - list
Id String - Identify the API resource with a UUID.
- account
Id string - created
At string - description string
- Provide the list description.
- id string
- Identify the API resource with a UUID.
- items
Get
Zero Trust List 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 - filter
Get
Zero Trust List Filter - list
Id string - Identify the API resource with a UUID.
- account_
id str - created_
at str - description str
- Provide the list description.
- id str
- Identify the API resource with a UUID.
- items
Sequence[Get
Zero Trust List 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 - filter
Get
Zero Trust List Filter - list_
id str - Identify the API resource with a UUID.
- account
Id String - 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 - filter Property Map
- list
Id String - Identify the API resource with a UUID.
Supporting Types
GetZeroTrustListFilter
- Type string
- Specify the list type. Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP", "CATEGORY", "LOCATION", "DEVICE".
- Type string
- Specify the list type. Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP", "CATEGORY", "LOCATION", "DEVICE".
- type String
- Specify the list type. Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP", "CATEGORY", "LOCATION", "DEVICE".
- type string
- Specify the list type. Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP", "CATEGORY", "LOCATION", "DEVICE".
- type str
- Specify the list type. Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP", "CATEGORY", "LOCATION", "DEVICE".
- type String
- Specify the list type. Available values: "SERIAL", "URL", "DOMAIN", "EMAIL", "IP", "CATEGORY", "LOCATION", "DEVICE".
GetZeroTrustListItem
- 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.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
