1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getBandwidthClasses
Zscaler Internet Access v1.2.0 published on Friday, Feb 20, 2026 by Zscaler
zia logo
Zscaler Internet Access v1.2.0 published on Friday, Feb 20, 2026 by Zscaler

    Use the zia_bandwidth_classes Retrieves all the available bandwidth control classes.

    Example Usage

    By Name

    data "zia_bandwidth_classes" "this" {
        name = "Gen_AI_Classes"
    }
    

    By ID

    data "zia_bandwidth_classes" "this" {
        id = 13
    }
    

    Using getBandwidthClasses

    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 getBandwidthClasses(args: GetBandwidthClassesArgs, opts?: InvokeOptions): Promise<GetBandwidthClassesResult>
    function getBandwidthClassesOutput(args: GetBandwidthClassesOutputArgs, opts?: InvokeOptions): Output<GetBandwidthClassesResult>
    def get_bandwidth_classes(file_size: Optional[str] = None,
                              id: Optional[int] = None,
                              name: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetBandwidthClassesResult
    def get_bandwidth_classes_output(file_size: Optional[pulumi.Input[str]] = None,
                              id: Optional[pulumi.Input[int]] = None,
                              name: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetBandwidthClassesResult]
    func GetBandwidthClasses(ctx *Context, args *GetBandwidthClassesArgs, opts ...InvokeOption) (*GetBandwidthClassesResult, error)
    func GetBandwidthClassesOutput(ctx *Context, args *GetBandwidthClassesOutputArgs, opts ...InvokeOption) GetBandwidthClassesResultOutput

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

    public static class GetBandwidthClasses 
    {
        public static Task<GetBandwidthClassesResult> InvokeAsync(GetBandwidthClassesArgs args, InvokeOptions? opts = null)
        public static Output<GetBandwidthClassesResult> Invoke(GetBandwidthClassesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBandwidthClassesResult> getBandwidthClasses(GetBandwidthClassesArgs args, InvokeOptions options)
    public static Output<GetBandwidthClassesResult> getBandwidthClasses(GetBandwidthClassesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: zia:index/getBandwidthClasses:getBandwidthClasses
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FileSize string
    Id int
    System-generated identifier for the bandwidth class
    Name string
    Name of the bandwidth class
    FileSize string
    Id int
    System-generated identifier for the bandwidth class
    Name string
    Name of the bandwidth class
    fileSize String
    id Integer
    System-generated identifier for the bandwidth class
    name String
    Name of the bandwidth class
    fileSize string
    id number
    System-generated identifier for the bandwidth class
    name string
    Name of the bandwidth class
    file_size str
    id int
    System-generated identifier for the bandwidth class
    name str
    Name of the bandwidth class
    fileSize String
    id Number
    System-generated identifier for the bandwidth class
    name String
    Name of the bandwidth class

    getBandwidthClasses Result

    The following output properties are available:

    ApplicationServiceGroups List<string>
    Applications List<string>
    Id int
    IsNameL10nTag bool
    Name string
    NetworkApplications List<string>
    NetworkServices List<string>
    Type string
    UrlCategories List<string>
    (List of strings) The URL categories to add to the bandwidth class. Use the data source zia.URLCategories to retrieve the available categories or visit the Help Portal
    Urls List<string>
    (List of strings) The URLs included in the bandwidth class. You can include multiple entries.
    WebApplications List<string>
    (List of strings) The web conferencing applications included in the bandwidth class. Use the data source zia.getCloudApplications to retrieve the available applications or visit the Help Portal
    FileSize string
    ApplicationServiceGroups []string
    Applications []string
    Id int
    IsNameL10nTag bool
    Name string
    NetworkApplications []string
    NetworkServices []string
    Type string
    UrlCategories []string
    (List of strings) The URL categories to add to the bandwidth class. Use the data source zia.URLCategories to retrieve the available categories or visit the Help Portal
    Urls []string
    (List of strings) The URLs included in the bandwidth class. You can include multiple entries.
    WebApplications []string
    (List of strings) The web conferencing applications included in the bandwidth class. Use the data source zia.getCloudApplications to retrieve the available applications or visit the Help Portal
    FileSize string
    applicationServiceGroups List<String>
    applications List<String>
    id Integer
    isNameL10nTag Boolean
    name String
    networkApplications List<String>
    networkServices List<String>
    type String
    urlCategories List<String>
    (List of strings) The URL categories to add to the bandwidth class. Use the data source zia.URLCategories to retrieve the available categories or visit the Help Portal
    urls List<String>
    (List of strings) The URLs included in the bandwidth class. You can include multiple entries.
    webApplications List<String>
    (List of strings) The web conferencing applications included in the bandwidth class. Use the data source zia.getCloudApplications to retrieve the available applications or visit the Help Portal
    fileSize String
    applicationServiceGroups string[]
    applications string[]
    id number
    isNameL10nTag boolean
    name string
    networkApplications string[]
    networkServices string[]
    type string
    urlCategories string[]
    (List of strings) The URL categories to add to the bandwidth class. Use the data source zia.URLCategories to retrieve the available categories or visit the Help Portal
    urls string[]
    (List of strings) The URLs included in the bandwidth class. You can include multiple entries.
    webApplications string[]
    (List of strings) The web conferencing applications included in the bandwidth class. Use the data source zia.getCloudApplications to retrieve the available applications or visit the Help Portal
    fileSize string
    application_service_groups Sequence[str]
    applications Sequence[str]
    id int
    is_name_l10n_tag bool
    name str
    network_applications Sequence[str]
    network_services Sequence[str]
    type str
    url_categories Sequence[str]
    (List of strings) The URL categories to add to the bandwidth class. Use the data source zia.URLCategories to retrieve the available categories or visit the Help Portal
    urls Sequence[str]
    (List of strings) The URLs included in the bandwidth class. You can include multiple entries.
    web_applications Sequence[str]
    (List of strings) The web conferencing applications included in the bandwidth class. Use the data source zia.getCloudApplications to retrieve the available applications or visit the Help Portal
    file_size str
    applicationServiceGroups List<String>
    applications List<String>
    id Number
    isNameL10nTag Boolean
    name String
    networkApplications List<String>
    networkServices List<String>
    type String
    urlCategories List<String>
    (List of strings) The URL categories to add to the bandwidth class. Use the data source zia.URLCategories to retrieve the available categories or visit the Help Portal
    urls List<String>
    (List of strings) The URLs included in the bandwidth class. You can include multiple entries.
    webApplications List<String>
    (List of strings) The web conferencing applications included in the bandwidth class. Use the data source zia.getCloudApplications to retrieve the available applications or visit the Help Portal
    fileSize String

    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.2.0 published on Friday, Feb 20, 2026 by Zscaler
      Meet Neo: Your AI Platform Teammate