1. Registry
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getZeroTrustResourceLibraryApplications
Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
cloudflare logo cloudflare logo
Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleZeroTrustResourceLibraryApplications = cloudflare.getZeroTrustResourceLibraryApplications({
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        fields: "fields",
        filter: "filter",
        lookup: "xx",
        orderBy: "order_by",
        search: "xx",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_resource_library_applications = cloudflare.get_zero_trust_resource_library_applications(account_id="023e105f4ecef8ad9ca31a8372d0c353",
        fields="fields",
        filter="filter",
        lookup="xx",
        order_by="order_by",
        search="xx")
    
    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.GetZeroTrustResourceLibraryApplications(ctx, &cloudflare.LookupZeroTrustResourceLibraryApplicationsArgs{
    			AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
    			Fields:    pulumi.StringRef("fields"),
    			Filter:    pulumi.StringRef("filter"),
    			Lookup:    pulumi.StringRef("xx"),
    			OrderBy:   pulumi.StringRef("order_by"),
    			Search:    pulumi.StringRef("xx"),
    		}, 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 exampleZeroTrustResourceLibraryApplications = Cloudflare.GetZeroTrustResourceLibraryApplications.Invoke(new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            Fields = "fields",
            Filter = "filter",
            Lookup = "xx",
            OrderBy = "order_by",
            Search = "xx",
        });
    
    });
    
    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.GetZeroTrustResourceLibraryApplicationsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 exampleZeroTrustResourceLibraryApplications = CloudflareFunctions.getZeroTrustResourceLibraryApplications(GetZeroTrustResourceLibraryApplicationsArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .fields("fields")
                .filter("filter")
                .lookup("xx")
                .orderBy("order_by")
                .search("xx")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustResourceLibraryApplications:
        fn::invoke:
          function: cloudflare:getZeroTrustResourceLibraryApplications
          arguments:
            accountId: 023e105f4ecef8ad9ca31a8372d0c353
            fields: fields
            filter: filter
            lookup: xx
            orderBy: order_by
            search: xx
    
    terraform {
      required_providers {
        cloudflare = {
          source = "pulumi/cloudflare"
        }
      }
    }
    
    data "cloudflare_zero_trust_resource_library_applications" "exampleZeroTrustResourceLibraryApplications" {
      account_id = "023e105f4ecef8ad9ca31a8372d0c353"
      fields     = "fields"
      filter     = "filter"
      lookup     = "xx"
      order_by   = "order_by"
      search     = "xx"
    }
    

    Using getZeroTrustResourceLibraryApplications

    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 getZeroTrustResourceLibraryApplications(args: GetZeroTrustResourceLibraryApplicationsArgs, opts?: InvokeOptions): Promise<GetZeroTrustResourceLibraryApplicationsResult>
    function getZeroTrustResourceLibraryApplicationsOutput(args: GetZeroTrustResourceLibraryApplicationsOutputArgs, opts?: InvokeOutputOptions): Output<GetZeroTrustResourceLibraryApplicationsResult>
    def get_zero_trust_resource_library_applications(account_id: Optional[str] = None,
                                                     fields: Optional[str] = None,
                                                     filter: Optional[str] = None,
                                                     limit: Optional[int] = None,
                                                     lookup: Optional[str] = None,
                                                     max_items: Optional[int] = None,
                                                     offset: Optional[int] = None,
                                                     order_by: Optional[str] = None,
                                                     search: Optional[str] = None,
                                                     opts: Optional[InvokeOptions] = None) -> GetZeroTrustResourceLibraryApplicationsResult
    def get_zero_trust_resource_library_applications_output(account_id: pulumi.Input[Optional[str]] = None,
                                                     fields: pulumi.Input[Optional[str]] = None,
                                                     filter: pulumi.Input[Optional[str]] = None,
                                                     limit: pulumi.Input[Optional[int]] = None,
                                                     lookup: pulumi.Input[Optional[str]] = None,
                                                     max_items: pulumi.Input[Optional[int]] = None,
                                                     offset: pulumi.Input[Optional[int]] = None,
                                                     order_by: pulumi.Input[Optional[str]] = None,
                                                     search: pulumi.Input[Optional[str]] = None,
                                                     opts: Optional[InvokeOutputOptions] = None) -> Output[GetZeroTrustResourceLibraryApplicationsResult]
    func LookupZeroTrustResourceLibraryApplications(ctx *Context, args *LookupZeroTrustResourceLibraryApplicationsArgs, opts ...InvokeOption) (*LookupZeroTrustResourceLibraryApplicationsResult, error)
    func LookupZeroTrustResourceLibraryApplicationsOutput(ctx *Context, args *LookupZeroTrustResourceLibraryApplicationsOutputArgs, opts ...InvokeOption) LookupZeroTrustResourceLibraryApplicationsResultOutput

    > Note: This function is named LookupZeroTrustResourceLibraryApplications in the Go SDK.

    public static class GetZeroTrustResourceLibraryApplications 
    {
        public static Task<GetZeroTrustResourceLibraryApplicationsResult> InvokeAsync(GetZeroTrustResourceLibraryApplicationsArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustResourceLibraryApplicationsResult> Invoke(GetZeroTrustResourceLibraryApplicationsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustResourceLibraryApplicationsResult> Invoke(GetZeroTrustResourceLibraryApplicationsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetZeroTrustResourceLibraryApplicationsResult> getZeroTrustResourceLibraryApplications(GetZeroTrustResourceLibraryApplicationsArgs args, InvokeOptions options)
    public static Output<GetZeroTrustResourceLibraryApplicationsResult> getZeroTrustResourceLibraryApplications(GetZeroTrustResourceLibraryApplicationsArgs args, InvokeOptions options)
    public static Output<GetZeroTrustResourceLibraryApplicationsResult> getZeroTrustResourceLibraryApplications(GetZeroTrustResourceLibraryApplicationsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustResourceLibraryApplications:getZeroTrustResourceLibraryApplications
      arguments:
        # arguments dictionary
    data "cloudflare_get_zero_trust_resource_library_applications" "name" {
        # arguments
    }

    The following arguments are supported:

    AccountId string
    Fields string
    Return only the listed properties on each application, as a comma-separated list. Use this to keep responses small when you only need part of each application, for example populating a picker with fields=id,name instead of downloading every hostname and IP subnet.
    Filter string
    Limit int
    Lookup string
    MaxItems int
    Offset int
    OrderBy string
    Search string
    AccountId string
    Fields string
    Return only the listed properties on each application, as a comma-separated list. Use this to keep responses small when you only need part of each application, for example populating a picker with fields=id,name instead of downloading every hostname and IP subnet.
    Filter string
    Limit int
    Lookup string
    MaxItems int
    Offset int
    OrderBy string
    Search string
    account_id string
    fields string
    Return only the listed properties on each application, as a comma-separated list. Use this to keep responses small when you only need part of each application, for example populating a picker with fields=id,name instead of downloading every hostname and IP subnet.
    filter string
    limit number
    lookup string
    max_items number
    offset number
    order_by string
    search string
    accountId String
    fields String
    Return only the listed properties on each application, as a comma-separated list. Use this to keep responses small when you only need part of each application, for example populating a picker with fields=id,name instead of downloading every hostname and IP subnet.
    filter String
    limit Integer
    lookup String
    maxItems Integer
    offset Integer
    orderBy String
    search String
    accountId string
    fields string
    Return only the listed properties on each application, as a comma-separated list. Use this to keep responses small when you only need part of each application, for example populating a picker with fields=id,name instead of downloading every hostname and IP subnet.
    filter string
    limit number
    lookup string
    maxItems number
    offset number
    orderBy string
    search string
    account_id str
    fields str
    Return only the listed properties on each application, as a comma-separated list. Use this to keep responses small when you only need part of each application, for example populating a picker with fields=id,name instead of downloading every hostname and IP subnet.
    filter str
    limit int
    lookup str
    max_items int
    offset int
    order_by str
    search str
    accountId String
    fields String
    Return only the listed properties on each application, as a comma-separated list. Use this to keep responses small when you only need part of each application, for example populating a picker with fields=id,name instead of downloading every hostname and IP subnet.
    filter String
    limit Number
    lookup String
    maxItems Number
    offset Number
    orderBy String
    search String

    getZeroTrustResourceLibraryApplications Result

    The following output properties are available:

    AccountId string
    Limit int
    Offset int
    Results List<GetZeroTrustResourceLibraryApplicationsResult>
    Fields string
    Return only the listed properties on each application, as a comma-separated list. Use this to keep responses small when you only need part of each application, for example populating a picker with fields=id,name instead of downloading every hostname and IP subnet.
    Filter string
    Lookup string
    MaxItems int
    OrderBy string
    Search string
    AccountId string
    Limit int
    Offset int
    Results []GetZeroTrustResourceLibraryApplicationsResult
    Fields string
    Return only the listed properties on each application, as a comma-separated list. Use this to keep responses small when you only need part of each application, for example populating a picker with fields=id,name instead of downloading every hostname and IP subnet.
    Filter string
    Lookup string
    MaxItems int
    OrderBy string
    Search string
    account_id string
    limit number
    offset number
    results list(object)
    fields string
    Return only the listed properties on each application, as a comma-separated list. Use this to keep responses small when you only need part of each application, for example populating a picker with fields=id,name instead of downloading every hostname and IP subnet.
    filter string
    lookup string
    max_items number
    order_by string
    search string
    accountId String
    limit Integer
    offset Integer
    results List<GetZeroTrustResourceLibraryApplicationsResult>
    fields String
    Return only the listed properties on each application, as a comma-separated list. Use this to keep responses small when you only need part of each application, for example populating a picker with fields=id,name instead of downloading every hostname and IP subnet.
    filter String
    lookup String
    maxItems Integer
    orderBy String
    search String
    accountId string
    limit number
    offset number
    results GetZeroTrustResourceLibraryApplicationsResult[]
    fields string
    Return only the listed properties on each application, as a comma-separated list. Use this to keep responses small when you only need part of each application, for example populating a picker with fields=id,name instead of downloading every hostname and IP subnet.
    filter string
    lookup string
    maxItems number
    orderBy string
    search string
    account_id str
    limit int
    offset int
    results Sequence[GetZeroTrustResourceLibraryApplicationsResult]
    fields str
    Return only the listed properties on each application, as a comma-separated list. Use this to keep responses small when you only need part of each application, for example populating a picker with fields=id,name instead of downloading every hostname and IP subnet.
    filter str
    lookup str
    max_items int
    order_by str
    search str
    accountId String
    limit Number
    offset Number
    results List<Property Map>
    fields String
    Return only the listed properties on each application, as a comma-separated list. Use this to keep responses small when you only need part of each application, for example populating a picker with fields=id,name instead of downloading every hostname and IP subnet.
    filter String
    lookup String
    maxItems Number
    orderBy String
    search String

    Supporting Types

    GetZeroTrustResourceLibraryApplicationsResult

    ApplicationConfidenceScore double
    Confidence score for the application. Returns -1 when no score is available.
    ApplicationScoreComposition string
    Returns the score composition breakdown for the application.
    ApplicationSource string
    Returns the application source.
    ApplicationType string
    Returns the application type.
    ApplicationTypeDescription string
    Returns the application type description.
    CategoryId int
    Numeric identifier for an application category.
    CreatedAt string
    Returns the application creation time.
    GenAiScore double
    GenAI score for the application. Returns -1 when no score is available.
    Hostnames List<string>
    Hostnames matched by the application.
    HumanId string
    Human-readable identifier for the application.
    Id int
    Numeric identifier for the application.
    IpSubnets List<string>
    IP subnets for this application. Custom application create and update requests accept IPv4 prefix lengths /8 through /32 and IPv6 prefix lengths /32 through /128.
    Name string
    Application name.
    PortProtocols List<string>
    Ports matched by the application, in protocol/port or inclusive protocol/start-end format (for example, tcp/443 or udp/10000-20000). TCP and UDP ports must be between 0 and 65535.
    ReviewStatus string
    The account-specific Gateway review status. Applications with no assigned review status are returned as unreviewed. Available values: "approved", "unapproved", "inReview", "unreviewed".
    SupportDomains List<string>
    Support domains matched by the application.
    Supporteds List<string>
    Cloudflare products that support this application.
    UpdatedAt string
    Returns the application update time.
    Version string
    Returns the application version.
    ApplicationConfidenceScore float64
    Confidence score for the application. Returns -1 when no score is available.
    ApplicationScoreComposition string
    Returns the score composition breakdown for the application.
    ApplicationSource string
    Returns the application source.
    ApplicationType string
    Returns the application type.
    ApplicationTypeDescription string
    Returns the application type description.
    CategoryId int
    Numeric identifier for an application category.
    CreatedAt string
    Returns the application creation time.
    GenAiScore float64
    GenAI score for the application. Returns -1 when no score is available.
    Hostnames []string
    Hostnames matched by the application.
    HumanId string
    Human-readable identifier for the application.
    Id int
    Numeric identifier for the application.
    IpSubnets []string
    IP subnets for this application. Custom application create and update requests accept IPv4 prefix lengths /8 through /32 and IPv6 prefix lengths /32 through /128.
    Name string
    Application name.
    PortProtocols []string
    Ports matched by the application, in protocol/port or inclusive protocol/start-end format (for example, tcp/443 or udp/10000-20000). TCP and UDP ports must be between 0 and 65535.
    ReviewStatus string
    The account-specific Gateway review status. Applications with no assigned review status are returned as unreviewed. Available values: "approved", "unapproved", "inReview", "unreviewed".
    SupportDomains []string
    Support domains matched by the application.
    Supporteds []string
    Cloudflare products that support this application.
    UpdatedAt string
    Returns the application update time.
    Version string
    Returns the application version.
    application_confidence_score number
    Confidence score for the application. Returns -1 when no score is available.
    application_score_composition string
    Returns the score composition breakdown for the application.
    application_source string
    Returns the application source.
    application_type string
    Returns the application type.
    application_type_description string
    Returns the application type description.
    category_id number
    Numeric identifier for an application category.
    created_at string
    Returns the application creation time.
    gen_ai_score number
    GenAI score for the application. Returns -1 when no score is available.
    hostnames list(string)
    Hostnames matched by the application.
    human_id string
    Human-readable identifier for the application.
    id number
    Numeric identifier for the application.
    ip_subnets list(string)
    IP subnets for this application. Custom application create and update requests accept IPv4 prefix lengths /8 through /32 and IPv6 prefix lengths /32 through /128.
    name string
    Application name.
    port_protocols list(string)
    Ports matched by the application, in protocol/port or inclusive protocol/start-end format (for example, tcp/443 or udp/10000-20000). TCP and UDP ports must be between 0 and 65535.
    review_status string
    The account-specific Gateway review status. Applications with no assigned review status are returned as unreviewed. Available values: "approved", "unapproved", "inReview", "unreviewed".
    support_domains list(string)
    Support domains matched by the application.
    supporteds list(string)
    Cloudflare products that support this application.
    updated_at string
    Returns the application update time.
    version string
    Returns the application version.
    applicationConfidenceScore Double
    Confidence score for the application. Returns -1 when no score is available.
    applicationScoreComposition String
    Returns the score composition breakdown for the application.
    applicationSource String
    Returns the application source.
    applicationType String
    Returns the application type.
    applicationTypeDescription String
    Returns the application type description.
    categoryId Integer
    Numeric identifier for an application category.
    createdAt String
    Returns the application creation time.
    genAiScore Double
    GenAI score for the application. Returns -1 when no score is available.
    hostnames List<String>
    Hostnames matched by the application.
    humanId String
    Human-readable identifier for the application.
    id Integer
    Numeric identifier for the application.
    ipSubnets List<String>
    IP subnets for this application. Custom application create and update requests accept IPv4 prefix lengths /8 through /32 and IPv6 prefix lengths /32 through /128.
    name String
    Application name.
    portProtocols List<String>
    Ports matched by the application, in protocol/port or inclusive protocol/start-end format (for example, tcp/443 or udp/10000-20000). TCP and UDP ports must be between 0 and 65535.
    reviewStatus String
    The account-specific Gateway review status. Applications with no assigned review status are returned as unreviewed. Available values: "approved", "unapproved", "inReview", "unreviewed".
    supportDomains List<String>
    Support domains matched by the application.
    supporteds List<String>
    Cloudflare products that support this application.
    updatedAt String
    Returns the application update time.
    version String
    Returns the application version.
    applicationConfidenceScore number
    Confidence score for the application. Returns -1 when no score is available.
    applicationScoreComposition string
    Returns the score composition breakdown for the application.
    applicationSource string
    Returns the application source.
    applicationType string
    Returns the application type.
    applicationTypeDescription string
    Returns the application type description.
    categoryId number
    Numeric identifier for an application category.
    createdAt string
    Returns the application creation time.
    genAiScore number
    GenAI score for the application. Returns -1 when no score is available.
    hostnames string[]
    Hostnames matched by the application.
    humanId string
    Human-readable identifier for the application.
    id number
    Numeric identifier for the application.
    ipSubnets string[]
    IP subnets for this application. Custom application create and update requests accept IPv4 prefix lengths /8 through /32 and IPv6 prefix lengths /32 through /128.
    name string
    Application name.
    portProtocols string[]
    Ports matched by the application, in protocol/port or inclusive protocol/start-end format (for example, tcp/443 or udp/10000-20000). TCP and UDP ports must be between 0 and 65535.
    reviewStatus string
    The account-specific Gateway review status. Applications with no assigned review status are returned as unreviewed. Available values: "approved", "unapproved", "inReview", "unreviewed".
    supportDomains string[]
    Support domains matched by the application.
    supporteds string[]
    Cloudflare products that support this application.
    updatedAt string
    Returns the application update time.
    version string
    Returns the application version.
    application_confidence_score float
    Confidence score for the application. Returns -1 when no score is available.
    application_score_composition str
    Returns the score composition breakdown for the application.
    application_source str
    Returns the application source.
    application_type str
    Returns the application type.
    application_type_description str
    Returns the application type description.
    category_id int
    Numeric identifier for an application category.
    created_at str
    Returns the application creation time.
    gen_ai_score float
    GenAI score for the application. Returns -1 when no score is available.
    hostnames Sequence[str]
    Hostnames matched by the application.
    human_id str
    Human-readable identifier for the application.
    id int
    Numeric identifier for the application.
    ip_subnets Sequence[str]
    IP subnets for this application. Custom application create and update requests accept IPv4 prefix lengths /8 through /32 and IPv6 prefix lengths /32 through /128.
    name str
    Application name.
    port_protocols Sequence[str]
    Ports matched by the application, in protocol/port or inclusive protocol/start-end format (for example, tcp/443 or udp/10000-20000). TCP and UDP ports must be between 0 and 65535.
    review_status str
    The account-specific Gateway review status. Applications with no assigned review status are returned as unreviewed. Available values: "approved", "unapproved", "inReview", "unreviewed".
    support_domains Sequence[str]
    Support domains matched by the application.
    supporteds Sequence[str]
    Cloudflare products that support this application.
    updated_at str
    Returns the application update time.
    version str
    Returns the application version.
    applicationConfidenceScore Number
    Confidence score for the application. Returns -1 when no score is available.
    applicationScoreComposition String
    Returns the score composition breakdown for the application.
    applicationSource String
    Returns the application source.
    applicationType String
    Returns the application type.
    applicationTypeDescription String
    Returns the application type description.
    categoryId Number
    Numeric identifier for an application category.
    createdAt String
    Returns the application creation time.
    genAiScore Number
    GenAI score for the application. Returns -1 when no score is available.
    hostnames List<String>
    Hostnames matched by the application.
    humanId String
    Human-readable identifier for the application.
    id Number
    Numeric identifier for the application.
    ipSubnets List<String>
    IP subnets for this application. Custom application create and update requests accept IPv4 prefix lengths /8 through /32 and IPv6 prefix lengths /32 through /128.
    name String
    Application name.
    portProtocols List<String>
    Ports matched by the application, in protocol/port or inclusive protocol/start-end format (for example, tcp/443 or udp/10000-20000). TCP and UDP ports must be between 0 and 65535.
    reviewStatus String
    The account-specific Gateway review status. Applications with no assigned review status are returned as unreviewed. Available values: "approved", "unapproved", "inReview", "unreviewed".
    supportDomains List<String>
    Support domains matched by the application.
    supporteds List<String>
    Cloudflare products that support this application.
    updatedAt String
    Returns the application update time.
    version String
    Returns the application version.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo cloudflare logo
    Viewing docs for Cloudflare v6.23.1
    published on Wednesday, Oct 21, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial