@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
115 lines • 3.85 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* 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.getVlan({
* id: "vlan1",
* });
* export const dataProxmoxSdnZoneVlan = {
* 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 getVlan(args: GetVlanArgs, opts?: pulumi.InvokeOptions): Promise<GetVlanResult>;
/**
* A collection of arguments for invoking getVlan.
*/
export interface GetVlanArgs {
/**
* The unique identifier of the SDN zone.
*/
id: string;
}
/**
* A collection of values returned by getVlan.
*/
export interface GetVlanResult {
/**
* 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;
}
/**
* 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.getVlan({
* id: "vlan1",
* });
* export const dataProxmoxSdnZoneVlan = {
* 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 getVlanOutput(args: GetVlanOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVlanResult>;
/**
* A collection of arguments for invoking getVlan.
*/
export interface GetVlanOutputArgs {
/**
* The unique identifier of the SDN zone.
*/
id: pulumi.Input<string>;
}
//# sourceMappingURL=getVlan.d.ts.map