published on Friday, Mar 13, 2026 by Zscaler
published on Friday, Mar 13, 2026 by Zscaler
The zia.ForwardingControlZpaGateway resource manages forwarding control ZPA gateway configurations in the Zscaler Internet Access (ZIA) cloud. ZPA gateways are used in forwarding control rules to direct traffic to Zscaler Private Access (ZPA) application segments through ZPA server groups.
Example Usage
Basic Forwarding Control ZPA Gateway
Example coming soon!
Example coming soon!
Example coming soon!
import * as zia from "@bdzscaler/pulumi-zia";
const example = new zia.ForwardingControlZpaGateway("example", {
name: "Example ZPA Gateway",
description: "Managed by Pulumi",
type: "ZPA",
zpaServerGroup: {
externalId: "server-group-external-id",
name: "Example Server Group",
},
zpaAppSegments: [{
externalId: "app-segment-external-id",
name: "Example App Segment",
}],
});
import zscaler_pulumi_zia as zia
example = zia.ForwardingControlZpaGateway("example",
name="Example ZPA Gateway",
description="Managed by Pulumi",
type="ZPA",
zpa_server_group={
"external_id": "server-group-external-id",
"name": "Example Server Group",
},
zpa_app_segments=[{
"external_id": "app-segment-external-id",
"name": "Example App Segment",
}],
)
resources:
example:
type: zia:ForwardingControlZpaGateway
properties:
name: Example ZPA Gateway
description: Managed by Pulumi
type: ZPA
zpaServerGroup:
externalId: server-group-external-id
name: Example Server Group
zpaAppSegments:
- externalId: app-segment-external-id
name: Example App Segment
Create ForwardingControlZpaGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ForwardingControlZpaGateway(name: string, args?: ForwardingControlZpaGatewayArgs, opts?: CustomResourceOptions);@overload
def ForwardingControlZpaGateway(resource_name: str,
args: Optional[ForwardingControlZpaGatewayArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ForwardingControlZpaGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
name: Optional[str] = None,
type: Optional[str] = None,
zpa_app_segments: Optional[Sequence[ZpaGatewayAppSegmentInputArgs]] = None,
zpa_server_group: Optional[ZpaServerGroupInputArgs] = None)func NewForwardingControlZpaGateway(ctx *Context, name string, args *ForwardingControlZpaGatewayArgs, opts ...ResourceOption) (*ForwardingControlZpaGateway, error)public ForwardingControlZpaGateway(string name, ForwardingControlZpaGatewayArgs? args = null, CustomResourceOptions? opts = null)
public ForwardingControlZpaGateway(String name, ForwardingControlZpaGatewayArgs args)
public ForwardingControlZpaGateway(String name, ForwardingControlZpaGatewayArgs args, CustomResourceOptions options)
type: zia:ForwardingControlZpaGateway
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 ForwardingControlZpaGatewayArgs
- 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 ForwardingControlZpaGatewayArgs
- 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 ForwardingControlZpaGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ForwardingControlZpaGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ForwardingControlZpaGatewayArgs
- 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 forwardingControlZpaGatewayResource = new Zia.Index.ForwardingControlZpaGateway("forwardingControlZpaGatewayResource", new()
{
Description = "string",
Name = "string",
Type = "string",
ZpaAppSegments = new[]
{
new Zia.Inputs.ZpaGatewayAppSegmentInputArgs
{
ExternalId = "string",
Name = "string",
},
},
ZpaServerGroup = new Zia.Inputs.ZpaServerGroupInputArgs
{
ExternalId = "string",
Name = "string",
},
});
example, err := zia.NewForwardingControlZpaGateway(ctx, "forwardingControlZpaGatewayResource", &zia.ForwardingControlZpaGatewayArgs{
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Type: pulumi.String("string"),
ZpaAppSegments: pulumizia.ZpaGatewayAppSegmentInputArray{
&pulumizia.ZpaGatewayAppSegmentInputArgs{
ExternalId: pulumi.String("string"),
Name: pulumi.String("string"),
},
},
ZpaServerGroup: &pulumizia.ZpaServerGroupInputArgs{
ExternalId: pulumi.String("string"),
Name: pulumi.String("string"),
},
})
var forwardingControlZpaGatewayResource = new ForwardingControlZpaGateway("forwardingControlZpaGatewayResource", ForwardingControlZpaGatewayArgs.builder()
.description("string")
.name("string")
.type("string")
.zpaAppSegments(ZpaGatewayAppSegmentInputArgs.builder()
.externalId("string")
.name("string")
.build())
.zpaServerGroup(ZpaServerGroupInputArgs.builder()
.externalId("string")
.name("string")
.build())
.build());
forwarding_control_zpa_gateway_resource = zia.ForwardingControlZpaGateway("forwardingControlZpaGatewayResource",
description="string",
name="string",
type="string",
zpa_app_segments=[{
"external_id": "string",
"name": "string",
}],
zpa_server_group={
"external_id": "string",
"name": "string",
})
const forwardingControlZpaGatewayResource = new zia.ForwardingControlZpaGateway("forwardingControlZpaGatewayResource", {
description: "string",
name: "string",
type: "string",
zpaAppSegments: [{
externalId: "string",
name: "string",
}],
zpaServerGroup: {
externalId: "string",
name: "string",
},
});
type: zia:ForwardingControlZpaGateway
properties:
description: string
name: string
type: string
zpaAppSegments:
- externalId: string
name: string
zpaServerGroup:
externalId: string
name: string
ForwardingControlZpaGateway 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 ForwardingControlZpaGateway resource accepts the following input properties:
- Description string
- Description of the ZPA gateway.
- Name string
- Name of the ZPA gateway.
- Type string
- The gateway type. Accepted values: 'ZPA' or 'ECZPA'.
- Zpa
App List<zscaler.Segments Pulumi Package. Zia. Inputs. Zpa Gateway App Segment Input> - List of ZPA application segments associated with the gateway.
- Zpa
Server zscaler.Group Pulumi Package. Zia. Inputs. Zpa Server Group Input - The ZPA server group associated with the gateway.
- Description string
- Description of the ZPA gateway.
- Name string
- Name of the ZPA gateway.
- Type string
- The gateway type. Accepted values: 'ZPA' or 'ECZPA'.
- Zpa
App []ZpaSegments Gateway App Segment Input Args - List of ZPA application segments associated with the gateway.
- Zpa
Server ZpaGroup Server Group Input Args - The ZPA server group associated with the gateway.
- description String
- Description of the ZPA gateway.
- name String
- Name of the ZPA gateway.
- type String
- The gateway type. Accepted values: 'ZPA' or 'ECZPA'.
- zpa
App List<ZpaSegments Gateway App Segment Input> - List of ZPA application segments associated with the gateway.
- zpa
Server ZpaGroup Server Group Input - The ZPA server group associated with the gateway.
- description string
- Description of the ZPA gateway.
- name string
- Name of the ZPA gateway.
- type string
- The gateway type. Accepted values: 'ZPA' or 'ECZPA'.
- zpa
App ZpaSegments Gateway App Segment Input[] - List of ZPA application segments associated with the gateway.
- zpa
Server ZpaGroup Server Group Input - The ZPA server group associated with the gateway.
- description str
- Description of the ZPA gateway.
- name str
- Name of the ZPA gateway.
- type str
- The gateway type. Accepted values: 'ZPA' or 'ECZPA'.
- zpa_
app_ Sequence[Zpasegments Gateway App Segment Input Args] - List of ZPA application segments associated with the gateway.
- zpa_
server_ Zpagroup Server Group Input Args - The ZPA server group associated with the gateway.
- description String
- Description of the ZPA gateway.
- name String
- Name of the ZPA gateway.
- type String
- The gateway type. Accepted values: 'ZPA' or 'ECZPA'.
- zpa
App List<Property Map>Segments - List of ZPA application segments associated with the gateway.
- zpa
Server Property MapGroup - The ZPA server group associated with the gateway.
Outputs
All input properties are implicitly available as output properties. Additionally, the ForwardingControlZpaGateway resource produces the following output properties:
- gateway_
id int - The unique identifier for the ZPA gateway assigned by the ZIA cloud.
- id str
- The provider-assigned unique ID for this managed resource.
Supporting Types
ZpaGatewayAppSegmentInput, ZpaGatewayAppSegmentInputArgs
- External
Id string - Name string
- External
Id string - Name string
- external
Id String - name String
- external
Id string - name string
- external_
id str - name str
- external
Id String - name String
ZpaServerGroupInput, ZpaServerGroupInputArgs
- External
Id string - Name string
- External
Id string - Name string
- external
Id String - name String
- external
Id string - name string
- external_
id str - name str
- external
Id String - name String
Import
An existing forwarding control ZPA gateway can be imported using its ID, e.g.
$ pulumi import zia:index:ForwardingControlZpaGateway 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
