1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. TrafficForwardingStaticIp
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_traffic_forwarding_static_ip resource manages static IP addresses for traffic forwarding in the Zscaler Internet Access (ZIA) cloud service. Static IPs are used to associate traffic with a specific location or GRE tunnel.

    For more information, see the ZIA Traffic Forwarding documentation.

    Example Usage

    Basic Static IP

    Example coming soon!

    Example coming soon!

    Example coming soon!

    import * as zia from "@bdzscaler/pulumi-zia";
    
    const example = new zia.TrafficForwardingStaticIp("example", {
        ipAddress: "203.0.113.10",
        comment: "Branch office static IP",
        routableIp: true,
        geoOverride: false,
    });
    
    import zscaler_pulumi_zia as zia
    
    example = zia.TrafficForwardingStaticIp("example",
        ip_address="203.0.113.10",
        comment="Branch office static IP",
        routable_ip=True,
        geo_override=False,
    )
    
    resources:
      example:
        type: zia:TrafficForwardingStaticIp
        properties:
          ipAddress: "203.0.113.10"
          comment: Branch office static IP
          routableIp: true
          geoOverride: false
    

    Create TrafficForwardingStaticIp Resource

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

    Constructor syntax

    new TrafficForwardingStaticIp(name: string, args: TrafficForwardingStaticIpArgs, opts?: CustomResourceOptions);
    @overload
    def TrafficForwardingStaticIp(resource_name: str,
                                  args: TrafficForwardingStaticIpArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def TrafficForwardingStaticIp(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  ip_address: Optional[str] = None,
                                  comment: Optional[str] = None,
                                  geo_override: Optional[bool] = None,
                                  latitude: Optional[float] = None,
                                  longitude: Optional[float] = None,
                                  routable_ip: Optional[bool] = None)
    func NewTrafficForwardingStaticIp(ctx *Context, name string, args TrafficForwardingStaticIpArgs, opts ...ResourceOption) (*TrafficForwardingStaticIp, error)
    public TrafficForwardingStaticIp(string name, TrafficForwardingStaticIpArgs args, CustomResourceOptions? opts = null)
    public TrafficForwardingStaticIp(String name, TrafficForwardingStaticIpArgs args)
    public TrafficForwardingStaticIp(String name, TrafficForwardingStaticIpArgs args, CustomResourceOptions options)
    
    type: zia:TrafficForwardingStaticIp
    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 TrafficForwardingStaticIpArgs
    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 TrafficForwardingStaticIpArgs
    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 TrafficForwardingStaticIpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TrafficForwardingStaticIpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TrafficForwardingStaticIpArgs
    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 trafficForwardingStaticIpResource = new Zia.Index.TrafficForwardingStaticIp("trafficForwardingStaticIpResource", new()
    {
        IpAddress = "string",
        Comment = "string",
        GeoOverride = false,
        Latitude = 0,
        Longitude = 0,
        RoutableIp = false,
    });
    
    example, err := zia.NewTrafficForwardingStaticIp(ctx, "trafficForwardingStaticIpResource", &zia.TrafficForwardingStaticIpArgs{
    	IpAddress:   pulumi.String("string"),
    	Comment:     pulumi.String("string"),
    	GeoOverride: pulumi.Bool(false),
    	Latitude:    pulumi.Float64(0),
    	Longitude:   pulumi.Float64(0),
    	RoutableIp:  pulumi.Bool(false),
    })
    
    var trafficForwardingStaticIpResource = new TrafficForwardingStaticIp("trafficForwardingStaticIpResource", TrafficForwardingStaticIpArgs.builder()
        .ipAddress("string")
        .comment("string")
        .geoOverride(false)
        .latitude(0.0)
        .longitude(0.0)
        .routableIp(false)
        .build());
    
    traffic_forwarding_static_ip_resource = zia.TrafficForwardingStaticIp("trafficForwardingStaticIpResource",
        ip_address="string",
        comment="string",
        geo_override=False,
        latitude=0,
        longitude=0,
        routable_ip=False)
    
    const trafficForwardingStaticIpResource = new zia.TrafficForwardingStaticIp("trafficForwardingStaticIpResource", {
        ipAddress: "string",
        comment: "string",
        geoOverride: false,
        latitude: 0,
        longitude: 0,
        routableIp: false,
    });
    
    type: zia:TrafficForwardingStaticIp
    properties:
        comment: string
        geoOverride: false
        ipAddress: string
        latitude: 0
        longitude: 0
        routableIp: false
    

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

    IpAddress string
    The static IP address.
    Comment string
    Additional information about the static IP.
    GeoOverride bool
    If not set, geographic coordinates and city are automatically determined from the IP address. When set to true, manually-specified latitude and longitude are used instead.
    Latitude double
    Required only if geoOverride is true. Latitude of the static IP. Valid range: -90 to 90.
    Longitude double
    Required only if geoOverride is true. Longitude of the static IP. Valid range: -180 to 180.
    RoutableIp bool
    Indicates whether a non-RFC 1918 IP address is publicly routable.
    IpAddress string
    The static IP address.
    Comment string
    Additional information about the static IP.
    GeoOverride bool
    If not set, geographic coordinates and city are automatically determined from the IP address. When set to true, manually-specified latitude and longitude are used instead.
    Latitude float64
    Required only if geoOverride is true. Latitude of the static IP. Valid range: -90 to 90.
    Longitude float64
    Required only if geoOverride is true. Longitude of the static IP. Valid range: -180 to 180.
    RoutableIp bool
    Indicates whether a non-RFC 1918 IP address is publicly routable.
    ipAddress String
    The static IP address.
    comment String
    Additional information about the static IP.
    geoOverride Boolean
    If not set, geographic coordinates and city are automatically determined from the IP address. When set to true, manually-specified latitude and longitude are used instead.
    latitude Double
    Required only if geoOverride is true. Latitude of the static IP. Valid range: -90 to 90.
    longitude Double
    Required only if geoOverride is true. Longitude of the static IP. Valid range: -180 to 180.
    routableIp Boolean
    Indicates whether a non-RFC 1918 IP address is publicly routable.
    ipAddress string
    The static IP address.
    comment string
    Additional information about the static IP.
    geoOverride boolean
    If not set, geographic coordinates and city are automatically determined from the IP address. When set to true, manually-specified latitude and longitude are used instead.
    latitude number
    Required only if geoOverride is true. Latitude of the static IP. Valid range: -90 to 90.
    longitude number
    Required only if geoOverride is true. Longitude of the static IP. Valid range: -180 to 180.
    routableIp boolean
    Indicates whether a non-RFC 1918 IP address is publicly routable.
    ip_address str
    The static IP address.
    comment str
    Additional information about the static IP.
    geo_override bool
    If not set, geographic coordinates and city are automatically determined from the IP address. When set to true, manually-specified latitude and longitude are used instead.
    latitude float
    Required only if geoOverride is true. Latitude of the static IP. Valid range: -90 to 90.
    longitude float
    Required only if geoOverride is true. Longitude of the static IP. Valid range: -180 to 180.
    routable_ip bool
    Indicates whether a non-RFC 1918 IP address is publicly routable.
    ipAddress String
    The static IP address.
    comment String
    Additional information about the static IP.
    geoOverride Boolean
    If not set, geographic coordinates and city are automatically determined from the IP address. When set to true, manually-specified latitude and longitude are used instead.
    latitude Number
    Required only if geoOverride is true. Latitude of the static IP. Valid range: -90 to 90.
    longitude Number
    Required only if geoOverride is true. Longitude of the static IP. Valid range: -180 to 180.
    routableIp Boolean
    Indicates whether a non-RFC 1918 IP address is publicly routable.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    StaticIpId int
    The system-generated ID of the static IP.
    Id string
    The provider-assigned unique ID for this managed resource.
    StaticIpId int
    The system-generated ID of the static IP.
    id String
    The provider-assigned unique ID for this managed resource.
    staticIpId Integer
    The system-generated ID of the static IP.
    id string
    The provider-assigned unique ID for this managed resource.
    staticIpId number
    The system-generated ID of the static IP.
    id str
    The provider-assigned unique ID for this managed resource.
    static_ip_id int
    The system-generated ID of the static IP.
    id String
    The provider-assigned unique ID for this managed resource.
    staticIpId Number
    The system-generated ID of the static IP.

    Import

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

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