1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getFileTypeCategories
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 file type categories, optionally filtered by ID, name, or enum type.

    Using getFileTypeCategories

    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 getFileTypeCategories(args: GetFileTypeCategoriesArgs, opts?: InvokeOptions): Promise<GetFileTypeCategoriesResult>
    function getFileTypeCategoriesOutput(args: GetFileTypeCategoriesOutputArgs, opts?: InvokeOptions): Output<GetFileTypeCategoriesResult>
    def get_file_type_categories(enums: Optional[str] = None,
                                 exclude_custom_file_types: Optional[bool] = None,
                                 name: Optional[str] = None,
                                 resource_id: Optional[int] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetFileTypeCategoriesResult
    def get_file_type_categories_output(enums: Optional[pulumi.Input[str]] = None,
                                 exclude_custom_file_types: Optional[pulumi.Input[bool]] = None,
                                 name: Optional[pulumi.Input[str]] = None,
                                 resource_id: Optional[pulumi.Input[int]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetFileTypeCategoriesResult]
    func GetFileTypeCategories(ctx *Context, args *GetFileTypeCategoriesArgs, opts ...InvokeOption) (*GetFileTypeCategoriesResult, error)
    func GetFileTypeCategoriesOutput(ctx *Context, args *GetFileTypeCategoriesOutputArgs, opts ...InvokeOption) GetFileTypeCategoriesResultOutput

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

    public static class GetFileTypeCategories 
    {
        public static Task<GetFileTypeCategoriesResult> InvokeAsync(GetFileTypeCategoriesArgs args, InvokeOptions? opts = null)
        public static Output<GetFileTypeCategoriesResult> Invoke(GetFileTypeCategoriesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFileTypeCategoriesResult> getFileTypeCategories(GetFileTypeCategoriesArgs args, InvokeOptions options)
    public static Output<GetFileTypeCategoriesResult> getFileTypeCategories(GetFileTypeCategoriesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: zia:getFileTypeCategories
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Enums string
    The enum type to filter file type categories.
    ExcludeCustomFileTypes bool
    If true, exclude custom file types from the results.
    Name string
    The name of the file type category to look up.
    ResourceId int
    The ID of the file type category to look up.
    Enums string
    The enum type to filter file type categories.
    ExcludeCustomFileTypes bool
    If true, exclude custom file types from the results.
    Name string
    The name of the file type category to look up.
    ResourceId int
    The ID of the file type category to look up.
    enums String
    The enum type to filter file type categories.
    excludeCustomFileTypes Boolean
    If true, exclude custom file types from the results.
    name String
    The name of the file type category to look up.
    resourceId Integer
    The ID of the file type category to look up.
    enums string
    The enum type to filter file type categories.
    excludeCustomFileTypes boolean
    If true, exclude custom file types from the results.
    name string
    The name of the file type category to look up.
    resourceId number
    The ID of the file type category to look up.
    enums str
    The enum type to filter file type categories.
    exclude_custom_file_types bool
    If true, exclude custom file types from the results.
    name str
    The name of the file type category to look up.
    resource_id int
    The ID of the file type category to look up.
    enums String
    The enum type to filter file type categories.
    excludeCustomFileTypes Boolean
    If true, exclude custom file types from the results.
    name String
    The name of the file type category to look up.
    resourceId Number
    The ID of the file type category to look up.

    getFileTypeCategories Result

    The following output properties are available:

    Categories List<zscaler.PulumiPackage.Zia.Outputs.FileTypeCategoryItem>
    The list of file type categories returned.
    Name string
    The name of the matched file type category.
    Parent string
    The parent category of the matched file type category.
    ResourceId int
    The ID of the matched file type category.
    Categories []FileTypeCategoryItem
    The list of file type categories returned.
    Name string
    The name of the matched file type category.
    Parent string
    The parent category of the matched file type category.
    ResourceId int
    The ID of the matched file type category.
    categories List<FileTypeCategoryItem>
    The list of file type categories returned.
    name String
    The name of the matched file type category.
    parent String
    The parent category of the matched file type category.
    resourceId Integer
    The ID of the matched file type category.
    categories FileTypeCategoryItem[]
    The list of file type categories returned.
    name string
    The name of the matched file type category.
    parent string
    The parent category of the matched file type category.
    resourceId number
    The ID of the matched file type category.
    categories Sequence[FileTypeCategoryItem]
    The list of file type categories returned.
    name str
    The name of the matched file type category.
    parent str
    The parent category of the matched file type category.
    resource_id int
    The ID of the matched file type category.
    categories List<Property Map>
    The list of file type categories returned.
    name String
    The name of the matched file type category.
    parent String
    The parent category of the matched file type category.
    resourceId Number
    The ID of the matched file type category.

    Supporting Types

    FileTypeCategoryItem

    Name string
    Parent string
    ResourceId int
    Name string
    Parent string
    ResourceId int
    name String
    parent String
    resourceId Integer
    name string
    parent string
    resourceId number
    name String
    parent String
    resourceId Number

    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.