import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource, that manages Cloudflare tunnel virtual networks for Zero Trust. Tunnel * virtual networks are used for segregation of Tunnel IP Routes via Virtualized Networks to * handle overlapping private IPs in your origins.. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const example = new cloudflare.TunnelVirtualNetwork("example", { * accountId: "c4a7362d577a6c3019a474fd6f485821", * comment: "New tunnel virtual network for documentation", * name: "vnet-for-documentation", * }); * ``` * * ## Import * * An existing tunnel virtual networks can be imported using the account ID and virtual network ID. * * ```sh * $ pulumi import cloudflare:index/tunnelVirtualNetwork:TunnelVirtualNetwork cloudflare_tunnel_virtual_network c4a7362d577a6c3019a474fd6f485821/3c8ff8af-b487-45bd-89e3-4c85a1532600 * ``` */ export declare class TunnelVirtualNetwork extends pulumi.CustomResource { /** * Get an existing TunnelVirtualNetwork resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: TunnelVirtualNetworkState, opts?: pulumi.CustomResourceOptions): TunnelVirtualNetwork; /** * Returns true if the given object is an instance of TunnelVirtualNetwork. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is TunnelVirtualNetwork; /** * The ID of the account where the tunnel virtual network is being created. */ readonly accountId: pulumi.Output; /** * Description of the tunnel virtual network. */ readonly comment: pulumi.Output; /** * Whether this virtual network is the default one for the account. This means IP Routes belong to this virtual network and Teams Clients in the account route through this virtual network, unless specified otherwise for each case. */ readonly isDefaultNetwork: pulumi.Output; /** * A user-friendly name chosen when the virtual network is created. */ readonly name: pulumi.Output; /** * Create a TunnelVirtualNetwork resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: TunnelVirtualNetworkArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TunnelVirtualNetwork resources. */ export interface TunnelVirtualNetworkState { /** * The ID of the account where the tunnel virtual network is being created. */ accountId?: pulumi.Input; /** * Description of the tunnel virtual network. */ comment?: pulumi.Input; /** * Whether this virtual network is the default one for the account. This means IP Routes belong to this virtual network and Teams Clients in the account route through this virtual network, unless specified otherwise for each case. */ isDefaultNetwork?: pulumi.Input; /** * A user-friendly name chosen when the virtual network is created. */ name?: pulumi.Input; } /** * The set of arguments for constructing a TunnelVirtualNetwork resource. */ export interface TunnelVirtualNetworkArgs { /** * The ID of the account where the tunnel virtual network is being created. */ accountId: pulumi.Input; /** * Description of the tunnel virtual network. */ comment?: pulumi.Input; /** * Whether this virtual network is the default one for the account. This means IP Routes belong to this virtual network and Teams Clients in the account route through this virtual network, unless specified otherwise for each case. */ isDefaultNetwork?: pulumi.Input; /** * A user-friendly name chosen when the virtual network is created. */ name: pulumi.Input; }