Zscaler Internet Access v1.2.0 published on Friday, Feb 20, 2026 by Zscaler
Zscaler Internet Access v1.2.0 published on Friday, Feb 20, 2026 by Zscaler
Use the zia_bandwidth_control_rule Retrieves all the rules in the Bandwidth Control policy.
NOTE: Bandwidth control rule resource is only supported via Zscaler OneAPI.
Example Usage
By Name
data "zia_bandwidth_control_rule" "this" {
name = "Streaming Media Bandwidth"
}
By ID
data "zia_bandwidth_control_rule" "this" {
id = 154658
}
Using getBandwidthControlRule
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 getBandwidthControlRule(args: GetBandwidthControlRuleArgs, opts?: InvokeOptions): Promise<GetBandwidthControlRuleResult>
function getBandwidthControlRuleOutput(args: GetBandwidthControlRuleOutputArgs, opts?: InvokeOptions): Output<GetBandwidthControlRuleResult>def get_bandwidth_control_rule(id: Optional[int] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBandwidthControlRuleResult
def get_bandwidth_control_rule_output(id: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBandwidthControlRuleResult]func LookupBandwidthControlRule(ctx *Context, args *LookupBandwidthControlRuleArgs, opts ...InvokeOption) (*LookupBandwidthControlRuleResult, error)
func LookupBandwidthControlRuleOutput(ctx *Context, args *LookupBandwidthControlRuleOutputArgs, opts ...InvokeOption) LookupBandwidthControlRuleResultOutput> Note: This function is named LookupBandwidthControlRule in the Go SDK.
public static class GetBandwidthControlRule
{
public static Task<GetBandwidthControlRuleResult> InvokeAsync(GetBandwidthControlRuleArgs args, InvokeOptions? opts = null)
public static Output<GetBandwidthControlRuleResult> Invoke(GetBandwidthControlRuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBandwidthControlRuleResult> getBandwidthControlRule(GetBandwidthControlRuleArgs args, InvokeOptions options)
public static Output<GetBandwidthControlRuleResult> getBandwidthControlRule(GetBandwidthControlRuleArgs args, InvokeOptions options)
fn::invoke:
function: zia:index/getBandwidthControlRule:getBandwidthControlRule
arguments:
# arguments dictionaryThe following arguments are supported:
getBandwidthControlRule Result
The following output properties are available:
- Access
Control string - Bandwidth
Classes List<zscaler.Pulumi Package. Zia. Outputs. Get Bandwidth Control Rule Bandwidth Class> - Description string
- (string) Additional information about the rule
- Id int
- (Number) Identifier that uniquely identifies an entity
- Labels
List<zscaler.
Pulumi Package. Zia. Outputs. Get Bandwidth Control Rule Label> - Last
Modified List<zscaler.Bies Pulumi Package. Zia. Outputs. Get Bandwidth Control Rule Last Modified By> - Last
Modified intTime - Location
Groups List<zscaler.Pulumi Package. Zia. Outputs. Get Bandwidth Control Rule Location Group> - Locations
List<zscaler.
Pulumi Package. Zia. Outputs. Get Bandwidth Control Rule Location> - Max
Bandwidth int - (int) The maximum percentage of a location's bandwidth to be guaranteed for each selected bandwidth class. This percentage includes bandwidth for uploads and downloads.
- Min
Bandwidth int - (int) The minimum percentage of a location's bandwidth you want to be guaranteed for each selected bandwidth class. This percentage includes bandwidth for uploads and downloads.
- Name string
- Order int
- Protocols List<string>
- (List of string) Protocol criteria. Supported values:
WEBSOCKETSSL_RULE,WEBSOCKET_RULE,DOHTTPS_RULE,TUNNELSSL_RULE,HTTP_PROXY,FOHTTP_RULE,FTP_RULE,HTTPS_RULE,HTTP_RULE,SSL_RULE,SSL_RULE,TUNNEL_RULE - Rank int
- (int) Admin rank of the Bandwidth Control policy rule
- State string
- (string) Administrative state of the rule.
- Time
Windows List<zscaler.Pulumi Package. Zia. Outputs. Get Bandwidth Control Rule Time Window>
- Access
Control string - Bandwidth
Classes []GetBandwidth Control Rule Bandwidth Class - Description string
- (string) Additional information about the rule
- Id int
- (Number) Identifier that uniquely identifies an entity
- Labels
[]Get
Bandwidth Control Rule Label - Last
Modified []GetBies Bandwidth Control Rule Last Modified By - Last
Modified intTime - Location
Groups []GetBandwidth Control Rule Location Group - Locations
[]Get
Bandwidth Control Rule Location - Max
Bandwidth int - (int) The maximum percentage of a location's bandwidth to be guaranteed for each selected bandwidth class. This percentage includes bandwidth for uploads and downloads.
- Min
Bandwidth int - (int) The minimum percentage of a location's bandwidth you want to be guaranteed for each selected bandwidth class. This percentage includes bandwidth for uploads and downloads.
- Name string
- Order int
- Protocols []string
- (List of string) Protocol criteria. Supported values:
WEBSOCKETSSL_RULE,WEBSOCKET_RULE,DOHTTPS_RULE,TUNNELSSL_RULE,HTTP_PROXY,FOHTTP_RULE,FTP_RULE,HTTPS_RULE,HTTP_RULE,SSL_RULE,SSL_RULE,TUNNEL_RULE - Rank int
- (int) Admin rank of the Bandwidth Control policy rule
- State string
- (string) Administrative state of the rule.
- Time
Windows []GetBandwidth Control Rule Time Window
- access
Control String - bandwidth
Classes List<GetBandwidth Control Rule Bandwidth Class> - description String
- (string) Additional information about the rule
- id Integer
- (Number) Identifier that uniquely identifies an entity
- labels
List<Get
Bandwidth Control Rule Label> - last
Modified List<GetBies Bandwidth Control Rule Last Modified By> - last
Modified IntegerTime - location
Groups List<GetBandwidth Control Rule Location Group> - locations
List<Get
Bandwidth Control Rule Location> - max
Bandwidth Integer - (int) The maximum percentage of a location's bandwidth to be guaranteed for each selected bandwidth class. This percentage includes bandwidth for uploads and downloads.
- min
Bandwidth Integer - (int) The minimum percentage of a location's bandwidth you want to be guaranteed for each selected bandwidth class. This percentage includes bandwidth for uploads and downloads.
- name String
- order Integer
- protocols List<String>
- (List of string) Protocol criteria. Supported values:
WEBSOCKETSSL_RULE,WEBSOCKET_RULE,DOHTTPS_RULE,TUNNELSSL_RULE,HTTP_PROXY,FOHTTP_RULE,FTP_RULE,HTTPS_RULE,HTTP_RULE,SSL_RULE,SSL_RULE,TUNNEL_RULE - rank Integer
- (int) Admin rank of the Bandwidth Control policy rule
- state String
- (string) Administrative state of the rule.
- time
Windows List<GetBandwidth Control Rule Time Window>
- access
Control string - bandwidth
Classes GetBandwidth Control Rule Bandwidth Class[] - description string
- (string) Additional information about the rule
- id number
- (Number) Identifier that uniquely identifies an entity
- labels
Get
Bandwidth Control Rule Label[] - last
Modified GetBies Bandwidth Control Rule Last Modified By[] - last
Modified numberTime - location
Groups GetBandwidth Control Rule Location Group[] - locations
Get
Bandwidth Control Rule Location[] - max
Bandwidth number - (int) The maximum percentage of a location's bandwidth to be guaranteed for each selected bandwidth class. This percentage includes bandwidth for uploads and downloads.
- min
Bandwidth number - (int) The minimum percentage of a location's bandwidth you want to be guaranteed for each selected bandwidth class. This percentage includes bandwidth for uploads and downloads.
- name string
- order number
- protocols string[]
- (List of string) Protocol criteria. Supported values:
WEBSOCKETSSL_RULE,WEBSOCKET_RULE,DOHTTPS_RULE,TUNNELSSL_RULE,HTTP_PROXY,FOHTTP_RULE,FTP_RULE,HTTPS_RULE,HTTP_RULE,SSL_RULE,SSL_RULE,TUNNEL_RULE - rank number
- (int) Admin rank of the Bandwidth Control policy rule
- state string
- (string) Administrative state of the rule.
- time
Windows GetBandwidth Control Rule Time Window[]
- access_
control str - bandwidth_
classes Sequence[GetBandwidth Control Rule Bandwidth Class] - description str
- (string) Additional information about the rule
- id int
- (Number) Identifier that uniquely identifies an entity
- labels
Sequence[Get
Bandwidth Control Rule Label] - last_
modified_ Sequence[Getbies Bandwidth Control Rule Last Modified By] - last_
modified_ inttime - location_
groups Sequence[GetBandwidth Control Rule Location Group] - locations
Sequence[Get
Bandwidth Control Rule Location] - max_
bandwidth int - (int) The maximum percentage of a location's bandwidth to be guaranteed for each selected bandwidth class. This percentage includes bandwidth for uploads and downloads.
- min_
bandwidth int - (int) The minimum percentage of a location's bandwidth you want to be guaranteed for each selected bandwidth class. This percentage includes bandwidth for uploads and downloads.
- name str
- order int
- protocols Sequence[str]
- (List of string) Protocol criteria. Supported values:
WEBSOCKETSSL_RULE,WEBSOCKET_RULE,DOHTTPS_RULE,TUNNELSSL_RULE,HTTP_PROXY,FOHTTP_RULE,FTP_RULE,HTTPS_RULE,HTTP_RULE,SSL_RULE,SSL_RULE,TUNNEL_RULE - rank int
- (int) Admin rank of the Bandwidth Control policy rule
- state str
- (string) Administrative state of the rule.
- time_
windows Sequence[GetBandwidth Control Rule Time Window]
- access
Control String - bandwidth
Classes List<Property Map> - description String
- (string) Additional information about the rule
- id Number
- (Number) Identifier that uniquely identifies an entity
- labels List<Property Map>
- last
Modified List<Property Map>Bies - last
Modified NumberTime - location
Groups List<Property Map> - locations List<Property Map>
- max
Bandwidth Number - (int) The maximum percentage of a location's bandwidth to be guaranteed for each selected bandwidth class. This percentage includes bandwidth for uploads and downloads.
- min
Bandwidth Number - (int) The minimum percentage of a location's bandwidth you want to be guaranteed for each selected bandwidth class. This percentage includes bandwidth for uploads and downloads.
- name String
- order Number
- protocols List<String>
- (List of string) Protocol criteria. Supported values:
WEBSOCKETSSL_RULE,WEBSOCKET_RULE,DOHTTPS_RULE,TUNNELSSL_RULE,HTTP_PROXY,FOHTTP_RULE,FTP_RULE,HTTPS_RULE,HTTP_RULE,SSL_RULE,SSL_RULE,TUNNEL_RULE - rank Number
- (int) Admin rank of the Bandwidth Control policy rule
- state String
- (string) Administrative state of the rule.
- time
Windows List<Property Map>
Supporting Types
GetBandwidthControlRuleBandwidthClass
- Extensions Dictionary<string, string>
- Id int
- System-generated identifier for bandwidth control rule
- Name string
- Rule name.
- Extensions map[string]string
- Id int
- System-generated identifier for bandwidth control rule
- Name string
- Rule name.
- extensions Map<String,String>
- id Integer
- System-generated identifier for bandwidth control rule
- name String
- Rule name.
- extensions {[key: string]: string}
- id number
- System-generated identifier for bandwidth control rule
- name string
- Rule name.
- extensions Mapping[str, str]
- id int
- System-generated identifier for bandwidth control rule
- name str
- Rule name.
- extensions Map<String>
- id Number
- System-generated identifier for bandwidth control rule
- name String
- Rule name.
GetBandwidthControlRuleLabel
- Extensions Dictionary<string, string>
- Id int
- System-generated identifier for bandwidth control rule
- Name string
- Rule name.
- Extensions map[string]string
- Id int
- System-generated identifier for bandwidth control rule
- Name string
- Rule name.
- extensions Map<String,String>
- id Integer
- System-generated identifier for bandwidth control rule
- name String
- Rule name.
- extensions {[key: string]: string}
- id number
- System-generated identifier for bandwidth control rule
- name string
- Rule name.
- extensions Mapping[str, str]
- id int
- System-generated identifier for bandwidth control rule
- name str
- Rule name.
- extensions Map<String>
- id Number
- System-generated identifier for bandwidth control rule
- name String
- Rule name.
GetBandwidthControlRuleLastModifiedBy
- Extensions Dictionary<string, string>
- Id int
- System-generated identifier for bandwidth control rule
- Name string
- Rule name.
- Extensions map[string]string
- Id int
- System-generated identifier for bandwidth control rule
- Name string
- Rule name.
- extensions Map<String,String>
- id Integer
- System-generated identifier for bandwidth control rule
- name String
- Rule name.
- extensions {[key: string]: string}
- id number
- System-generated identifier for bandwidth control rule
- name string
- Rule name.
- extensions Mapping[str, str]
- id int
- System-generated identifier for bandwidth control rule
- name str
- Rule name.
- extensions Map<String>
- id Number
- System-generated identifier for bandwidth control rule
- name String
- Rule name.
GetBandwidthControlRuleLocation
- Extensions Dictionary<string, string>
- Id int
- System-generated identifier for bandwidth control rule
- Name string
- Rule name.
- Extensions map[string]string
- Id int
- System-generated identifier for bandwidth control rule
- Name string
- Rule name.
- extensions Map<String,String>
- id Integer
- System-generated identifier for bandwidth control rule
- name String
- Rule name.
- extensions {[key: string]: string}
- id number
- System-generated identifier for bandwidth control rule
- name string
- Rule name.
- extensions Mapping[str, str]
- id int
- System-generated identifier for bandwidth control rule
- name str
- Rule name.
- extensions Map<String>
- id Number
- System-generated identifier for bandwidth control rule
- name String
- Rule name.
GetBandwidthControlRuleLocationGroup
- Extensions Dictionary<string, string>
- Id int
- System-generated identifier for bandwidth control rule
- Name string
- Rule name.
- Extensions map[string]string
- Id int
- System-generated identifier for bandwidth control rule
- Name string
- Rule name.
- extensions Map<String,String>
- id Integer
- System-generated identifier for bandwidth control rule
- name String
- Rule name.
- extensions {[key: string]: string}
- id number
- System-generated identifier for bandwidth control rule
- name string
- Rule name.
- extensions Mapping[str, str]
- id int
- System-generated identifier for bandwidth control rule
- name str
- Rule name.
- extensions Map<String>
- id Number
- System-generated identifier for bandwidth control rule
- name String
- Rule name.
GetBandwidthControlRuleTimeWindow
- Extensions Dictionary<string, string>
- Id int
- System-generated identifier for bandwidth control rule
- Name string
- Rule name.
- Extensions map[string]string
- Id int
- System-generated identifier for bandwidth control rule
- Name string
- Rule name.
- extensions Map<String,String>
- id Integer
- System-generated identifier for bandwidth control rule
- name String
- Rule name.
- extensions {[key: string]: string}
- id number
- System-generated identifier for bandwidth control rule
- name string
- Rule name.
- extensions Mapping[str, str]
- id int
- System-generated identifier for bandwidth control rule
- name str
- Rule name.
- extensions Map<String>
- id Number
- System-generated identifier for bandwidth control rule
- name String
- Rule name.
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
ziaTerraform Provider.
Zscaler Internet Access v1.2.0 published on Friday, Feb 20, 2026 by Zscaler
