1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getCasbTenant
Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler

zia.getCasbTenant

Explore with Pulumi AI

zia logo
Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler

    Use the zia_casb_tenant data source to get information about a ZIA SaaS Application Tenants in the Zscaler Internet Access cloud or via the API.

    Example Usage

    By Name

    data "zia_casb_tenant" "this"{
        tenant_name = "Bitbucket"
    }
    

    By ID

    data "zia_casb_tenant" "this"{
        tenant_id = "11743520"
    }
    

    Use Optional Parameters

    data "zia_casb_tenant" "this"{
        tenant_name = "Bitbucket"
        active_only = true
        app = "BITBUCKET"
        filter_by_feature = ["CASB", "SSPM"]
    }
    

    Using getCasbTenant

    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 getCasbTenant(args: GetCasbTenantArgs, opts?: InvokeOptions): Promise<GetCasbTenantResult>
    function getCasbTenantOutput(args: GetCasbTenantOutputArgs, opts?: InvokeOptions): Output<GetCasbTenantResult>
    def get_casb_tenant(active_only: Optional[bool] = None,
                        app: Optional[str] = None,
                        app_type: Optional[str] = None,
                        filter_by_features: Optional[Sequence[str]] = None,
                        include_bucket_ready_s3_tenants: Optional[bool] = None,
                        include_deleted: Optional[bool] = None,
                        scan_config_tenants_only: Optional[bool] = None,
                        tenant_id: Optional[int] = None,
                        tenant_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetCasbTenantResult
    def get_casb_tenant_output(active_only: Optional[pulumi.Input[bool]] = None,
                        app: Optional[pulumi.Input[str]] = None,
                        app_type: Optional[pulumi.Input[str]] = None,
                        filter_by_features: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                        include_bucket_ready_s3_tenants: Optional[pulumi.Input[bool]] = None,
                        include_deleted: Optional[pulumi.Input[bool]] = None,
                        scan_config_tenants_only: Optional[pulumi.Input[bool]] = None,
                        tenant_id: Optional[pulumi.Input[int]] = None,
                        tenant_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetCasbTenantResult]
    func GetCasbTenant(ctx *Context, args *GetCasbTenantArgs, opts ...InvokeOption) (*GetCasbTenantResult, error)
    func GetCasbTenantOutput(ctx *Context, args *GetCasbTenantOutputArgs, opts ...InvokeOption) GetCasbTenantResultOutput

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

    public static class GetCasbTenant 
    {
        public static Task<GetCasbTenantResult> InvokeAsync(GetCasbTenantArgs args, InvokeOptions? opts = null)
        public static Output<GetCasbTenantResult> Invoke(GetCasbTenantInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCasbTenantResult> getCasbTenant(GetCasbTenantArgs args, InvokeOptions options)
    public static Output<GetCasbTenantResult> getCasbTenant(GetCasbTenantArgs args, InvokeOptions options)
    
    fn::invoke:
      function: zia:index/getCasbTenant:getCasbTenant
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getCasbTenant Result

    The following output properties are available:

    enterpriseTenantId String
    featuresSupporteds List<String>
    id String
    The provider-assigned unique ID for this managed resource.
    lastTenantValidationTime Integer
    modifiedTime Integer
    reAuth Boolean
    saasApplication String
    statuses List<String>
    tenantDeleted Boolean
    tenantId Integer
    tenantName String
    tenantWebhookEnabled Boolean
    zscalerAppTenantIds List<GetCasbTenantZscalerAppTenantId>
    activeOnly Boolean
    app String
    appType String
    filterByFeatures List<String>
    includeBucketReadyS3Tenants Boolean
    includeDeleted Boolean
    scanConfigTenantsOnly Boolean
    enterpriseTenantId string
    featuresSupporteds string[]
    id string
    The provider-assigned unique ID for this managed resource.
    lastTenantValidationTime number
    modifiedTime number
    reAuth boolean
    saasApplication string
    statuses string[]
    tenantDeleted boolean
    tenantId number
    tenantName string
    tenantWebhookEnabled boolean
    zscalerAppTenantIds GetCasbTenantZscalerAppTenantId[]
    activeOnly boolean
    app string
    appType string
    filterByFeatures string[]
    includeBucketReadyS3Tenants boolean
    includeDeleted boolean
    scanConfigTenantsOnly boolean
    enterpriseTenantId String
    featuresSupporteds List<String>
    id String
    The provider-assigned unique ID for this managed resource.
    lastTenantValidationTime Number
    modifiedTime Number
    reAuth Boolean
    saasApplication String
    statuses List<String>
    tenantDeleted Boolean
    tenantId Number
    tenantName String
    tenantWebhookEnabled Boolean
    zscalerAppTenantIds List<Property Map>
    activeOnly Boolean
    app String
    appType String
    filterByFeatures List<String>
    includeBucketReadyS3Tenants Boolean
    includeDeleted Boolean
    scanConfigTenantsOnly Boolean

    Supporting Types

    GetCasbTenantZscalerAppTenantId

    Id int
    Identifier that uniquely identifies an entity
    Name string
    The configured name of the entity
    Id int
    Identifier that uniquely identifies an entity
    Name string
    The configured name of the entity
    id Integer
    Identifier that uniquely identifies an entity
    name String
    The configured name of the entity
    id number
    Identifier that uniquely identifies an entity
    name string
    The configured name of the entity
    id int
    Identifier that uniquely identifies an entity
    name str
    The configured name of the entity
    id Number
    Identifier that uniquely identifies an entity
    name String
    The configured name of the entity

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    MIT
    Notes
    This Pulumi package is based on the zia Terraform Provider.
    zia logo
    Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler