UNPKG

@pulumi/sdwan

Version:

A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1

694 lines (693 loc) 22.9 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * This resource can manage a Transport Routing BGP Feature. * - Minimum SD-WAN Manager version: `20.12.0` * * ## Import * * The `pulumi import` command can be used, for example: * * Expected import identifier with the format: "transport_routing_bgp_feature_id,feature_profile_id" * * ```sh * $ pulumi import sdwan:index/transportRoutingBgpFeature:TransportRoutingBgpFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" * ``` */ export declare class TransportRoutingBgpFeature extends pulumi.CustomResource { /** * Get an existing TransportRoutingBgpFeature 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?: TransportRoutingBgpFeatureState, opts?: pulumi.CustomResourceOptions): TransportRoutingBgpFeature; /** * Returns true if the given object is an instance of TransportRoutingBgpFeature. 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 TransportRoutingBgpFeature; /** * Compare MEDs from all ASs when selecting active BGP paths - Default value: `false` */ readonly alwaysCompareMed: pulumi.Output<boolean | undefined>; /** * Variable name */ readonly alwaysCompareMedVariable: pulumi.Output<string | undefined>; /** * Set autonomous system number <1..4294967295> or <XX.YY> */ readonly asNumber: pulumi.Output<number | undefined>; /** * Variable name */ readonly asNumberVariable: pulumi.Output<string | undefined>; /** * Compare router IDs when selecting active BGP paths - Default value: `false` */ readonly compareRouterId: pulumi.Output<boolean | undefined>; /** * Variable name */ readonly compareRouterIdVariable: pulumi.Output<string | undefined>; /** * The description of the Feature */ readonly description: pulumi.Output<string | undefined>; /** * Compare MEDs from all routes from same AS when selecting active BGP paths - Default value: `false` */ readonly deterministicMed: pulumi.Output<boolean | undefined>; /** * Variable name */ readonly deterministicMedVariable: pulumi.Output<string | undefined>; /** * Set administrative distance for external BGP routes - Range: `1`-`255` - Default value: `20` */ readonly externalRoutesDistance: pulumi.Output<number | undefined>; /** * Variable name */ readonly externalRoutesDistanceVariable: pulumi.Output<string | undefined>; /** * Feature Profile ID */ readonly featureProfileId: pulumi.Output<string>; /** * Interval (seconds) not receiving a keepalive message declares a BGP peer down - Range: `0`-`65535` - Default value: * `180` */ readonly holdTime: pulumi.Output<number | undefined>; /** * Variable name */ readonly holdTimeVariable: pulumi.Output<string | undefined>; /** * Set administrative distance for internal BGP routes - Range: `1`-`255` - Default value: `200` */ readonly internalRoutesDistance: pulumi.Output<number | undefined>; /** * Variable name */ readonly internalRoutesDistanceVariable: pulumi.Output<string | undefined>; /** * Aggregate prefixes in specific range */ readonly ipv4AggregateAddresses: pulumi.Output<outputs.TransportRoutingBgpFeatureIpv4AggregateAddress[] | undefined>; /** * Set maximum number of parallel IBGP paths for multipath load sharing - Range: `1`-`32` */ readonly ipv4EibgpMaximumPaths: pulumi.Output<number | undefined>; /** * Variable name */ readonly ipv4EibgpMaximumPathsVariable: pulumi.Output<string | undefined>; /** * Set BGP IPv4 neighbors */ readonly ipv4Neighbors: pulumi.Output<outputs.TransportRoutingBgpFeatureIpv4Neighbor[] | undefined>; /** * Configure the networks for BGP to advertise */ readonly ipv4Networks: pulumi.Output<outputs.TransportRoutingBgpFeatureIpv4Network[] | undefined>; /** * BGP Default Information Originate - Default value: `false` */ readonly ipv4Originate: pulumi.Output<boolean | undefined>; /** * Variable name */ readonly ipv4OriginateVariable: pulumi.Output<string | undefined>; /** * Redistribute routes into BGP */ readonly ipv4Redistributes: pulumi.Output<outputs.TransportRoutingBgpFeatureIpv4Redistribute[] | undefined>; /** * Table map filtered or not - Default value: `false` */ readonly ipv4TableMapFilter: pulumi.Output<boolean | undefined>; /** * Variable name */ readonly ipv4TableMapFilterVariable: pulumi.Output<string | undefined>; readonly ipv4TableMapRoutePolicyId: pulumi.Output<string | undefined>; /** * IPv6 Aggregate prefixes in specific range */ readonly ipv6AggregateAddresses: pulumi.Output<outputs.TransportRoutingBgpFeatureIpv6AggregateAddress[] | undefined>; /** * Set maximum number of parallel IBGP paths for multipath load sharing - Range: `1`-`32` */ readonly ipv6EibgpMaximumPaths: pulumi.Output<number | undefined>; /** * Variable name */ readonly ipv6EibgpMaximumPathsVariable: pulumi.Output<string | undefined>; /** * Set BGP IPv6 neighbors */ readonly ipv6Neighbors: pulumi.Output<outputs.TransportRoutingBgpFeatureIpv6Neighbor[] | undefined>; /** * Configure the networks for BGP to advertise */ readonly ipv6Networks: pulumi.Output<outputs.TransportRoutingBgpFeatureIpv6Network[] | undefined>; /** * BGP Default Information Originate - Default value: `false` */ readonly ipv6Originate: pulumi.Output<boolean | undefined>; /** * Variable name */ readonly ipv6OriginateVariable: pulumi.Output<string | undefined>; /** * Redistribute routes into BGP */ readonly ipv6Redistributes: pulumi.Output<outputs.TransportRoutingBgpFeatureIpv6Redistribute[] | undefined>; /** * Table map filtered or not - Default value: `false` */ readonly ipv6TableMapFilter: pulumi.Output<boolean | undefined>; /** * Variable name */ readonly ipv6TableMapFilterVariable: pulumi.Output<string | undefined>; readonly ipv6TableMapRoutePolicyId: pulumi.Output<string | undefined>; /** * Interval (seconds) of keepalive messages sent to its BGP peer - Range: `0`-`65535` - Default value: `60` */ readonly keepaliveTime: pulumi.Output<number | undefined>; /** * Variable name */ readonly keepaliveTimeVariable: pulumi.Output<string | undefined>; /** * Set administrative distance for local BGP routes - Range: `1`-`255` - Default value: `20` */ readonly localRoutesDistance: pulumi.Output<number | undefined>; /** * Variable name */ readonly localRoutesDistanceVariable: pulumi.Output<string | undefined>; /** * If path has no MED, consider it to be worst path when selecting active BGP paths - Default value: `false` */ readonly missingMedAsWorst: pulumi.Output<boolean | undefined>; /** * Variable name */ readonly missingMedAsWorstVariable: pulumi.Output<string | undefined>; /** * MPLS BGP Interface */ readonly mplsInterfaces: pulumi.Output<outputs.TransportRoutingBgpFeatureMplsInterface[] | undefined>; /** * Ignore AS for multipath selection - Default value: `false` */ readonly multipathRelax: pulumi.Output<boolean | undefined>; /** * Variable name */ readonly multipathRelaxVariable: pulumi.Output<string | undefined>; /** * The name of the Feature */ readonly name: pulumi.Output<string>; /** * Propagate AS Path - Default value: `false` */ readonly propagateAsPath: pulumi.Output<boolean | undefined>; /** * Variable name */ readonly propagateAsPathVariable: pulumi.Output<string | undefined>; /** * Propagate Community - Default value: `false` */ readonly propagateCommunity: pulumi.Output<boolean | undefined>; /** * Variable name */ readonly propagateCommunityVariable: pulumi.Output<string | undefined>; /** * Configure BGP router identifier */ readonly routerId: pulumi.Output<string | undefined>; /** * Variable name */ readonly routerIdVariable: pulumi.Output<string | undefined>; /** * The version of the Feature */ readonly version: pulumi.Output<number>; /** * Create a TransportRoutingBgpFeature 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: TransportRoutingBgpFeatureArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TransportRoutingBgpFeature resources. */ export interface TransportRoutingBgpFeatureState { /** * Compare MEDs from all ASs when selecting active BGP paths - Default value: `false` */ alwaysCompareMed?: pulumi.Input<boolean>; /** * Variable name */ alwaysCompareMedVariable?: pulumi.Input<string>; /** * Set autonomous system number <1..4294967295> or <XX.YY> */ asNumber?: pulumi.Input<number>; /** * Variable name */ asNumberVariable?: pulumi.Input<string>; /** * Compare router IDs when selecting active BGP paths - Default value: `false` */ compareRouterId?: pulumi.Input<boolean>; /** * Variable name */ compareRouterIdVariable?: pulumi.Input<string>; /** * The description of the Feature */ description?: pulumi.Input<string>; /** * Compare MEDs from all routes from same AS when selecting active BGP paths - Default value: `false` */ deterministicMed?: pulumi.Input<boolean>; /** * Variable name */ deterministicMedVariable?: pulumi.Input<string>; /** * Set administrative distance for external BGP routes - Range: `1`-`255` - Default value: `20` */ externalRoutesDistance?: pulumi.Input<number>; /** * Variable name */ externalRoutesDistanceVariable?: pulumi.Input<string>; /** * Feature Profile ID */ featureProfileId?: pulumi.Input<string>; /** * Interval (seconds) not receiving a keepalive message declares a BGP peer down - Range: `0`-`65535` - Default value: * `180` */ holdTime?: pulumi.Input<number>; /** * Variable name */ holdTimeVariable?: pulumi.Input<string>; /** * Set administrative distance for internal BGP routes - Range: `1`-`255` - Default value: `200` */ internalRoutesDistance?: pulumi.Input<number>; /** * Variable name */ internalRoutesDistanceVariable?: pulumi.Input<string>; /** * Aggregate prefixes in specific range */ ipv4AggregateAddresses?: pulumi.Input<pulumi.Input<inputs.TransportRoutingBgpFeatureIpv4AggregateAddress>[]>; /** * Set maximum number of parallel IBGP paths for multipath load sharing - Range: `1`-`32` */ ipv4EibgpMaximumPaths?: pulumi.Input<number>; /** * Variable name */ ipv4EibgpMaximumPathsVariable?: pulumi.Input<string>; /** * Set BGP IPv4 neighbors */ ipv4Neighbors?: pulumi.Input<pulumi.Input<inputs.TransportRoutingBgpFeatureIpv4Neighbor>[]>; /** * Configure the networks for BGP to advertise */ ipv4Networks?: pulumi.Input<pulumi.Input<inputs.TransportRoutingBgpFeatureIpv4Network>[]>; /** * BGP Default Information Originate - Default value: `false` */ ipv4Originate?: pulumi.Input<boolean>; /** * Variable name */ ipv4OriginateVariable?: pulumi.Input<string>; /** * Redistribute routes into BGP */ ipv4Redistributes?: pulumi.Input<pulumi.Input<inputs.TransportRoutingBgpFeatureIpv4Redistribute>[]>; /** * Table map filtered or not - Default value: `false` */ ipv4TableMapFilter?: pulumi.Input<boolean>; /** * Variable name */ ipv4TableMapFilterVariable?: pulumi.Input<string>; ipv4TableMapRoutePolicyId?: pulumi.Input<string>; /** * IPv6 Aggregate prefixes in specific range */ ipv6AggregateAddresses?: pulumi.Input<pulumi.Input<inputs.TransportRoutingBgpFeatureIpv6AggregateAddress>[]>; /** * Set maximum number of parallel IBGP paths for multipath load sharing - Range: `1`-`32` */ ipv6EibgpMaximumPaths?: pulumi.Input<number>; /** * Variable name */ ipv6EibgpMaximumPathsVariable?: pulumi.Input<string>; /** * Set BGP IPv6 neighbors */ ipv6Neighbors?: pulumi.Input<pulumi.Input<inputs.TransportRoutingBgpFeatureIpv6Neighbor>[]>; /** * Configure the networks for BGP to advertise */ ipv6Networks?: pulumi.Input<pulumi.Input<inputs.TransportRoutingBgpFeatureIpv6Network>[]>; /** * BGP Default Information Originate - Default value: `false` */ ipv6Originate?: pulumi.Input<boolean>; /** * Variable name */ ipv6OriginateVariable?: pulumi.Input<string>; /** * Redistribute routes into BGP */ ipv6Redistributes?: pulumi.Input<pulumi.Input<inputs.TransportRoutingBgpFeatureIpv6Redistribute>[]>; /** * Table map filtered or not - Default value: `false` */ ipv6TableMapFilter?: pulumi.Input<boolean>; /** * Variable name */ ipv6TableMapFilterVariable?: pulumi.Input<string>; ipv6TableMapRoutePolicyId?: pulumi.Input<string>; /** * Interval (seconds) of keepalive messages sent to its BGP peer - Range: `0`-`65535` - Default value: `60` */ keepaliveTime?: pulumi.Input<number>; /** * Variable name */ keepaliveTimeVariable?: pulumi.Input<string>; /** * Set administrative distance for local BGP routes - Range: `1`-`255` - Default value: `20` */ localRoutesDistance?: pulumi.Input<number>; /** * Variable name */ localRoutesDistanceVariable?: pulumi.Input<string>; /** * If path has no MED, consider it to be worst path when selecting active BGP paths - Default value: `false` */ missingMedAsWorst?: pulumi.Input<boolean>; /** * Variable name */ missingMedAsWorstVariable?: pulumi.Input<string>; /** * MPLS BGP Interface */ mplsInterfaces?: pulumi.Input<pulumi.Input<inputs.TransportRoutingBgpFeatureMplsInterface>[]>; /** * Ignore AS for multipath selection - Default value: `false` */ multipathRelax?: pulumi.Input<boolean>; /** * Variable name */ multipathRelaxVariable?: pulumi.Input<string>; /** * The name of the Feature */ name?: pulumi.Input<string>; /** * Propagate AS Path - Default value: `false` */ propagateAsPath?: pulumi.Input<boolean>; /** * Variable name */ propagateAsPathVariable?: pulumi.Input<string>; /** * Propagate Community - Default value: `false` */ propagateCommunity?: pulumi.Input<boolean>; /** * Variable name */ propagateCommunityVariable?: pulumi.Input<string>; /** * Configure BGP router identifier */ routerId?: pulumi.Input<string>; /** * Variable name */ routerIdVariable?: pulumi.Input<string>; /** * The version of the Feature */ version?: pulumi.Input<number>; } /** * The set of arguments for constructing a TransportRoutingBgpFeature resource. */ export interface TransportRoutingBgpFeatureArgs { /** * Compare MEDs from all ASs when selecting active BGP paths - Default value: `false` */ alwaysCompareMed?: pulumi.Input<boolean>; /** * Variable name */ alwaysCompareMedVariable?: pulumi.Input<string>; /** * Set autonomous system number <1..4294967295> or <XX.YY> */ asNumber?: pulumi.Input<number>; /** * Variable name */ asNumberVariable?: pulumi.Input<string>; /** * Compare router IDs when selecting active BGP paths - Default value: `false` */ compareRouterId?: pulumi.Input<boolean>; /** * Variable name */ compareRouterIdVariable?: pulumi.Input<string>; /** * The description of the Feature */ description?: pulumi.Input<string>; /** * Compare MEDs from all routes from same AS when selecting active BGP paths - Default value: `false` */ deterministicMed?: pulumi.Input<boolean>; /** * Variable name */ deterministicMedVariable?: pulumi.Input<string>; /** * Set administrative distance for external BGP routes - Range: `1`-`255` - Default value: `20` */ externalRoutesDistance?: pulumi.Input<number>; /** * Variable name */ externalRoutesDistanceVariable?: pulumi.Input<string>; /** * Feature Profile ID */ featureProfileId: pulumi.Input<string>; /** * Interval (seconds) not receiving a keepalive message declares a BGP peer down - Range: `0`-`65535` - Default value: * `180` */ holdTime?: pulumi.Input<number>; /** * Variable name */ holdTimeVariable?: pulumi.Input<string>; /** * Set administrative distance for internal BGP routes - Range: `1`-`255` - Default value: `200` */ internalRoutesDistance?: pulumi.Input<number>; /** * Variable name */ internalRoutesDistanceVariable?: pulumi.Input<string>; /** * Aggregate prefixes in specific range */ ipv4AggregateAddresses?: pulumi.Input<pulumi.Input<inputs.TransportRoutingBgpFeatureIpv4AggregateAddress>[]>; /** * Set maximum number of parallel IBGP paths for multipath load sharing - Range: `1`-`32` */ ipv4EibgpMaximumPaths?: pulumi.Input<number>; /** * Variable name */ ipv4EibgpMaximumPathsVariable?: pulumi.Input<string>; /** * Set BGP IPv4 neighbors */ ipv4Neighbors?: pulumi.Input<pulumi.Input<inputs.TransportRoutingBgpFeatureIpv4Neighbor>[]>; /** * Configure the networks for BGP to advertise */ ipv4Networks?: pulumi.Input<pulumi.Input<inputs.TransportRoutingBgpFeatureIpv4Network>[]>; /** * BGP Default Information Originate - Default value: `false` */ ipv4Originate?: pulumi.Input<boolean>; /** * Variable name */ ipv4OriginateVariable?: pulumi.Input<string>; /** * Redistribute routes into BGP */ ipv4Redistributes?: pulumi.Input<pulumi.Input<inputs.TransportRoutingBgpFeatureIpv4Redistribute>[]>; /** * Table map filtered or not - Default value: `false` */ ipv4TableMapFilter?: pulumi.Input<boolean>; /** * Variable name */ ipv4TableMapFilterVariable?: pulumi.Input<string>; ipv4TableMapRoutePolicyId?: pulumi.Input<string>; /** * IPv6 Aggregate prefixes in specific range */ ipv6AggregateAddresses?: pulumi.Input<pulumi.Input<inputs.TransportRoutingBgpFeatureIpv6AggregateAddress>[]>; /** * Set maximum number of parallel IBGP paths for multipath load sharing - Range: `1`-`32` */ ipv6EibgpMaximumPaths?: pulumi.Input<number>; /** * Variable name */ ipv6EibgpMaximumPathsVariable?: pulumi.Input<string>; /** * Set BGP IPv6 neighbors */ ipv6Neighbors?: pulumi.Input<pulumi.Input<inputs.TransportRoutingBgpFeatureIpv6Neighbor>[]>; /** * Configure the networks for BGP to advertise */ ipv6Networks?: pulumi.Input<pulumi.Input<inputs.TransportRoutingBgpFeatureIpv6Network>[]>; /** * BGP Default Information Originate - Default value: `false` */ ipv6Originate?: pulumi.Input<boolean>; /** * Variable name */ ipv6OriginateVariable?: pulumi.Input<string>; /** * Redistribute routes into BGP */ ipv6Redistributes?: pulumi.Input<pulumi.Input<inputs.TransportRoutingBgpFeatureIpv6Redistribute>[]>; /** * Table map filtered or not - Default value: `false` */ ipv6TableMapFilter?: pulumi.Input<boolean>; /** * Variable name */ ipv6TableMapFilterVariable?: pulumi.Input<string>; ipv6TableMapRoutePolicyId?: pulumi.Input<string>; /** * Interval (seconds) of keepalive messages sent to its BGP peer - Range: `0`-`65535` - Default value: `60` */ keepaliveTime?: pulumi.Input<number>; /** * Variable name */ keepaliveTimeVariable?: pulumi.Input<string>; /** * Set administrative distance for local BGP routes - Range: `1`-`255` - Default value: `20` */ localRoutesDistance?: pulumi.Input<number>; /** * Variable name */ localRoutesDistanceVariable?: pulumi.Input<string>; /** * If path has no MED, consider it to be worst path when selecting active BGP paths - Default value: `false` */ missingMedAsWorst?: pulumi.Input<boolean>; /** * Variable name */ missingMedAsWorstVariable?: pulumi.Input<string>; /** * MPLS BGP Interface */ mplsInterfaces?: pulumi.Input<pulumi.Input<inputs.TransportRoutingBgpFeatureMplsInterface>[]>; /** * Ignore AS for multipath selection - Default value: `false` */ multipathRelax?: pulumi.Input<boolean>; /** * Variable name */ multipathRelaxVariable?: pulumi.Input<string>; /** * The name of the Feature */ name?: pulumi.Input<string>; /** * Propagate AS Path - Default value: `false` */ propagateAsPath?: pulumi.Input<boolean>; /** * Variable name */ propagateAsPathVariable?: pulumi.Input<string>; /** * Propagate Community - Default value: `false` */ propagateCommunity?: pulumi.Input<boolean>; /** * Variable name */ propagateCommunityVariable?: pulumi.Input<string>; /** * Configure BGP router identifier */ routerId?: pulumi.Input<string>; /** * Variable name */ routerIdVariable?: pulumi.Input<string>; }