1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getZeroTrustTunnelCloudflared
Cloudflare v5.49.1 published on Tuesday, Feb 18, 2025 by Pulumi

cloudflare.getZeroTrustTunnelCloudflared

Explore with Pulumi AI

Cloudflare v5.49.1 published on Tuesday, Feb 18, 2025 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>
Copy
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]
Copy
func LookupZeroTrustTunnelCloudflared(ctx *Context, args *LookupZeroTrustTunnelCloudflaredArgs, opts ...InvokeOption) (*LookupZeroTrustTunnelCloudflaredResult, error)
func LookupZeroTrustTunnelCloudflaredOutput(ctx *Context, args *LookupZeroTrustTunnelCloudflaredOutputArgs, opts ...InvokeOption) LookupZeroTrustTunnelCloudflaredResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetZeroTrustTunnelCloudflaredResult> getZeroTrustTunnelCloudflared(GetZeroTrustTunnelCloudflaredArgs args, InvokeOptions options)
public static Output<GetZeroTrustTunnelCloudflaredResult> getZeroTrustTunnelCloudflared(GetZeroTrustTunnelCloudflaredArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: cloudflare:index/getZeroTrustTunnelCloudflared:getZeroTrustTunnelCloudflared
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountId
This property is required.
Changes to this property will trigger replacement.
string
The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.
Name
This property is required.
Changes to this property will trigger replacement.
string
Name of the tunnel. Modifying this attribute will force creation of a new resource.
IsDeleted Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
string
The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.
Name
This property is required.
Changes to this property will trigger replacement.
string
Name of the tunnel. Modifying this attribute will force creation of a new resource.
IsDeleted Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
String
The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.
name
This property is required.
Changes to this property will trigger replacement.
String
Name of the tunnel. Modifying this attribute will force creation of a new resource.
isDeleted Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
string
The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.
name
This property is required.
Changes to this property will trigger replacement.
string
Name of the tunnel. Modifying this attribute will force creation of a new resource.
isDeleted Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
str
The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.
name
This property is required.
Changes to this property will trigger replacement.
str
Name of the tunnel. Modifying this attribute will force creation of a new resource.
is_deleted Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
String
The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.
name
This property is required.
Changes to this property will trigger replacement.
String
Name of the tunnel. Modifying this attribute will force creation of a new resource.
isDeleted Changes to this property will trigger replacement. 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 v5.49.1 published on Tuesday, Feb 18, 2025 by Pulumi