@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
113 lines • 3.64 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Retrieves information about a Simple Zone in Proxmox SDN. It will create an isolated VNet bridge. This bridge is not linked to a physical interface, and VM traffic is only local on each the node. It can be used in NAT or routed setups.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const example = proxmoxve.sdn.zone.getSimple({
* id: "simple1",
* });
* export const dataProxmoxSdnZoneSimple = {
* id: example.then(example => example.id),
* nodes: example.then(example => example.nodes),
* 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 getSimple(args: GetSimpleArgs, opts?: pulumi.InvokeOptions): Promise<GetSimpleResult>;
/**
* A collection of arguments for invoking getSimple.
*/
export interface GetSimpleArgs {
/**
* The unique identifier of the SDN zone.
*/
id: string;
}
/**
* A collection of values returned by getSimple.
*/
export interface GetSimpleResult {
/**
* The type of the DHCP backend for this zone.
*/
readonly dhcp: 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 Simple Zone in Proxmox SDN. It will create an isolated VNet bridge. This bridge is not linked to a physical interface, and VM traffic is only local on each the node. It can be used in NAT or routed setups.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const example = proxmoxve.sdn.zone.getSimple({
* id: "simple1",
* });
* export const dataProxmoxSdnZoneSimple = {
* id: example.then(example => example.id),
* nodes: example.then(example => example.nodes),
* 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 getSimpleOutput(args: GetSimpleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSimpleResult>;
/**
* A collection of arguments for invoking getSimple.
*/
export interface GetSimpleOutputArgs {
/**
* The unique identifier of the SDN zone.
*/
id: pulumi.Input<string>;
}
//# sourceMappingURL=getSimple.d.ts.map