1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. FwNetworkServiceGroup
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_network_service_group resource manages firewall network service groups in the Zscaler Internet Access (ZIA) cloud service. Network service groups allow you to bundle multiple network services together for use in firewall filtering rules.

    For more information, see the ZIA Firewall Policies documentation.

    Example Usage

    Basic Network Service Group

    Example coming soon!

    Example coming soon!

    Example coming soon!

    import * as zia from "@bdzscaler/pulumi-zia";
    
    const example = new zia.FwNetworkServiceGroup("example", {
        name: "Example Service Group",
        description: "Group of network services",
        serviceIds: [12345, 67890],
    });
    
    import zscaler_pulumi_zia as zia
    
    example = zia.FwNetworkServiceGroup("example",
        name="Example Service Group",
        description="Group of network services",
        service_ids=[12345, 67890],
    )
    
    resources:
      example:
        type: zia:FwNetworkServiceGroup
        properties:
          name: Example Service Group
          description: Group of network services
          serviceIds:
            - 12345
            - 67890
    

    Create FwNetworkServiceGroup Resource

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

    Constructor syntax

    new FwNetworkServiceGroup(name: string, args?: FwNetworkServiceGroupArgs, opts?: CustomResourceOptions);
    @overload
    def FwNetworkServiceGroup(resource_name: str,
                              args: Optional[FwNetworkServiceGroupArgs] = None,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def FwNetworkServiceGroup(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              description: Optional[str] = None,
                              name: Optional[str] = None,
                              service_ids: Optional[Sequence[int]] = None)
    func NewFwNetworkServiceGroup(ctx *Context, name string, args *FwNetworkServiceGroupArgs, opts ...ResourceOption) (*FwNetworkServiceGroup, error)
    public FwNetworkServiceGroup(string name, FwNetworkServiceGroupArgs? args = null, CustomResourceOptions? opts = null)
    public FwNetworkServiceGroup(String name, FwNetworkServiceGroupArgs args)
    public FwNetworkServiceGroup(String name, FwNetworkServiceGroupArgs args, CustomResourceOptions options)
    
    type: zia:FwNetworkServiceGroup
    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 FwNetworkServiceGroupArgs
    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 FwNetworkServiceGroupArgs
    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 FwNetworkServiceGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FwNetworkServiceGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FwNetworkServiceGroupArgs
    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 fwNetworkServiceGroupResource = new Zia.FwNetworkServiceGroup("fwNetworkServiceGroupResource", new()
    {
        Description = "string",
        Name = "string",
        ServiceIds = new[]
        {
            0,
        },
    });
    
    example, err := zia.NewFwNetworkServiceGroup(ctx, "fwNetworkServiceGroupResource", &zia.FwNetworkServiceGroupArgs{
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	ServiceIds: pulumi.IntArray{
    		pulumi.Int(0),
    	},
    })
    
    var fwNetworkServiceGroupResource = new FwNetworkServiceGroup("fwNetworkServiceGroupResource", FwNetworkServiceGroupArgs.builder()
        .description("string")
        .name("string")
        .serviceIds(0)
        .build());
    
    fw_network_service_group_resource = zia.FwNetworkServiceGroup("fwNetworkServiceGroupResource",
        description="string",
        name="string",
        service_ids=[0])
    
    const fwNetworkServiceGroupResource = new zia.FwNetworkServiceGroup("fwNetworkServiceGroupResource", {
        description: "string",
        name: "string",
        serviceIds: [0],
    });
    
    type: zia:FwNetworkServiceGroup
    properties:
        description: string
        name: string
        serviceIds:
            - 0
    

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

    Description string
    Additional information about the network service group.
    Name string
    The name of the network service group.
    ServiceIds List<int>
    IDs of network services that belong to this group.
    Description string
    Additional information about the network service group.
    Name string
    The name of the network service group.
    ServiceIds []int
    IDs of network services that belong to this group.
    description String
    Additional information about the network service group.
    name String
    The name of the network service group.
    serviceIds List<Integer>
    IDs of network services that belong to this group.
    description string
    Additional information about the network service group.
    name string
    The name of the network service group.
    serviceIds number[]
    IDs of network services that belong to this group.
    description str
    Additional information about the network service group.
    name str
    The name of the network service group.
    service_ids Sequence[int]
    IDs of network services that belong to this group.
    description String
    Additional information about the network service group.
    name String
    The name of the network service group.
    serviceIds List<Number>
    IDs of network services that belong to this group.

    Outputs

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

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

    Import

    An existing network service group can be imported using its resource ID, e.g.

    $ pulumi import zia:index:FwNetworkServiceGroup 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.