UNPKG

@pulumi/sdwan

Version:

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

232 lines (231 loc) 5.86 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * This data source can read the Cisco BGP feature template. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sdwan from "@pulumi/sdwan"; * * const example = sdwan.getCiscoBgpFeatureTemplate({ * id: "f6b2c44c-693c-4763-b010-895aa3d236bd", * }); * ``` */ export declare function getCiscoBgpFeatureTemplate(args?: GetCiscoBgpFeatureTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetCiscoBgpFeatureTemplateResult>; /** * A collection of arguments for invoking getCiscoBgpFeatureTemplate. */ export interface GetCiscoBgpFeatureTemplateArgs { /** * The id of the feature template */ id?: string; /** * The name of the feature template */ name?: string; } /** * A collection of values returned by getCiscoBgpFeatureTemplate. */ export interface GetCiscoBgpFeatureTemplateResult { /** * Set BGP address family */ readonly addressFamilies: outputs.GetCiscoBgpFeatureTemplateAddressFamily[]; /** * Compare MEDs from all ASs when selecting active BGP paths */ readonly alwaysCompareMed: boolean; /** * Variable name */ readonly alwaysCompareMedVariable: string; /** * Set autonomous system number \n\n or \n\n */ readonly asNumber: string; /** * Variable name */ readonly asNumberVariable: string; /** * Compare router IDs when selecting active BGP paths */ readonly compareRouterId: boolean; /** * Variable name */ readonly compareRouterIdVariable: string; /** * The description of the feature template */ readonly description: string; /** * Compare MEDs from all routes from same AS when selecting active BGP paths */ readonly deterministicMed: boolean; /** * Variable name */ readonly deterministicMedVariable: string; /** * List of supported device types */ readonly deviceTypes: string[]; /** * Set administrative distance for external BGP routes */ readonly distanceExternal: number; /** * Variable name */ readonly distanceExternalVariable: string; /** * Set administrative distance for internal BGP routes */ readonly distanceInternal: number; /** * Variable name */ readonly distanceInternalVariable: string; /** * Set administrative distance for local BGP routes */ readonly distanceLocal: number; /** * Variable name */ readonly distanceLocalVariable: string; /** * Set the interval when BGP considers a neighbor to be down */ readonly holdtime: number; /** * Variable name */ readonly holdtimeVariable: string; /** * The id of the feature template */ readonly id: string; /** * Set BGP neighbors */ readonly ipv4Neighbors: outputs.GetCiscoBgpFeatureTemplateIpv4Neighbor[]; /** * Router Target for IPV4 */ readonly ipv4RouteTargets: outputs.GetCiscoBgpFeatureTemplateIpv4RouteTarget[]; /** * Set BGP IPv6 neighbors */ readonly ipv6Neighbors: outputs.GetCiscoBgpFeatureTemplateIpv6Neighbor[]; /** * Router Target for IPV6 */ readonly ipv6RouteTargets: outputs.GetCiscoBgpFeatureTemplateIpv6RouteTarget[]; /** * Set how often keepalive messages are sent to BGP peer */ readonly keepalive: number; /** * Variable name */ readonly keepaliveVariable: string; /** * If path has no MED, consider it to be worst path when selecting active BGP paths */ readonly missingMedWorst: boolean; /** * Variable name */ readonly missingMedWorstVariable: string; /** * MPLS BGP Interface */ readonly mplsInterfaces: outputs.GetCiscoBgpFeatureTemplateMplsInterface[]; /** * Ignore AS for multipath selection */ readonly multipathRelax: boolean; /** * Variable name */ readonly multipathRelaxVariable: string; /** * The name of the feature template */ readonly name: string; /** * Propagate AS Path */ readonly propagateAspath: boolean; /** * Variable name */ readonly propagateAspathVariable: string; /** * Propagate Community */ readonly propagateCommunity: boolean; /** * Variable name */ readonly propagateCommunityVariable: string; /** * Configure BGP router identifier */ readonly routerId: string; /** * Variable name */ readonly routerIdVariable: string; /** * Enable or disable BGP */ readonly shutdown: boolean; /** * Variable name */ readonly shutdownVariable: string; /** * The template type */ readonly templateType: string; /** * The version of the feature template */ readonly version: number; } /** * This data source can read the Cisco BGP feature template. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sdwan from "@pulumi/sdwan"; * * const example = sdwan.getCiscoBgpFeatureTemplate({ * id: "f6b2c44c-693c-4763-b010-895aa3d236bd", * }); * ``` */ export declare function getCiscoBgpFeatureTemplateOutput(args?: GetCiscoBgpFeatureTemplateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCiscoBgpFeatureTemplateResult>; /** * A collection of arguments for invoking getCiscoBgpFeatureTemplate. */ export interface GetCiscoBgpFeatureTemplateOutputArgs { /** * The id of the feature template */ id?: pulumi.Input<string>; /** * The name of the feature template */ name?: pulumi.Input<string>; }