Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler
zia.getTrafficForwardingVIPRecommendedList
Explore with Pulumi AI
Use the zia_gre_vip_recommended_list data source to get information about a list of recommended GRE tunnel virtual IP addresses (VIPs), based on source IP address or latitude/longitude coordinates.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zia from "@pulumi/zia";
const this = zia.getTrafficForwardingVIPRecommendedList({
requiredCount: 2,
sourceIp: "1.1.1.1",
});
import pulumi
import pulumi_zia as zia
this = zia.get_traffic_forwarding_vip_recommended_list(required_count=2,
source_ip="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.GetTrafficForwardingVIPRecommendedList(ctx, &zia.GetTrafficForwardingVIPRecommendedListArgs{
RequiredCount: pulumi.IntRef(2),
SourceIp: 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 @this = Zia.GetTrafficForwardingVIPRecommendedList.Invoke(new()
{
RequiredCount = 2,
SourceIp = "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.GetTrafficForwardingVIPRecommendedListArgs;
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 this = ZiaFunctions.getTrafficForwardingVIPRecommendedList(GetTrafficForwardingVIPRecommendedListArgs.builder()
.requiredCount(2)
.sourceIp("1.1.1.1")
.build());
}
}
variables:
this:
fn::invoke:
Function: zia:getTrafficForwardingVIPRecommendedList
Arguments:
requiredCount: 2
sourceIp: 1.1.1.1
Using getTrafficForwardingVIPRecommendedList
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 getTrafficForwardingVIPRecommendedList(args: GetTrafficForwardingVIPRecommendedListArgs, opts?: InvokeOptions): Promise<GetTrafficForwardingVIPRecommendedListResult>
function getTrafficForwardingVIPRecommendedListOutput(args: GetTrafficForwardingVIPRecommendedListOutputArgs, opts?: InvokeOptions): Output<GetTrafficForwardingVIPRecommendedListResult>
def get_traffic_forwarding_vip_recommended_list(required_count: Optional[int] = None,
source_ip: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTrafficForwardingVIPRecommendedListResult
def get_traffic_forwarding_vip_recommended_list_output(required_count: Optional[pulumi.Input[int]] = None,
source_ip: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTrafficForwardingVIPRecommendedListResult]
func GetTrafficForwardingVIPRecommendedList(ctx *Context, args *GetTrafficForwardingVIPRecommendedListArgs, opts ...InvokeOption) (*GetTrafficForwardingVIPRecommendedListResult, error)
func GetTrafficForwardingVIPRecommendedListOutput(ctx *Context, args *GetTrafficForwardingVIPRecommendedListOutputArgs, opts ...InvokeOption) GetTrafficForwardingVIPRecommendedListResultOutput
> Note: This function is named GetTrafficForwardingVIPRecommendedList
in the Go SDK.
public static class GetTrafficForwardingVIPRecommendedList
{
public static Task<GetTrafficForwardingVIPRecommendedListResult> InvokeAsync(GetTrafficForwardingVIPRecommendedListArgs args, InvokeOptions? opts = null)
public static Output<GetTrafficForwardingVIPRecommendedListResult> Invoke(GetTrafficForwardingVIPRecommendedListInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTrafficForwardingVIPRecommendedListResult> getTrafficForwardingVIPRecommendedList(GetTrafficForwardingVIPRecommendedListArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zia:index/getTrafficForwardingVIPRecommendedList:getTrafficForwardingVIPRecommendedList
arguments:
# arguments dictionary
The following arguments are supported:
- Required
Count int - Number of IP address to be exported.
- Source
Ip string - Filter based on an IP address range.
- Required
Count int - Number of IP address to be exported.
- Source
Ip string - Filter based on an IP address range.
- required
Count Integer - Number of IP address to be exported.
- source
Ip String - Filter based on an IP address range.
- required
Count number - Number of IP address to be exported.
- source
Ip string - Filter based on an IP address range.
- required_
count int - Number of IP address to be exported.
- source_
ip str - Filter based on an IP address range.
- required
Count Number - Number of IP address to be exported.
- source
Ip String - Filter based on an IP address range.
getTrafficForwardingVIPRecommendedList Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lists
List<zscaler.
Pulumi Package. Zia. Outputs. Get Traffic Forwarding VIPRecommended List List> - Required
Count int - Source
Ip string - (String) The public source IP address.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lists
[]Get
Traffic Forwarding VIPRecommended List List - Required
Count int - Source
Ip string - (String) The public source IP address.
- id String
- The provider-assigned unique ID for this managed resource.
- lists
List<Get
Traffic Forwarding VIPRecommended List List> - required
Count Integer - source
Ip String - (String) The public source IP address.
- id string
- The provider-assigned unique ID for this managed resource.
- lists
Get
Traffic Forwarding VIPRecommended List List[] - required
Count number - source
Ip string - (String) The public source IP address.
- id str
- The provider-assigned unique ID for this managed resource.
- lists
Sequence[Get
Traffic Forwarding VIPRecommended List List] - required_
count int - source_
ip str - (String) The public source IP address.
- id String
- The provider-assigned unique ID for this managed resource.
- lists List<Property Map>
- required
Count Number - source
Ip String - (String) The public source IP address.
Supporting Types
GetTrafficForwardingVIPRecommendedListList
- City string
- Latitude double
- Longitude double
- Region string
- Datacenter string
- (String) Data center information
- Id int
- Unique identifer of the GRE virtual IP address (VIP)
- Private
Service boolEdge - (Boolean) Set to true if the virtual IP address (VIP) is a ZIA Private Service Edge
- Virtual
Ip string - (String) GRE cluster virtual IP address (VIP)
- City string
- Latitude float64
- Longitude float64
- Region string
- Datacenter string
- (String) Data center information
- Id int
- Unique identifer of the GRE virtual IP address (VIP)
- Private
Service boolEdge - (Boolean) Set to true if the virtual IP address (VIP) is a ZIA Private Service Edge
- Virtual
Ip string - (String) GRE cluster virtual IP address (VIP)
- city String
- latitude Double
- longitude Double
- region String
- datacenter String
- (String) Data center information
- id Integer
- Unique identifer of the GRE virtual IP address (VIP)
- private
Service BooleanEdge - (Boolean) Set to true if the virtual IP address (VIP) is a ZIA Private Service Edge
- virtual
Ip String - (String) GRE cluster virtual IP address (VIP)
- city string
- latitude number
- longitude number
- region string
- datacenter string
- (String) Data center information
- id number
- Unique identifer of the GRE virtual IP address (VIP)
- private
Service booleanEdge - (Boolean) Set to true if the virtual IP address (VIP) is a ZIA Private Service Edge
- virtual
Ip string - (String) GRE cluster virtual IP address (VIP)
- city str
- latitude float
- longitude float
- region str
- datacenter str
- (String) Data center information
- id int
- Unique identifer of the GRE virtual IP address (VIP)
- private_
service_ booledge - (Boolean) Set to true if the virtual IP address (VIP) is a ZIA Private Service Edge
- virtual_
ip str - (String) GRE cluster virtual IP address (VIP)
- city String
- latitude Number
- longitude Number
- region String
- datacenter String
- (String) Data center information
- id Number
- Unique identifer of the GRE virtual IP address (VIP)
- private
Service BooleanEdge - (Boolean) Set to true if the virtual IP address (VIP) is a ZIA Private Service Edge
- virtual
Ip String - (String) GRE cluster virtual IP address (VIP)
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.