1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. BgpRedistributionProfile
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm logo
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi

    BgpRedistributionProfile resource

    Create BgpRedistributionProfile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BgpRedistributionProfile(name: string, args: BgpRedistributionProfileArgs, opts?: CustomResourceOptions);
    @overload
    def BgpRedistributionProfile(resource_name: str,
                                 args: BgpRedistributionProfileArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def BgpRedistributionProfile(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 ipv4: Optional[BgpRedistributionProfileIpv4Args] = None,
                                 device: Optional[str] = None,
                                 folder: Optional[str] = None,
                                 name: Optional[str] = None,
                                 snippet: Optional[str] = None)
    func NewBgpRedistributionProfile(ctx *Context, name string, args BgpRedistributionProfileArgs, opts ...ResourceOption) (*BgpRedistributionProfile, error)
    public BgpRedistributionProfile(string name, BgpRedistributionProfileArgs args, CustomResourceOptions? opts = null)
    public BgpRedistributionProfile(String name, BgpRedistributionProfileArgs args)
    public BgpRedistributionProfile(String name, BgpRedistributionProfileArgs args, CustomResourceOptions options)
    
    type: scm:BgpRedistributionProfile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args BgpRedistributionProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args BgpRedistributionProfileArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args BgpRedistributionProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BgpRedistributionProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BgpRedistributionProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var bgpRedistributionProfileResource = new Scm.BgpRedistributionProfile("bgpRedistributionProfileResource", new()
    {
        Ipv4 = new Scm.Inputs.BgpRedistributionProfileIpv4Args
        {
            Unicast = new Scm.Inputs.BgpRedistributionProfileIpv4UnicastArgs
            {
                Connected = new Scm.Inputs.BgpRedistributionProfileIpv4UnicastConnectedArgs
                {
                    Enable = false,
                    Metric = 0,
                    RouteMap = "string",
                },
                Ospf = new Scm.Inputs.BgpRedistributionProfileIpv4UnicastOspfArgs
                {
                    Enable = false,
                    Metric = 0,
                    RouteMap = "string",
                },
                Static = new Scm.Inputs.BgpRedistributionProfileIpv4UnicastStaticArgs
                {
                    Enable = false,
                    Metric = 0,
                    RouteMap = "string",
                },
            },
        },
        Device = "string",
        Folder = "string",
        Name = "string",
        Snippet = "string",
    });
    
    example, err := scm.NewBgpRedistributionProfile(ctx, "bgpRedistributionProfileResource", &scm.BgpRedistributionProfileArgs{
    	Ipv4: &scm.BgpRedistributionProfileIpv4Args{
    		Unicast: &scm.BgpRedistributionProfileIpv4UnicastArgs{
    			Connected: &scm.BgpRedistributionProfileIpv4UnicastConnectedArgs{
    				Enable:   pulumi.Bool(false),
    				Metric:   pulumi.Int(0),
    				RouteMap: pulumi.String("string"),
    			},
    			Ospf: &scm.BgpRedistributionProfileIpv4UnicastOspfArgs{
    				Enable:   pulumi.Bool(false),
    				Metric:   pulumi.Int(0),
    				RouteMap: pulumi.String("string"),
    			},
    			Static: &scm.BgpRedistributionProfileIpv4UnicastStaticArgs{
    				Enable:   pulumi.Bool(false),
    				Metric:   pulumi.Int(0),
    				RouteMap: pulumi.String("string"),
    			},
    		},
    	},
    	Device:  pulumi.String("string"),
    	Folder:  pulumi.String("string"),
    	Name:    pulumi.String("string"),
    	Snippet: pulumi.String("string"),
    })
    
    var bgpRedistributionProfileResource = new BgpRedistributionProfile("bgpRedistributionProfileResource", BgpRedistributionProfileArgs.builder()
        .ipv4(BgpRedistributionProfileIpv4Args.builder()
            .unicast(BgpRedistributionProfileIpv4UnicastArgs.builder()
                .connected(BgpRedistributionProfileIpv4UnicastConnectedArgs.builder()
                    .enable(false)
                    .metric(0)
                    .routeMap("string")
                    .build())
                .ospf(BgpRedistributionProfileIpv4UnicastOspfArgs.builder()
                    .enable(false)
                    .metric(0)
                    .routeMap("string")
                    .build())
                .static_(BgpRedistributionProfileIpv4UnicastStaticArgs.builder()
                    .enable(false)
                    .metric(0)
                    .routeMap("string")
                    .build())
                .build())
            .build())
        .device("string")
        .folder("string")
        .name("string")
        .snippet("string")
        .build());
    
    bgp_redistribution_profile_resource = scm.BgpRedistributionProfile("bgpRedistributionProfileResource",
        ipv4={
            "unicast": {
                "connected": {
                    "enable": False,
                    "metric": 0,
                    "route_map": "string",
                },
                "ospf": {
                    "enable": False,
                    "metric": 0,
                    "route_map": "string",
                },
                "static": {
                    "enable": False,
                    "metric": 0,
                    "route_map": "string",
                },
            },
        },
        device="string",
        folder="string",
        name="string",
        snippet="string")
    
    const bgpRedistributionProfileResource = new scm.BgpRedistributionProfile("bgpRedistributionProfileResource", {
        ipv4: {
            unicast: {
                connected: {
                    enable: false,
                    metric: 0,
                    routeMap: "string",
                },
                ospf: {
                    enable: false,
                    metric: 0,
                    routeMap: "string",
                },
                static: {
                    enable: false,
                    metric: 0,
                    routeMap: "string",
                },
            },
        },
        device: "string",
        folder: "string",
        name: "string",
        snippet: "string",
    });
    
    type: scm:BgpRedistributionProfile
    properties:
        device: string
        folder: string
        ipv4:
            unicast:
                connected:
                    enable: false
                    metric: 0
                    routeMap: string
                ospf:
                    enable: false
                    metric: 0
                    routeMap: string
                static:
                    enable: false
                    metric: 0
                    routeMap: string
        name: string
        snippet: string
    

    BgpRedistributionProfile Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The BgpRedistributionProfile resource accepts the following input properties:

    Ipv4 BgpRedistributionProfileIpv4
    Ipv4
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Name string
    Name
    Snippet string
    The snippet in which the resource is defined
    Ipv4 BgpRedistributionProfileIpv4Args
    Ipv4
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Name string
    Name
    Snippet string
    The snippet in which the resource is defined
    ipv4 BgpRedistributionProfileIpv4
    Ipv4
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    name String
    Name
    snippet String
    The snippet in which the resource is defined
    ipv4 BgpRedistributionProfileIpv4
    Ipv4
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    name string
    Name
    snippet string
    The snippet in which the resource is defined
    ipv4 BgpRedistributionProfileIpv4Args
    Ipv4
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    name str
    Name
    snippet str
    The snippet in which the resource is defined
    ipv4 Property Map
    Ipv4
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    name String
    Name
    snippet String
    The snippet in which the resource is defined

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BgpRedistributionProfile resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    id string
    The provider-assigned unique ID for this managed resource.
    tfid string
    id str
    The provider-assigned unique ID for this managed resource.
    tfid str
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String

    Look up Existing BgpRedistributionProfile Resource

    Get an existing BgpRedistributionProfile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: BgpRedistributionProfileState, opts?: CustomResourceOptions): BgpRedistributionProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            device: Optional[str] = None,
            folder: Optional[str] = None,
            ipv4: Optional[BgpRedistributionProfileIpv4Args] = None,
            name: Optional[str] = None,
            snippet: Optional[str] = None,
            tfid: Optional[str] = None) -> BgpRedistributionProfile
    func GetBgpRedistributionProfile(ctx *Context, name string, id IDInput, state *BgpRedistributionProfileState, opts ...ResourceOption) (*BgpRedistributionProfile, error)
    public static BgpRedistributionProfile Get(string name, Input<string> id, BgpRedistributionProfileState? state, CustomResourceOptions? opts = null)
    public static BgpRedistributionProfile get(String name, Output<String> id, BgpRedistributionProfileState state, CustomResourceOptions options)
    resources:  _:    type: scm:BgpRedistributionProfile    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Ipv4 BgpRedistributionProfileIpv4
    Ipv4
    Name string
    Name
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Ipv4 BgpRedistributionProfileIpv4Args
    Ipv4
    Name string
    Name
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    ipv4 BgpRedistributionProfileIpv4
    Ipv4
    name String
    Name
    snippet String
    The snippet in which the resource is defined
    tfid String
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    ipv4 BgpRedistributionProfileIpv4
    Ipv4
    name string
    Name
    snippet string
    The snippet in which the resource is defined
    tfid string
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    ipv4 BgpRedistributionProfileIpv4Args
    Ipv4
    name str
    Name
    snippet str
    The snippet in which the resource is defined
    tfid str
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    ipv4 Property Map
    Ipv4
    name String
    Name
    snippet String
    The snippet in which the resource is defined
    tfid String

    Supporting Types

    BgpRedistributionProfileIpv4, BgpRedistributionProfileIpv4Args

    BgpRedistributionProfileIpv4Unicast, BgpRedistributionProfileIpv4UnicastArgs

    BgpRedistributionProfileIpv4UnicastConnected, BgpRedistributionProfileIpv4UnicastConnectedArgs

    Enable bool
    Enable connected route redistribution?
    Metric int
    Route metric
    RouteMap string
    Route map
    Enable bool
    Enable connected route redistribution?
    Metric int
    Route metric
    RouteMap string
    Route map
    enable Boolean
    Enable connected route redistribution?
    metric Integer
    Route metric
    routeMap String
    Route map
    enable boolean
    Enable connected route redistribution?
    metric number
    Route metric
    routeMap string
    Route map
    enable bool
    Enable connected route redistribution?
    metric int
    Route metric
    route_map str
    Route map
    enable Boolean
    Enable connected route redistribution?
    metric Number
    Route metric
    routeMap String
    Route map

    BgpRedistributionProfileIpv4UnicastOspf, BgpRedistributionProfileIpv4UnicastOspfArgs

    Enable bool
    Enable OSPF route redistribution?
    Metric int
    Route metric
    RouteMap string
    Route map
    Enable bool
    Enable OSPF route redistribution?
    Metric int
    Route metric
    RouteMap string
    Route map
    enable Boolean
    Enable OSPF route redistribution?
    metric Integer
    Route metric
    routeMap String
    Route map
    enable boolean
    Enable OSPF route redistribution?
    metric number
    Route metric
    routeMap string
    Route map
    enable bool
    Enable OSPF route redistribution?
    metric int
    Route metric
    route_map str
    Route map
    enable Boolean
    Enable OSPF route redistribution?
    metric Number
    Route metric
    routeMap String
    Route map

    BgpRedistributionProfileIpv4UnicastStatic, BgpRedistributionProfileIpv4UnicastStaticArgs

    Enable bool
    Enable static route redistribution?
    Metric int
    Route metric
    RouteMap string
    Route map
    Enable bool
    Enable static route redistribution?
    Metric int
    Route metric
    RouteMap string
    Route map
    enable Boolean
    Enable static route redistribution?
    metric Integer
    Route metric
    routeMap String
    Route map
    enable boolean
    Enable static route redistribution?
    metric number
    Route metric
    routeMap string
    Route map
    enable bool
    Enable static route redistribution?
    metric int
    Route metric
    route_map str
    Route map
    enable Boolean
    Enable static route redistribution?
    metric Number
    Route metric
    routeMap String
    Route map

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate