1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. RoutePrefixList
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

    RoutePrefixList resource

    Create RoutePrefixList Resource

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

    Constructor syntax

    new RoutePrefixList(name: string, args?: RoutePrefixListArgs, opts?: CustomResourceOptions);
    @overload
    def RoutePrefixList(resource_name: str,
                        args: Optional[RoutePrefixListArgs] = None,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def RoutePrefixList(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        description: Optional[str] = None,
                        device: Optional[str] = None,
                        folder: Optional[str] = None,
                        ipv4: Optional[RoutePrefixListIpv4Args] = None,
                        name: Optional[str] = None,
                        snippet: Optional[str] = None)
    func NewRoutePrefixList(ctx *Context, name string, args *RoutePrefixListArgs, opts ...ResourceOption) (*RoutePrefixList, error)
    public RoutePrefixList(string name, RoutePrefixListArgs? args = null, CustomResourceOptions? opts = null)
    public RoutePrefixList(String name, RoutePrefixListArgs args)
    public RoutePrefixList(String name, RoutePrefixListArgs args, CustomResourceOptions options)
    
    type: scm:RoutePrefixList
    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 RoutePrefixListArgs
    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 RoutePrefixListArgs
    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 RoutePrefixListArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RoutePrefixListArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RoutePrefixListArgs
    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 routePrefixListResource = new Scm.RoutePrefixList("routePrefixListResource", new()
    {
        Description = "string",
        Device = "string",
        Folder = "string",
        Ipv4 = new Scm.Inputs.RoutePrefixListIpv4Args
        {
            Ipv4Entries = new[]
            {
                new Scm.Inputs.RoutePrefixListIpv4Ipv4EntryArgs
                {
                    Action = "string",
                    Name = 0,
                    Prefix = new Scm.Inputs.RoutePrefixListIpv4Ipv4EntryPrefixArgs
                    {
                        Entry = new Scm.Inputs.RoutePrefixListIpv4Ipv4EntryPrefixEntryArgs
                        {
                            GreaterThanOrEqual = 0,
                            LessThanOrEqual = 0,
                            Network = "string",
                        },
                        Network = "string",
                    },
                },
            },
        },
        Name = "string",
        Snippet = "string",
    });
    
    example, err := scm.NewRoutePrefixList(ctx, "routePrefixListResource", &scm.RoutePrefixListArgs{
    	Description: pulumi.String("string"),
    	Device:      pulumi.String("string"),
    	Folder:      pulumi.String("string"),
    	Ipv4: &scm.RoutePrefixListIpv4Args{
    		Ipv4Entries: scm.RoutePrefixListIpv4Ipv4EntryArray{
    			&scm.RoutePrefixListIpv4Ipv4EntryArgs{
    				Action: pulumi.String("string"),
    				Name:   pulumi.Int(0),
    				Prefix: &scm.RoutePrefixListIpv4Ipv4EntryPrefixArgs{
    					Entry: &scm.RoutePrefixListIpv4Ipv4EntryPrefixEntryArgs{
    						GreaterThanOrEqual: pulumi.Int(0),
    						LessThanOrEqual:    pulumi.Int(0),
    						Network:            pulumi.String("string"),
    					},
    					Network: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	Name:    pulumi.String("string"),
    	Snippet: pulumi.String("string"),
    })
    
    var routePrefixListResource = new RoutePrefixList("routePrefixListResource", RoutePrefixListArgs.builder()
        .description("string")
        .device("string")
        .folder("string")
        .ipv4(RoutePrefixListIpv4Args.builder()
            .ipv4Entries(RoutePrefixListIpv4Ipv4EntryArgs.builder()
                .action("string")
                .name(0)
                .prefix(RoutePrefixListIpv4Ipv4EntryPrefixArgs.builder()
                    .entry(RoutePrefixListIpv4Ipv4EntryPrefixEntryArgs.builder()
                        .greaterThanOrEqual(0)
                        .lessThanOrEqual(0)
                        .network("string")
                        .build())
                    .network("string")
                    .build())
                .build())
            .build())
        .name("string")
        .snippet("string")
        .build());
    
    route_prefix_list_resource = scm.RoutePrefixList("routePrefixListResource",
        description="string",
        device="string",
        folder="string",
        ipv4={
            "ipv4_entries": [{
                "action": "string",
                "name": 0,
                "prefix": {
                    "entry": {
                        "greater_than_or_equal": 0,
                        "less_than_or_equal": 0,
                        "network": "string",
                    },
                    "network": "string",
                },
            }],
        },
        name="string",
        snippet="string")
    
    const routePrefixListResource = new scm.RoutePrefixList("routePrefixListResource", {
        description: "string",
        device: "string",
        folder: "string",
        ipv4: {
            ipv4Entries: [{
                action: "string",
                name: 0,
                prefix: {
                    entry: {
                        greaterThanOrEqual: 0,
                        lessThanOrEqual: 0,
                        network: "string",
                    },
                    network: "string",
                },
            }],
        },
        name: "string",
        snippet: "string",
    });
    
    type: scm:RoutePrefixList
    properties:
        description: string
        device: string
        folder: string
        ipv4:
            ipv4Entries:
                - action: string
                  name: 0
                  prefix:
                    entry:
                        greaterThanOrEqual: 0
                        lessThanOrEqual: 0
                        network: string
                    network: string
        name: string
        snippet: string
    

    RoutePrefixList 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 RoutePrefixList resource accepts the following input properties:

    Description string
    Description
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Ipv4 RoutePrefixListIpv4
    Ipv4
    Name string
    Filter prefix list name
    Snippet string
    The snippet in which the resource is defined
    Description string
    Description
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Ipv4 RoutePrefixListIpv4Args
    Ipv4
    Name string
    Filter prefix list name
    Snippet string
    The snippet in which the resource is defined
    description String
    Description
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    ipv4 RoutePrefixListIpv4
    Ipv4
    name String
    Filter prefix list name
    snippet String
    The snippet in which the resource is defined
    description string
    Description
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    ipv4 RoutePrefixListIpv4
    Ipv4
    name string
    Filter prefix list name
    snippet string
    The snippet in which the resource is defined
    description str
    Description
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    ipv4 RoutePrefixListIpv4Args
    Ipv4
    name str
    Filter prefix list name
    snippet str
    The snippet in which the resource is defined
    description String
    Description
    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
    Filter prefix list name
    snippet String
    The snippet in which the resource is defined

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RoutePrefixList 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 RoutePrefixList Resource

    Get an existing RoutePrefixList 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?: RoutePrefixListState, opts?: CustomResourceOptions): RoutePrefixList
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            device: Optional[str] = None,
            folder: Optional[str] = None,
            ipv4: Optional[RoutePrefixListIpv4Args] = None,
            name: Optional[str] = None,
            snippet: Optional[str] = None,
            tfid: Optional[str] = None) -> RoutePrefixList
    func GetRoutePrefixList(ctx *Context, name string, id IDInput, state *RoutePrefixListState, opts ...ResourceOption) (*RoutePrefixList, error)
    public static RoutePrefixList Get(string name, Input<string> id, RoutePrefixListState? state, CustomResourceOptions? opts = null)
    public static RoutePrefixList get(String name, Output<String> id, RoutePrefixListState state, CustomResourceOptions options)
    resources:  _:    type: scm:RoutePrefixList    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:
    Description string
    Description
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Ipv4 RoutePrefixListIpv4
    Ipv4
    Name string
    Filter prefix list name
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    Description string
    Description
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Ipv4 RoutePrefixListIpv4Args
    Ipv4
    Name string
    Filter prefix list name
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    description String
    Description
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    ipv4 RoutePrefixListIpv4
    Ipv4
    name String
    Filter prefix list name
    snippet String
    The snippet in which the resource is defined
    tfid String
    description string
    Description
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    ipv4 RoutePrefixListIpv4
    Ipv4
    name string
    Filter prefix list name
    snippet string
    The snippet in which the resource is defined
    tfid string
    description str
    Description
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    ipv4 RoutePrefixListIpv4Args
    Ipv4
    name str
    Filter prefix list name
    snippet str
    The snippet in which the resource is defined
    tfid str
    description String
    Description
    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
    Filter prefix list name
    snippet String
    The snippet in which the resource is defined
    tfid String

    Supporting Types

    RoutePrefixListIpv4, RoutePrefixListIpv4Args

    RoutePrefixListIpv4Ipv4Entry, RoutePrefixListIpv4Ipv4EntryArgs

    Action string
    Action
    Name int
    Sequence number
    Prefix RoutePrefixListIpv4Ipv4EntryPrefix
    Prefix
    Action string
    Action
    Name int
    Sequence number
    Prefix RoutePrefixListIpv4Ipv4EntryPrefix
    Prefix
    action String
    Action
    name Integer
    Sequence number
    prefix RoutePrefixListIpv4Ipv4EntryPrefix
    Prefix
    action string
    Action
    name number
    Sequence number
    prefix RoutePrefixListIpv4Ipv4EntryPrefix
    Prefix
    action str
    Action
    name int
    Sequence number
    prefix RoutePrefixListIpv4Ipv4EntryPrefix
    Prefix
    action String
    Action
    name Number
    Sequence number
    prefix Property Map
    Prefix

    RoutePrefixListIpv4Ipv4EntryPrefix, RoutePrefixListIpv4Ipv4EntryPrefixArgs

    entry Property Map
    Entry
    network String
    Network

    RoutePrefixListIpv4Ipv4EntryPrefixEntry, RoutePrefixListIpv4Ipv4EntryPrefixEntryArgs

    GreaterThanOrEqual int
    Greater than or equal to
    LessThanOrEqual int
    Less than or equal to
    Network string
    Network
    GreaterThanOrEqual int
    Greater than or equal to
    LessThanOrEqual int
    Less than or equal to
    Network string
    Network
    greaterThanOrEqual Integer
    Greater than or equal to
    lessThanOrEqual Integer
    Less than or equal to
    network String
    Network
    greaterThanOrEqual number
    Greater than or equal to
    lessThanOrEqual number
    Less than or equal to
    network string
    Network
    greater_than_or_equal int
    Greater than or equal to
    less_than_or_equal int
    Less than or equal to
    network str
    Network
    greaterThanOrEqual Number
    Greater than or equal to
    lessThanOrEqual Number
    Less than or equal to
    network String
    Network

    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