1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getCasbTenant
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler
zia logo
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler

    Use this data source to look up a CASB tenant by ID or name.

    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,
                        include_deleted: 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,
                        include_deleted: 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:getCasbTenant
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ActiveOnly bool
    If true, only return active tenants.
    App string
    The application to filter by.
    AppType string
    The application type to filter by.
    IncludeDeleted bool
    If true, include deleted tenants in the results.
    TenantId int
    The ID of the CASB tenant to look up.
    TenantName string
    The name of the CASB tenant to look up.
    ActiveOnly bool
    If true, only return active tenants.
    App string
    The application to filter by.
    AppType string
    The application type to filter by.
    IncludeDeleted bool
    If true, include deleted tenants in the results.
    TenantId int
    The ID of the CASB tenant to look up.
    TenantName string
    The name of the CASB tenant to look up.
    activeOnly Boolean
    If true, only return active tenants.
    app String
    The application to filter by.
    appType String
    The application type to filter by.
    includeDeleted Boolean
    If true, include deleted tenants in the results.
    tenantId Integer
    The ID of the CASB tenant to look up.
    tenantName String
    The name of the CASB tenant to look up.
    activeOnly boolean
    If true, only return active tenants.
    app string
    The application to filter by.
    appType string
    The application type to filter by.
    includeDeleted boolean
    If true, include deleted tenants in the results.
    tenantId number
    The ID of the CASB tenant to look up.
    tenantName string
    The name of the CASB tenant to look up.
    active_only bool
    If true, only return active tenants.
    app str
    The application to filter by.
    app_type str
    The application type to filter by.
    include_deleted bool
    If true, include deleted tenants in the results.
    tenant_id int
    The ID of the CASB tenant to look up.
    tenant_name str
    The name of the CASB tenant to look up.
    activeOnly Boolean
    If true, only return active tenants.
    app String
    The application to filter by.
    appType String
    The application type to filter by.
    includeDeleted Boolean
    If true, include deleted tenants in the results.
    tenantId Number
    The ID of the CASB tenant to look up.
    tenantName String
    The name of the CASB tenant to look up.

    getCasbTenant Result

    The following output properties are available:

    EnterpriseTenantId string
    The enterprise tenant ID.
    FeaturesSupported List<string>
    The list of features supported by the tenant.
    LastTenantValidationTime int
    The last tenant validation time (epoch).
    ModifiedTime int
    The last modification time (epoch).
    ReAuth bool
    Whether re-authentication is required.
    SaasApplication string
    The SaaS application associated with the tenant.
    Status List<string>
    The status of the tenant.
    TenantDeleted bool
    Whether the tenant has been deleted.
    TenantId int
    The ID of the CASB tenant.
    TenantName string
    The name of the CASB tenant.
    TenantWebhookEnabled bool
    Whether tenant webhook is enabled.
    ZscalerAppTenantId int
    The Zscaler application tenant ID.
    EnterpriseTenantId string
    The enterprise tenant ID.
    FeaturesSupported []string
    The list of features supported by the tenant.
    LastTenantValidationTime int
    The last tenant validation time (epoch).
    ModifiedTime int
    The last modification time (epoch).
    ReAuth bool
    Whether re-authentication is required.
    SaasApplication string
    The SaaS application associated with the tenant.
    Status []string
    The status of the tenant.
    TenantDeleted bool
    Whether the tenant has been deleted.
    TenantId int
    The ID of the CASB tenant.
    TenantName string
    The name of the CASB tenant.
    TenantWebhookEnabled bool
    Whether tenant webhook is enabled.
    ZscalerAppTenantId int
    The Zscaler application tenant ID.
    enterpriseTenantId String
    The enterprise tenant ID.
    featuresSupported List<String>
    The list of features supported by the tenant.
    lastTenantValidationTime Integer
    The last tenant validation time (epoch).
    modifiedTime Integer
    The last modification time (epoch).
    reAuth Boolean
    Whether re-authentication is required.
    saasApplication String
    The SaaS application associated with the tenant.
    status List<String>
    The status of the tenant.
    tenantDeleted Boolean
    Whether the tenant has been deleted.
    tenantId Integer
    The ID of the CASB tenant.
    tenantName String
    The name of the CASB tenant.
    tenantWebhookEnabled Boolean
    Whether tenant webhook is enabled.
    zscalerAppTenantId Integer
    The Zscaler application tenant ID.
    enterpriseTenantId string
    The enterprise tenant ID.
    featuresSupported string[]
    The list of features supported by the tenant.
    lastTenantValidationTime number
    The last tenant validation time (epoch).
    modifiedTime number
    The last modification time (epoch).
    reAuth boolean
    Whether re-authentication is required.
    saasApplication string
    The SaaS application associated with the tenant.
    status string[]
    The status of the tenant.
    tenantDeleted boolean
    Whether the tenant has been deleted.
    tenantId number
    The ID of the CASB tenant.
    tenantName string
    The name of the CASB tenant.
    tenantWebhookEnabled boolean
    Whether tenant webhook is enabled.
    zscalerAppTenantId number
    The Zscaler application tenant ID.
    enterprise_tenant_id str
    The enterprise tenant ID.
    features_supported Sequence[str]
    The list of features supported by the tenant.
    last_tenant_validation_time int
    The last tenant validation time (epoch).
    modified_time int
    The last modification time (epoch).
    re_auth bool
    Whether re-authentication is required.
    saas_application str
    The SaaS application associated with the tenant.
    status Sequence[str]
    The status of the tenant.
    tenant_deleted bool
    Whether the tenant has been deleted.
    tenant_id int
    The ID of the CASB tenant.
    tenant_name str
    The name of the CASB tenant.
    tenant_webhook_enabled bool
    Whether tenant webhook is enabled.
    zscaler_app_tenant_id int
    The Zscaler application tenant ID.
    enterpriseTenantId String
    The enterprise tenant ID.
    featuresSupported List<String>
    The list of features supported by the tenant.
    lastTenantValidationTime Number
    The last tenant validation time (epoch).
    modifiedTime Number
    The last modification time (epoch).
    reAuth Boolean
    Whether re-authentication is required.
    saasApplication String
    The SaaS application associated with the tenant.
    status List<String>
    The status of the tenant.
    tenantDeleted Boolean
    Whether the tenant has been deleted.
    tenantId Number
    The ID of the CASB tenant.
    tenantName String
    The name of the CASB tenant.
    tenantWebhookEnabled Boolean
    Whether tenant webhook is enabled.
    zscalerAppTenantId Number
    The Zscaler application tenant ID.

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    zia logo
    Viewing docs for pulumi-resource-zia v1.3.8
    published on Friday, Mar 13, 2026 by Zscaler
      Try Pulumi Cloud free. Your team will thank you.