Zscaler Internet Access v1.1.1 published on Tuesday, Jun 24, 2025 by Zscaler
zia.getCasbTenant
Explore with Pulumi AI
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:
- Active
Only bool - App string
- App
Type string - Filter
By List<string>Features - Include
Bucket boolReady S3Tenants - Include
Deleted bool - Scan
Config boolTenants Only - Tenant
Id int - Tenant
Name string
- Active
Only bool - App string
- App
Type string - Filter
By []stringFeatures - Include
Bucket boolReady S3Tenants - Include
Deleted bool - Scan
Config boolTenants Only - Tenant
Id int - Tenant
Name string
- active
Only Boolean - app String
- app
Type String - filter
By List<String>Features - include
Bucket BooleanReady S3Tenants - include
Deleted Boolean - scan
Config BooleanTenants Only - tenant
Id Integer - tenant
Name String
- active
Only boolean - app string
- app
Type string - filter
By string[]Features - include
Bucket booleanReady S3Tenants - include
Deleted boolean - scan
Config booleanTenants Only - tenant
Id number - tenant
Name string
- active_
only bool - app str
- app_
type str - filter_
by_ Sequence[str]features - include_
bucket_ boolready_ s3_ tenants - include_
deleted bool - scan_
config_ booltenants_ only - tenant_
id int - tenant_
name str
- active
Only Boolean - app String
- app
Type String - filter
By List<String>Features - include
Bucket BooleanReady S3Tenants - include
Deleted Boolean - scan
Config BooleanTenants Only - tenant
Id Number - tenant
Name String
getCasbTenant Result
The following output properties are available:
- Enterprise
Tenant stringId - Features
Supporteds List<string> - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Tenant intValidation Time - Modified
Time int - Re
Auth bool - Saas
Application string - Statuses List<string>
- Tenant
Deleted bool - Tenant
Id int - Tenant
Name string - Tenant
Webhook boolEnabled - Zscaler
App List<zscaler.Tenant Ids Pulumi Package. Zia. Outputs. Get Casb Tenant Zscaler App Tenant Id> - Active
Only bool - App string
- App
Type string - Filter
By List<string>Features - Include
Bucket boolReady S3Tenants - Include
Deleted bool - Scan
Config boolTenants Only
- Enterprise
Tenant stringId - Features
Supporteds []string - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Tenant intValidation Time - Modified
Time int - Re
Auth bool - Saas
Application string - Statuses []string
- Tenant
Deleted bool - Tenant
Id int - Tenant
Name string - Tenant
Webhook boolEnabled - Zscaler
App []GetTenant Ids Casb Tenant Zscaler App Tenant Id - Active
Only bool - App string
- App
Type string - Filter
By []stringFeatures - Include
Bucket boolReady S3Tenants - Include
Deleted bool - Scan
Config boolTenants Only
- enterprise
Tenant StringId - features
Supporteds List<String> - id String
- The provider-assigned unique ID for this managed resource.
- last
Tenant IntegerValidation Time - modified
Time Integer - re
Auth Boolean - saas
Application String - statuses List<String>
- tenant
Deleted Boolean - tenant
Id Integer - tenant
Name String - tenant
Webhook BooleanEnabled - zscaler
App List<GetTenant Ids Casb Tenant Zscaler App Tenant Id> - active
Only Boolean - app String
- app
Type String - filter
By List<String>Features - include
Bucket BooleanReady S3Tenants - include
Deleted Boolean - scan
Config BooleanTenants Only
- enterprise
Tenant stringId - features
Supporteds string[] - id string
- The provider-assigned unique ID for this managed resource.
- last
Tenant numberValidation Time - modified
Time number - re
Auth boolean - saas
Application string - statuses string[]
- tenant
Deleted boolean - tenant
Id number - tenant
Name string - tenant
Webhook booleanEnabled - zscaler
App GetTenant Ids Casb Tenant Zscaler App Tenant Id[] - active
Only boolean - app string
- app
Type string - filter
By string[]Features - include
Bucket booleanReady S3Tenants - include
Deleted boolean - scan
Config booleanTenants Only
- enterprise_
tenant_ strid - features_
supporteds Sequence[str] - id str
- The provider-assigned unique ID for this managed resource.
- last_
tenant_ intvalidation_ time - modified_
time int - re_
auth bool - saas_
application str - statuses Sequence[str]
- tenant_
deleted bool - tenant_
id int - tenant_
name str - tenant_
webhook_ boolenabled - zscaler_
app_ Sequence[Gettenant_ ids Casb Tenant Zscaler App Tenant Id] - active_
only bool - app str
- app_
type str - filter_
by_ Sequence[str]features - include_
bucket_ boolready_ s3_ tenants - include_
deleted bool - scan_
config_ booltenants_ only
- enterprise
Tenant StringId - features
Supporteds List<String> - id String
- The provider-assigned unique ID for this managed resource.
- last
Tenant NumberValidation Time - modified
Time Number - re
Auth Boolean - saas
Application String - statuses List<String>
- tenant
Deleted Boolean - tenant
Id Number - tenant
Name String - tenant
Webhook BooleanEnabled - zscaler
App List<Property Map>Tenant Ids - active
Only Boolean - app String
- app
Type String - filter
By List<String>Features - include
Bucket BooleanReady S3Tenants - include
Deleted Boolean - scan
Config BooleanTenants Only
Supporting Types
GetCasbTenantZscalerAppTenantId
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.