1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. BandwidthControlClassesFileSize
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_file_size resource allows the creation and management of ZIA file size bandwidth class in the Zscaler Internet Access cloud or via the API.

    Example Usage

    BANDWIDTH_CAT_LARGE_FILE

    
    resource "zia_bandwidth_classes_file_size" "this1" {
        file_size = "FILE_5MB"
    }
    

    Create BandwidthControlClassesFileSize Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BandwidthControlClassesFileSize(name: string, args?: BandwidthControlClassesFileSizeArgs, opts?: CustomResourceOptions);
    @overload
    def BandwidthControlClassesFileSize(resource_name: str,
                                        args: Optional[BandwidthControlClassesFileSizeArgs] = None,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def BandwidthControlClassesFileSize(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        file_size: Optional[str] = None,
                                        name: Optional[str] = None,
                                        type: Optional[str] = None)
    func NewBandwidthControlClassesFileSize(ctx *Context, name string, args *BandwidthControlClassesFileSizeArgs, opts ...ResourceOption) (*BandwidthControlClassesFileSize, error)
    public BandwidthControlClassesFileSize(string name, BandwidthControlClassesFileSizeArgs? args = null, CustomResourceOptions? opts = null)
    public BandwidthControlClassesFileSize(String name, BandwidthControlClassesFileSizeArgs args)
    public BandwidthControlClassesFileSize(String name, BandwidthControlClassesFileSizeArgs args, CustomResourceOptions options)
    
    type: zia:BandwidthControlClassesFileSize
    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 BandwidthControlClassesFileSizeArgs
    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 BandwidthControlClassesFileSizeArgs
    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 BandwidthControlClassesFileSizeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BandwidthControlClassesFileSizeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BandwidthControlClassesFileSizeArgs
    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 bandwidthControlClassesFileSizeResource = new Zia.BandwidthControlClassesFileSize("bandwidthControlClassesFileSizeResource", new()
    {
        FileSize = "string",
        Name = "string",
        Type = "string",
    });
    
    example, err := zia.NewBandwidthControlClassesFileSize(ctx, "bandwidthControlClassesFileSizeResource", &zia.BandwidthControlClassesFileSizeArgs{
    	FileSize: pulumi.String("string"),
    	Name:     pulumi.String("string"),
    	Type:     pulumi.String("string"),
    })
    
    var bandwidthControlClassesFileSizeResource = new BandwidthControlClassesFileSize("bandwidthControlClassesFileSizeResource", BandwidthControlClassesFileSizeArgs.builder()
        .fileSize("string")
        .name("string")
        .type("string")
        .build());
    
    bandwidth_control_classes_file_size_resource = zia.BandwidthControlClassesFileSize("bandwidthControlClassesFileSizeResource",
        file_size="string",
        name="string",
        type="string")
    
    const bandwidthControlClassesFileSizeResource = new zia.BandwidthControlClassesFileSize("bandwidthControlClassesFileSizeResource", {
        fileSize: "string",
        name: "string",
        type: "string",
    });
    
    type: zia:BandwidthControlClassesFileSize
    properties:
        fileSize: string
        name: string
        type: string
    

    BandwidthControlClassesFileSize 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 BandwidthControlClassesFileSize resource accepts the following input properties:

    FileSize string
    The file size for a bandwidth class
    Name string
    Name of the bandwidth class
    Type string
    The application type for which the bandwidth class is configured
    FileSize string
    The file size for a bandwidth class
    Name string
    Name of the bandwidth class
    Type string
    The application type for which the bandwidth class is configured
    fileSize String
    The file size for a bandwidth class
    name String
    Name of the bandwidth class
    type String
    The application type for which the bandwidth class is configured
    fileSize string
    The file size for a bandwidth class
    name string
    Name of the bandwidth class
    type string
    The application type for which the bandwidth class is configured
    file_size str
    The file size for a bandwidth class
    name str
    Name of the bandwidth class
    type str
    The application type for which the bandwidth class is configured
    fileSize String
    The file size for a bandwidth class
    name String
    Name of the bandwidth class
    type String
    The application type for which the bandwidth class is configured

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BandwidthControlClassesFileSize resource produces the following output properties:

    ClassId int
    System-generated identifier for the bandwidth class
    Id string
    The provider-assigned unique ID for this managed resource.
    ClassId int
    System-generated identifier for the bandwidth class
    Id string
    The provider-assigned unique ID for this managed resource.
    classId Integer
    System-generated identifier for the bandwidth class
    id String
    The provider-assigned unique ID for this managed resource.
    classId number
    System-generated identifier for the bandwidth class
    id string
    The provider-assigned unique ID for this managed resource.
    class_id int
    System-generated identifier for the bandwidth class
    id str
    The provider-assigned unique ID for this managed resource.
    classId Number
    System-generated identifier for the bandwidth class
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing BandwidthControlClassesFileSize Resource

    Get an existing BandwidthControlClassesFileSize resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: BandwidthControlClassesFileSizeState, opts?: CustomResourceOptions): BandwidthControlClassesFileSize
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            class_id: Optional[int] = None,
            file_size: Optional[str] = None,
            name: Optional[str] = None,
            type: Optional[str] = None) -> BandwidthControlClassesFileSize
    func GetBandwidthControlClassesFileSize(ctx *Context, name string, id IDInput, state *BandwidthControlClassesFileSizeState, opts ...ResourceOption) (*BandwidthControlClassesFileSize, error)
    public static BandwidthControlClassesFileSize Get(string name, Input<string> id, BandwidthControlClassesFileSizeState? state, CustomResourceOptions? opts = null)
    public static BandwidthControlClassesFileSize get(String name, Output<String> id, BandwidthControlClassesFileSizeState state, CustomResourceOptions options)
    resources:  _:    type: zia:BandwidthControlClassesFileSize    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ClassId int
    System-generated identifier for the bandwidth class
    FileSize string
    The file size for a bandwidth class
    Name string
    Name of the bandwidth class
    Type string
    The application type for which the bandwidth class is configured
    ClassId int
    System-generated identifier for the bandwidth class
    FileSize string
    The file size for a bandwidth class
    Name string
    Name of the bandwidth class
    Type string
    The application type for which the bandwidth class is configured
    classId Integer
    System-generated identifier for the bandwidth class
    fileSize String
    The file size for a bandwidth class
    name String
    Name of the bandwidth class
    type String
    The application type for which the bandwidth class is configured
    classId number
    System-generated identifier for the bandwidth class
    fileSize string
    The file size for a bandwidth class
    name string
    Name of the bandwidth class
    type string
    The application type for which the bandwidth class is configured
    class_id int
    System-generated identifier for the bandwidth class
    file_size str
    The file size for a bandwidth class
    name str
    Name of the bandwidth class
    type str
    The application type for which the bandwidth class is configured
    classId Number
    System-generated identifier for the bandwidth class
    fileSize String
    The file size for a bandwidth class
    name String
    Name of the bandwidth class
    type String
    The application type for which the bandwidth class is configured

    Import

    Zscaler offers a dedicated tool called Zscaler-Terraformer to allow the automated import of ZIA configurations into Terraform-compliant HashiCorp Configuration Language. Visit

    zia_bandwidth_classes_file_size can be imported by using <CLASS_ID> or <CLASS_NAME> as the import ID.

    For example:

    $ pulumi import zia:index/bandwidthControlClassesFileSize:BandwidthControlClassesFileSize this <class_id>
    
    $ pulumi import zia:index/bandwidthControlClassesFileSize:BandwidthControlClassesFileSize this <"class_name">
    

    To learn more about importing existing cloud resources, see Importing resources.

    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