1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getZeroTrustTunnelCloudflared
Cloudflare v5.43.0 published on Wednesday, Nov 13, 2024 by Pulumi

cloudflare.getZeroTrustTunnelCloudflared

Explore with Pulumi AI

cloudflare logo
Cloudflare v5.43.0 published on Wednesday, Nov 13, 2024 by Pulumi

    Use this datasource to lookup a tunnel in an account.

    Using getZeroTrustTunnelCloudflared

    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 getZeroTrustTunnelCloudflared(args: GetZeroTrustTunnelCloudflaredArgs, opts?: InvokeOptions): Promise<GetZeroTrustTunnelCloudflaredResult>
    function getZeroTrustTunnelCloudflaredOutput(args: GetZeroTrustTunnelCloudflaredOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustTunnelCloudflaredResult>
    def get_zero_trust_tunnel_cloudflared(account_id: Optional[str] = None,
                                          is_deleted: Optional[bool] = None,
                                          name: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetZeroTrustTunnelCloudflaredResult
    def get_zero_trust_tunnel_cloudflared_output(account_id: Optional[pulumi.Input[str]] = None,
                                          is_deleted: Optional[pulumi.Input[bool]] = None,
                                          name: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustTunnelCloudflaredResult]
    func LookupZeroTrustTunnelCloudflared(ctx *Context, args *LookupZeroTrustTunnelCloudflaredArgs, opts ...InvokeOption) (*LookupZeroTrustTunnelCloudflaredResult, error)
    func LookupZeroTrustTunnelCloudflaredOutput(ctx *Context, args *LookupZeroTrustTunnelCloudflaredOutputArgs, opts ...InvokeOption) LookupZeroTrustTunnelCloudflaredResultOutput

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

    public static class GetZeroTrustTunnelCloudflared 
    {
        public static Task<GetZeroTrustTunnelCloudflaredResult> InvokeAsync(GetZeroTrustTunnelCloudflaredArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustTunnelCloudflaredResult> Invoke(GetZeroTrustTunnelCloudflaredInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetZeroTrustTunnelCloudflaredResult> getZeroTrustTunnelCloudflared(GetZeroTrustTunnelCloudflaredArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustTunnelCloudflared:getZeroTrustTunnelCloudflared
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    Name string
    Name of the tunnel. Modifying this attribute will force creation of a new resource.
    IsDeleted bool
    If true, only include deleted tunnels. If false, exclude deleted tunnels. If empty, all tunnels will be included. Modifying this attribute will force creation of a new resource.
    AccountId string
    The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    Name string
    Name of the tunnel. Modifying this attribute will force creation of a new resource.
    IsDeleted bool
    If true, only include deleted tunnels. If false, exclude deleted tunnels. If empty, all tunnels will be included. Modifying this attribute will force creation of a new resource.
    accountId String
    The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    name String
    Name of the tunnel. Modifying this attribute will force creation of a new resource.
    isDeleted Boolean
    If true, only include deleted tunnels. If false, exclude deleted tunnels. If empty, all tunnels will be included. Modifying this attribute will force creation of a new resource.
    accountId string
    The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    name string
    Name of the tunnel. Modifying this attribute will force creation of a new resource.
    isDeleted boolean
    If true, only include deleted tunnels. If false, exclude deleted tunnels. If empty, all tunnels will be included. Modifying this attribute will force creation of a new resource.
    account_id str
    The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    name str
    Name of the tunnel. Modifying this attribute will force creation of a new resource.
    is_deleted bool
    If true, only include deleted tunnels. If false, exclude deleted tunnels. If empty, all tunnels will be included. Modifying this attribute will force creation of a new resource.
    accountId String
    The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    name String
    Name of the tunnel. Modifying this attribute will force creation of a new resource.
    isDeleted Boolean
    If true, only include deleted tunnels. If false, exclude deleted tunnels. If empty, all tunnels will be included. Modifying this attribute will force creation of a new resource.

    getZeroTrustTunnelCloudflared Result

    The following output properties are available:

    AccountId string
    The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    Id string
    ID of the tunnel.
    Name string
    Name of the tunnel. Modifying this attribute will force creation of a new resource.
    RemoteConfig bool
    Whether the tunnel can be configured remotely from the Zero Trust dashboard.
    Status string
    The status of the tunnel. Available values: inactive, degraded, healthy, down.
    TunnelType string
    The type of the tunnel. Available values: cfd_tunnel, warp_connector.
    IsDeleted bool
    If true, only include deleted tunnels. If false, exclude deleted tunnels. If empty, all tunnels will be included. Modifying this attribute will force creation of a new resource.
    AccountId string
    The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    Id string
    ID of the tunnel.
    Name string
    Name of the tunnel. Modifying this attribute will force creation of a new resource.
    RemoteConfig bool
    Whether the tunnel can be configured remotely from the Zero Trust dashboard.
    Status string
    The status of the tunnel. Available values: inactive, degraded, healthy, down.
    TunnelType string
    The type of the tunnel. Available values: cfd_tunnel, warp_connector.
    IsDeleted bool
    If true, only include deleted tunnels. If false, exclude deleted tunnels. If empty, all tunnels will be included. Modifying this attribute will force creation of a new resource.
    accountId String
    The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    id String
    ID of the tunnel.
    name String
    Name of the tunnel. Modifying this attribute will force creation of a new resource.
    remoteConfig Boolean
    Whether the tunnel can be configured remotely from the Zero Trust dashboard.
    status String
    The status of the tunnel. Available values: inactive, degraded, healthy, down.
    tunnelType String
    The type of the tunnel. Available values: cfd_tunnel, warp_connector.
    isDeleted Boolean
    If true, only include deleted tunnels. If false, exclude deleted tunnels. If empty, all tunnels will be included. Modifying this attribute will force creation of a new resource.
    accountId string
    The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    id string
    ID of the tunnel.
    name string
    Name of the tunnel. Modifying this attribute will force creation of a new resource.
    remoteConfig boolean
    Whether the tunnel can be configured remotely from the Zero Trust dashboard.
    status string
    The status of the tunnel. Available values: inactive, degraded, healthy, down.
    tunnelType string
    The type of the tunnel. Available values: cfd_tunnel, warp_connector.
    isDeleted boolean
    If true, only include deleted tunnels. If false, exclude deleted tunnels. If empty, all tunnels will be included. Modifying this attribute will force creation of a new resource.
    account_id str
    The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    id str
    ID of the tunnel.
    name str
    Name of the tunnel. Modifying this attribute will force creation of a new resource.
    remote_config bool
    Whether the tunnel can be configured remotely from the Zero Trust dashboard.
    status str
    The status of the tunnel. Available values: inactive, degraded, healthy, down.
    tunnel_type str
    The type of the tunnel. Available values: cfd_tunnel, warp_connector.
    is_deleted bool
    If true, only include deleted tunnels. If false, exclude deleted tunnels. If empty, all tunnels will be included. Modifying this attribute will force creation of a new resource.
    accountId String
    The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    id String
    ID of the tunnel.
    name String
    Name of the tunnel. Modifying this attribute will force creation of a new resource.
    remoteConfig Boolean
    Whether the tunnel can be configured remotely from the Zero Trust dashboard.
    status String
    The status of the tunnel. Available values: inactive, degraded, healthy, down.
    tunnelType String
    The type of the tunnel. Available values: cfd_tunnel, warp_connector.
    isDeleted Boolean
    If true, only include deleted tunnels. If false, exclude deleted tunnels. If empty, all tunnels will be included. Modifying this attribute will force creation of a new resource.

    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 v5.43.0 published on Wednesday, Nov 13, 2024 by Pulumi