Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler
zia.getTrafficForwardingNodeVIPs
Explore with Pulumi AI
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
- Cloud
Name string - Gre
Domain stringName - Gre
Ips List<string> - Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- Pac
Domain stringName - Pac
Ips List<string> - Region string
- Vpn
Domain stringName - Vpn
Ips List<string> - Datacenter string
- City string
- Cloud
Name string - Gre
Domain stringName - Gre
Ips []string - Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- Pac
Domain stringName - Pac
Ips []string - Region string
- Vpn
Domain stringName - Vpn
Ips []string - Datacenter string
- city String
- cloud
Name String - gre
Domain StringName - gre
Ips List<String> - id String
- The provider-assigned unique ID for this managed resource.
- location String
- pac
Domain StringName - pac
Ips List<String> - region String
- vpn
Domain StringName - vpn
Ips List<String> - datacenter String
- city string
- cloud
Name string - gre
Domain stringName - gre
Ips string[] - id string
- The provider-assigned unique ID for this managed resource.
- location string
- pac
Domain stringName - pac
Ips string[] - region string
- vpn
Domain stringName - vpn
Ips string[] - datacenter string
- city str
- cloud_
name str - gre_
domain_ strname - gre_
ips Sequence[str] - id str
- The provider-assigned unique ID for this managed resource.
- location str
- pac_
domain_ strname - pac_
ips Sequence[str] - region str
- vpn_
domain_ strname - vpn_
ips Sequence[str] - datacenter str
- city String
- cloud
Name String - gre
Domain StringName - gre
Ips List<String> - id String
- The provider-assigned unique ID for this managed resource.
- location String
- pac
Domain StringName - pac
Ips List<String> - region String
- vpn
Domain StringName - vpn
Ips List<String> - datacenter String
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.