1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getTrafficForwardingNodeVIPs
Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler

zia.getTrafficForwardingNodeVIPs

Explore with Pulumi AI

zia logo
Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler

    Use the zia_traffic_forwarding_public_node_vips data source to retrieve a paginated list of virtual IP addresses (VIPs) available in the Zscaler cloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as zia from "@pulumi/zia";
    
    const yvr1 = zia.getTrafficForwardingNodeVIPs({
        datacenter: "YVR1",
    });
    export const ziaTrafficForwardingPublicNodeVipsYvr1 = yvr1;
    
    import pulumi
    import pulumi_zia as zia
    
    yvr1 = zia.get_traffic_forwarding_node_vips(datacenter="YVR1")
    pulumi.export("ziaTrafficForwardingPublicNodeVipsYvr1", yvr1)
    
    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 {
    		yvr1, err := zia.GetTrafficForwardingNodeVIPs(ctx, &zia.GetTrafficForwardingNodeVIPsArgs{
    			Datacenter: pulumi.StringRef("YVR1"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("ziaTrafficForwardingPublicNodeVipsYvr1", yvr1)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Zia = Pulumi.Zia;
    
    return await Deployment.RunAsync(() => 
    {
        var yvr1 = Zia.GetTrafficForwardingNodeVIPs.Invoke(new()
        {
            Datacenter = "YVR1",
        });
    
        return new Dictionary<string, object?>
        {
            ["ziaTrafficForwardingPublicNodeVipsYvr1"] = yvr1,
        };
    });
    
    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.GetTrafficForwardingNodeVIPsArgs;
    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 yvr1 = ZiaFunctions.getTrafficForwardingNodeVIPs(GetTrafficForwardingNodeVIPsArgs.builder()
                .datacenter("YVR1")
                .build());
    
            ctx.export("ziaTrafficForwardingPublicNodeVipsYvr1", yvr1.applyValue(getTrafficForwardingNodeVIPsResult -> getTrafficForwardingNodeVIPsResult));
        }
    }
    
    variables:
      yvr1:
        fn::invoke:
          Function: zia:getTrafficForwardingNodeVIPs
          Arguments:
            datacenter: YVR1
    outputs:
      ziaTrafficForwardingPublicNodeVipsYvr1: ${yvr1}
    

    Using getTrafficForwardingNodeVIPs

    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 getTrafficForwardingNodeVIPs(args: GetTrafficForwardingNodeVIPsArgs, opts?: InvokeOptions): Promise<GetTrafficForwardingNodeVIPsResult>
    function getTrafficForwardingNodeVIPsOutput(args: GetTrafficForwardingNodeVIPsOutputArgs, opts?: InvokeOptions): Output<GetTrafficForwardingNodeVIPsResult>
    def get_traffic_forwarding_node_vips(datacenter: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetTrafficForwardingNodeVIPsResult
    def get_traffic_forwarding_node_vips_output(datacenter: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetTrafficForwardingNodeVIPsResult]
    func GetTrafficForwardingNodeVIPs(ctx *Context, args *GetTrafficForwardingNodeVIPsArgs, opts ...InvokeOption) (*GetTrafficForwardingNodeVIPsResult, error)
    func GetTrafficForwardingNodeVIPsOutput(ctx *Context, args *GetTrafficForwardingNodeVIPsOutputArgs, opts ...InvokeOption) GetTrafficForwardingNodeVIPsResultOutput

    > Note: This function is named GetTrafficForwardingNodeVIPs in the Go SDK.

    public static class GetTrafficForwardingNodeVIPs 
    {
        public static Task<GetTrafficForwardingNodeVIPsResult> InvokeAsync(GetTrafficForwardingNodeVIPsArgs args, InvokeOptions? opts = null)
        public static Output<GetTrafficForwardingNodeVIPsResult> Invoke(GetTrafficForwardingNodeVIPsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTrafficForwardingNodeVIPsResult> getTrafficForwardingNodeVIPs(GetTrafficForwardingNodeVIPsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: zia:index/getTrafficForwardingNodeVIPs:getTrafficForwardingNodeVIPs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Datacenter string
    Data-center Name
    Datacenter string
    Data-center Name
    datacenter String
    Data-center Name
    datacenter string
    Data-center Name
    datacenter str
    Data-center Name
    datacenter String
    Data-center Name

    getTrafficForwardingNodeVIPs Result

    The following output properties are available:

    City string
    CloudName string
    GreDomainName string
    GreIps List<string>
    Id string
    The provider-assigned unique ID for this managed resource.
    Location string
    PacDomainName string
    PacIps List<string>
    Region string
    VpnDomainName string
    VpnIps List<string>
    Datacenter string
    City string
    CloudName string
    GreDomainName string
    GreIps []string
    Id string
    The provider-assigned unique ID for this managed resource.
    Location string
    PacDomainName string
    PacIps []string
    Region string
    VpnDomainName string
    VpnIps []string
    Datacenter string
    city String
    cloudName String
    greDomainName String
    greIps List<String>
    id String
    The provider-assigned unique ID for this managed resource.
    location String
    pacDomainName String
    pacIps List<String>
    region String
    vpnDomainName String
    vpnIps List<String>
    datacenter String
    city string
    cloudName string
    greDomainName string
    greIps string[]
    id string
    The provider-assigned unique ID for this managed resource.
    location string
    pacDomainName string
    pacIps string[]
    region string
    vpnDomainName string
    vpnIps string[]
    datacenter string
    city str
    cloud_name str
    gre_domain_name str
    gre_ips Sequence[str]
    id str
    The provider-assigned unique ID for this managed resource.
    location str
    pac_domain_name str
    pac_ips Sequence[str]
    region str
    vpn_domain_name str
    vpn_ips Sequence[str]
    datacenter str
    city String
    cloudName String
    greDomainName String
    greIps List<String>
    id String
    The provider-assigned unique ID for this managed resource.
    location String
    pacDomainName String
    pacIps List<String>
    region String
    vpnDomainName String
    vpnIps List<String>
    datacenter String

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    MIT
    Notes
    This Pulumi package is based on the zia Terraform Provider.
    zia logo
    Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler