Cloudflare v5.43.0 published on Wednesday, Nov 13, 2024 by Pulumi
cloudflare.getZeroTrustTunnelVirtualNetwork
Explore with Pulumi AI
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>
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]
func LookupZeroTrustTunnelVirtualNetwork(ctx *Context, args *LookupZeroTrustTunnelVirtualNetworkArgs, opts ...InvokeOption) (*LookupZeroTrustTunnelVirtualNetworkResult, error)
func LookupZeroTrustTunnelVirtualNetworkOutput(ctx *Context, args *LookupZeroTrustTunnelVirtualNetworkOutputArgs, opts ...InvokeOption) LookupZeroTrustTunnelVirtualNetworkResultOutput
> 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)
}
public static CompletableFuture<GetZeroTrustTunnelVirtualNetworkResult> getZeroTrustTunnelVirtualNetwork(GetZeroTrustTunnelVirtualNetworkArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: cloudflare:index/getZeroTrustTunnelVirtualNetwork:getZeroTrustTunnelVirtualNetwork
arguments:
# arguments dictionary
The following arguments are supported:
- account_
id str - The account identifier to target for the resource.
- name str
- The Virtual Network Name.
getZeroTrustTunnelVirtualNetwork Result
The following output properties are available:
- Account
Id 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.
- 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 string
- The Virtual Network Name.
- Account
Id 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.
- 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 string
- The Virtual Network Name.
- account
Id 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.
- is
Default 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 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.
- is
Default 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.
- account
Id 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.
- is
Default 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.