published on Wednesday, Oct 21, 2026 by Pulumi
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 dictionarydata "cloudflare_get_zero_trust_gateway_proxy_endpoint" "name" {
# arguments
}The following arguments are supported:
- account_
id string - filter object
- proxy_
endpoint_ stringid
- account
Id String - filter Property Map
- proxy
Endpoint StringId
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_ stringid
- created_
at str - id str
- ips Sequence[str]
- kind str
- name str
- subdomain str
- updated_
at str - account_
id str - filter
Get
Zero Trust Gateway Proxy Endpoint Filter - proxy_
endpoint_ strid
Supporting Types
GetZeroTrustGatewayProxyEndpointFilter
- Direction string
- Sort direction. Only takes effect when
orderByis also provided; it is ignored otherwise. Whendirectionis omitted the effective direction is field-specific:createdAtandupdatedAtdefault to descending (newest first);namedefaults to ascending.asc— ascending.desc— descending. Available values: "asc", "desc".
- Filters List<string>
Filter the returned proxy endpoints by one or more
field:valuepairs. 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 beiporidentity; any other value returns400.
Each entry must match one of the per-field patterns below: the field must be one of
name,id, orkind;name/idaccept any value, whilekindonly acceptsiporidentity.- 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 unlessdirectionis set.updatedAt— sort by last-modified time; defaults to descending unlessdirectionis 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
orderByis also provided; it is ignored otherwise. Whendirectionis omitted the effective direction is field-specific:createdAtandupdatedAtdefault to descending (newest first);namedefaults to ascending.asc— ascending.desc— descending. Available values: "asc", "desc".
- Filters []string
Filter the returned proxy endpoints by one or more
field:valuepairs. 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 beiporidentity; any other value returns400.
Each entry must match one of the per-field patterns below: the field must be one of
name,id, orkind;name/idaccept any value, whilekindonly acceptsiporidentity.- 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 unlessdirectionis set.updatedAt— sort by last-modified time; defaults to descending unlessdirectionis 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
orderByis also provided; it is ignored otherwise. Whendirectionis omitted the effective direction is field-specific:createdAtandupdatedAtdefault to descending (newest first);namedefaults to ascending.asc— ascending.desc— descending. Available values: "asc", "desc".
- filters list(string)
Filter the returned proxy endpoints by one or more
field:valuepairs. 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 beiporidentity; any other value returns400.
Each entry must match one of the per-field patterns below: the field must be one of
name,id, orkind;name/idaccept any value, whilekindonly acceptsiporidentity.- 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 unlessdirectionis set.updatedAt— sort by last-modified time; defaults to descending unlessdirectionis 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
orderByis also provided; it is ignored otherwise. Whendirectionis omitted the effective direction is field-specific:createdAtandupdatedAtdefault to descending (newest first);namedefaults to ascending.asc— ascending.desc— descending. Available values: "asc", "desc".
- filters List<String>
Filter the returned proxy endpoints by one or more
field:valuepairs. 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 beiporidentity; any other value returns400.
Each entry must match one of the per-field patterns below: the field must be one of
name,id, orkind;name/idaccept any value, whilekindonly acceptsiporidentity.- 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 unlessdirectionis set.updatedAt— sort by last-modified time; defaults to descending unlessdirectionis 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
orderByis also provided; it is ignored otherwise. Whendirectionis omitted the effective direction is field-specific:createdAtandupdatedAtdefault to descending (newest first);namedefaults to ascending.asc— ascending.desc— descending. Available values: "asc", "desc".
- filters string[]
Filter the returned proxy endpoints by one or more
field:valuepairs. 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 beiporidentity; any other value returns400.
Each entry must match one of the per-field patterns below: the field must be one of
name,id, orkind;name/idaccept any value, whilekindonly acceptsiporidentity.- 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 unlessdirectionis set.updatedAt— sort by last-modified time; defaults to descending unlessdirectionis 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
orderByis also provided; it is ignored otherwise. Whendirectionis omitted the effective direction is field-specific:createdAtandupdatedAtdefault to descending (newest first);namedefaults to ascending.asc— ascending.desc— descending. Available values: "asc", "desc".
- filters Sequence[str]
Filter the returned proxy endpoints by one or more
field:valuepairs. 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 beiporidentity; any other value returns400.
Each entry must match one of the per-field patterns below: the field must be one of
name,id, orkind;name/idaccept any value, whilekindonly acceptsiporidentity.- 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 unlessdirectionis set.updatedAt— sort by last-modified time; defaults to descending unlessdirectionis 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
orderByis also provided; it is ignored otherwise. Whendirectionis omitted the effective direction is field-specific:createdAtandupdatedAtdefault to descending (newest first);namedefaults to ascending.asc— ascending.desc— descending. Available values: "asc", "desc".
- filters List<String>
Filter the returned proxy endpoints by one or more
field:valuepairs. 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 beiporidentity; any other value returns400.
Each entry must match one of the per-field patterns below: the field must be one of
name,id, orkind;name/idaccept any value, whilekindonly acceptsiporidentity.- 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 unlessdirectionis set.updatedAt— sort by last-modified time; defaults to descending unlessdirectionis 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
cloudflareTerraform Provider.
published on Wednesday, Oct 21, 2026 by Pulumi