1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getZeroTrustGatewayProxyEndpoint
Cloudflare v6.1.1 published on Monday, Apr 21, 2025 by Pulumi

cloudflare.getZeroTrustGatewayProxyEndpoint

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.1 published on Monday, Apr 21, 2025 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.LookupZeroTrustGatewayProxyEndpoint(ctx, &cloudflare.LookupZeroTrustGatewayProxyEndpointArgs{
    			AccountId:       "699d98642c564d2e855e9661899b7252",
    			ProxyEndpointId: "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.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 exampleZeroTrustGatewayProxyEndpoint = CloudflareFunctions.getZeroTrustGatewayProxyEndpoint(GetZeroTrustGatewayProxyEndpointArgs.builder()
                .accountId("699d98642c564d2e855e9661899b7252")
                .proxyEndpointId("ed35569b41ce4d1facfe683550f54086")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustGatewayProxyEndpoint:
        fn::invoke:
          function: cloudflare:getZeroTrustGatewayProxyEndpoint
          arguments:
            accountId: 699d98642c564d2e855e9661899b7252
            proxyEndpointId: 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?: InvokeOptions): Output<GetZeroTrustGatewayProxyEndpointResult>
    def get_zero_trust_gateway_proxy_endpoint(account_id: Optional[str] = None,
                                              proxy_endpoint_id: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetZeroTrustGatewayProxyEndpointResult
    def get_zero_trust_gateway_proxy_endpoint_output(account_id: Optional[pulumi.Input[str]] = None,
                                              proxy_endpoint_id: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = 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 CompletableFuture<GetZeroTrustGatewayProxyEndpointResult> getZeroTrustGatewayProxyEndpoint(GetZeroTrustGatewayProxyEndpointArgs args, InvokeOptions options)
    public static Output<GetZeroTrustGatewayProxyEndpointResult> getZeroTrustGatewayProxyEndpoint(GetZeroTrustGatewayProxyEndpointArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustGatewayProxyEndpoint:getZeroTrustGatewayProxyEndpoint
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getZeroTrustGatewayProxyEndpoint Result

    The following output properties are available:

    AccountId string
    CreatedAt string
    Id string
    The ID of this resource.
    Ips List<string>
    A list of CIDRs to restrict ingress connections.
    Name string
    The name of the proxy endpoint.
    ProxyEndpointId string
    Subdomain string
    The subdomain to be used as the destination in the proxy client.
    UpdatedAt string
    AccountId string
    CreatedAt string
    Id string
    The ID of this resource.
    Ips []string
    A list of CIDRs to restrict ingress connections.
    Name string
    The name of the proxy endpoint.
    ProxyEndpointId string
    Subdomain string
    The subdomain to be used as the destination in the proxy client.
    UpdatedAt string
    accountId String
    createdAt String
    id String
    The ID of this resource.
    ips List<String>
    A list of CIDRs to restrict ingress connections.
    name String
    The name of the proxy endpoint.
    proxyEndpointId String
    subdomain String
    The subdomain to be used as the destination in the proxy client.
    updatedAt String
    accountId string
    createdAt string
    id string
    The ID of this resource.
    ips string[]
    A list of CIDRs to restrict ingress connections.
    name string
    The name of the proxy endpoint.
    proxyEndpointId string
    subdomain string
    The subdomain to be used as the destination in the proxy client.
    updatedAt string
    account_id str
    created_at str
    id str
    The ID of this resource.
    ips Sequence[str]
    A list of CIDRs to restrict ingress connections.
    name str
    The name of the proxy endpoint.
    proxy_endpoint_id str
    subdomain str
    The subdomain to be used as the destination in the proxy client.
    updated_at str
    accountId String
    createdAt String
    id String
    The ID of this resource.
    ips List<String>
    A list of CIDRs to restrict ingress connections.
    name String
    The name of the proxy endpoint.
    proxyEndpointId String
    subdomain String
    The subdomain to be used 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.1.1 published on Monday, Apr 21, 2025 by Pulumi