1. Registry
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getZeroTrustCasbIntegration
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 exampleZeroTrustCasbIntegration = cloudflare.getZeroTrustCasbIntegration({
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        id: "id",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_casb_integration = cloudflare.get_zero_trust_casb_integration(account_id="023e105f4ecef8ad9ca31a8372d0c353",
        id="id")
    
    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.GetZeroTrustCasbIntegration(ctx, &cloudflare.LookupZeroTrustCasbIntegrationArgs{
    			AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
    			Id:        pulumi.StringRef("id"),
    		}, 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 exampleZeroTrustCasbIntegration = Cloudflare.GetZeroTrustCasbIntegration.Invoke(new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            Id = "id",
        });
    
    });
    
    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.GetZeroTrustCasbIntegrationArgs;
    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 exampleZeroTrustCasbIntegration = CloudflareFunctions.getZeroTrustCasbIntegration(GetZeroTrustCasbIntegrationArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .id("id")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustCasbIntegration:
        fn::invoke:
          function: cloudflare:getZeroTrustCasbIntegration
          arguments:
            accountId: 023e105f4ecef8ad9ca31a8372d0c353
            id: id
    
    terraform {
      required_providers {
        cloudflare = {
          source = "pulumi/cloudflare"
        }
      }
    }
    
    data "cloudflare_zero_trust_casb_integration" "exampleZeroTrustCasbIntegration" {
      account_id = "023e105f4ecef8ad9ca31a8372d0c353"
      id         = "id"
    }
    

    Using getZeroTrustCasbIntegration

    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 getZeroTrustCasbIntegration(args: GetZeroTrustCasbIntegrationArgs, opts?: InvokeOptions): Promise<GetZeroTrustCasbIntegrationResult>
    function getZeroTrustCasbIntegrationOutput(args: GetZeroTrustCasbIntegrationOutputArgs, opts?: InvokeOutputOptions): Output<GetZeroTrustCasbIntegrationResult>
    def get_zero_trust_casb_integration(account_id: Optional[str] = None,
                                        filter: Optional[GetZeroTrustCasbIntegrationFilter] = None,
                                        id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetZeroTrustCasbIntegrationResult
    def get_zero_trust_casb_integration_output(account_id: pulumi.Input[Optional[str]] = None,
                                        filter: pulumi.Input[Optional[GetZeroTrustCasbIntegrationFilterArgs]] = None,
                                        id: pulumi.Input[Optional[str]] = None,
                                        opts: Optional[InvokeOutputOptions] = None) -> Output[GetZeroTrustCasbIntegrationResult]
    func LookupZeroTrustCasbIntegration(ctx *Context, args *LookupZeroTrustCasbIntegrationArgs, opts ...InvokeOption) (*LookupZeroTrustCasbIntegrationResult, error)
    func LookupZeroTrustCasbIntegrationOutput(ctx *Context, args *LookupZeroTrustCasbIntegrationOutputArgs, opts ...InvokeOption) LookupZeroTrustCasbIntegrationResultOutput

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

    public static class GetZeroTrustCasbIntegration 
    {
        public static Task<GetZeroTrustCasbIntegrationResult> InvokeAsync(GetZeroTrustCasbIntegrationArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustCasbIntegrationResult> Invoke(GetZeroTrustCasbIntegrationInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustCasbIntegrationResult> Invoke(GetZeroTrustCasbIntegrationInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetZeroTrustCasbIntegrationResult> getZeroTrustCasbIntegration(GetZeroTrustCasbIntegrationArgs args, InvokeOptions options)
    public static Output<GetZeroTrustCasbIntegrationResult> getZeroTrustCasbIntegration(GetZeroTrustCasbIntegrationArgs args, InvokeOptions options)
    public static Output<GetZeroTrustCasbIntegrationResult> getZeroTrustCasbIntegration(GetZeroTrustCasbIntegrationArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustCasbIntegration:getZeroTrustCasbIntegration
      arguments:
        # arguments dictionary
    data "cloudflare_get_zero_trust_casb_integration" "name" {
        # arguments
    }

    The following arguments are supported:

    AccountId string
    Filter GetZeroTrustCasbIntegrationFilter
    Id string
    Integration ID to look up. Exactly one of id or filter must be configured.
    AccountId string
    Filter GetZeroTrustCasbIntegrationFilter
    Id string
    Integration ID to look up. Exactly one of id or filter must be configured.
    account_id string
    filter object
    id string
    Integration ID to look up. Exactly one of id or filter must be configured.
    accountId String
    filter GetZeroTrustCasbIntegrationFilter
    id String
    Integration ID to look up. Exactly one of id or filter must be configured.
    accountId string
    filter GetZeroTrustCasbIntegrationFilter
    id string
    Integration ID to look up. Exactly one of id or filter must be configured.
    account_id str
    filter GetZeroTrustCasbIntegrationFilter
    id str
    Integration ID to look up. Exactly one of id or filter must be configured.
    accountId String
    filter Property Map
    id String
    Integration ID to look up. Exactly one of id or filter must be configured.

    getZeroTrustCasbIntegration Result

    The following output properties are available:

    AccountId string
    Application Dictionary<string, string>
    AuthMethod Dictionary<string, string>
    The integration's authentication method.
    AuthorizationLink GetZeroTrustCasbIntegrationAuthorizationLink
    Authorization link for the integration.
    Created string
    When the integration was created.
    CredentialsExpiry string
    Credentials expiry time.
    DlpProfiles List<string>
    DLP Profiles enabled for the integration.
    HealthDetails List<ImmutableDictionary<string, string>>
    Health details with remediation hints.
    Id string
    Integration ID to look up. Exactly one of id or filter must be configured.
    IsPaused bool
    Whether the user paused the integration.
    LastHydrated string
    Last time the integration was hydrated.
    Name string
    Name of the integration.
    Status string
    Integration status.
    Updated string
    When the integration was last updated.
    UseCases List<ImmutableDictionary<string, string>>
    Use cases enabled for the integration.
    Filter GetZeroTrustCasbIntegrationFilter
    AccountId string
    Application map[string]string
    AuthMethod map[string]string
    The integration's authentication method.
    AuthorizationLink GetZeroTrustCasbIntegrationAuthorizationLink
    Authorization link for the integration.
    Created string
    When the integration was created.
    CredentialsExpiry string
    Credentials expiry time.
    DlpProfiles []string
    DLP Profiles enabled for the integration.
    HealthDetails []map[string]string
    Health details with remediation hints.
    Id string
    Integration ID to look up. Exactly one of id or filter must be configured.
    IsPaused bool
    Whether the user paused the integration.
    LastHydrated string
    Last time the integration was hydrated.
    Name string
    Name of the integration.
    Status string
    Integration status.
    Updated string
    When the integration was last updated.
    UseCases []map[string]string
    Use cases enabled for the integration.
    Filter GetZeroTrustCasbIntegrationFilter
    account_id string
    application map(string)
    auth_method map(string)
    The integration's authentication method.
    authorization_link object
    Authorization link for the integration.
    created string
    When the integration was created.
    credentials_expiry string
    Credentials expiry time.
    dlp_profiles list(string)
    DLP Profiles enabled for the integration.
    health_details list(map(string))
    Health details with remediation hints.
    id string
    Integration ID to look up. Exactly one of id or filter must be configured.
    is_paused bool
    Whether the user paused the integration.
    last_hydrated string
    Last time the integration was hydrated.
    name string
    Name of the integration.
    status string
    Integration status.
    updated string
    When the integration was last updated.
    use_cases list(map(string))
    Use cases enabled for the integration.
    filter object
    accountId String
    application Map<String,String>
    authMethod Map<String,String>
    The integration's authentication method.
    authorizationLink GetZeroTrustCasbIntegrationAuthorizationLink
    Authorization link for the integration.
    created String
    When the integration was created.
    credentialsExpiry String
    Credentials expiry time.
    dlpProfiles List<String>
    DLP Profiles enabled for the integration.
    healthDetails List<Map<String,String>>
    Health details with remediation hints.
    id String
    Integration ID to look up. Exactly one of id or filter must be configured.
    isPaused Boolean
    Whether the user paused the integration.
    lastHydrated String
    Last time the integration was hydrated.
    name String
    Name of the integration.
    status String
    Integration status.
    updated String
    When the integration was last updated.
    useCases List<Map<String,String>>
    Use cases enabled for the integration.
    filter GetZeroTrustCasbIntegrationFilter
    accountId string
    application {[key: string]: string}
    authMethod {[key: string]: string}
    The integration's authentication method.
    authorizationLink GetZeroTrustCasbIntegrationAuthorizationLink
    Authorization link for the integration.
    created string
    When the integration was created.
    credentialsExpiry string
    Credentials expiry time.
    dlpProfiles string[]
    DLP Profiles enabled for the integration.
    healthDetails {[key: string]: string}[]
    Health details with remediation hints.
    id string
    Integration ID to look up. Exactly one of id or filter must be configured.
    isPaused boolean
    Whether the user paused the integration.
    lastHydrated string
    Last time the integration was hydrated.
    name string
    Name of the integration.
    status string
    Integration status.
    updated string
    When the integration was last updated.
    useCases {[key: string]: string}[]
    Use cases enabled for the integration.
    filter GetZeroTrustCasbIntegrationFilter
    account_id str
    application Mapping[str, str]
    auth_method Mapping[str, str]
    The integration's authentication method.
    authorization_link GetZeroTrustCasbIntegrationAuthorizationLink
    Authorization link for the integration.
    created str
    When the integration was created.
    credentials_expiry str
    Credentials expiry time.
    dlp_profiles Sequence[str]
    DLP Profiles enabled for the integration.
    health_details Sequence[Mapping[str, str]]
    Health details with remediation hints.
    id str
    Integration ID to look up. Exactly one of id or filter must be configured.
    is_paused bool
    Whether the user paused the integration.
    last_hydrated str
    Last time the integration was hydrated.
    name str
    Name of the integration.
    status str
    Integration status.
    updated str
    When the integration was last updated.
    use_cases Sequence[Mapping[str, str]]
    Use cases enabled for the integration.
    filter GetZeroTrustCasbIntegrationFilter
    accountId String
    application Map<String>
    authMethod Map<String>
    The integration's authentication method.
    authorizationLink Property Map
    Authorization link for the integration.
    created String
    When the integration was created.
    credentialsExpiry String
    Credentials expiry time.
    dlpProfiles List<String>
    DLP Profiles enabled for the integration.
    healthDetails List<Map<String>>
    Health details with remediation hints.
    id String
    Integration ID to look up. Exactly one of id or filter must be configured.
    isPaused Boolean
    Whether the user paused the integration.
    lastHydrated String
    Last time the integration was hydrated.
    name String
    Name of the integration.
    status String
    Integration status.
    updated String
    When the integration was last updated.
    useCases List<Map<String>>
    Use cases enabled for the integration.
    filter Property Map

    Supporting Types

    Components Dictionary<string, string>
    Link string
    Components map[string]string
    Link string
    components map(string)
    link string
    components Map<String,String>
    link String
    components {[key: string]: string}
    link string
    components Mapping[str, str]
    link str
    components Map<String>
    link String

    GetZeroTrustCasbIntegrationFilter

    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).
    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).
    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).
    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).
    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).
    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).
    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).
    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).
    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).
    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).
    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).
    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).
    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).
    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).

    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