UNPKG

@muhlba91/pulumi-proxmoxve

Version:

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

119 lines 4.19 kB
import * as pulumi from "@pulumi/pulumi"; /** * > **Deprecated:** Use `proxmoxve.sdn/zone.Vlan` instead. This data source will be removed in v1.0. * * Retrieves information about a VLAN Zone in Proxmox SDN. It uses an existing local Linux or OVS bridge to connect to the node's physical interface. It uses VLAN tagging defined in the VNet to isolate the network segments. This allows connectivity of VMs between different nodes. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const example = proxmoxve.sdn.zone.getVlanLegacy({ * id: "vlan1", * }); * export const dataProxmoxVirtualEnvironmentSdnZoneVlan = { * id: example.then(example => example.id), * nodes: example.then(example => example.nodes), * bridge: example.then(example => example.bridge), * mtu: example.then(example => example.mtu), * dns: example.then(example => example.dns), * dnsZone: example.then(example => example.dnsZone), * ipam: example.then(example => example.ipam), * reverseDns: example.then(example => example.reverseDns), * }; * ``` */ export declare function getVlanLegacy(args: GetVlanLegacyArgs, opts?: pulumi.InvokeOptions): Promise<GetVlanLegacyResult>; /** * A collection of arguments for invoking getVlanLegacy. */ export interface GetVlanLegacyArgs { /** * The unique identifier of the SDN zone. */ id: string; } /** * A collection of values returned by getVlanLegacy. */ export interface GetVlanLegacyResult { /** * The local bridge or OVS switch, already configured on *each* node that allows node-to-node connection. */ readonly bridge: string; /** * DNS API server address. */ readonly dns: string; /** * DNS domain name. Used to register hostnames, such as `<hostname>.<domain>`. The DNS zone must already exist on the DNS server. */ readonly dnsZone: string; /** * The unique identifier of the SDN zone. */ readonly id: string; /** * IP Address Management system. */ readonly ipam: string; /** * MTU value for the zone. */ readonly mtu: number; /** * The Proxmox nodes which the zone and associated VNets are deployed on */ readonly nodes: string[]; /** * Indicates if the zone has pending configuration changes that need to be applied. */ readonly pending: boolean; /** * Reverse DNS API server address. */ readonly reverseDns: string; /** * Indicates the current state of the zone. */ readonly state: string; } /** * > **Deprecated:** Use `proxmoxve.sdn/zone.Vlan` instead. This data source will be removed in v1.0. * * Retrieves information about a VLAN Zone in Proxmox SDN. It uses an existing local Linux or OVS bridge to connect to the node's physical interface. It uses VLAN tagging defined in the VNet to isolate the network segments. This allows connectivity of VMs between different nodes. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const example = proxmoxve.sdn.zone.getVlanLegacy({ * id: "vlan1", * }); * export const dataProxmoxVirtualEnvironmentSdnZoneVlan = { * id: example.then(example => example.id), * nodes: example.then(example => example.nodes), * bridge: example.then(example => example.bridge), * mtu: example.then(example => example.mtu), * dns: example.then(example => example.dns), * dnsZone: example.then(example => example.dnsZone), * ipam: example.then(example => example.ipam), * reverseDns: example.then(example => example.reverseDns), * }; * ``` */ export declare function getVlanLegacyOutput(args: GetVlanLegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVlanLegacyResult>; /** * A collection of arguments for invoking getVlanLegacy. */ export interface GetVlanLegacyOutputArgs { /** * The unique identifier of the SDN zone. */ id: pulumi.Input<string>; } //# sourceMappingURL=getVlanLegacy.d.ts.map