1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getZeroTrustGatewayProxyEndpoints
Cloudflare v6.12.0 published on Wednesday, Dec 24, 2025 by Pulumi
cloudflare logo
Cloudflare v6.12.0 published on Wednesday, Dec 24, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleZeroTrustGatewayProxyEndpoints = cloudflare.getZeroTrustGatewayProxyEndpoints({
        accountId: "699d98642c564d2e855e9661899b7252",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_gateway_proxy_endpoints = cloudflare.get_zero_trust_gateway_proxy_endpoints(account_id="699d98642c564d2e855e9661899b7252")
    
    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.LookupZeroTrustGatewayProxyEndpoints(ctx, &cloudflare.LookupZeroTrustGatewayProxyEndpointsArgs{
    			AccountId: "699d98642c564d2e855e9661899b7252",
    		}, 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 exampleZeroTrustGatewayProxyEndpoints = Cloudflare.GetZeroTrustGatewayProxyEndpoints.Invoke(new()
        {
            AccountId = "699d98642c564d2e855e9661899b7252",
        });
    
    });
    
    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.GetZeroTrustGatewayProxyEndpointsArgs;
    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 exampleZeroTrustGatewayProxyEndpoints = CloudflareFunctions.getZeroTrustGatewayProxyEndpoints(GetZeroTrustGatewayProxyEndpointsArgs.builder()
                .accountId("699d98642c564d2e855e9661899b7252")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustGatewayProxyEndpoints:
        fn::invoke:
          function: cloudflare:getZeroTrustGatewayProxyEndpoints
          arguments:
            accountId: 699d98642c564d2e855e9661899b7252
    

    Using getZeroTrustGatewayProxyEndpoints

    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 getZeroTrustGatewayProxyEndpoints(args: GetZeroTrustGatewayProxyEndpointsArgs, opts?: InvokeOptions): Promise<GetZeroTrustGatewayProxyEndpointsResult>
    function getZeroTrustGatewayProxyEndpointsOutput(args: GetZeroTrustGatewayProxyEndpointsOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustGatewayProxyEndpointsResult>
    def get_zero_trust_gateway_proxy_endpoints(account_id: Optional[str] = None,
                                               max_items: Optional[int] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetZeroTrustGatewayProxyEndpointsResult
    def get_zero_trust_gateway_proxy_endpoints_output(account_id: Optional[pulumi.Input[str]] = None,
                                               max_items: Optional[pulumi.Input[int]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustGatewayProxyEndpointsResult]
    func LookupZeroTrustGatewayProxyEndpoints(ctx *Context, args *LookupZeroTrustGatewayProxyEndpointsArgs, opts ...InvokeOption) (*LookupZeroTrustGatewayProxyEndpointsResult, error)
    func LookupZeroTrustGatewayProxyEndpointsOutput(ctx *Context, args *LookupZeroTrustGatewayProxyEndpointsOutputArgs, opts ...InvokeOption) LookupZeroTrustGatewayProxyEndpointsResultOutput

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

    public static class GetZeroTrustGatewayProxyEndpoints 
    {
        public static Task<GetZeroTrustGatewayProxyEndpointsResult> InvokeAsync(GetZeroTrustGatewayProxyEndpointsArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustGatewayProxyEndpointsResult> Invoke(GetZeroTrustGatewayProxyEndpointsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetZeroTrustGatewayProxyEndpointsResult> getZeroTrustGatewayProxyEndpoints(GetZeroTrustGatewayProxyEndpointsArgs args, InvokeOptions options)
    public static Output<GetZeroTrustGatewayProxyEndpointsResult> getZeroTrustGatewayProxyEndpoints(GetZeroTrustGatewayProxyEndpointsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustGatewayProxyEndpoints:getZeroTrustGatewayProxyEndpoints
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    accountId String
    maxItems Integer
    Max items to fetch, default: 1000
    accountId string
    maxItems number
    Max items to fetch, default: 1000
    account_id str
    max_items int
    Max items to fetch, default: 1000
    accountId String
    maxItems Number
    Max items to fetch, default: 1000

    getZeroTrustGatewayProxyEndpoints Result

    The following output properties are available:

    AccountId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Results List<GetZeroTrustGatewayProxyEndpointsResult>
    The items returned by the data source
    MaxItems int
    Max items to fetch, default: 1000
    AccountId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Results []GetZeroTrustGatewayProxyEndpointsResult
    The items returned by the data source
    MaxItems int
    Max items to fetch, default: 1000
    accountId String
    id String
    The provider-assigned unique ID for this managed resource.
    results List<GetZeroTrustGatewayProxyEndpointsResult>
    The items returned by the data source
    maxItems Integer
    Max items to fetch, default: 1000
    accountId string
    id string
    The provider-assigned unique ID for this managed resource.
    results GetZeroTrustGatewayProxyEndpointsResult[]
    The items returned by the data source
    maxItems number
    Max items to fetch, default: 1000
    account_id str
    id str
    The provider-assigned unique ID for this managed resource.
    results Sequence[GetZeroTrustGatewayProxyEndpointsResult]
    The items returned by the data source
    max_items int
    Max items to fetch, default: 1000
    accountId String
    id String
    The provider-assigned unique ID for this managed resource.
    results List<Property Map>
    The items returned by the data source
    maxItems Number
    Max items to fetch, default: 1000

    Supporting Types

    GetZeroTrustGatewayProxyEndpointsResult

    CreatedAt string
    Id string
    Ips List<string>
    Specify the list of CIDRs to restrict ingress connections.
    Kind string
    The proxy endpoint kind Available values: "ip", "identity".
    Name string
    Specify the name of the proxy endpoint.
    Subdomain string
    Specify the subdomain to use as the destination in the proxy client.
    UpdatedAt string
    CreatedAt string
    Id string
    Ips []string
    Specify the list of CIDRs to restrict ingress connections.
    Kind string
    The proxy endpoint kind Available values: "ip", "identity".
    Name string
    Specify the name of the proxy endpoint.
    Subdomain string
    Specify the subdomain to use as the destination in the proxy client.
    UpdatedAt string
    createdAt String
    id String
    ips List<String>
    Specify the list of CIDRs to restrict ingress connections.
    kind String
    The proxy endpoint kind Available values: "ip", "identity".
    name String
    Specify the name of the proxy endpoint.
    subdomain String
    Specify the subdomain to use as the destination in the proxy client.
    updatedAt String
    createdAt string
    id string
    ips string[]
    Specify the list of CIDRs to restrict ingress connections.
    kind string
    The proxy endpoint kind Available values: "ip", "identity".
    name string
    Specify the name of the proxy endpoint.
    subdomain string
    Specify the subdomain to use as the destination in the proxy client.
    updatedAt string
    created_at str
    id str
    ips Sequence[str]
    Specify the list of CIDRs to restrict ingress connections.
    kind str
    The proxy endpoint kind Available values: "ip", "identity".
    name str
    Specify the name of the proxy endpoint.
    subdomain str
    Specify the subdomain to use as the destination in the proxy client.
    updated_at str
    createdAt String
    id String
    ips List<String>
    Specify the list of CIDRs to restrict ingress connections.
    kind String
    The proxy endpoint kind Available values: "ip", "identity".
    name String
    Specify the name of the proxy endpoint.
    subdomain String
    Specify the subdomain to use as the destination in the proxy client.
    updatedAt String

    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.12.0 published on Wednesday, Dec 24, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate