Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
BgpRouteMap data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
// Look up bgp route map by its ID.
const scmBgpRouteMapDs = scm.getBgpRouteMap({
id: "f2ffd626-e92d-4de6-8ac1-37742fe80fb9",
});
export const bgpRouteMapDataSourceResults = {
id: scmBgpRouteMapDs.then(scmBgpRouteMapDs => scmBgpRouteMapDs.id),
name: scmBgpRouteMapDs.then(scmBgpRouteMapDs => scmBgpRouteMapDs.name),
routeMap: scmBgpRouteMapDs.then(scmBgpRouteMapDs => scmBgpRouteMapDs.routeMaps),
folder: scmBgpRouteMapDs.then(scmBgpRouteMapDs => scmBgpRouteMapDs.folder),
};
import pulumi
import pulumi_scm as scm
# Look up bgp route map by its ID.
scm_bgp_route_map_ds = scm.get_bgp_route_map(id="f2ffd626-e92d-4de6-8ac1-37742fe80fb9")
pulumi.export("bgpRouteMapDataSourceResults", {
"id": scm_bgp_route_map_ds.id,
"name": scm_bgp_route_map_ds.name,
"routeMap": scm_bgp_route_map_ds.route_maps,
"folder": scm_bgp_route_map_ds.folder,
})
package main
import (
"github.com/pulumi/pulumi-scm/sdk/go/scm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Look up bgp route map by its ID.
scmBgpRouteMapDs, err := scm.LookupBgpRouteMap(ctx, &scm.LookupBgpRouteMapArgs{
Id: "f2ffd626-e92d-4de6-8ac1-37742fe80fb9",
}, nil)
if err != nil {
return err
}
ctx.Export("bgpRouteMapDataSourceResults", pulumi.Map{
"id": scmBgpRouteMapDs.Id,
"name": scmBgpRouteMapDs.Name,
"routeMap": scmBgpRouteMapDs.RouteMaps,
"folder": scmBgpRouteMapDs.Folder,
})
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
// Look up bgp route map by its ID.
var scmBgpRouteMapDs = Scm.GetBgpRouteMap.Invoke(new()
{
Id = "f2ffd626-e92d-4de6-8ac1-37742fe80fb9",
});
return new Dictionary<string, object?>
{
["bgpRouteMapDataSourceResults"] =
{
{ "id", scmBgpRouteMapDs.Apply(getBgpRouteMapResult => getBgpRouteMapResult.Id) },
{ "name", scmBgpRouteMapDs.Apply(getBgpRouteMapResult => getBgpRouteMapResult.Name) },
{ "routeMap", scmBgpRouteMapDs.Apply(getBgpRouteMapResult => getBgpRouteMapResult.RouteMaps) },
{ "folder", scmBgpRouteMapDs.Apply(getBgpRouteMapResult => getBgpRouteMapResult.Folder) },
},
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.ScmFunctions;
import com.pulumi.scm.inputs.GetBgpRouteMapArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// Look up bgp route map by its ID.
final var scmBgpRouteMapDs = ScmFunctions.getBgpRouteMap(GetBgpRouteMapArgs.builder()
.id("f2ffd626-e92d-4de6-8ac1-37742fe80fb9")
.build());
ctx.export("bgpRouteMapDataSourceResults", Map.ofEntries(
Map.entry("id", scmBgpRouteMapDs.id()),
Map.entry("name", scmBgpRouteMapDs.name()),
Map.entry("routeMap", scmBgpRouteMapDs.routeMaps()),
Map.entry("folder", scmBgpRouteMapDs.folder())
));
}
}
variables:
# Look up bgp route map by its ID.
scmBgpRouteMapDs:
fn::invoke:
function: scm:getBgpRouteMap
arguments:
id: f2ffd626-e92d-4de6-8ac1-37742fe80fb9
outputs:
# Output various attributes from the found bgp route maps to verify the lookups were successful.
bgpRouteMapDataSourceResults:
id: ${scmBgpRouteMapDs.id}
name: ${scmBgpRouteMapDs.name}
routeMap: ${scmBgpRouteMapDs.routeMaps}
folder: ${scmBgpRouteMapDs.folder}
Using getBgpRouteMap
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBgpRouteMap(args: GetBgpRouteMapArgs, opts?: InvokeOptions): Promise<GetBgpRouteMapResult>
function getBgpRouteMapOutput(args: GetBgpRouteMapOutputArgs, opts?: InvokeOptions): Output<GetBgpRouteMapResult>def get_bgp_route_map(device: Optional[str] = None,
folder: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
snippet: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBgpRouteMapResult
def get_bgp_route_map_output(device: Optional[pulumi.Input[str]] = None,
folder: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
snippet: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBgpRouteMapResult]func LookupBgpRouteMap(ctx *Context, args *LookupBgpRouteMapArgs, opts ...InvokeOption) (*LookupBgpRouteMapResult, error)
func LookupBgpRouteMapOutput(ctx *Context, args *LookupBgpRouteMapOutputArgs, opts ...InvokeOption) LookupBgpRouteMapResultOutput> Note: This function is named LookupBgpRouteMap in the Go SDK.
public static class GetBgpRouteMap
{
public static Task<GetBgpRouteMapResult> InvokeAsync(GetBgpRouteMapArgs args, InvokeOptions? opts = null)
public static Output<GetBgpRouteMapResult> Invoke(GetBgpRouteMapInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBgpRouteMapResult> getBgpRouteMap(GetBgpRouteMapArgs args, InvokeOptions options)
public static Output<GetBgpRouteMapResult> getBgpRouteMap(GetBgpRouteMapArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getBgpRouteMap:getBgpRouteMap
arguments:
# arguments dictionaryThe following arguments are supported:
getBgpRouteMap Result
The following output properties are available:
- Description string
- Device string
- The device in which the resource is defined
- Folder string
- Id string
- UUID of the resource
- Name string
- Route
Maps List<GetBgp Route Map Route Map> - Snippet string
- Tfid string
- Description string
- Device string
- The device in which the resource is defined
- Folder string
- Id string
- UUID of the resource
- Name string
- Route
Maps []GetBgp Route Map Route Map - Snippet string
- Tfid string
- description String
- device String
- The device in which the resource is defined
- folder String
- id String
- UUID of the resource
- name String
- route
Maps List<GetBgp Route Map Route Map> - snippet String
- tfid String
- description string
- device string
- The device in which the resource is defined
- folder string
- id string
- UUID of the resource
- name string
- route
Maps GetBgp Route Map Route Map[] - snippet string
- tfid string
- description str
- device str
- The device in which the resource is defined
- folder str
- id str
- UUID of the resource
- name str
- route_
maps Sequence[GetBgp Route Map Route Map] - snippet str
- tfid str
- description String
- device String
- The device in which the resource is defined
- folder String
- id String
- UUID of the resource
- name String
- route
Maps List<Property Map> - snippet String
- tfid String
Supporting Types
GetBgpRouteMapRouteMap
- Action string
- Action
- Description string
- Description
- Match
Get
Bgp Route Map Route Map Match - Match
- Name int
- Sequence number
- Set
Get
Bgp Route Map Route Map Set - Set
- Action string
- Action
- Description string
- Description
- Match
Get
Bgp Route Map Route Map Match - Match
- Name int
- Sequence number
- Set
Get
Bgp Route Map Route Map Set - Set
- action String
- Action
- description String
- Description
- match
Get
Bgp Route Map Route Map Match - Match
- name Integer
- Sequence number
- set
Get
Bgp Route Map Route Map Set - Set
- action string
- Action
- description string
- Description
- match
Get
Bgp Route Map Route Map Match - Match
- name number
- Sequence number
- set
Get
Bgp Route Map Route Map Set - Set
- action str
- Action
- description str
- Description
- match
Get
Bgp Route Map Route Map Match - Match
- name int
- Sequence number
- set
Get
Bgp Route Map Route Map Set - Set
- action String
- Action
- description String
- Description
- match Property Map
- Match
- name Number
- Sequence number
- set Property Map
- Set
GetBgpRouteMapRouteMapMatch
- As
Path stringAccess List - AS path access list
- Extended
Community string - Extended community
- Interface string
- Interface
- Ipv4
Get
Bgp Route Map Route Map Match Ipv4 - bgp-route-maps ipv4 object
- Large
Community string - Large community
- Local
Preference int - Local preference
- Metric int
- Metric
- Origin string
- Origin
- Peer string
- Peer
- Regular
Community string - Regular community
- Tag int
- Tag
- As
Path stringAccess List - AS path access list
- Extended
Community string - Extended community
- Interface string
- Interface
- Ipv4
Get
Bgp Route Map Route Map Match Ipv4 - bgp-route-maps ipv4 object
- Large
Community string - Large community
- Local
Preference int - Local preference
- Metric int
- Metric
- Origin string
- Origin
- Peer string
- Peer
- Regular
Community string - Regular community
- Tag int
- Tag
- as
Path StringAccess List - AS path access list
- extended
Community String - Extended community
- interface_ String
- Interface
- ipv4
Get
Bgp Route Map Route Map Match Ipv4 - bgp-route-maps ipv4 object
- large
Community String - Large community
- local
Preference Integer - Local preference
- metric Integer
- Metric
- origin String
- Origin
- peer String
- Peer
- regular
Community String - Regular community
- tag Integer
- Tag
- as
Path stringAccess List - AS path access list
- extended
Community string - Extended community
- interface string
- Interface
- ipv4
Get
Bgp Route Map Route Map Match Ipv4 - bgp-route-maps ipv4 object
- large
Community string - Large community
- local
Preference number - Local preference
- metric number
- Metric
- origin string
- Origin
- peer string
- Peer
- regular
Community string - Regular community
- tag number
- Tag
- as_
path_ straccess_ list - AS path access list
- extended_
community str - Extended community
- interface str
- Interface
- ipv4
Get
Bgp Route Map Route Map Match Ipv4 - bgp-route-maps ipv4 object
- large_
community str - Large community
- local_
preference int - Local preference
- metric int
- Metric
- origin str
- Origin
- peer str
- Peer
- regular_
community str - Regular community
- tag int
- Tag
- as
Path StringAccess List - AS path access list
- extended
Community String - Extended community
- interface String
- Interface
- ipv4 Property Map
- bgp-route-maps ipv4 object
- large
Community String - Large community
- local
Preference Number - Local preference
- metric Number
- Metric
- origin String
- Origin
- peer String
- Peer
- regular
Community String - Regular community
- tag Number
- Tag
GetBgpRouteMapRouteMapMatchIpv4
- address Property Map
- Address
- next
Hop Property Map - Next hop
- route
Source Property Map - Route source
GetBgpRouteMapRouteMapMatchIpv4Address
- Access
List string - Access list
- Prefix
List string - Prefix list
- Access
List string - Access list
- Prefix
List string - Prefix list
- access
List String - Access list
- prefix
List String - Prefix list
- access
List string - Access list
- prefix
List string - Prefix list
- access_
list str - Access list
- prefix_
list str - Prefix list
- access
List String - Access list
- prefix
List String - Prefix list
GetBgpRouteMapRouteMapMatchIpv4NextHop
- Access
List string - Access list
- Prefix
List string - Prefix list
- Access
List string - Access list
- Prefix
List string - Prefix list
- access
List String - Access list
- prefix
List String - Prefix list
- access
List string - Access list
- prefix
List string - Prefix list
- access_
list str - Access list
- prefix_
list str - Prefix list
- access
List String - Access list
- prefix
List String - Prefix list
GetBgpRouteMapRouteMapMatchIpv4RouteSource
- Access
List string - Access list
- Prefix
List string - Prefix list
- Access
List string - Access list
- Prefix
List string - Prefix list
- access
List String - Access list
- prefix
List String - Prefix list
- access
List string - Access list
- prefix
List string - Prefix list
- access_
list str - Access list
- prefix_
list str - Prefix list
- access
List String - Access list
- prefix
List String - Prefix list
GetBgpRouteMapRouteMapSet
- Aggregator
Get
Bgp Route Map Route Map Set Aggregator - bgp-route-maps aggregator
- Aspath
Excludes List<int> - Aspath exclude
- Aspath
Prepends List<int> - Aspath prepend
- Atomic
Aggregate bool - Enable BGP atomic aggregate?
- Ipv4
Get
Bgp Route Map Route Map Set Ipv4 - Ipv4
- Large
Communities List<string> - Large community
- Local
Preference int - Local preference
- Metric
Get
Bgp Route Map Route Map Set Metric - Metric
- Origin string
- Origin
- Originator
Id string - Originator ID
- Overwrite
Large boolCommunity - Overwrite large community?
- Overwrite
Regular boolCommunity - Overwrite regular community?
- Regular
Communities List<string> - Regular community
- Remove
Large stringCommunity - Remove large community name
- Remove
Regular stringCommunity - Remove regular community name
- Tag int
- Tag
- Weight int
- Weight
- Aggregator
Get
Bgp Route Map Route Map Set Aggregator - bgp-route-maps aggregator
- Aspath
Excludes []int - Aspath exclude
- Aspath
Prepends []int - Aspath prepend
- Atomic
Aggregate bool - Enable BGP atomic aggregate?
- Ipv4
Get
Bgp Route Map Route Map Set Ipv4 - Ipv4
- Large
Communities []string - Large community
- Local
Preference int - Local preference
- Metric
Get
Bgp Route Map Route Map Set Metric - Metric
- Origin string
- Origin
- Originator
Id string - Originator ID
- Overwrite
Large boolCommunity - Overwrite large community?
- Overwrite
Regular boolCommunity - Overwrite regular community?
- Regular
Communities []string - Regular community
- Remove
Large stringCommunity - Remove large community name
- Remove
Regular stringCommunity - Remove regular community name
- Tag int
- Tag
- Weight int
- Weight
- aggregator
Get
Bgp Route Map Route Map Set Aggregator - bgp-route-maps aggregator
- aspath
Excludes List<Integer> - Aspath exclude
- aspath
Prepends List<Integer> - Aspath prepend
- atomic
Aggregate Boolean - Enable BGP atomic aggregate?
- ipv4
Get
Bgp Route Map Route Map Set Ipv4 - Ipv4
- large
Communities List<String> - Large community
- local
Preference Integer - Local preference
- metric
Get
Bgp Route Map Route Map Set Metric - Metric
- origin String
- Origin
- originator
Id String - Originator ID
- overwrite
Large BooleanCommunity - Overwrite large community?
- overwrite
Regular BooleanCommunity - Overwrite regular community?
- regular
Communities List<String> - Regular community
- remove
Large StringCommunity - Remove large community name
- remove
Regular StringCommunity - Remove regular community name
- tag Integer
- Tag
- weight Integer
- Weight
- aggregator
Get
Bgp Route Map Route Map Set Aggregator - bgp-route-maps aggregator
- aspath
Excludes number[] - Aspath exclude
- aspath
Prepends number[] - Aspath prepend
- atomic
Aggregate boolean - Enable BGP atomic aggregate?
- ipv4
Get
Bgp Route Map Route Map Set Ipv4 - Ipv4
- large
Communities string[] - Large community
- local
Preference number - Local preference
- metric
Get
Bgp Route Map Route Map Set Metric - Metric
- origin string
- Origin
- originator
Id string - Originator ID
- overwrite
Large booleanCommunity - Overwrite large community?
- overwrite
Regular booleanCommunity - Overwrite regular community?
- regular
Communities string[] - Regular community
- remove
Large stringCommunity - Remove large community name
- remove
Regular stringCommunity - Remove regular community name
- tag number
- Tag
- weight number
- Weight
- aggregator
Get
Bgp Route Map Route Map Set Aggregator - bgp-route-maps aggregator
- aspath_
excludes Sequence[int] - Aspath exclude
- aspath_
prepends Sequence[int] - Aspath prepend
- atomic_
aggregate bool - Enable BGP atomic aggregate?
- ipv4
Get
Bgp Route Map Route Map Set Ipv4 - Ipv4
- large_
communities Sequence[str] - Large community
- local_
preference int - Local preference
- metric
Get
Bgp Route Map Route Map Set Metric - Metric
- origin str
- Origin
- originator_
id str - Originator ID
- overwrite_
large_ boolcommunity - Overwrite large community?
- overwrite_
regular_ boolcommunity - Overwrite regular community?
- regular_
communities Sequence[str] - Regular community
- remove_
large_ strcommunity - Remove large community name
- remove_
regular_ strcommunity - Remove regular community name
- tag int
- Tag
- weight int
- Weight
- aggregator Property Map
- bgp-route-maps aggregator
- aspath
Excludes List<Number> - Aspath exclude
- aspath
Prepends List<Number> - Aspath prepend
- atomic
Aggregate Boolean - Enable BGP atomic aggregate?
- ipv4 Property Map
- Ipv4
- large
Communities List<String> - Large community
- local
Preference Number - Local preference
- metric Property Map
- Metric
- origin String
- Origin
- originator
Id String - Originator ID
- overwrite
Large BooleanCommunity - Overwrite large community?
- overwrite
Regular BooleanCommunity - Overwrite regular community?
- regular
Communities List<String> - Regular community
- remove
Large StringCommunity - Remove large community name
- remove
Regular StringCommunity - Remove regular community name
- tag Number
- Tag
- weight Number
- Weight
GetBgpRouteMapRouteMapSetAggregator
GetBgpRouteMapRouteMapSetIpv4
- Next
Hop string - Next hop
- Source
Address string - Source address
- Next
Hop string - Next hop
- Source
Address string - Source address
- next
Hop String - Next hop
- source
Address String - Source address
- next
Hop string - Next hop
- source
Address string - Source address
- next_
hop str - Next hop
- source_
address str - Source address
- next
Hop String - Next hop
- source
Address String - Source address
GetBgpRouteMapRouteMapSetMetric
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
