1. Registry
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getZeroTrustGatewayProxyEndpoint
Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
cloudflare logo cloudflare logo
Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleZeroTrustGatewayProxyEndpoint = cloudflare.getZeroTrustGatewayProxyEndpoint({
        accountId: "699d98642c564d2e855e9661899b7252",
        proxyEndpointId: "ed35569b41ce4d1facfe683550f54086",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_gateway_proxy_endpoint = cloudflare.get_zero_trust_gateway_proxy_endpoint(account_id="699d98642c564d2e855e9661899b7252",
        proxy_endpoint_id="ed35569b41ce4d1facfe683550f54086")
    
    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.GetZeroTrustGatewayProxyEndpoint(ctx, &cloudflare.LookupZeroTrustGatewayProxyEndpointArgs{
    			AccountId:       pulumi.StringRef("699d98642c564d2e855e9661899b7252"),
    			ProxyEndpointId: pulumi.StringRef("ed35569b41ce4d1facfe683550f54086"),
    		}, 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 exampleZeroTrustGatewayProxyEndpoint = Cloudflare.GetZeroTrustGatewayProxyEndpoint.Invoke(new()
        {
            AccountId = "699d98642c564d2e855e9661899b7252",
            ProxyEndpointId = "ed35569b41ce4d1facfe683550f54086",
        });
    
    });
    
    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.GetZeroTrustGatewayProxyEndpointArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 exampleZeroTrustGatewayProxyEndpoint = CloudflareFunctions.getZeroTrustGatewayProxyEndpoint(GetZeroTrustGatewayProxyEndpointArgs.builder()
                .accountId("699d98642c564d2e855e9661899b7252")
                .proxyEndpointId("ed35569b41ce4d1facfe683550f54086")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustGatewayProxyEndpoint:
        fn::invoke:
          function: cloudflare:getZeroTrustGatewayProxyEndpoint
          arguments:
            accountId: 699d98642c564d2e855e9661899b7252
            proxyEndpointId: ed35569b41ce4d1facfe683550f54086
    
    terraform {
      required_providers {
        cloudflare = {
          source = "pulumi/cloudflare"
        }
      }
    }
    
    data "cloudflare_zero_trust_gateway_proxy_endpoint" "exampleZeroTrustGatewayProxyEndpoint" {
      account_id        = "699d98642c564d2e855e9661899b7252"
      proxy_endpoint_id = "ed35569b41ce4d1facfe683550f54086"
    }
    

    Using getZeroTrustGatewayProxyEndpoint

    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 getZeroTrustGatewayProxyEndpoint(args: GetZeroTrustGatewayProxyEndpointArgs, opts?: InvokeOptions): Promise<GetZeroTrustGatewayProxyEndpointResult>
    function getZeroTrustGatewayProxyEndpointOutput(args: GetZeroTrustGatewayProxyEndpointOutputArgs, opts?: InvokeOutputOptions): Output<GetZeroTrustGatewayProxyEndpointResult>
    def get_zero_trust_gateway_proxy_endpoint(account_id: Optional[str] = None,
                                              filter: Optional[GetZeroTrustGatewayProxyEndpointFilter] = None,
                                              proxy_endpoint_id: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetZeroTrustGatewayProxyEndpointResult
    def get_zero_trust_gateway_proxy_endpoint_output(account_id: pulumi.Input[Optional[str]] = None,
                                              filter: pulumi.Input[Optional[GetZeroTrustGatewayProxyEndpointFilterArgs]] = None,
                                              proxy_endpoint_id: pulumi.Input[Optional[str]] = None,
                                              opts: Optional[InvokeOutputOptions] = None) -> Output[GetZeroTrustGatewayProxyEndpointResult]
    func LookupZeroTrustGatewayProxyEndpoint(ctx *Context, args *LookupZeroTrustGatewayProxyEndpointArgs, opts ...InvokeOption) (*LookupZeroTrustGatewayProxyEndpointResult, error)
    func LookupZeroTrustGatewayProxyEndpointOutput(ctx *Context, args *LookupZeroTrustGatewayProxyEndpointOutputArgs, opts ...InvokeOption) LookupZeroTrustGatewayProxyEndpointResultOutput

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

    public static class GetZeroTrustGatewayProxyEndpoint 
    {
        public static Task<GetZeroTrustGatewayProxyEndpointResult> InvokeAsync(GetZeroTrustGatewayProxyEndpointArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustGatewayProxyEndpointResult> Invoke(GetZeroTrustGatewayProxyEndpointInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustGatewayProxyEndpointResult> Invoke(GetZeroTrustGatewayProxyEndpointInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetZeroTrustGatewayProxyEndpointResult> getZeroTrustGatewayProxyEndpoint(GetZeroTrustGatewayProxyEndpointArgs args, InvokeOptions options)
    public static Output<GetZeroTrustGatewayProxyEndpointResult> getZeroTrustGatewayProxyEndpoint(GetZeroTrustGatewayProxyEndpointArgs args, InvokeOptions options)
    public static Output<GetZeroTrustGatewayProxyEndpointResult> getZeroTrustGatewayProxyEndpoint(GetZeroTrustGatewayProxyEndpointArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustGatewayProxyEndpoint:getZeroTrustGatewayProxyEndpoint
      arguments:
        # arguments dictionary
    data "cloudflare_get_zero_trust_gateway_proxy_endpoint" "name" {
        # arguments
    }

    The following arguments are supported:

    getZeroTrustGatewayProxyEndpoint Result

    The following output properties are available:

    created_at string
    id string
    ips list(string)
    kind string
    name string
    subdomain string
    updated_at string
    account_id string
    filter object
    proxy_endpoint_id string
    createdAt String
    id String
    ips List<String>
    kind String
    name String
    subdomain String
    updatedAt String
    accountId String
    filter Property Map
    proxyEndpointId String

    Supporting Types

    GetZeroTrustGatewayProxyEndpointFilter

    Direction string
    Sort direction. Only takes effect when orderBy is also provided; it is ignored otherwise. When direction is omitted the effective direction is field-specific: createdAt and updatedAt default to descending (newest first); name defaults to ascending.

    • asc — ascending.
    • desc — descending. Available values: "asc", "desc".
    Filters List<string>

    Filter the returned proxy endpoints by one or more field:value pairs. Repeat the parameter to apply multiple filters; they are combined with logical AND (an endpoint must satisfy every filter to be returned).

    Supported fields and their matching behaviour:

    • name — case-insensitive substring match on the endpoint name.
    • id — substring match on the endpoint ID (UUID), with or without dashes.
    • kind — exact match on the endpoint kind. The value must be ip or identity; any other value returns 400.

    Each entry must match one of the per-field patterns below: the field must be one of name, id, or kind; name/id accept any value, while kind only accepts ip or identity.

    OrderBy string
    Field to sort the returned endpoints by. When omitted, the order of results is unspecified. Supported values:

    • name — sort alphabetically by endpoint name.
    • createdAt — sort by creation time; defaults to descending unless direction is set.
    • updatedAt — sort by last-modified time; defaults to descending unless direction is set. Available values: "name", "createdAt", "updatedAt".
    Search string
    Case-insensitive substring match on the endpoint name. When combined with filter, both must match (logical AND).
    Direction string
    Sort direction. Only takes effect when orderBy is also provided; it is ignored otherwise. When direction is omitted the effective direction is field-specific: createdAt and updatedAt default to descending (newest first); name defaults to ascending.

    • asc — ascending.
    • desc — descending. Available values: "asc", "desc".
    Filters []string

    Filter the returned proxy endpoints by one or more field:value pairs. Repeat the parameter to apply multiple filters; they are combined with logical AND (an endpoint must satisfy every filter to be returned).

    Supported fields and their matching behaviour:

    • name — case-insensitive substring match on the endpoint name.
    • id — substring match on the endpoint ID (UUID), with or without dashes.
    • kind — exact match on the endpoint kind. The value must be ip or identity; any other value returns 400.

    Each entry must match one of the per-field patterns below: the field must be one of name, id, or kind; name/id accept any value, while kind only accepts ip or identity.

    OrderBy string
    Field to sort the returned endpoints by. When omitted, the order of results is unspecified. Supported values:

    • name — sort alphabetically by endpoint name.
    • createdAt — sort by creation time; defaults to descending unless direction is set.
    • updatedAt — sort by last-modified time; defaults to descending unless direction is set. Available values: "name", "createdAt", "updatedAt".
    Search string
    Case-insensitive substring match on the endpoint name. When combined with filter, both must match (logical AND).
    direction string
    Sort direction. Only takes effect when orderBy is also provided; it is ignored otherwise. When direction is omitted the effective direction is field-specific: createdAt and updatedAt default to descending (newest first); name defaults to ascending.

    • asc — ascending.
    • desc — descending. Available values: "asc", "desc".
    filters list(string)

    Filter the returned proxy endpoints by one or more field:value pairs. Repeat the parameter to apply multiple filters; they are combined with logical AND (an endpoint must satisfy every filter to be returned).

    Supported fields and their matching behaviour:

    • name — case-insensitive substring match on the endpoint name.
    • id — substring match on the endpoint ID (UUID), with or without dashes.
    • kind — exact match on the endpoint kind. The value must be ip or identity; any other value returns 400.

    Each entry must match one of the per-field patterns below: the field must be one of name, id, or kind; name/id accept any value, while kind only accepts ip or identity.

    order_by string
    Field to sort the returned endpoints by. When omitted, the order of results is unspecified. Supported values:

    • name — sort alphabetically by endpoint name.
    • createdAt — sort by creation time; defaults to descending unless direction is set.
    • updatedAt — sort by last-modified time; defaults to descending unless direction is set. Available values: "name", "createdAt", "updatedAt".
    search string
    Case-insensitive substring match on the endpoint name. When combined with filter, both must match (logical AND).
    direction String
    Sort direction. Only takes effect when orderBy is also provided; it is ignored otherwise. When direction is omitted the effective direction is field-specific: createdAt and updatedAt default to descending (newest first); name defaults to ascending.

    • asc — ascending.
    • desc — descending. Available values: "asc", "desc".
    filters List<String>

    Filter the returned proxy endpoints by one or more field:value pairs. Repeat the parameter to apply multiple filters; they are combined with logical AND (an endpoint must satisfy every filter to be returned).

    Supported fields and their matching behaviour:

    • name — case-insensitive substring match on the endpoint name.
    • id — substring match on the endpoint ID (UUID), with or without dashes.
    • kind — exact match on the endpoint kind. The value must be ip or identity; any other value returns 400.

    Each entry must match one of the per-field patterns below: the field must be one of name, id, or kind; name/id accept any value, while kind only accepts ip or identity.

    orderBy String
    Field to sort the returned endpoints by. When omitted, the order of results is unspecified. Supported values:

    • name — sort alphabetically by endpoint name.
    • createdAt — sort by creation time; defaults to descending unless direction is set.
    • updatedAt — sort by last-modified time; defaults to descending unless direction is set. Available values: "name", "createdAt", "updatedAt".
    search String
    Case-insensitive substring match on the endpoint name. When combined with filter, both must match (logical AND).
    direction string
    Sort direction. Only takes effect when orderBy is also provided; it is ignored otherwise. When direction is omitted the effective direction is field-specific: createdAt and updatedAt default to descending (newest first); name defaults to ascending.

    • asc — ascending.
    • desc — descending. Available values: "asc", "desc".
    filters string[]

    Filter the returned proxy endpoints by one or more field:value pairs. Repeat the parameter to apply multiple filters; they are combined with logical AND (an endpoint must satisfy every filter to be returned).

    Supported fields and their matching behaviour:

    • name — case-insensitive substring match on the endpoint name.
    • id — substring match on the endpoint ID (UUID), with or without dashes.
    • kind — exact match on the endpoint kind. The value must be ip or identity; any other value returns 400.

    Each entry must match one of the per-field patterns below: the field must be one of name, id, or kind; name/id accept any value, while kind only accepts ip or identity.

    orderBy string
    Field to sort the returned endpoints by. When omitted, the order of results is unspecified. Supported values:

    • name — sort alphabetically by endpoint name.
    • createdAt — sort by creation time; defaults to descending unless direction is set.
    • updatedAt — sort by last-modified time; defaults to descending unless direction is set. Available values: "name", "createdAt", "updatedAt".
    search string
    Case-insensitive substring match on the endpoint name. When combined with filter, both must match (logical AND).
    direction str
    Sort direction. Only takes effect when orderBy is also provided; it is ignored otherwise. When direction is omitted the effective direction is field-specific: createdAt and updatedAt default to descending (newest first); name defaults to ascending.

    • asc — ascending.
    • desc — descending. Available values: "asc", "desc".
    filters Sequence[str]

    Filter the returned proxy endpoints by one or more field:value pairs. Repeat the parameter to apply multiple filters; they are combined with logical AND (an endpoint must satisfy every filter to be returned).

    Supported fields and their matching behaviour:

    • name — case-insensitive substring match on the endpoint name.
    • id — substring match on the endpoint ID (UUID), with or without dashes.
    • kind — exact match on the endpoint kind. The value must be ip or identity; any other value returns 400.

    Each entry must match one of the per-field patterns below: the field must be one of name, id, or kind; name/id accept any value, while kind only accepts ip or identity.

    order_by str
    Field to sort the returned endpoints by. When omitted, the order of results is unspecified. Supported values:

    • name — sort alphabetically by endpoint name.
    • createdAt — sort by creation time; defaults to descending unless direction is set.
    • updatedAt — sort by last-modified time; defaults to descending unless direction is set. Available values: "name", "createdAt", "updatedAt".
    search str
    Case-insensitive substring match on the endpoint name. When combined with filter, both must match (logical AND).
    direction String
    Sort direction. Only takes effect when orderBy is also provided; it is ignored otherwise. When direction is omitted the effective direction is field-specific: createdAt and updatedAt default to descending (newest first); name defaults to ascending.

    • asc — ascending.
    • desc — descending. Available values: "asc", "desc".
    filters List<String>

    Filter the returned proxy endpoints by one or more field:value pairs. Repeat the parameter to apply multiple filters; they are combined with logical AND (an endpoint must satisfy every filter to be returned).

    Supported fields and their matching behaviour:

    • name — case-insensitive substring match on the endpoint name.
    • id — substring match on the endpoint ID (UUID), with or without dashes.
    • kind — exact match on the endpoint kind. The value must be ip or identity; any other value returns 400.

    Each entry must match one of the per-field patterns below: the field must be one of name, id, or kind; name/id accept any value, while kind only accepts ip or identity.

    orderBy String
    Field to sort the returned endpoints by. When omitted, the order of results is unspecified. Supported values:

    • name — sort alphabetically by endpoint name.
    • createdAt — sort by creation time; defaults to descending unless direction is set.
    • updatedAt — sort by last-modified time; defaults to descending unless direction is set. Available values: "name", "createdAt", "updatedAt".
    search String
    Case-insensitive substring match on the endpoint name. When combined with filter, both must match (logical AND).

    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 logo
    Viewing docs for Cloudflare v6.23.1
    published on Wednesday, Oct 21, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial