import * as pulumi from "@pulumi/pulumi"; /** * This resource can manage the BGP configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as iosxe from "@lbrlabs/pulumi-iosxe"; * * const example = new iosxe.Bgp("example", { * asn: "65000", * defaultIpv4Unicast: false, * logNeighborChanges: true, * routerIdLoopback: 100, * }); * ``` * * ## Import * * ```sh * $ pulumi import iosxe:index/bgp:Bgp example "Cisco-IOS-XE-native:native/router/Cisco-IOS-XE-bgp:bgp=65000" * ``` */ export declare class Bgp extends pulumi.CustomResource { /** * Get an existing Bgp 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, state?: BgpState, opts?: pulumi.CustomResourceOptions): Bgp; /** * Returns true if the given object is an instance of Bgp. 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 Bgp; readonly asn: pulumi.Output; /** * Activate ipv4-unicast for a peer by default */ readonly defaultIpv4Unicast: pulumi.Output; /** * Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being * managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. * Default value is `all`. - Choices: `all`, `attributes` */ readonly deleteMode: pulumi.Output; /** * A device name from the provider configuration. */ readonly device: pulumi.Output; /** * Log neighbor up/down and reset reason */ readonly logNeighborChanges: pulumi.Output; /** * Loopback interface - Range: `0`-`2147483647` */ readonly routerIdLoopback: pulumi.Output; /** * Create a Bgp 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: BgpArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Bgp resources. */ export interface BgpState { asn?: pulumi.Input; /** * Activate ipv4-unicast for a peer by default */ defaultIpv4Unicast?: pulumi.Input; /** * Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being * managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. * Default value is `all`. - Choices: `all`, `attributes` */ deleteMode?: pulumi.Input; /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * Log neighbor up/down and reset reason */ logNeighborChanges?: pulumi.Input; /** * Loopback interface - Range: `0`-`2147483647` */ routerIdLoopback?: pulumi.Input; } /** * The set of arguments for constructing a Bgp resource. */ export interface BgpArgs { asn: pulumi.Input; /** * Activate ipv4-unicast for a peer by default */ defaultIpv4Unicast?: pulumi.Input; /** * Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being * managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. * Default value is `all`. - Choices: `all`, `attributes` */ deleteMode?: pulumi.Input; /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * Log neighbor up/down and reset reason */ logNeighborChanges?: pulumi.Input; /** * Loopback interface - Range: `0`-`2147483647` */ routerIdLoopback?: pulumi.Input; }