published on Friday, Mar 13, 2026 by Zscaler
published on Friday, Mar 13, 2026 by Zscaler
The zia_bandwidth_class resource manages bandwidth classes in the Zscaler Internet Access (ZIA) cloud service. Bandwidth classes define traffic categories based on URLs, URL categories, and web applications that can be referenced in bandwidth control rules to apply specific bandwidth limits.
For more information, see the ZIA Bandwidth Control documentation.
Example Usage
Basic Bandwidth Class
Example coming soon!
Example coming soon!
Example coming soon!
import * as zia from "@bdzscaler/pulumi-zia";
const example = new zia.BandwidthClass("example", {
name: "Example Bandwidth Class",
webApplications: ["STREAMING_MEDIA"],
});
import zscaler_pulumi_zia as zia
example = zia.BandwidthClass("example",
name="Example Bandwidth Class",
web_applications=["STREAMING_MEDIA"],
)
resources:
example:
type: zia:BandwidthClass
properties:
name: Example Bandwidth Class
webApplications:
- STREAMING_MEDIA
Create BandwidthClass Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BandwidthClass(name: string, args?: BandwidthClassArgs, opts?: CustomResourceOptions);@overload
def BandwidthClass(resource_name: str,
args: Optional[BandwidthClassArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def BandwidthClass(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
url_categories: Optional[Sequence[str]] = None,
urls: Optional[Sequence[str]] = None,
web_applications: Optional[Sequence[str]] = None)func NewBandwidthClass(ctx *Context, name string, args *BandwidthClassArgs, opts ...ResourceOption) (*BandwidthClass, error)public BandwidthClass(string name, BandwidthClassArgs? args = null, CustomResourceOptions? opts = null)
public BandwidthClass(String name, BandwidthClassArgs args)
public BandwidthClass(String name, BandwidthClassArgs args, CustomResourceOptions options)
type: zia:BandwidthClass
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BandwidthClassArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BandwidthClassArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BandwidthClassArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BandwidthClassArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BandwidthClassArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var bandwidthClassResource = new Zia.BandwidthClass("bandwidthClassResource", new()
{
Name = "string",
UrlCategories = new[]
{
"string",
},
Urls = new[]
{
"string",
},
WebApplications = new[]
{
"string",
},
});
example, err := zia.NewBandwidthClass(ctx, "bandwidthClassResource", &zia.BandwidthClassArgs{
Name: pulumi.String("string"),
UrlCategories: pulumi.StringArray{
pulumi.String("string"),
},
Urls: pulumi.StringArray{
pulumi.String("string"),
},
WebApplications: pulumi.StringArray{
pulumi.String("string"),
},
})
var bandwidthClassResource = new BandwidthClass("bandwidthClassResource", BandwidthClassArgs.builder()
.name("string")
.urlCategories("string")
.urls("string")
.webApplications("string")
.build());
bandwidth_class_resource = zia.BandwidthClass("bandwidthClassResource",
name="string",
url_categories=["string"],
urls=["string"],
web_applications=["string"])
const bandwidthClassResource = new zia.BandwidthClass("bandwidthClassResource", {
name: "string",
urlCategories: ["string"],
urls: ["string"],
webApplications: ["string"],
});
type: zia:BandwidthClass
properties:
name: string
urlCategories:
- string
urls:
- string
webApplications:
- string
BandwidthClass Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BandwidthClass resource accepts the following input properties:
- Name string
- The name of the bandwidth class. Must be unique.
- Url
Categories List<string> - List of URL categories associated with the bandwidth class.
- Urls List<string>
- List of URLs associated with the bandwidth class.
- Web
Applications List<string> - List of web applications associated with the bandwidth class.
- Name string
- The name of the bandwidth class. Must be unique.
- Url
Categories []string - List of URL categories associated with the bandwidth class.
- Urls []string
- List of URLs associated with the bandwidth class.
- Web
Applications []string - List of web applications associated with the bandwidth class.
- name String
- The name of the bandwidth class. Must be unique.
- url
Categories List<String> - List of URL categories associated with the bandwidth class.
- urls List<String>
- List of URLs associated with the bandwidth class.
- web
Applications List<String> - List of web applications associated with the bandwidth class.
- name string
- The name of the bandwidth class. Must be unique.
- url
Categories string[] - List of URL categories associated with the bandwidth class.
- urls string[]
- List of URLs associated with the bandwidth class.
- web
Applications string[] - List of web applications associated with the bandwidth class.
- name str
- The name of the bandwidth class. Must be unique.
- url_
categories Sequence[str] - List of URL categories associated with the bandwidth class.
- urls Sequence[str]
- List of URLs associated with the bandwidth class.
- web_
applications Sequence[str] - List of web applications associated with the bandwidth class.
- name String
- The name of the bandwidth class. Must be unique.
- url
Categories List<String> - List of URL categories associated with the bandwidth class.
- urls List<String>
- List of URLs associated with the bandwidth class.
- web
Applications List<String> - List of web applications associated with the bandwidth class.
Outputs
All input properties are implicitly available as output properties. Additionally, the BandwidthClass resource produces the following output properties:
Import
An existing Bandwidth Class can be imported using its resource ID, e.g.
$ pulumi import zia:index:BandwidthClass example 12345
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
published on Friday, Mar 13, 2026 by Zscaler
