1. Registry
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getZeroTrustResourceLibraryApplication
Viewing docs for Cloudflare v6.20.0
published on Tuesday, Aug 25, 2026 by Pulumi
cloudflare logo cloudflare logo
Viewing docs for Cloudflare v6.20.0
published on Tuesday, Aug 25, 2026 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleZeroTrustResourceLibraryApplication = cloudflare.getZeroTrustResourceLibraryApplication({
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        id: 498,
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_resource_library_application = cloudflare.get_zero_trust_resource_library_application(account_id="023e105f4ecef8ad9ca31a8372d0c353",
        id=498)
    
    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.GetZeroTrustResourceLibraryApplication(ctx, &cloudflare.GetZeroTrustResourceLibraryApplicationArgs{
    			AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
    			Id:        498,
    		}, 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 exampleZeroTrustResourceLibraryApplication = Cloudflare.GetZeroTrustResourceLibraryApplication.Invoke(new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            Id = 498,
        });
    
    });
    
    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.GetZeroTrustResourceLibraryApplicationArgs;
    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 exampleZeroTrustResourceLibraryApplication = CloudflareFunctions.getZeroTrustResourceLibraryApplication(GetZeroTrustResourceLibraryApplicationArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .id(498)
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustResourceLibraryApplication:
        fn::invoke:
          function: cloudflare:getZeroTrustResourceLibraryApplication
          arguments:
            accountId: 023e105f4ecef8ad9ca31a8372d0c353
            id: 498
    
    pulumi {
      required_providers {
        cloudflare = {
          source = "pulumi/cloudflare"
        }
      }
    }
    
    data "cloudflare_getzerotrustresourcelibraryapplication" "exampleZeroTrustResourceLibraryApplication" {
      account_id = "023e105f4ecef8ad9ca31a8372d0c353"
      id         = 498
    }
    

    Using getZeroTrustResourceLibraryApplication

    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 getZeroTrustResourceLibraryApplication(args: GetZeroTrustResourceLibraryApplicationArgs, opts?: InvokeOptions): Promise<GetZeroTrustResourceLibraryApplicationResult>
    function getZeroTrustResourceLibraryApplicationOutput(args: GetZeroTrustResourceLibraryApplicationOutputArgs, opts?: InvokeOutputOptions): Output<GetZeroTrustResourceLibraryApplicationResult>
    def get_zero_trust_resource_library_application(account_id: Optional[str] = None,
                                                    id: Optional[int] = None,
                                                    opts: Optional[InvokeOptions] = None) -> GetZeroTrustResourceLibraryApplicationResult
    def get_zero_trust_resource_library_application_output(account_id: pulumi.Input[Optional[str]] = None,
                                                    id: pulumi.Input[Optional[int]] = None,
                                                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetZeroTrustResourceLibraryApplicationResult]
    func GetZeroTrustResourceLibraryApplication(ctx *Context, args *GetZeroTrustResourceLibraryApplicationArgs, opts ...InvokeOption) (*GetZeroTrustResourceLibraryApplicationResult, error)
    func GetZeroTrustResourceLibraryApplicationOutput(ctx *Context, args *GetZeroTrustResourceLibraryApplicationOutputArgs, opts ...InvokeOption) GetZeroTrustResourceLibraryApplicationResultOutput

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

    public static class GetZeroTrustResourceLibraryApplication 
    {
        public static Task<GetZeroTrustResourceLibraryApplicationResult> InvokeAsync(GetZeroTrustResourceLibraryApplicationArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustResourceLibraryApplicationResult> Invoke(GetZeroTrustResourceLibraryApplicationInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustResourceLibraryApplicationResult> Invoke(GetZeroTrustResourceLibraryApplicationInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetZeroTrustResourceLibraryApplicationResult> getZeroTrustResourceLibraryApplication(GetZeroTrustResourceLibraryApplicationArgs args, InvokeOptions options)
    public static Output<GetZeroTrustResourceLibraryApplicationResult> getZeroTrustResourceLibraryApplication(GetZeroTrustResourceLibraryApplicationArgs args, InvokeOptions options)
    public static Output<GetZeroTrustResourceLibraryApplicationResult> getZeroTrustResourceLibraryApplication(GetZeroTrustResourceLibraryApplicationArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustResourceLibraryApplication:getZeroTrustResourceLibraryApplication
      arguments:
        # arguments dictionary
    data "cloudflare_get_zero_trust_resource_library_application" "name" {
        # arguments
    }

    The following arguments are supported:

    AccountId string
    Id int
    The ID of this resource.
    AccountId string
    Id int
    The ID of this resource.
    account_id string
    id number
    The ID of this resource.
    accountId String
    id Integer
    The ID of this resource.
    accountId string
    id number
    The ID of this resource.
    account_id str
    id int
    The ID of this resource.
    accountId String
    id Number
    The ID of this resource.

    getZeroTrustResourceLibraryApplication Result

    The following output properties are available:

    AccountId string
    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
    Returns the category ID.
    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
    Returns the human readable ID.
    Id int
    The ID of this resource.
    IpSubnets List<string>
    IP subnets matched by the application.
    Name string
    Returns the application name.
    PortProtocols List<string>
    Port and protocol pairs matched by the application.
    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.
    AccountId string
    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
    Returns the category ID.
    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
    Returns the human readable ID.
    Id int
    The ID of this resource.
    IpSubnets []string
    IP subnets matched by the application.
    Name string
    Returns the application name.
    PortProtocols []string
    Port and protocol pairs matched by the application.
    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.
    account_id string
    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
    Returns the category ID.
    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
    Returns the human readable ID.
    id number
    The ID of this resource.
    ip_subnets list(string)
    IP subnets matched by the application.
    name string
    Returns the application name.
    port_protocols list(string)
    Port and protocol pairs matched by the application.
    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.
    accountId String
    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
    Returns the category ID.
    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
    Returns the human readable ID.
    id Integer
    The ID of this resource.
    ipSubnets List<String>
    IP subnets matched by the application.
    name String
    Returns the application name.
    portProtocols List<String>
    Port and protocol pairs matched by the application.
    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.
    accountId string
    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
    Returns the category ID.
    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
    Returns the human readable ID.
    id number
    The ID of this resource.
    ipSubnets string[]
    IP subnets matched by the application.
    name string
    Returns the application name.
    portProtocols string[]
    Port and protocol pairs matched by the application.
    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.
    account_id str
    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
    Returns the category ID.
    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
    Returns the human readable ID.
    id int
    The ID of this resource.
    ip_subnets Sequence[str]
    IP subnets matched by the application.
    name str
    Returns the application name.
    port_protocols Sequence[str]
    Port and protocol pairs matched by the application.
    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.
    accountId String
    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
    Returns the category ID.
    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
    Returns the human readable ID.
    id Number
    The ID of this resource.
    ipSubnets List<String>
    IP subnets matched by the application.
    name String
    Returns the application name.
    portProtocols List<String>
    Port and protocol pairs matched by the application.
    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.20.0
    published on Tuesday, Aug 25, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial