published on Friday, Mar 13, 2026 by Zscaler
published on Friday, Mar 13, 2026 by Zscaler
The zia_bandwidth_class_file_size resource manages the file size configuration for an existing bandwidth class in the Zscaler Internet Access (ZIA) cloud service. This resource updates a pre-existing bandwidth class (e.g., LARGE_FILE) with the specified file size threshold. Delete is a no-op; the underlying bandwidth class is not removed when the Pulumi resource is destroyed.
For more information, see the ZIA Bandwidth Control documentation.
Example Usage
Basic Bandwidth Class File Size
Example coming soon!
Example coming soon!
Example coming soon!
import * as zia from "@bdzscaler/pulumi-zia";
const example = new zia.BandwidthClassFileSize("example", {
name: "BANDWIDTH_CAT_LARGE_FILE",
type: "BANDWIDTH_CAT_LARGE_FILE",
fileSize: "100MB",
});
import zscaler_pulumi_zia as zia
example = zia.BandwidthClassFileSize("example",
name="BANDWIDTH_CAT_LARGE_FILE",
type="BANDWIDTH_CAT_LARGE_FILE",
file_size="100MB",
)
resources:
example:
type: zia:BandwidthClassFileSize
properties:
name: BANDWIDTH_CAT_LARGE_FILE
type: BANDWIDTH_CAT_LARGE_FILE
fileSize: 100MB
Create BandwidthClassFileSize Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BandwidthClassFileSize(name: string, args?: BandwidthClassFileSizeArgs, opts?: CustomResourceOptions);@overload
def BandwidthClassFileSize(resource_name: str,
args: Optional[BandwidthClassFileSizeArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def BandwidthClassFileSize(resource_name: str,
opts: Optional[ResourceOptions] = None,
file_size: Optional[str] = None,
name: Optional[str] = None,
type: Optional[str] = None)func NewBandwidthClassFileSize(ctx *Context, name string, args *BandwidthClassFileSizeArgs, opts ...ResourceOption) (*BandwidthClassFileSize, error)public BandwidthClassFileSize(string name, BandwidthClassFileSizeArgs? args = null, CustomResourceOptions? opts = null)
public BandwidthClassFileSize(String name, BandwidthClassFileSizeArgs args)
public BandwidthClassFileSize(String name, BandwidthClassFileSizeArgs args, CustomResourceOptions options)
type: zia:BandwidthClassFileSize
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 BandwidthClassFileSizeArgs
- 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 BandwidthClassFileSizeArgs
- 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 BandwidthClassFileSizeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BandwidthClassFileSizeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BandwidthClassFileSizeArgs
- 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 bandwidthClassFileSizeResource = new Zia.BandwidthClassFileSize("bandwidthClassFileSizeResource", new()
{
FileSize = "string",
Name = "string",
Type = "string",
});
example, err := zia.NewBandwidthClassFileSize(ctx, "bandwidthClassFileSizeResource", &zia.BandwidthClassFileSizeArgs{
FileSize: pulumi.String("string"),
Name: pulumi.String("string"),
Type: pulumi.String("string"),
})
var bandwidthClassFileSizeResource = new BandwidthClassFileSize("bandwidthClassFileSizeResource", BandwidthClassFileSizeArgs.builder()
.fileSize("string")
.name("string")
.type("string")
.build());
bandwidth_class_file_size_resource = zia.BandwidthClassFileSize("bandwidthClassFileSizeResource",
file_size="string",
name="string",
type="string")
const bandwidthClassFileSizeResource = new zia.BandwidthClassFileSize("bandwidthClassFileSizeResource", {
fileSize: "string",
name: "string",
type: "string",
});
type: zia:BandwidthClassFileSize
properties:
fileSize: string
name: string
type: string
BandwidthClassFileSize 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 BandwidthClassFileSize resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the BandwidthClassFileSize resource produces the following output properties:
Import
This resource updates an existing bandwidth class by name and does not support traditional import. It is automatically managed by the provider.
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
