import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleZeroTrustTunnelCloudflaredVirtualNetwork = new cloudflare.ZeroTrustTunnelCloudflaredVirtualNetwork("example_zero_trust_tunnel_cloudflared_virtual_network", { * accountId: "699d98642c564d2e855e9661899b7252", * name: "us-east-1-vpc", * comment: "Staging VPC for data science", * isDefault: true, * }); * ``` * * ## Import * * ```sh * $ pulumi import cloudflare:index/tunnelVirtualNetwork:TunnelVirtualNetwork example '/' * ``` * * @deprecated cloudflare.index/tunnelvirtualnetwork.TunnelVirtualNetwork has been deprecated in favor of cloudflare.index/zerotrusttunnelcloudflaredvirtualnetwork.ZeroTrustTunnelCloudflaredVirtualNetwork */ 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; /** * Cloudflare account ID */ readonly accountId: pulumi.Output; /** * Optional remark describing the virtual network. */ readonly comment: pulumi.Output; /** * Timestamp of when the resource was created. */ readonly createdAt: pulumi.Output; /** * Timestamp of when the resource was deleted. If `null`, the resource has not been deleted. */ readonly deletedAt: pulumi.Output; /** * If `true`, this virtual network is the default for the account. */ readonly isDefault: pulumi.Output; /** * If `true`, this virtual network is the default for the account. */ readonly isDefaultNetwork: pulumi.Output; /** * A user-friendly name for the virtual network. */ 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. */ /** @deprecated cloudflare.index/tunnelvirtualnetwork.TunnelVirtualNetwork has been deprecated in favor of cloudflare.index/zerotrusttunnelcloudflaredvirtualnetwork.ZeroTrustTunnelCloudflaredVirtualNetwork */ constructor(name: string, args: TunnelVirtualNetworkArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TunnelVirtualNetwork resources. */ export interface TunnelVirtualNetworkState { /** * Cloudflare account ID */ accountId?: pulumi.Input; /** * Optional remark describing the virtual network. */ comment?: pulumi.Input; /** * Timestamp of when the resource was created. */ createdAt?: pulumi.Input; /** * Timestamp of when the resource was deleted. If `null`, the resource has not been deleted. */ deletedAt?: pulumi.Input; /** * If `true`, this virtual network is the default for the account. */ isDefault?: pulumi.Input; /** * If `true`, this virtual network is the default for the account. */ isDefaultNetwork?: pulumi.Input; /** * A user-friendly name for the virtual network. */ name?: pulumi.Input; } /** * The set of arguments for constructing a TunnelVirtualNetwork resource. */ export interface TunnelVirtualNetworkArgs { /** * Cloudflare account ID */ accountId: pulumi.Input; /** * Optional remark describing the virtual network. */ comment?: pulumi.Input; /** * If `true`, this virtual network is the default for the account. */ isDefault?: pulumi.Input; /** * If `true`, this virtual network is the default for the account. */ isDefaultNetwork?: pulumi.Input; /** * A user-friendly name for the virtual network. */ name: pulumi.Input; }