Cloudflare v5.39.1 published on Tuesday, Sep 24, 2024 by Pulumi
cloudflare.getZeroTrustTunnelCloudflared
Explore with Pulumi AI
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:
- Account
Id 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.
- 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.
- Account
Id 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.
- 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.
- account
Id 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.
- is
Deleted 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 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.
- is
Deleted 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.
- account
Id 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.
- is
Deleted 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:
- Account
Id 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.
- Remote
Config 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
. - Tunnel
Type string - 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.
- Account
Id 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.
- Remote
Config 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
. - Tunnel
Type string - 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.
- account
Id 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.
- remote
Config 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
. - tunnel
Type String - The type of the tunnel. Available values:
cfd_tunnel
,warp_connector
. - is
Deleted 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 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.
- remote
Config 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
. - tunnel
Type string - The type of the tunnel. Available values:
cfd_tunnel
,warp_connector
. - is
Deleted 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.
- account
Id 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.
- remote
Config 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
. - tunnel
Type String - The type of the tunnel. Available values:
cfd_tunnel
,warp_connector
. - is
Deleted 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.