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

cloudflare.getZeroTrustTunnelVirtualNetwork

Explore with Pulumi AI

Cloudflare v5.49.1 published on Tuesday, Feb 18, 2025 by Pulumi

Use this datasource to lookup a tunnel virtual network in an account.

Using getZeroTrustTunnelVirtualNetwork

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 getZeroTrustTunnelVirtualNetwork(args: GetZeroTrustTunnelVirtualNetworkArgs, opts?: InvokeOptions): Promise<GetZeroTrustTunnelVirtualNetworkResult>
function getZeroTrustTunnelVirtualNetworkOutput(args: GetZeroTrustTunnelVirtualNetworkOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustTunnelVirtualNetworkResult>
Copy
def get_zero_trust_tunnel_virtual_network(account_id: Optional[str] = None,
                                          name: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetZeroTrustTunnelVirtualNetworkResult
def get_zero_trust_tunnel_virtual_network_output(account_id: Optional[pulumi.Input[str]] = None,
                                          name: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustTunnelVirtualNetworkResult]
Copy
func LookupZeroTrustTunnelVirtualNetwork(ctx *Context, args *LookupZeroTrustTunnelVirtualNetworkArgs, opts ...InvokeOption) (*LookupZeroTrustTunnelVirtualNetworkResult, error)
func LookupZeroTrustTunnelVirtualNetworkOutput(ctx *Context, args *LookupZeroTrustTunnelVirtualNetworkOutputArgs, opts ...InvokeOption) LookupZeroTrustTunnelVirtualNetworkResultOutput
Copy

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

public static class GetZeroTrustTunnelVirtualNetwork 
{
    public static Task<GetZeroTrustTunnelVirtualNetworkResult> InvokeAsync(GetZeroTrustTunnelVirtualNetworkArgs args, InvokeOptions? opts = null)
    public static Output<GetZeroTrustTunnelVirtualNetworkResult> Invoke(GetZeroTrustTunnelVirtualNetworkInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetZeroTrustTunnelVirtualNetworkResult> getZeroTrustTunnelVirtualNetwork(GetZeroTrustTunnelVirtualNetworkArgs args, InvokeOptions options)
public static Output<GetZeroTrustTunnelVirtualNetworkResult> getZeroTrustTunnelVirtualNetwork(GetZeroTrustTunnelVirtualNetworkArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: cloudflare:index/getZeroTrustTunnelVirtualNetwork:getZeroTrustTunnelVirtualNetwork
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountId This property is required. string
The account identifier to target for the resource.
Name This property is required. string
The Virtual Network Name.
AccountId This property is required. string
The account identifier to target for the resource.
Name This property is required. string
The Virtual Network Name.
accountId This property is required. String
The account identifier to target for the resource.
name This property is required. String
The Virtual Network Name.
accountId This property is required. string
The account identifier to target for the resource.
name This property is required. string
The Virtual Network Name.
account_id This property is required. str
The account identifier to target for the resource.
name This property is required. str
The Virtual Network Name.
accountId This property is required. String
The account identifier to target for the resource.
name This property is required. String
The Virtual Network Name.

getZeroTrustTunnelVirtualNetwork Result

The following output properties are available:

AccountId string
The account identifier to target for the resource.
Comment string
The Virtual Network Comment.
Id string
The provider-assigned unique ID for this managed resource.
IsDefault bool
If true, only include deleted virtual networks. If false, exclude deleted virtual networks. If empty, all virtual networks will be included.
Name string
The Virtual Network Name.
AccountId string
The account identifier to target for the resource.
Comment string
The Virtual Network Comment.
Id string
The provider-assigned unique ID for this managed resource.
IsDefault bool
If true, only include deleted virtual networks. If false, exclude deleted virtual networks. If empty, all virtual networks will be included.
Name string
The Virtual Network Name.
accountId String
The account identifier to target for the resource.
comment String
The Virtual Network Comment.
id String
The provider-assigned unique ID for this managed resource.
isDefault Boolean
If true, only include deleted virtual networks. If false, exclude deleted virtual networks. If empty, all virtual networks will be included.
name String
The Virtual Network Name.
accountId string
The account identifier to target for the resource.
comment string
The Virtual Network Comment.
id string
The provider-assigned unique ID for this managed resource.
isDefault boolean
If true, only include deleted virtual networks. If false, exclude deleted virtual networks. If empty, all virtual networks will be included.
name string
The Virtual Network Name.
account_id str
The account identifier to target for the resource.
comment str
The Virtual Network Comment.
id str
The provider-assigned unique ID for this managed resource.
is_default bool
If true, only include deleted virtual networks. If false, exclude deleted virtual networks. If empty, all virtual networks will be included.
name str
The Virtual Network Name.
accountId String
The account identifier to target for the resource.
comment String
The Virtual Network Comment.
id String
The provider-assigned unique ID for this managed resource.
isDefault Boolean
If true, only include deleted virtual networks. If false, exclude deleted virtual networks. If empty, all virtual networks will be included.
name String
The Virtual Network Name.

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