import * as pulumi from "@pulumi/pulumi"; /** * The 4via6 data source is calculates an IPv6 prefix for a given site ID and IPv4 CIDR. See Tailscale documentation for [4via6 subnets](https://tailscale.com/kb/1201/4via6-subnets/) for more details. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as tailscale from "@pulumi/tailscale"; * * const example = tailscale.get4Via6({ * site: 7, * cidr: "10.1.1.0/24", * }); * ``` */ export declare function get4Via6(args: Get4Via6Args, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking get4Via6. */ export interface Get4Via6Args { /** * The IPv4 CIDR to map */ cidr: string; /** * Site ID (between 0 and 65535) */ site: number; } /** * A collection of values returned by get4Via6. */ export interface Get4Via6Result { /** * The IPv4 CIDR to map */ readonly cidr: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The 4via6 mapped address */ readonly ipv6: string; /** * Site ID (between 0 and 65535) */ readonly site: number; } /** * The 4via6 data source is calculates an IPv6 prefix for a given site ID and IPv4 CIDR. See Tailscale documentation for [4via6 subnets](https://tailscale.com/kb/1201/4via6-subnets/) for more details. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as tailscale from "@pulumi/tailscale"; * * const example = tailscale.get4Via6({ * site: 7, * cidr: "10.1.1.0/24", * }); * ``` */ export declare function get4Via6Output(args: Get4Via6OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking get4Via6. */ export interface Get4Via6OutputArgs { /** * The IPv4 CIDR to map */ cidr: pulumi.Input; /** * Site ID (between 0 and 65535) */ site: pulumi.Input; }