1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. FwIpSourceGroup
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler
zia logo
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler

    The zia_fw_ip_source_group resource manages firewall IP source groups in the Zscaler Internet Access (ZIA) cloud service. IP source groups allow you to define groups of source IP addresses that can be referenced in firewall filtering rules.

    For more information, see the ZIA Firewall Policies documentation.

    Example Usage

    Basic IP Source Group

    Example coming soon!

    Example coming soon!

    Example coming soon!

    import * as zia from "@bdzscaler/pulumi-zia";
    
    const example = new zia.FwIpSourceGroup("example", {
        name: "Example IP Source Group",
        description: "Group of source IPs",
        ipAddresses: ["192.168.1.0/24", "10.0.0.0/8"],
    });
    
    import zscaler_pulumi_zia as zia
    
    example = zia.FwIpSourceGroup("example",
        name="Example IP Source Group",
        description="Group of source IPs",
        ip_addresses=["192.168.1.0/24", "10.0.0.0/8"],
    )
    
    resources:
      example:
        type: zia:FwIpSourceGroup
        properties:
          name: Example IP Source Group
          description: Group of source IPs
          ipAddresses:
            - 192.168.1.0/24
            - 10.0.0.0/8
    

    Create FwIpSourceGroup Resource

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

    Constructor syntax

    new FwIpSourceGroup(name: string, args?: FwIpSourceGroupArgs, opts?: CustomResourceOptions);
    @overload
    def FwIpSourceGroup(resource_name: str,
                        args: Optional[FwIpSourceGroupArgs] = None,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def FwIpSourceGroup(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        description: Optional[str] = None,
                        ip_addresses: Optional[Sequence[str]] = None,
                        name: Optional[str] = None)
    func NewFwIpSourceGroup(ctx *Context, name string, args *FwIpSourceGroupArgs, opts ...ResourceOption) (*FwIpSourceGroup, error)
    public FwIpSourceGroup(string name, FwIpSourceGroupArgs? args = null, CustomResourceOptions? opts = null)
    public FwIpSourceGroup(String name, FwIpSourceGroupArgs args)
    public FwIpSourceGroup(String name, FwIpSourceGroupArgs args, CustomResourceOptions options)
    
    type: zia:FwIpSourceGroup
    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 FwIpSourceGroupArgs
    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 FwIpSourceGroupArgs
    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 FwIpSourceGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FwIpSourceGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FwIpSourceGroupArgs
    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 fwIpSourceGroupResource = new Zia.FwIpSourceGroup("fwIpSourceGroupResource", new()
    {
        Description = "string",
        IpAddresses = new[]
        {
            "string",
        },
        Name = "string",
    });
    
    example, err := zia.NewFwIpSourceGroup(ctx, "fwIpSourceGroupResource", &zia.FwIpSourceGroupArgs{
    	Description: pulumi.String("string"),
    	IpAddresses: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    })
    
    var fwIpSourceGroupResource = new FwIpSourceGroup("fwIpSourceGroupResource", FwIpSourceGroupArgs.builder()
        .description("string")
        .ipAddresses("string")
        .name("string")
        .build());
    
    fw_ip_source_group_resource = zia.FwIpSourceGroup("fwIpSourceGroupResource",
        description="string",
        ip_addresses=["string"],
        name="string")
    
    const fwIpSourceGroupResource = new zia.FwIpSourceGroup("fwIpSourceGroupResource", {
        description: "string",
        ipAddresses: ["string"],
        name: "string",
    });
    
    type: zia:FwIpSourceGroup
    properties:
        description: string
        ipAddresses:
            - string
        name: string
    

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

    Description string
    Additional information about the IP source group.
    IpAddresses List<string>
    List of source IP addresses or CIDR ranges included in this group.
    Name string
    The name of the IP source group.
    Description string
    Additional information about the IP source group.
    IpAddresses []string
    List of source IP addresses or CIDR ranges included in this group.
    Name string
    The name of the IP source group.
    description String
    Additional information about the IP source group.
    ipAddresses List<String>
    List of source IP addresses or CIDR ranges included in this group.
    name String
    The name of the IP source group.
    description string
    Additional information about the IP source group.
    ipAddresses string[]
    List of source IP addresses or CIDR ranges included in this group.
    name string
    The name of the IP source group.
    description str
    Additional information about the IP source group.
    ip_addresses Sequence[str]
    List of source IP addresses or CIDR ranges included in this group.
    name str
    The name of the IP source group.
    description String
    Additional information about the IP source group.
    ipAddresses List<String>
    List of source IP addresses or CIDR ranges included in this group.
    name String
    The name of the IP source group.

    Outputs

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

    GroupId int
    The system-generated ID of the IP source group.
    Id string
    The provider-assigned unique ID for this managed resource.
    GroupId int
    The system-generated ID of the IP source group.
    Id string
    The provider-assigned unique ID for this managed resource.
    groupId Integer
    The system-generated ID of the IP source group.
    id String
    The provider-assigned unique ID for this managed resource.
    groupId number
    The system-generated ID of the IP source group.
    id string
    The provider-assigned unique ID for this managed resource.
    group_id int
    The system-generated ID of the IP source group.
    id str
    The provider-assigned unique ID for this managed resource.
    groupId Number
    The system-generated ID of the IP source group.
    id String
    The provider-assigned unique ID for this managed resource.

    Import

    An existing IP source group can be imported using its resource ID, e.g.

    $ pulumi import zia:index:FwIpSourceGroup example 12345
    

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

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    zia logo
    Viewing docs for pulumi-resource-zia v1.3.8
    published on Friday, Mar 13, 2026 by Zscaler
      Try Pulumi Cloud free. Your team will thank you.