Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler
zia.getTrafficForwardingStaticIP
Explore with Pulumi AI
Use the zia_traffic_forwarding_static_ip data source to get information about all provisioned static IP addresses. This resource can then be utilized when creating a GRE Tunnel or VPN Credential resource of Type IP
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zia from "@pulumi/zia";
const example = zia.getTrafficForwardingStaticIP({
    ipAddress: "1.1.1.1",
});
import pulumi
import pulumi_zia as zia
example = zia.get_traffic_forwarding_static_ip(ip_address="1.1.1.1")
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/zscaler/pulumi-zia/sdk/go/zia"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := zia.LookupTrafficForwardingStaticIP(ctx, &zia.LookupTrafficForwardingStaticIPArgs{
			IpAddress: pulumi.StringRef("1.1.1.1"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zia = Pulumi.Zia;
return await Deployment.RunAsync(() => 
{
    var example = Zia.GetTrafficForwardingStaticIP.Invoke(new()
    {
        IpAddress = "1.1.1.1",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zia.ZiaFunctions;
import com.pulumi.zia.inputs.GetTrafficForwardingStaticIPArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = ZiaFunctions.getTrafficForwardingStaticIP(GetTrafficForwardingStaticIPArgs.builder()
            .ipAddress("1.1.1.1")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      Function: zia:getTrafficForwardingStaticIP
      Arguments:
        ipAddress: 1.1.1.1
Using getTrafficForwardingStaticIP
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTrafficForwardingStaticIP(args: GetTrafficForwardingStaticIPArgs, opts?: InvokeOptions): Promise<GetTrafficForwardingStaticIPResult>
function getTrafficForwardingStaticIPOutput(args: GetTrafficForwardingStaticIPOutputArgs, opts?: InvokeOptions): Output<GetTrafficForwardingStaticIPResult>def get_traffic_forwarding_static_ip(id: Optional[int] = None,
                                     ip_address: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetTrafficForwardingStaticIPResult
def get_traffic_forwarding_static_ip_output(id: Optional[pulumi.Input[int]] = None,
                                     ip_address: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetTrafficForwardingStaticIPResult]func LookupTrafficForwardingStaticIP(ctx *Context, args *LookupTrafficForwardingStaticIPArgs, opts ...InvokeOption) (*LookupTrafficForwardingStaticIPResult, error)
func LookupTrafficForwardingStaticIPOutput(ctx *Context, args *LookupTrafficForwardingStaticIPOutputArgs, opts ...InvokeOption) LookupTrafficForwardingStaticIPResultOutput> Note: This function is named LookupTrafficForwardingStaticIP in the Go SDK.
public static class GetTrafficForwardingStaticIP 
{
    public static Task<GetTrafficForwardingStaticIPResult> InvokeAsync(GetTrafficForwardingStaticIPArgs args, InvokeOptions? opts = null)
    public static Output<GetTrafficForwardingStaticIPResult> Invoke(GetTrafficForwardingStaticIPInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTrafficForwardingStaticIPResult> getTrafficForwardingStaticIP(GetTrafficForwardingStaticIPArgs args, InvokeOptions options)
public static Output<GetTrafficForwardingStaticIPResult> getTrafficForwardingStaticIP(GetTrafficForwardingStaticIPArgs args, InvokeOptions options)
fn::invoke:
  function: zia:index/getTrafficForwardingStaticIP:getTrafficForwardingStaticIP
  arguments:
    # arguments dictionaryThe following arguments are supported:
- id int
 - The unique identifier for the static IP address
 - ip_
address str - The static IP address
 
getTrafficForwardingStaticIP Result
The following output properties are available:
- Cities
List<zscaler.
Pulumi Package. Zia. Outputs. Get Traffic Forwarding Static IPCity>  - Comment string
 - (String) Additional information about this static IP address
 - Geo
Override bool - (Boolean) If not set, geographic coordinates and city are automatically determined from the IP address. Otherwise, the latitude and longitude coordinates must be provided.
 - Id int
 - (String) Identifier that uniquely identifies an entity
 - Ip
Address string - (String) The static IP address
 - Last
Modification intTime  - (Number) When the static IP address was last modified
 - Last
Modified List<zscaler.Bies Pulumi Package. Zia. Outputs. Get Traffic Forwarding Static IPLast Modified By>  - (Set of Object)
 - Latitude double
 - (Number) Required only if the geoOverride attribute is set. Latitude with 7 digit precision after decimal point, ranges between 
-90and90degrees. - Longitude double
 - (Number) Required only if the geoOverride attribute is set. Longitude with 7 digit precision after decimal point, ranges between 
-180and180degrees. - Managed
Bies List<zscaler.Pulumi Package. Zia. Outputs. Get Traffic Forwarding Static IPManaged By>  - (Set of Object)
 - Routable
Ip bool - (Boolean) Indicates whether a non-RFC 1918 IP address is publicly routable. This attribute is ignored if there is no ZIA Private Service Edge associated to the organization.
 
- Cities
[]Get
Traffic Forwarding Static IPCity  - Comment string
 - (String) Additional information about this static IP address
 - Geo
Override bool - (Boolean) If not set, geographic coordinates and city are automatically determined from the IP address. Otherwise, the latitude and longitude coordinates must be provided.
 - Id int
 - (String) Identifier that uniquely identifies an entity
 - Ip
Address string - (String) The static IP address
 - Last
Modification intTime  - (Number) When the static IP address was last modified
 - Last
Modified []GetBies Traffic Forwarding Static IPLast Modified By  - (Set of Object)
 - Latitude float64
 - (Number) Required only if the geoOverride attribute is set. Latitude with 7 digit precision after decimal point, ranges between 
-90and90degrees. - Longitude float64
 - (Number) Required only if the geoOverride attribute is set. Longitude with 7 digit precision after decimal point, ranges between 
-180and180degrees. - Managed
Bies []GetTraffic Forwarding Static IPManaged By  - (Set of Object)
 - Routable
Ip bool - (Boolean) Indicates whether a non-RFC 1918 IP address is publicly routable. This attribute is ignored if there is no ZIA Private Service Edge associated to the organization.
 
- cities
List<Get
Traffic Forwarding Static IPCity>  - comment String
 - (String) Additional information about this static IP address
 - geo
Override Boolean - (Boolean) If not set, geographic coordinates and city are automatically determined from the IP address. Otherwise, the latitude and longitude coordinates must be provided.
 - id Integer
 - (String) Identifier that uniquely identifies an entity
 - ip
Address String - (String) The static IP address
 - last
Modification IntegerTime  - (Number) When the static IP address was last modified
 - last
Modified List<GetBies Traffic Forwarding Static IPLast Modified By>  - (Set of Object)
 - latitude Double
 - (Number) Required only if the geoOverride attribute is set. Latitude with 7 digit precision after decimal point, ranges between 
-90and90degrees. - longitude Double
 - (Number) Required only if the geoOverride attribute is set. Longitude with 7 digit precision after decimal point, ranges between 
-180and180degrees. - managed
Bies List<GetTraffic Forwarding Static IPManaged By>  - (Set of Object)
 - routable
Ip Boolean - (Boolean) Indicates whether a non-RFC 1918 IP address is publicly routable. This attribute is ignored if there is no ZIA Private Service Edge associated to the organization.
 
- cities
Get
Traffic Forwarding Static IPCity[]  - comment string
 - (String) Additional information about this static IP address
 - geo
Override boolean - (Boolean) If not set, geographic coordinates and city are automatically determined from the IP address. Otherwise, the latitude and longitude coordinates must be provided.
 - id number
 - (String) Identifier that uniquely identifies an entity
 - ip
Address string - (String) The static IP address
 - last
Modification numberTime  - (Number) When the static IP address was last modified
 - last
Modified GetBies Traffic Forwarding Static IPLast Modified By[]  - (Set of Object)
 - latitude number
 - (Number) Required only if the geoOverride attribute is set. Latitude with 7 digit precision after decimal point, ranges between 
-90and90degrees. - longitude number
 - (Number) Required only if the geoOverride attribute is set. Longitude with 7 digit precision after decimal point, ranges between 
-180and180degrees. - managed
Bies GetTraffic Forwarding Static IPManaged By[]  - (Set of Object)
 - routable
Ip boolean - (Boolean) Indicates whether a non-RFC 1918 IP address is publicly routable. This attribute is ignored if there is no ZIA Private Service Edge associated to the organization.
 
- cities
Sequence[Get
Traffic Forwarding Static IPCity]  - comment str
 - (String) Additional information about this static IP address
 - geo_
override bool - (Boolean) If not set, geographic coordinates and city are automatically determined from the IP address. Otherwise, the latitude and longitude coordinates must be provided.
 - id int
 - (String) Identifier that uniquely identifies an entity
 - ip_
address str - (String) The static IP address
 - last_
modification_ inttime  - (Number) When the static IP address was last modified
 - last_
modified_ Sequence[Getbies Traffic Forwarding Static IPLast Modified By]  - (Set of Object)
 - latitude float
 - (Number) Required only if the geoOverride attribute is set. Latitude with 7 digit precision after decimal point, ranges between 
-90and90degrees. - longitude float
 - (Number) Required only if the geoOverride attribute is set. Longitude with 7 digit precision after decimal point, ranges between 
-180and180degrees. - managed_
bies Sequence[GetTraffic Forwarding Static IPManaged By]  - (Set of Object)
 - routable_
ip bool - (Boolean) Indicates whether a non-RFC 1918 IP address is publicly routable. This attribute is ignored if there is no ZIA Private Service Edge associated to the organization.
 
- cities List<Property Map>
 - comment String
 - (String) Additional information about this static IP address
 - geo
Override Boolean - (Boolean) If not set, geographic coordinates and city are automatically determined from the IP address. Otherwise, the latitude and longitude coordinates must be provided.
 - id Number
 - (String) Identifier that uniquely identifies an entity
 - ip
Address String - (String) The static IP address
 - last
Modification NumberTime  - (Number) When the static IP address was last modified
 - last
Modified List<Property Map>Bies  - (Set of Object)
 - latitude Number
 - (Number) Required only if the geoOverride attribute is set. Latitude with 7 digit precision after decimal point, ranges between 
-90and90degrees. - longitude Number
 - (Number) Required only if the geoOverride attribute is set. Longitude with 7 digit precision after decimal point, ranges between 
-180and180degrees. - managed
Bies List<Property Map> - (Set of Object)
 - routable
Ip Boolean - (Boolean) Indicates whether a non-RFC 1918 IP address is publicly routable. This attribute is ignored if there is no ZIA Private Service Edge associated to the organization.
 
Supporting Types
GetTrafficForwardingStaticIPCity    
GetTrafficForwardingStaticIPLastModifiedBy      
- Extensions Dictionary<string, string>
 - (Map of String)
 - Id int
 - The unique identifier for the static IP address
 - Name string
 - (String) The configured name of the entity
 
- Extensions map[string]string
 - (Map of String)
 - Id int
 - The unique identifier for the static IP address
 - Name string
 - (String) The configured name of the entity
 
- extensions Map<String,String>
 - (Map of String)
 - id Integer
 - The unique identifier for the static IP address
 - name String
 - (String) The configured name of the entity
 
- extensions {[key: string]: string}
 - (Map of String)
 - id number
 - The unique identifier for the static IP address
 - name string
 - (String) The configured name of the entity
 
- extensions Mapping[str, str]
 - (Map of String)
 - id int
 - The unique identifier for the static IP address
 - name str
 - (String) The configured name of the entity
 
- extensions Map<String>
 - (Map of String)
 - id Number
 - The unique identifier for the static IP address
 - name String
 - (String) The configured name of the entity
 
GetTrafficForwardingStaticIPManagedBy     
Package Details
- Repository
 - zia zscaler/pulumi-zia
 - License
 - MIT
 - Notes
 - This Pulumi package is based on the 
ziaTerraform Provider.