published on Friday, Mar 13, 2026 by Zscaler
published on Friday, Mar 13, 2026 by Zscaler
The zia_rule_label resource manages rule labels in the Zscaler Internet Access (ZIA) cloud service. Rule labels are used to tag and organize firewall filtering rules, URL filtering rules, and other policy rules.
For more information, see the ZIA Rule Labels documentation.
Example Usage
Basic Rule Label
Example coming soon!
Example coming soon!
Example coming soon!
import * as zia from "@bdzscaler/pulumi-zia";
const example = new zia.RuleLabel("example", {
name: "Example Rule Label",
description: "Label for branch office rules",
});
import zscaler_pulumi_zia as zia
example = zia.RuleLabel("example",
name="Example Rule Label",
description="Label for branch office rules",
)
resources:
example:
type: zia:RuleLabel
properties:
name: Example Rule Label
description: Label for branch office rules
Create RuleLabel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RuleLabel(name: string, args?: RuleLabelArgs, opts?: CustomResourceOptions);@overload
def RuleLabel(resource_name: str,
args: Optional[RuleLabelArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def RuleLabel(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
name: Optional[str] = None)func NewRuleLabel(ctx *Context, name string, args *RuleLabelArgs, opts ...ResourceOption) (*RuleLabel, error)public RuleLabel(string name, RuleLabelArgs? args = null, CustomResourceOptions? opts = null)
public RuleLabel(String name, RuleLabelArgs args)
public RuleLabel(String name, RuleLabelArgs args, CustomResourceOptions options)
type: zia:RuleLabel
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 RuleLabelArgs
- 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 RuleLabelArgs
- 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 RuleLabelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RuleLabelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RuleLabelArgs
- 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 ruleLabelResource = new Zia.RuleLabel("ruleLabelResource", new()
{
Description = "string",
Name = "string",
});
example, err := zia.NewRuleLabel(ctx, "ruleLabelResource", &zia.RuleLabelArgs{
Description: pulumi.String("string"),
Name: pulumi.String("string"),
})
var ruleLabelResource = new RuleLabel("ruleLabelResource", RuleLabelArgs.builder()
.description("string")
.name("string")
.build());
rule_label_resource = zia.RuleLabel("ruleLabelResource",
description="string",
name="string")
const ruleLabelResource = new zia.RuleLabel("ruleLabelResource", {
description: "string",
name: "string",
});
type: zia:RuleLabel
properties:
description: string
name: string
RuleLabel 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 RuleLabel resource accepts the following input properties:
- Description string
- Additional information about the rule label. Maximum 10240 characters.
- Name string
- The name of the rule label. Maximum 255 characters.
- Description string
- Additional information about the rule label. Maximum 10240 characters.
- Name string
- The name of the rule label. Maximum 255 characters.
- description String
- Additional information about the rule label. Maximum 10240 characters.
- name String
- The name of the rule label. Maximum 255 characters.
- description string
- Additional information about the rule label. Maximum 10240 characters.
- name string
- The name of the rule label. Maximum 255 characters.
- description str
- Additional information about the rule label. Maximum 10240 characters.
- name str
- The name of the rule label. Maximum 255 characters.
- description String
- Additional information about the rule label. Maximum 10240 characters.
- name String
- The name of the rule label. Maximum 255 characters.
Outputs
All input properties are implicitly available as output properties. Additionally, the RuleLabel resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Rule
Label intId - The system-generated ID of the rule label.
- Id string
- The provider-assigned unique ID for this managed resource.
- Rule
Label intId - The system-generated ID of the rule label.
- id String
- The provider-assigned unique ID for this managed resource.
- rule
Label IntegerId - The system-generated ID of the rule label.
- id string
- The provider-assigned unique ID for this managed resource.
- rule
Label numberId - The system-generated ID of the rule label.
- id str
- The provider-assigned unique ID for this managed resource.
- rule_
label_ intid - The system-generated ID of the rule label.
- id String
- The provider-assigned unique ID for this managed resource.
- rule
Label NumberId - The system-generated ID of the rule label.
Import
An existing rule label can be imported using its resource ID, e.g.
$ pulumi import zia:index:RuleLabel 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
