UNPKG

@muhlba91/pulumi-proxmoxve

Version:

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

100 lines 3.23 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * > **Deprecated:** Use `proxmoxve.sdn.getZones` instead. This data source will be removed in v1.0. * * Retrieves information about all SDN Zones in Proxmox. This data source can optionally filter zones by type. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * // List all SDN zones * const all = proxmoxve.sdn.getZonesLegacy({}); * // List only EVPN zones * const evpnOnly = proxmoxve.sdn.getZonesLegacy({ * type: "evpn", * }); * // List only Simple zones * const simpleOnly = proxmoxve.sdn.getZonesLegacy({ * type: "simple", * }); * export const dataProxmoxVirtualEnvironmentSdnZonesAll = { * zones: all.then(all => all.zones), * }; * export const dataProxmoxVirtualEnvironmentSdnZonesFiltered = { * evpnZones: evpnOnly.then(evpnOnly => evpnOnly.zones), * simpleZones: simpleOnly.then(simpleOnly => simpleOnly.zones), * }; * ``` */ export declare function getZonesLegacy(args?: GetZonesLegacyArgs, opts?: pulumi.InvokeOptions): Promise<GetZonesLegacyResult>; /** * A collection of arguments for invoking getZonesLegacy. */ export interface GetZonesLegacyArgs { /** * Filter zones by type (simple, vlan, qinq, vxlan, evpn). */ type?: string; } /** * A collection of values returned by getZonesLegacy. */ export interface GetZonesLegacyResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Filter zones by type (simple, vlan, qinq, vxlan, evpn). */ readonly type?: string; /** * List of SDN zones. */ readonly zones: outputs.sdn.GetZonesLegacyZone[]; } /** * > **Deprecated:** Use `proxmoxve.sdn.getZones` instead. This data source will be removed in v1.0. * * Retrieves information about all SDN Zones in Proxmox. This data source can optionally filter zones by type. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * // List all SDN zones * const all = proxmoxve.sdn.getZonesLegacy({}); * // List only EVPN zones * const evpnOnly = proxmoxve.sdn.getZonesLegacy({ * type: "evpn", * }); * // List only Simple zones * const simpleOnly = proxmoxve.sdn.getZonesLegacy({ * type: "simple", * }); * export const dataProxmoxVirtualEnvironmentSdnZonesAll = { * zones: all.then(all => all.zones), * }; * export const dataProxmoxVirtualEnvironmentSdnZonesFiltered = { * evpnZones: evpnOnly.then(evpnOnly => evpnOnly.zones), * simpleZones: simpleOnly.then(simpleOnly => simpleOnly.zones), * }; * ``` */ export declare function getZonesLegacyOutput(args?: GetZonesLegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetZonesLegacyResult>; /** * A collection of arguments for invoking getZonesLegacy. */ export interface GetZonesLegacyOutputArgs { /** * Filter zones by type (simple, vlan, qinq, vxlan, evpn). */ type?: pulumi.Input<string | undefined>; } //# sourceMappingURL=getZonesLegacy.d.ts.map