UNPKG

@muhlba91/pulumi-proxmoxve

Version:

A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.

99 lines 2.98 kB
import * as pulumi from "@pulumi/pulumi"; /** * > **Deprecated:** Use `proxmoxve.sdn.Vnet` instead. This data source will be removed in v1.0. * * Retrieves information about an existing SDN VNet. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const example = proxmoxve.sdn.getVnetLegacy({ * id: "vnet1", * }); * export const dataProxmoxVirtualEnvironmentSdnVnet = { * id: example.then(example => example.id), * zone: example.then(example => example.zone), * alias: example.then(example => example.alias), * isolatePorts: example.then(example => example.isolatePorts), * tag: example.then(example => example.tag), * vlanAware: example.then(example => example.vlanAware), * }; * ``` */ export declare function getVnetLegacy(args: GetVnetLegacyArgs, opts?: pulumi.InvokeOptions): Promise<GetVnetLegacyResult>; /** * A collection of arguments for invoking getVnetLegacy. */ export interface GetVnetLegacyArgs { /** * The unique identifier of the SDN VNet. */ id: string; } /** * A collection of values returned by getVnetLegacy. */ export interface GetVnetLegacyResult { /** * An optional alias for this VNet. */ readonly alias: string; /** * The unique identifier of the SDN VNet. */ readonly id: string; /** * Isolate ports within this VNet. */ readonly isolatePorts: boolean; /** * Tag value for VLAN/VXLAN (can't be used with other zone types). */ readonly tag: number; /** * Allow VM VLANs to pass through this VNet. */ readonly vlanAware: boolean; /** * The zone to which this VNet belongs. */ readonly zone: string; } /** * > **Deprecated:** Use `proxmoxve.sdn.Vnet` instead. This data source will be removed in v1.0. * * Retrieves information about an existing SDN VNet. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const example = proxmoxve.sdn.getVnetLegacy({ * id: "vnet1", * }); * export const dataProxmoxVirtualEnvironmentSdnVnet = { * id: example.then(example => example.id), * zone: example.then(example => example.zone), * alias: example.then(example => example.alias), * isolatePorts: example.then(example => example.isolatePorts), * tag: example.then(example => example.tag), * vlanAware: example.then(example => example.vlanAware), * }; * ``` */ export declare function getVnetLegacyOutput(args: GetVnetLegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVnetLegacyResult>; /** * A collection of arguments for invoking getVnetLegacy. */ export interface GetVnetLegacyOutputArgs { /** * The unique identifier of the SDN VNet. */ id: pulumi.Input<string>; } //# sourceMappingURL=getVnetLegacy.d.ts.map