@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
87 lines • 2.48 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* > **Deprecated:** Use `proxmoxve.sdn.Subnet` instead. This data source will be removed in v1.0.
*
* Retrieve details about a specific SDN Subnet in Proxmox VE.
*/
export declare function getSubnetLegacy(args: GetSubnetLegacyArgs, opts?: pulumi.InvokeOptions): Promise<GetSubnetLegacyResult>;
/**
* A collection of arguments for invoking getSubnetLegacy.
*/
export interface GetSubnetLegacyArgs {
/**
* A CIDR network address, for example 10.0.0.0/8
*/
cidr: string;
/**
* DHCP range (start and end IPs).
*/
dhcpRange?: inputs.sdn.GetSubnetLegacyDhcpRange;
/**
* The VNet this subnet belongs to.
*/
vnet: string;
}
/**
* A collection of values returned by getSubnetLegacy.
*/
export interface GetSubnetLegacyResult {
/**
* A CIDR network address, for example 10.0.0.0/8
*/
readonly cidr: string;
/**
* The DNS server used for DHCP.
*/
readonly dhcpDnsServer: string;
/**
* DHCP range (start and end IPs).
*/
readonly dhcpRange: outputs.sdn.GetSubnetLegacyDhcpRange;
/**
* Prefix used for DNS zone delegation.
*/
readonly dnsZonePrefix: string;
/**
* The gateway address for the subnet.
*/
readonly gateway: string;
/**
* The full ID in the format 'vnet-id/subnet-id'.
*/
readonly id: string;
/**
* Whether SNAT is enabled for the subnet.
*/
readonly snat: boolean;
/**
* The VNet this subnet belongs to.
*/
readonly vnet: string;
}
/**
* > **Deprecated:** Use `proxmoxve.sdn.Subnet` instead. This data source will be removed in v1.0.
*
* Retrieve details about a specific SDN Subnet in Proxmox VE.
*/
export declare function getSubnetLegacyOutput(args: GetSubnetLegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSubnetLegacyResult>;
/**
* A collection of arguments for invoking getSubnetLegacy.
*/
export interface GetSubnetLegacyOutputArgs {
/**
* A CIDR network address, for example 10.0.0.0/8
*/
cidr: pulumi.Input<string>;
/**
* DHCP range (start and end IPs).
*/
dhcpRange?: pulumi.Input<inputs.sdn.GetSubnetLegacyDhcpRangeArgs | undefined>;
/**
* The VNet this subnet belongs to.
*/
vnet: pulumi.Input<string>;
}
//# sourceMappingURL=getSubnetLegacy.d.ts.map