1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getZeroTrustAccessInfrastructureTargets
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

cloudflare.getZeroTrustAccessInfrastructureTargets

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleZeroTrustAccessInfrastructureTargets = cloudflare.getZeroTrustAccessInfrastructureTargets({
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        createdAfter: "2019-12-27T18:11:19.117Z",
        createdBefore: "2019-12-27T18:11:19.117Z",
        direction: "asc",
        hostname: "hostname",
        hostnameContains: "hostname_contains",
        ipLike: "ip_like",
        ipV4: "ip_v4",
        ipV6: "ip_v6",
        ips: ["string"],
        ipv4End: "ipv4_end",
        ipv4Start: "ipv4_start",
        ipv6End: "ipv6_end",
        ipv6Start: "ipv6_start",
        modifiedAfter: "2019-12-27T18:11:19.117Z",
        modifiedBefore: "2019-12-27T18:11:19.117Z",
        order: "hostname",
        targetIds: ["182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"],
        virtualNetworkId: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_access_infrastructure_targets = cloudflare.get_zero_trust_access_infrastructure_targets(account_id="023e105f4ecef8ad9ca31a8372d0c353",
        created_after="2019-12-27T18:11:19.117Z",
        created_before="2019-12-27T18:11:19.117Z",
        direction="asc",
        hostname="hostname",
        hostname_contains="hostname_contains",
        ip_like="ip_like",
        ip_v4="ip_v4",
        ip_v6="ip_v6",
        ips=["string"],
        ipv4_end="ipv4_end",
        ipv4_start="ipv4_start",
        ipv6_end="ipv6_end",
        ipv6_start="ipv6_start",
        modified_after="2019-12-27T18:11:19.117Z",
        modified_before="2019-12-27T18:11:19.117Z",
        order="hostname",
        target_ids=["182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"],
        virtual_network_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.LookupZeroTrustAccessInfrastructureTargets(ctx, &cloudflare.LookupZeroTrustAccessInfrastructureTargetsArgs{
    			AccountId:        "023e105f4ecef8ad9ca31a8372d0c353",
    			CreatedAfter:     pulumi.StringRef("2019-12-27T18:11:19.117Z"),
    			CreatedBefore:    pulumi.StringRef("2019-12-27T18:11:19.117Z"),
    			Direction:        pulumi.StringRef("asc"),
    			Hostname:         pulumi.StringRef("hostname"),
    			HostnameContains: pulumi.StringRef("hostname_contains"),
    			IpLike:           pulumi.StringRef("ip_like"),
    			IpV4:             pulumi.StringRef("ip_v4"),
    			IpV6:             pulumi.StringRef("ip_v6"),
    			Ips: []string{
    				"string",
    			},
    			Ipv4End:        pulumi.StringRef("ipv4_end"),
    			Ipv4Start:      pulumi.StringRef("ipv4_start"),
    			Ipv6End:        pulumi.StringRef("ipv6_end"),
    			Ipv6Start:      pulumi.StringRef("ipv6_start"),
    			ModifiedAfter:  pulumi.StringRef("2019-12-27T18:11:19.117Z"),
    			ModifiedBefore: pulumi.StringRef("2019-12-27T18:11:19.117Z"),
    			Order:          pulumi.StringRef("hostname"),
    			TargetIds: []string{
    				"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
    			},
    			VirtualNetworkId: pulumi.StringRef("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleZeroTrustAccessInfrastructureTargets = Cloudflare.GetZeroTrustAccessInfrastructureTargets.Invoke(new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            CreatedAfter = "2019-12-27T18:11:19.117Z",
            CreatedBefore = "2019-12-27T18:11:19.117Z",
            Direction = "asc",
            Hostname = "hostname",
            HostnameContains = "hostname_contains",
            IpLike = "ip_like",
            IpV4 = "ip_v4",
            IpV6 = "ip_v6",
            Ips = new[]
            {
                "string",
            },
            Ipv4End = "ipv4_end",
            Ipv4Start = "ipv4_start",
            Ipv6End = "ipv6_end",
            Ipv6Start = "ipv6_start",
            ModifiedAfter = "2019-12-27T18:11:19.117Z",
            ModifiedBefore = "2019-12-27T18:11:19.117Z",
            Order = "hostname",
            TargetIds = new[]
            {
                "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            },
            VirtualNetworkId = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CloudflareFunctions;
    import com.pulumi.cloudflare.inputs.GetZeroTrustAccessInfrastructureTargetsArgs;
    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 exampleZeroTrustAccessInfrastructureTargets = CloudflareFunctions.getZeroTrustAccessInfrastructureTargets(GetZeroTrustAccessInfrastructureTargetsArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .createdAfter("2019-12-27T18:11:19.117Z")
                .createdBefore("2019-12-27T18:11:19.117Z")
                .direction("asc")
                .hostname("hostname")
                .hostnameContains("hostname_contains")
                .ipLike("ip_like")
                .ipV4("ip_v4")
                .ipV6("ip_v6")
                .ips("string")
                .ipv4End("ipv4_end")
                .ipv4Start("ipv4_start")
                .ipv6End("ipv6_end")
                .ipv6Start("ipv6_start")
                .modifiedAfter("2019-12-27T18:11:19.117Z")
                .modifiedBefore("2019-12-27T18:11:19.117Z")
                .order("hostname")
                .targetIds("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
                .virtualNetworkId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustAccessInfrastructureTargets:
        fn::invoke:
          function: cloudflare:getZeroTrustAccessInfrastructureTargets
          arguments:
            accountId: 023e105f4ecef8ad9ca31a8372d0c353
            createdAfter: 2019-12-27T18:11:19.117Z
            createdBefore: 2019-12-27T18:11:19.117Z
            direction: asc
            hostname: hostname
            hostnameContains: hostname_contains
            ipLike: ip_like
            ipV4: ip_v4
            ipV6: ip_v6
            ips:
              - string
            ipv4End: ipv4_end
            ipv4Start: ipv4_start
            ipv6End: ipv6_end
            ipv6Start: ipv6_start
            modifiedAfter: 2019-12-27T18:11:19.117Z
            modifiedBefore: 2019-12-27T18:11:19.117Z
            order: hostname
            targetIds:
              - 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
            virtualNetworkId: 182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e
    

    Using getZeroTrustAccessInfrastructureTargets

    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 getZeroTrustAccessInfrastructureTargets(args: GetZeroTrustAccessInfrastructureTargetsArgs, opts?: InvokeOptions): Promise<GetZeroTrustAccessInfrastructureTargetsResult>
    function getZeroTrustAccessInfrastructureTargetsOutput(args: GetZeroTrustAccessInfrastructureTargetsOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustAccessInfrastructureTargetsResult>
    def get_zero_trust_access_infrastructure_targets(account_id: Optional[str] = None,
                                                     created_after: Optional[str] = None,
                                                     created_before: Optional[str] = None,
                                                     direction: Optional[str] = None,
                                                     hostname: Optional[str] = None,
                                                     hostname_contains: Optional[str] = None,
                                                     ip_like: Optional[str] = None,
                                                     ip_v4: Optional[str] = None,
                                                     ip_v6: Optional[str] = None,
                                                     ips: Optional[Sequence[str]] = None,
                                                     ipv4_end: Optional[str] = None,
                                                     ipv4_start: Optional[str] = None,
                                                     ipv6_end: Optional[str] = None,
                                                     ipv6_start: Optional[str] = None,
                                                     max_items: Optional[int] = None,
                                                     modified_after: Optional[str] = None,
                                                     modified_before: Optional[str] = None,
                                                     order: Optional[str] = None,
                                                     target_ids: Optional[Sequence[str]] = None,
                                                     virtual_network_id: Optional[str] = None,
                                                     opts: Optional[InvokeOptions] = None) -> GetZeroTrustAccessInfrastructureTargetsResult
    def get_zero_trust_access_infrastructure_targets_output(account_id: Optional[pulumi.Input[str]] = None,
                                                     created_after: Optional[pulumi.Input[str]] = None,
                                                     created_before: Optional[pulumi.Input[str]] = None,
                                                     direction: Optional[pulumi.Input[str]] = None,
                                                     hostname: Optional[pulumi.Input[str]] = None,
                                                     hostname_contains: Optional[pulumi.Input[str]] = None,
                                                     ip_like: Optional[pulumi.Input[str]] = None,
                                                     ip_v4: Optional[pulumi.Input[str]] = None,
                                                     ip_v6: Optional[pulumi.Input[str]] = None,
                                                     ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                                     ipv4_end: Optional[pulumi.Input[str]] = None,
                                                     ipv4_start: Optional[pulumi.Input[str]] = None,
                                                     ipv6_end: Optional[pulumi.Input[str]] = None,
                                                     ipv6_start: Optional[pulumi.Input[str]] = None,
                                                     max_items: Optional[pulumi.Input[int]] = None,
                                                     modified_after: Optional[pulumi.Input[str]] = None,
                                                     modified_before: Optional[pulumi.Input[str]] = None,
                                                     order: Optional[pulumi.Input[str]] = None,
                                                     target_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                                     virtual_network_id: Optional[pulumi.Input[str]] = None,
                                                     opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustAccessInfrastructureTargetsResult]
    func LookupZeroTrustAccessInfrastructureTargets(ctx *Context, args *LookupZeroTrustAccessInfrastructureTargetsArgs, opts ...InvokeOption) (*LookupZeroTrustAccessInfrastructureTargetsResult, error)
    func LookupZeroTrustAccessInfrastructureTargetsOutput(ctx *Context, args *LookupZeroTrustAccessInfrastructureTargetsOutputArgs, opts ...InvokeOption) LookupZeroTrustAccessInfrastructureTargetsResultOutput

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

    public static class GetZeroTrustAccessInfrastructureTargets 
    {
        public static Task<GetZeroTrustAccessInfrastructureTargetsResult> InvokeAsync(GetZeroTrustAccessInfrastructureTargetsArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustAccessInfrastructureTargetsResult> Invoke(GetZeroTrustAccessInfrastructureTargetsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetZeroTrustAccessInfrastructureTargetsResult> getZeroTrustAccessInfrastructureTargets(GetZeroTrustAccessInfrastructureTargetsArgs args, InvokeOptions options)
    public static Output<GetZeroTrustAccessInfrastructureTargetsResult> getZeroTrustAccessInfrastructureTargets(GetZeroTrustAccessInfrastructureTargetsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustAccessInfrastructureTargets:getZeroTrustAccessInfrastructureTargets
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    Account identifier
    CreatedAfter string
    Date and time at which the target was created after (inclusive)
    CreatedBefore string
    Date and time at which the target was created before (inclusive)
    Direction string
    The sorting direction. Available values: "asc", "desc".
    Hostname string
    Hostname of a target
    HostnameContains string
    Partial match to the hostname of a target
    IpLike string
    Filters for targets whose IP addresses look like the specified string. Supports * as a wildcard character
    IpV4 string
    IPv4 address of the target
    IpV6 string
    IPv6 address of the target
    Ips List<string>
    Filters for targets that have any of the following IP addresses. Specify ips multiple times in query parameter to build list of candidates.
    Ipv4End string
    Defines an IPv4 filter range's ending value (inclusive). Requires ipv4_start to be specified as well.
    Ipv4Start string
    Defines an IPv4 filter range's starting value (inclusive). Requires ipv4_end to be specified as well.
    Ipv6End string
    Defines an IPv6 filter range's ending value (inclusive). Requires ipv6_start to be specified as well.
    Ipv6Start string
    Defines an IPv6 filter range's starting value (inclusive). Requires ipv6_end to be specified as well.
    MaxItems int
    Max items to fetch, default: 1000
    ModifiedAfter string
    Date and time at which the target was modified after (inclusive)
    ModifiedBefore string
    Date and time at which the target was modified before (inclusive)
    Order string
    The field to sort by. Available values: "hostname", "created_at".
    TargetIds List<string>
    Filters for targets that have any of the following UUIDs. Specify target_ids multiple times in query parameter to build list of candidates.
    VirtualNetworkId string
    Private virtual network identifier of the target
    AccountId string
    Account identifier
    CreatedAfter string
    Date and time at which the target was created after (inclusive)
    CreatedBefore string
    Date and time at which the target was created before (inclusive)
    Direction string
    The sorting direction. Available values: "asc", "desc".
    Hostname string
    Hostname of a target
    HostnameContains string
    Partial match to the hostname of a target
    IpLike string
    Filters for targets whose IP addresses look like the specified string. Supports * as a wildcard character
    IpV4 string
    IPv4 address of the target
    IpV6 string
    IPv6 address of the target
    Ips []string
    Filters for targets that have any of the following IP addresses. Specify ips multiple times in query parameter to build list of candidates.
    Ipv4End string
    Defines an IPv4 filter range's ending value (inclusive). Requires ipv4_start to be specified as well.
    Ipv4Start string
    Defines an IPv4 filter range's starting value (inclusive). Requires ipv4_end to be specified as well.
    Ipv6End string
    Defines an IPv6 filter range's ending value (inclusive). Requires ipv6_start to be specified as well.
    Ipv6Start string
    Defines an IPv6 filter range's starting value (inclusive). Requires ipv6_end to be specified as well.
    MaxItems int
    Max items to fetch, default: 1000
    ModifiedAfter string
    Date and time at which the target was modified after (inclusive)
    ModifiedBefore string
    Date and time at which the target was modified before (inclusive)
    Order string
    The field to sort by. Available values: "hostname", "created_at".
    TargetIds []string
    Filters for targets that have any of the following UUIDs. Specify target_ids multiple times in query parameter to build list of candidates.
    VirtualNetworkId string
    Private virtual network identifier of the target
    accountId String
    Account identifier
    createdAfter String
    Date and time at which the target was created after (inclusive)
    createdBefore String
    Date and time at which the target was created before (inclusive)
    direction String
    The sorting direction. Available values: "asc", "desc".
    hostname String
    Hostname of a target
    hostnameContains String
    Partial match to the hostname of a target
    ipLike String
    Filters for targets whose IP addresses look like the specified string. Supports * as a wildcard character
    ipV4 String
    IPv4 address of the target
    ipV6 String
    IPv6 address of the target
    ips List<String>
    Filters for targets that have any of the following IP addresses. Specify ips multiple times in query parameter to build list of candidates.
    ipv4End String
    Defines an IPv4 filter range's ending value (inclusive). Requires ipv4_start to be specified as well.
    ipv4Start String
    Defines an IPv4 filter range's starting value (inclusive). Requires ipv4_end to be specified as well.
    ipv6End String
    Defines an IPv6 filter range's ending value (inclusive). Requires ipv6_start to be specified as well.
    ipv6Start String
    Defines an IPv6 filter range's starting value (inclusive). Requires ipv6_end to be specified as well.
    maxItems Integer
    Max items to fetch, default: 1000
    modifiedAfter String
    Date and time at which the target was modified after (inclusive)
    modifiedBefore String
    Date and time at which the target was modified before (inclusive)
    order String
    The field to sort by. Available values: "hostname", "created_at".
    targetIds List<String>
    Filters for targets that have any of the following UUIDs. Specify target_ids multiple times in query parameter to build list of candidates.
    virtualNetworkId String
    Private virtual network identifier of the target
    accountId string
    Account identifier
    createdAfter string
    Date and time at which the target was created after (inclusive)
    createdBefore string
    Date and time at which the target was created before (inclusive)
    direction string
    The sorting direction. Available values: "asc", "desc".
    hostname string
    Hostname of a target
    hostnameContains string
    Partial match to the hostname of a target
    ipLike string
    Filters for targets whose IP addresses look like the specified string. Supports * as a wildcard character
    ipV4 string
    IPv4 address of the target
    ipV6 string
    IPv6 address of the target
    ips string[]
    Filters for targets that have any of the following IP addresses. Specify ips multiple times in query parameter to build list of candidates.
    ipv4End string
    Defines an IPv4 filter range's ending value (inclusive). Requires ipv4_start to be specified as well.
    ipv4Start string
    Defines an IPv4 filter range's starting value (inclusive). Requires ipv4_end to be specified as well.
    ipv6End string
    Defines an IPv6 filter range's ending value (inclusive). Requires ipv6_start to be specified as well.
    ipv6Start string
    Defines an IPv6 filter range's starting value (inclusive). Requires ipv6_end to be specified as well.
    maxItems number
    Max items to fetch, default: 1000
    modifiedAfter string
    Date and time at which the target was modified after (inclusive)
    modifiedBefore string
    Date and time at which the target was modified before (inclusive)
    order string
    The field to sort by. Available values: "hostname", "created_at".
    targetIds string[]
    Filters for targets that have any of the following UUIDs. Specify target_ids multiple times in query parameter to build list of candidates.
    virtualNetworkId string
    Private virtual network identifier of the target
    account_id str
    Account identifier
    created_after str
    Date and time at which the target was created after (inclusive)
    created_before str
    Date and time at which the target was created before (inclusive)
    direction str
    The sorting direction. Available values: "asc", "desc".
    hostname str
    Hostname of a target
    hostname_contains str
    Partial match to the hostname of a target
    ip_like str
    Filters for targets whose IP addresses look like the specified string. Supports * as a wildcard character
    ip_v4 str
    IPv4 address of the target
    ip_v6 str
    IPv6 address of the target
    ips Sequence[str]
    Filters for targets that have any of the following IP addresses. Specify ips multiple times in query parameter to build list of candidates.
    ipv4_end str
    Defines an IPv4 filter range's ending value (inclusive). Requires ipv4_start to be specified as well.
    ipv4_start str
    Defines an IPv4 filter range's starting value (inclusive). Requires ipv4_end to be specified as well.
    ipv6_end str
    Defines an IPv6 filter range's ending value (inclusive). Requires ipv6_start to be specified as well.
    ipv6_start str
    Defines an IPv6 filter range's starting value (inclusive). Requires ipv6_end to be specified as well.
    max_items int
    Max items to fetch, default: 1000
    modified_after str
    Date and time at which the target was modified after (inclusive)
    modified_before str
    Date and time at which the target was modified before (inclusive)
    order str
    The field to sort by. Available values: "hostname", "created_at".
    target_ids Sequence[str]
    Filters for targets that have any of the following UUIDs. Specify target_ids multiple times in query parameter to build list of candidates.
    virtual_network_id str
    Private virtual network identifier of the target
    accountId String
    Account identifier
    createdAfter String
    Date and time at which the target was created after (inclusive)
    createdBefore String
    Date and time at which the target was created before (inclusive)
    direction String
    The sorting direction. Available values: "asc", "desc".
    hostname String
    Hostname of a target
    hostnameContains String
    Partial match to the hostname of a target
    ipLike String
    Filters for targets whose IP addresses look like the specified string. Supports * as a wildcard character
    ipV4 String
    IPv4 address of the target
    ipV6 String
    IPv6 address of the target
    ips List<String>
    Filters for targets that have any of the following IP addresses. Specify ips multiple times in query parameter to build list of candidates.
    ipv4End String
    Defines an IPv4 filter range's ending value (inclusive). Requires ipv4_start to be specified as well.
    ipv4Start String
    Defines an IPv4 filter range's starting value (inclusive). Requires ipv4_end to be specified as well.
    ipv6End String
    Defines an IPv6 filter range's ending value (inclusive). Requires ipv6_start to be specified as well.
    ipv6Start String
    Defines an IPv6 filter range's starting value (inclusive). Requires ipv6_end to be specified as well.
    maxItems Number
    Max items to fetch, default: 1000
    modifiedAfter String
    Date and time at which the target was modified after (inclusive)
    modifiedBefore String
    Date and time at which the target was modified before (inclusive)
    order String
    The field to sort by. Available values: "hostname", "created_at".
    targetIds List<String>
    Filters for targets that have any of the following UUIDs. Specify target_ids multiple times in query parameter to build list of candidates.
    virtualNetworkId String
    Private virtual network identifier of the target

    getZeroTrustAccessInfrastructureTargets Result

    The following output properties are available:

    AccountId string
    Account identifier
    Id string
    The provider-assigned unique ID for this managed resource.
    Results List<GetZeroTrustAccessInfrastructureTargetsResult>
    The items returned by the data source
    CreatedAfter string
    Date and time at which the target was created after (inclusive)
    CreatedBefore string
    Date and time at which the target was created before (inclusive)
    Direction string
    The sorting direction. Available values: "asc", "desc".
    Hostname string
    Hostname of a target
    HostnameContains string
    Partial match to the hostname of a target
    IpLike string
    Filters for targets whose IP addresses look like the specified string. Supports * as a wildcard character
    IpV4 string
    IPv4 address of the target
    IpV6 string
    IPv6 address of the target
    Ips List<string>
    Filters for targets that have any of the following IP addresses. Specify ips multiple times in query parameter to build list of candidates.
    Ipv4End string
    Defines an IPv4 filter range's ending value (inclusive). Requires ipv4_start to be specified as well.
    Ipv4Start string
    Defines an IPv4 filter range's starting value (inclusive). Requires ipv4_end to be specified as well.
    Ipv6End string
    Defines an IPv6 filter range's ending value (inclusive). Requires ipv6_start to be specified as well.
    Ipv6Start string
    Defines an IPv6 filter range's starting value (inclusive). Requires ipv6_end to be specified as well.
    MaxItems int
    Max items to fetch, default: 1000
    ModifiedAfter string
    Date and time at which the target was modified after (inclusive)
    ModifiedBefore string
    Date and time at which the target was modified before (inclusive)
    Order string
    The field to sort by. Available values: "hostname", "created_at".
    TargetIds List<string>
    Filters for targets that have any of the following UUIDs. Specify target_ids multiple times in query parameter to build list of candidates.
    VirtualNetworkId string
    Private virtual network identifier of the target
    AccountId string
    Account identifier
    Id string
    The provider-assigned unique ID for this managed resource.
    Results []GetZeroTrustAccessInfrastructureTargetsResult
    The items returned by the data source
    CreatedAfter string
    Date and time at which the target was created after (inclusive)
    CreatedBefore string
    Date and time at which the target was created before (inclusive)
    Direction string
    The sorting direction. Available values: "asc", "desc".
    Hostname string
    Hostname of a target
    HostnameContains string
    Partial match to the hostname of a target
    IpLike string
    Filters for targets whose IP addresses look like the specified string. Supports * as a wildcard character
    IpV4 string
    IPv4 address of the target
    IpV6 string
    IPv6 address of the target
    Ips []string
    Filters for targets that have any of the following IP addresses. Specify ips multiple times in query parameter to build list of candidates.
    Ipv4End string
    Defines an IPv4 filter range's ending value (inclusive). Requires ipv4_start to be specified as well.
    Ipv4Start string
    Defines an IPv4 filter range's starting value (inclusive). Requires ipv4_end to be specified as well.
    Ipv6End string
    Defines an IPv6 filter range's ending value (inclusive). Requires ipv6_start to be specified as well.
    Ipv6Start string
    Defines an IPv6 filter range's starting value (inclusive). Requires ipv6_end to be specified as well.
    MaxItems int
    Max items to fetch, default: 1000
    ModifiedAfter string
    Date and time at which the target was modified after (inclusive)
    ModifiedBefore string
    Date and time at which the target was modified before (inclusive)
    Order string
    The field to sort by. Available values: "hostname", "created_at".
    TargetIds []string
    Filters for targets that have any of the following UUIDs. Specify target_ids multiple times in query parameter to build list of candidates.
    VirtualNetworkId string
    Private virtual network identifier of the target
    accountId String
    Account identifier
    id String
    The provider-assigned unique ID for this managed resource.
    results List<GetZeroTrustAccessInfrastructureTargetsResult>
    The items returned by the data source
    createdAfter String
    Date and time at which the target was created after (inclusive)
    createdBefore String
    Date and time at which the target was created before (inclusive)
    direction String
    The sorting direction. Available values: "asc", "desc".
    hostname String
    Hostname of a target
    hostnameContains String
    Partial match to the hostname of a target
    ipLike String
    Filters for targets whose IP addresses look like the specified string. Supports * as a wildcard character
    ipV4 String
    IPv4 address of the target
    ipV6 String
    IPv6 address of the target
    ips List<String>
    Filters for targets that have any of the following IP addresses. Specify ips multiple times in query parameter to build list of candidates.
    ipv4End String
    Defines an IPv4 filter range's ending value (inclusive). Requires ipv4_start to be specified as well.
    ipv4Start String
    Defines an IPv4 filter range's starting value (inclusive). Requires ipv4_end to be specified as well.
    ipv6End String
    Defines an IPv6 filter range's ending value (inclusive). Requires ipv6_start to be specified as well.
    ipv6Start String
    Defines an IPv6 filter range's starting value (inclusive). Requires ipv6_end to be specified as well.
    maxItems Integer
    Max items to fetch, default: 1000
    modifiedAfter String
    Date and time at which the target was modified after (inclusive)
    modifiedBefore String
    Date and time at which the target was modified before (inclusive)
    order String
    The field to sort by. Available values: "hostname", "created_at".
    targetIds List<String>
    Filters for targets that have any of the following UUIDs. Specify target_ids multiple times in query parameter to build list of candidates.
    virtualNetworkId String
    Private virtual network identifier of the target
    accountId string
    Account identifier
    id string
    The provider-assigned unique ID for this managed resource.
    results GetZeroTrustAccessInfrastructureTargetsResult[]
    The items returned by the data source
    createdAfter string
    Date and time at which the target was created after (inclusive)
    createdBefore string
    Date and time at which the target was created before (inclusive)
    direction string
    The sorting direction. Available values: "asc", "desc".
    hostname string
    Hostname of a target
    hostnameContains string
    Partial match to the hostname of a target
    ipLike string
    Filters for targets whose IP addresses look like the specified string. Supports * as a wildcard character
    ipV4 string
    IPv4 address of the target
    ipV6 string
    IPv6 address of the target
    ips string[]
    Filters for targets that have any of the following IP addresses. Specify ips multiple times in query parameter to build list of candidates.
    ipv4End string
    Defines an IPv4 filter range's ending value (inclusive). Requires ipv4_start to be specified as well.
    ipv4Start string
    Defines an IPv4 filter range's starting value (inclusive). Requires ipv4_end to be specified as well.
    ipv6End string
    Defines an IPv6 filter range's ending value (inclusive). Requires ipv6_start to be specified as well.
    ipv6Start string
    Defines an IPv6 filter range's starting value (inclusive). Requires ipv6_end to be specified as well.
    maxItems number
    Max items to fetch, default: 1000
    modifiedAfter string
    Date and time at which the target was modified after (inclusive)
    modifiedBefore string
    Date and time at which the target was modified before (inclusive)
    order string
    The field to sort by. Available values: "hostname", "created_at".
    targetIds string[]
    Filters for targets that have any of the following UUIDs. Specify target_ids multiple times in query parameter to build list of candidates.
    virtualNetworkId string
    Private virtual network identifier of the target
    account_id str
    Account identifier
    id str
    The provider-assigned unique ID for this managed resource.
    results Sequence[GetZeroTrustAccessInfrastructureTargetsResult]
    The items returned by the data source
    created_after str
    Date and time at which the target was created after (inclusive)
    created_before str
    Date and time at which the target was created before (inclusive)
    direction str
    The sorting direction. Available values: "asc", "desc".
    hostname str
    Hostname of a target
    hostname_contains str
    Partial match to the hostname of a target
    ip_like str
    Filters for targets whose IP addresses look like the specified string. Supports * as a wildcard character
    ip_v4 str
    IPv4 address of the target
    ip_v6 str
    IPv6 address of the target
    ips Sequence[str]
    Filters for targets that have any of the following IP addresses. Specify ips multiple times in query parameter to build list of candidates.
    ipv4_end str
    Defines an IPv4 filter range's ending value (inclusive). Requires ipv4_start to be specified as well.
    ipv4_start str
    Defines an IPv4 filter range's starting value (inclusive). Requires ipv4_end to be specified as well.
    ipv6_end str
    Defines an IPv6 filter range's ending value (inclusive). Requires ipv6_start to be specified as well.
    ipv6_start str
    Defines an IPv6 filter range's starting value (inclusive). Requires ipv6_end to be specified as well.
    max_items int
    Max items to fetch, default: 1000
    modified_after str
    Date and time at which the target was modified after (inclusive)
    modified_before str
    Date and time at which the target was modified before (inclusive)
    order str
    The field to sort by. Available values: "hostname", "created_at".
    target_ids Sequence[str]
    Filters for targets that have any of the following UUIDs. Specify target_ids multiple times in query parameter to build list of candidates.
    virtual_network_id str
    Private virtual network identifier of the target
    accountId String
    Account identifier
    id String
    The provider-assigned unique ID for this managed resource.
    results List<Property Map>
    The items returned by the data source
    createdAfter String
    Date and time at which the target was created after (inclusive)
    createdBefore String
    Date and time at which the target was created before (inclusive)
    direction String
    The sorting direction. Available values: "asc", "desc".
    hostname String
    Hostname of a target
    hostnameContains String
    Partial match to the hostname of a target
    ipLike String
    Filters for targets whose IP addresses look like the specified string. Supports * as a wildcard character
    ipV4 String
    IPv4 address of the target
    ipV6 String
    IPv6 address of the target
    ips List<String>
    Filters for targets that have any of the following IP addresses. Specify ips multiple times in query parameter to build list of candidates.
    ipv4End String
    Defines an IPv4 filter range's ending value (inclusive). Requires ipv4_start to be specified as well.
    ipv4Start String
    Defines an IPv4 filter range's starting value (inclusive). Requires ipv4_end to be specified as well.
    ipv6End String
    Defines an IPv6 filter range's ending value (inclusive). Requires ipv6_start to be specified as well.
    ipv6Start String
    Defines an IPv6 filter range's starting value (inclusive). Requires ipv6_end to be specified as well.
    maxItems Number
    Max items to fetch, default: 1000
    modifiedAfter String
    Date and time at which the target was modified after (inclusive)
    modifiedBefore String
    Date and time at which the target was modified before (inclusive)
    order String
    The field to sort by. Available values: "hostname", "created_at".
    targetIds List<String>
    Filters for targets that have any of the following UUIDs. Specify target_ids multiple times in query parameter to build list of candidates.
    virtualNetworkId String
    Private virtual network identifier of the target

    Supporting Types

    GetZeroTrustAccessInfrastructureTargetsResult

    CreatedAt string
    Date and time at which the target was created
    Hostname string
    A non-unique field that refers to a target
    Id string
    Target identifier
    Ip GetZeroTrustAccessInfrastructureTargetsResultIp
    The IPv4/IPv6 address that identifies where to reach a target
    ModifiedAt string
    Date and time at which the target was modified
    CreatedAt string
    Date and time at which the target was created
    Hostname string
    A non-unique field that refers to a target
    Id string
    Target identifier
    Ip GetZeroTrustAccessInfrastructureTargetsResultIp
    The IPv4/IPv6 address that identifies where to reach a target
    ModifiedAt string
    Date and time at which the target was modified
    createdAt String
    Date and time at which the target was created
    hostname String
    A non-unique field that refers to a target
    id String
    Target identifier
    ip GetZeroTrustAccessInfrastructureTargetsResultIp
    The IPv4/IPv6 address that identifies where to reach a target
    modifiedAt String
    Date and time at which the target was modified
    createdAt string
    Date and time at which the target was created
    hostname string
    A non-unique field that refers to a target
    id string
    Target identifier
    ip GetZeroTrustAccessInfrastructureTargetsResultIp
    The IPv4/IPv6 address that identifies where to reach a target
    modifiedAt string
    Date and time at which the target was modified
    created_at str
    Date and time at which the target was created
    hostname str
    A non-unique field that refers to a target
    id str
    Target identifier
    ip GetZeroTrustAccessInfrastructureTargetsResultIp
    The IPv4/IPv6 address that identifies where to reach a target
    modified_at str
    Date and time at which the target was modified
    createdAt String
    Date and time at which the target was created
    hostname String
    A non-unique field that refers to a target
    id String
    Target identifier
    ip Property Map
    The IPv4/IPv6 address that identifies where to reach a target
    modifiedAt String
    Date and time at which the target was modified

    GetZeroTrustAccessInfrastructureTargetsResultIp

    ipv4 Property Map
    The target's IPv4 address
    ipv6 Property Map
    The target's IPv6 address

    GetZeroTrustAccessInfrastructureTargetsResultIpIpv4

    IpAddr string
    IP address of the target
    VirtualNetworkId string
    (optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.
    IpAddr string
    IP address of the target
    VirtualNetworkId string
    (optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.
    ipAddr String
    IP address of the target
    virtualNetworkId String
    (optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.
    ipAddr string
    IP address of the target
    virtualNetworkId string
    (optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.
    ip_addr str
    IP address of the target
    virtual_network_id str
    (optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.
    ipAddr String
    IP address of the target
    virtualNetworkId String
    (optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.

    GetZeroTrustAccessInfrastructureTargetsResultIpIpv6

    IpAddr string
    IP address of the target
    VirtualNetworkId string
    (optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.
    IpAddr string
    IP address of the target
    VirtualNetworkId string
    (optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.
    ipAddr String
    IP address of the target
    virtualNetworkId String
    (optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.
    ipAddr string
    IP address of the target
    virtualNetworkId string
    (optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.
    ip_addr str
    IP address of the target
    virtual_network_id str
    (optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.
    ipAddr String
    IP address of the target
    virtualNetworkId String
    (optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi