1. Registry
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getZeroTrustCasbIntegrations
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 exampleZeroTrustCasbIntegrations = cloudflare.getZeroTrustCasbIntegrations({
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        application: "application",
        direction: "asc",
        dlpEnabled: true,
        order: "application",
        page: 0,
        pageSize: 0,
        search: "search",
        status: "Healthy",
        useCases: "use_cases",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_casb_integrations = cloudflare.get_zero_trust_casb_integrations(account_id="023e105f4ecef8ad9ca31a8372d0c353",
        application="application",
        direction="asc",
        dlp_enabled=True,
        order="application",
        page=0,
        page_size=0,
        search="search",
        status="Healthy",
        use_cases="use_cases")
    
    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.GetZeroTrustCasbIntegrations(ctx, &cloudflare.LookupZeroTrustCasbIntegrationsArgs{
    			AccountId:   "023e105f4ecef8ad9ca31a8372d0c353",
    			Application: pulumi.StringRef("application"),
    			Direction:   pulumi.StringRef("asc"),
    			DlpEnabled:  pulumi.BoolRef(true),
    			Order:       pulumi.StringRef("application"),
    			Page:        pulumi.IntRef(0),
    			PageSize:    pulumi.IntRef(0),
    			Search:      pulumi.StringRef("search"),
    			Status:      pulumi.StringRef("Healthy"),
    			UseCases:    pulumi.StringRef("use_cases"),
    		}, 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 exampleZeroTrustCasbIntegrations = Cloudflare.GetZeroTrustCasbIntegrations.Invoke(new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            Application = "application",
            Direction = "asc",
            DlpEnabled = true,
            Order = "application",
            Page = 0,
            PageSize = 0,
            Search = "search",
            Status = "Healthy",
            UseCases = "use_cases",
        });
    
    });
    
    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.GetZeroTrustCasbIntegrationsArgs;
    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 exampleZeroTrustCasbIntegrations = CloudflareFunctions.getZeroTrustCasbIntegrations(GetZeroTrustCasbIntegrationsArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .application("application")
                .direction("asc")
                .dlpEnabled(true)
                .order("application")
                .page(0)
                .pageSize(0)
                .search("search")
                .status("Healthy")
                .useCases("use_cases")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustCasbIntegrations:
        fn::invoke:
          function: cloudflare:getZeroTrustCasbIntegrations
          arguments:
            accountId: 023e105f4ecef8ad9ca31a8372d0c353
            application: application
            direction: asc
            dlpEnabled: true
            order: application
            page: 0
            pageSize: 0
            search: search
            status: Healthy
            useCases: use_cases
    
    terraform {
      required_providers {
        cloudflare = {
          source = "pulumi/cloudflare"
        }
      }
    }
    
    data "cloudflare_zero_trust_casb_integrations" "exampleZeroTrustCasbIntegrations" {
      account_id  = "023e105f4ecef8ad9ca31a8372d0c353"
      application = "application"
      direction   = "asc"
      dlp_enabled = true
      order       = "application"
      page        = 0
      page_size   = 0
      search      = "search"
      status      = "Healthy"
      use_cases   = "use_cases"
    }
    

    Using getZeroTrustCasbIntegrations

    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 getZeroTrustCasbIntegrations(args: GetZeroTrustCasbIntegrationsArgs, opts?: InvokeOptions): Promise<GetZeroTrustCasbIntegrationsResult>
    function getZeroTrustCasbIntegrationsOutput(args: GetZeroTrustCasbIntegrationsOutputArgs, opts?: InvokeOutputOptions): Output<GetZeroTrustCasbIntegrationsResult>
    def get_zero_trust_casb_integrations(account_id: Optional[str] = None,
                                         application: Optional[str] = None,
                                         direction: Optional[str] = None,
                                         dlp_enabled: Optional[bool] = None,
                                         max_items: Optional[int] = None,
                                         order: Optional[str] = None,
                                         page: Optional[int] = None,
                                         page_size: Optional[int] = None,
                                         search: Optional[str] = None,
                                         status: Optional[str] = None,
                                         use_cases: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetZeroTrustCasbIntegrationsResult
    def get_zero_trust_casb_integrations_output(account_id: pulumi.Input[Optional[str]] = None,
                                         application: pulumi.Input[Optional[str]] = None,
                                         direction: pulumi.Input[Optional[str]] = None,
                                         dlp_enabled: pulumi.Input[Optional[bool]] = None,
                                         max_items: pulumi.Input[Optional[int]] = None,
                                         order: pulumi.Input[Optional[str]] = None,
                                         page: pulumi.Input[Optional[int]] = None,
                                         page_size: pulumi.Input[Optional[int]] = None,
                                         search: pulumi.Input[Optional[str]] = None,
                                         status: pulumi.Input[Optional[str]] = None,
                                         use_cases: pulumi.Input[Optional[str]] = None,
                                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetZeroTrustCasbIntegrationsResult]
    func LookupZeroTrustCasbIntegrations(ctx *Context, args *LookupZeroTrustCasbIntegrationsArgs, opts ...InvokeOption) (*LookupZeroTrustCasbIntegrationsResult, error)
    func LookupZeroTrustCasbIntegrationsOutput(ctx *Context, args *LookupZeroTrustCasbIntegrationsOutputArgs, opts ...InvokeOption) LookupZeroTrustCasbIntegrationsResultOutput

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

    public static class GetZeroTrustCasbIntegrations 
    {
        public static Task<GetZeroTrustCasbIntegrationsResult> InvokeAsync(GetZeroTrustCasbIntegrationsArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustCasbIntegrationsResult> Invoke(GetZeroTrustCasbIntegrationsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustCasbIntegrationsResult> Invoke(GetZeroTrustCasbIntegrationsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetZeroTrustCasbIntegrationsResult> getZeroTrustCasbIntegrations(GetZeroTrustCasbIntegrationsArgs args, InvokeOptions options)
    public static Output<GetZeroTrustCasbIntegrationsResult> getZeroTrustCasbIntegrations(GetZeroTrustCasbIntegrationsArgs args, InvokeOptions options)
    public static Output<GetZeroTrustCasbIntegrationsResult> getZeroTrustCasbIntegrations(GetZeroTrustCasbIntegrationsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustCasbIntegrations:getZeroTrustCasbIntegrations
      arguments:
        # arguments dictionary
    data "cloudflare_get_zero_trust_casb_integrations" "name" {
        # arguments
    }

    The following arguments are supported:

    AccountId string
    Application string
    Filter by application/vendor (e.g., GOOGLEWORKSPACE, MICROSOFTINTERNAL).
    Direction string
    Direction to order results. Available values: "asc", "desc".
    DlpEnabled bool
    Filter by DLP enabled status (true/false).
    MaxItems int
    Max items to fetch, default: 1000
    Order string
    Field to order results by. Available values: "application", "created", "name", "status".
    Page int
    Page number within the paginated result set.
    PageSize int
    Number of results per page.
    Search string
    Search integrations by name or application.
    Status string
    Filter by integration status. Available values: "Healthy", "Initializing", "Offline", "Unhealthy".
    UseCases string
    Filter by one enabled use case (for example, casb or ces).
    AccountId string
    Application string
    Filter by application/vendor (e.g., GOOGLEWORKSPACE, MICROSOFTINTERNAL).
    Direction string
    Direction to order results. Available values: "asc", "desc".
    DlpEnabled bool
    Filter by DLP enabled status (true/false).
    MaxItems int
    Max items to fetch, default: 1000
    Order string
    Field to order results by. Available values: "application", "created", "name", "status".
    Page int
    Page number within the paginated result set.
    PageSize int
    Number of results per page.
    Search string
    Search integrations by name or application.
    Status string
    Filter by integration status. Available values: "Healthy", "Initializing", "Offline", "Unhealthy".
    UseCases string
    Filter by one enabled use case (for example, casb or ces).
    account_id string
    application string
    Filter by application/vendor (e.g., GOOGLEWORKSPACE, MICROSOFTINTERNAL).
    direction string
    Direction to order results. Available values: "asc", "desc".
    dlp_enabled bool
    Filter by DLP enabled status (true/false).
    max_items number
    Max items to fetch, default: 1000
    order string
    Field to order results by. Available values: "application", "created", "name", "status".
    page number
    Page number within the paginated result set.
    page_size number
    Number of results per page.
    search string
    Search integrations by name or application.
    status string
    Filter by integration status. Available values: "Healthy", "Initializing", "Offline", "Unhealthy".
    use_cases string
    Filter by one enabled use case (for example, casb or ces).
    accountId String
    application String
    Filter by application/vendor (e.g., GOOGLEWORKSPACE, MICROSOFTINTERNAL).
    direction String
    Direction to order results. Available values: "asc", "desc".
    dlpEnabled Boolean
    Filter by DLP enabled status (true/false).
    maxItems Integer
    Max items to fetch, default: 1000
    order String
    Field to order results by. Available values: "application", "created", "name", "status".
    page Integer
    Page number within the paginated result set.
    pageSize Integer
    Number of results per page.
    search String
    Search integrations by name or application.
    status String
    Filter by integration status. Available values: "Healthy", "Initializing", "Offline", "Unhealthy".
    useCases String
    Filter by one enabled use case (for example, casb or ces).
    accountId string
    application string
    Filter by application/vendor (e.g., GOOGLEWORKSPACE, MICROSOFTINTERNAL).
    direction string
    Direction to order results. Available values: "asc", "desc".
    dlpEnabled boolean
    Filter by DLP enabled status (true/false).
    maxItems number
    Max items to fetch, default: 1000
    order string
    Field to order results by. Available values: "application", "created", "name", "status".
    page number
    Page number within the paginated result set.
    pageSize number
    Number of results per page.
    search string
    Search integrations by name or application.
    status string
    Filter by integration status. Available values: "Healthy", "Initializing", "Offline", "Unhealthy".
    useCases string
    Filter by one enabled use case (for example, casb or ces).
    account_id str
    application str
    Filter by application/vendor (e.g., GOOGLEWORKSPACE, MICROSOFTINTERNAL).
    direction str
    Direction to order results. Available values: "asc", "desc".
    dlp_enabled bool
    Filter by DLP enabled status (true/false).
    max_items int
    Max items to fetch, default: 1000
    order str
    Field to order results by. Available values: "application", "created", "name", "status".
    page int
    Page number within the paginated result set.
    page_size int
    Number of results per page.
    search str
    Search integrations by name or application.
    status str
    Filter by integration status. Available values: "Healthy", "Initializing", "Offline", "Unhealthy".
    use_cases str
    Filter by one enabled use case (for example, casb or ces).
    accountId String
    application String
    Filter by application/vendor (e.g., GOOGLEWORKSPACE, MICROSOFTINTERNAL).
    direction String
    Direction to order results. Available values: "asc", "desc".
    dlpEnabled Boolean
    Filter by DLP enabled status (true/false).
    maxItems Number
    Max items to fetch, default: 1000
    order String
    Field to order results by. Available values: "application", "created", "name", "status".
    page Number
    Page number within the paginated result set.
    pageSize Number
    Number of results per page.
    search String
    Search integrations by name or application.
    status String
    Filter by integration status. Available values: "Healthy", "Initializing", "Offline", "Unhealthy".
    useCases String
    Filter by one enabled use case (for example, casb or ces).

    getZeroTrustCasbIntegrations Result

    The following output properties are available:

    AccountId string
    Results List<GetZeroTrustCasbIntegrationsResult>
    The items returned by the data source
    Application string
    Filter by application/vendor (e.g., GOOGLEWORKSPACE, MICROSOFTINTERNAL).
    Direction string
    Direction to order results. Available values: "asc", "desc".
    DlpEnabled bool
    Filter by DLP enabled status (true/false).
    MaxItems int
    Max items to fetch, default: 1000
    Order string
    Field to order results by. Available values: "application", "created", "name", "status".
    Page int
    Page number within the paginated result set.
    PageSize int
    Number of results per page.
    Search string
    Search integrations by name or application.
    Status string
    Filter by integration status. Available values: "Healthy", "Initializing", "Offline", "Unhealthy".
    UseCases string
    Filter by one enabled use case (for example, casb or ces).
    AccountId string
    Results []GetZeroTrustCasbIntegrationsResult
    The items returned by the data source
    Application string
    Filter by application/vendor (e.g., GOOGLEWORKSPACE, MICROSOFTINTERNAL).
    Direction string
    Direction to order results. Available values: "asc", "desc".
    DlpEnabled bool
    Filter by DLP enabled status (true/false).
    MaxItems int
    Max items to fetch, default: 1000
    Order string
    Field to order results by. Available values: "application", "created", "name", "status".
    Page int
    Page number within the paginated result set.
    PageSize int
    Number of results per page.
    Search string
    Search integrations by name or application.
    Status string
    Filter by integration status. Available values: "Healthy", "Initializing", "Offline", "Unhealthy".
    UseCases string
    Filter by one enabled use case (for example, casb or ces).
    account_id string
    results list(object)
    The items returned by the data source
    application string
    Filter by application/vendor (e.g., GOOGLEWORKSPACE, MICROSOFTINTERNAL).
    direction string
    Direction to order results. Available values: "asc", "desc".
    dlp_enabled bool
    Filter by DLP enabled status (true/false).
    max_items number
    Max items to fetch, default: 1000
    order string
    Field to order results by. Available values: "application", "created", "name", "status".
    page number
    Page number within the paginated result set.
    page_size number
    Number of results per page.
    search string
    Search integrations by name or application.
    status string
    Filter by integration status. Available values: "Healthy", "Initializing", "Offline", "Unhealthy".
    use_cases string
    Filter by one enabled use case (for example, casb or ces).
    accountId String
    results List<GetZeroTrustCasbIntegrationsResult>
    The items returned by the data source
    application String
    Filter by application/vendor (e.g., GOOGLEWORKSPACE, MICROSOFTINTERNAL).
    direction String
    Direction to order results. Available values: "asc", "desc".
    dlpEnabled Boolean
    Filter by DLP enabled status (true/false).
    maxItems Integer
    Max items to fetch, default: 1000
    order String
    Field to order results by. Available values: "application", "created", "name", "status".
    page Integer
    Page number within the paginated result set.
    pageSize Integer
    Number of results per page.
    search String
    Search integrations by name or application.
    status String
    Filter by integration status. Available values: "Healthy", "Initializing", "Offline", "Unhealthy".
    useCases String
    Filter by one enabled use case (for example, casb or ces).
    accountId string
    results GetZeroTrustCasbIntegrationsResult[]
    The items returned by the data source
    application string
    Filter by application/vendor (e.g., GOOGLEWORKSPACE, MICROSOFTINTERNAL).
    direction string
    Direction to order results. Available values: "asc", "desc".
    dlpEnabled boolean
    Filter by DLP enabled status (true/false).
    maxItems number
    Max items to fetch, default: 1000
    order string
    Field to order results by. Available values: "application", "created", "name", "status".
    page number
    Page number within the paginated result set.
    pageSize number
    Number of results per page.
    search string
    Search integrations by name or application.
    status string
    Filter by integration status. Available values: "Healthy", "Initializing", "Offline", "Unhealthy".
    useCases string
    Filter by one enabled use case (for example, casb or ces).
    account_id str
    results Sequence[GetZeroTrustCasbIntegrationsResult]
    The items returned by the data source
    application str
    Filter by application/vendor (e.g., GOOGLEWORKSPACE, MICROSOFTINTERNAL).
    direction str
    Direction to order results. Available values: "asc", "desc".
    dlp_enabled bool
    Filter by DLP enabled status (true/false).
    max_items int
    Max items to fetch, default: 1000
    order str
    Field to order results by. Available values: "application", "created", "name", "status".
    page int
    Page number within the paginated result set.
    page_size int
    Number of results per page.
    search str
    Search integrations by name or application.
    status str
    Filter by integration status. Available values: "Healthy", "Initializing", "Offline", "Unhealthy".
    use_cases str
    Filter by one enabled use case (for example, casb or ces).
    accountId String
    results List<Property Map>
    The items returned by the data source
    application String
    Filter by application/vendor (e.g., GOOGLEWORKSPACE, MICROSOFTINTERNAL).
    direction String
    Direction to order results. Available values: "asc", "desc".
    dlpEnabled Boolean
    Filter by DLP enabled status (true/false).
    maxItems Number
    Max items to fetch, default: 1000
    order String
    Field to order results by. Available values: "application", "created", "name", "status".
    page Number
    Page number within the paginated result set.
    pageSize Number
    Number of results per page.
    search String
    Search integrations by name or application.
    status String
    Filter by integration status. Available values: "Healthy", "Initializing", "Offline", "Unhealthy".
    useCases String
    Filter by one enabled use case (for example, casb or ces).

    Supporting Types

    GetZeroTrustCasbIntegrationsResult

    Application Dictionary<string, string>
    Created string
    When the integration was created.
    Id string
    Integration ID.
    IsPaused bool
    Whether the user paused the integration.
    Name string
    Name of the integration.
    Status string
    Integration status.
    Updated string
    When the integration was last updated.
    Application map[string]string
    Created string
    When the integration was created.
    Id string
    Integration ID.
    IsPaused bool
    Whether the user paused the integration.
    Name string
    Name of the integration.
    Status string
    Integration status.
    Updated string
    When the integration was last updated.
    application map(string)
    created string
    When the integration was created.
    id string
    Integration ID.
    is_paused bool
    Whether the user paused the integration.
    name string
    Name of the integration.
    status string
    Integration status.
    updated string
    When the integration was last updated.
    application Map<String,String>
    created String
    When the integration was created.
    id String
    Integration ID.
    isPaused Boolean
    Whether the user paused the integration.
    name String
    Name of the integration.
    status String
    Integration status.
    updated String
    When the integration was last updated.
    application {[key: string]: string}
    created string
    When the integration was created.
    id string
    Integration ID.
    isPaused boolean
    Whether the user paused the integration.
    name string
    Name of the integration.
    status string
    Integration status.
    updated string
    When the integration was last updated.
    application Mapping[str, str]
    created str
    When the integration was created.
    id str
    Integration ID.
    is_paused bool
    Whether the user paused the integration.
    name str
    Name of the integration.
    status str
    Integration status.
    updated str
    When the integration was last updated.
    application Map<String>
    created String
    When the integration was created.
    id String
    Integration ID.
    isPaused Boolean
    Whether the user paused the integration.
    name String
    Name of the integration.
    status String
    Integration status.
    updated String
    When the integration was last updated.

    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