@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
131 lines • 4.46 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* The EVPN zone requires an external controller to manage the control plane. The EVPN controller plugin configures the Free Range Routing (frr) router.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const finalizer = new proxmoxve.sdn.Applier("finalizer", {});
* // SDN Controller (EVPN) - Example configuration for SDN Controller with fabric
* const exampleFabric = new proxmoxve.sdn.fabric.Openfabric("example_fabric", {
* resourceId: "main",
* ipPrefix: "10.0.0.0/16",
* }, {
* dependsOn: [finalizer],
* });
* const exampleControllerEvpn = new proxmoxve.sdn.controller.Evpn("example_controller_evpn", {
* sdnControllerEvpnId: "evpn1",
* asn: 65000,
* fabric: exampleFabric.resourceId,
* }, {
* dependsOn: [finalizer],
* });
* const controllerApplier = new proxmoxve.sdn.Applier("controller_applier", {}, {
* dependsOn: [exampleControllerEvpn],
* });
* ```
*
* ## Import
*
* !/usr/bin/env sh
* SDN controller can be imported using its unique identifier (controller ID)
*
* ```sh
* $ pulumi import proxmoxve:sdn/controller/evpn:Evpn example_controller_evpn evpn1
* ```
*/
export declare class Evpn extends pulumi.CustomResource {
/**
* Get an existing Evpn resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EvpnState, opts?: pulumi.CustomResourceOptions): Evpn;
/**
* Returns true if the given object is an instance of Evpn. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Evpn;
/**
* Autonomous System Number for the EVPN controller.
*/
readonly asn: pulumi.Output<number>;
/**
* Digest of the controller section.
*/
readonly digest: pulumi.Output<string>;
/**
* ID of the fabric this EVPN controller belongs to.
*/
readonly fabric: pulumi.Output<string | undefined>;
/**
* Set of BGP peer IP addresses for the EVPN controller.
*/
readonly peers: pulumi.Output<string[] | undefined>;
/**
* The SDN controller object identifier.
*/
readonly sdnControllerEvpnId: pulumi.Output<string>;
/**
* Create a Evpn resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: EvpnArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Evpn resources.
*/
export interface EvpnState {
/**
* Autonomous System Number for the EVPN controller.
*/
asn?: pulumi.Input<number | undefined>;
/**
* Digest of the controller section.
*/
digest?: pulumi.Input<string | undefined>;
/**
* ID of the fabric this EVPN controller belongs to.
*/
fabric?: pulumi.Input<string | undefined>;
/**
* Set of BGP peer IP addresses for the EVPN controller.
*/
peers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* The SDN controller object identifier.
*/
sdnControllerEvpnId?: pulumi.Input<string | undefined>;
}
/**
* The set of arguments for constructing a Evpn resource.
*/
export interface EvpnArgs {
/**
* Autonomous System Number for the EVPN controller.
*/
asn: pulumi.Input<number>;
/**
* ID of the fabric this EVPN controller belongs to.
*/
fabric?: pulumi.Input<string | undefined>;
/**
* Set of BGP peer IP addresses for the EVPN controller.
*/
peers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* The SDN controller object identifier.
*/
sdnControllerEvpnId: pulumi.Input<string>;
}
//# sourceMappingURL=evpn.d.ts.map