1. Registry
  2. Packages
  3. Strata Cloud Manager Provider
  4. API Docs
  5. RouteCommunityList
Viewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi
scm logo Strata Cloud Manager
Viewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi

    RouteCommunityList resource

    Create RouteCommunityList Resource

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

    Constructor syntax

    new RouteCommunityList(name: string, args?: RouteCommunityListArgs, opts?: CustomResourceOptions);
    @overload
    def RouteCommunityList(resource_name: str,
                           args: Optional[RouteCommunityListArgs] = None,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def RouteCommunityList(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           description: Optional[str] = None,
                           device: Optional[str] = None,
                           folder: Optional[str] = None,
                           name: Optional[str] = None,
                           snippet: Optional[str] = None,
                           type: Optional[RouteCommunityListTypeArgs] = None)
    func NewRouteCommunityList(ctx *Context, name string, args *RouteCommunityListArgs, opts ...ResourceOption) (*RouteCommunityList, error)
    public RouteCommunityList(string name, RouteCommunityListArgs? args = null, CustomResourceOptions? opts = null)
    public RouteCommunityList(String name, RouteCommunityListArgs args)
    public RouteCommunityList(String name, RouteCommunityListArgs args, CustomResourceOptions options)
    
    type: scm:RouteCommunityList
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "scm_route_community_list" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args RouteCommunityListArgs
    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 RouteCommunityListArgs
    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 RouteCommunityListArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RouteCommunityListArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RouteCommunityListArgs
    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 routeCommunityListResource = new Scm.RouteCommunityList("routeCommunityListResource", new()
    {
        Description = "string",
        Device = "string",
        Folder = "string",
        Name = "string",
        Snippet = "string",
        Type = new Scm.Inputs.RouteCommunityListTypeArgs
        {
            Extended = new Scm.Inputs.RouteCommunityListTypeExtendedArgs
            {
                ExtendedEntries = new[]
                {
                    new Scm.Inputs.RouteCommunityListTypeExtendedExtendedEntryArgs
                    {
                        Action = "string",
                        LcRegexes = new[]
                        {
                            "string",
                        },
                        Name = 0,
                    },
                },
            },
            Large = new Scm.Inputs.RouteCommunityListTypeLargeArgs
            {
                LargeEntries = new[]
                {
                    new Scm.Inputs.RouteCommunityListTypeLargeLargeEntryArgs
                    {
                        Action = "string",
                        LcRegexes = new[]
                        {
                            "string",
                        },
                        Name = 0,
                    },
                },
            },
            Regular = new Scm.Inputs.RouteCommunityListTypeRegularArgs
            {
                RegularEntries = new[]
                {
                    new Scm.Inputs.RouteCommunityListTypeRegularRegularEntryArgs
                    {
                        Action = "string",
                        Communities = new[]
                        {
                            "string",
                        },
                        Name = 0,
                    },
                },
            },
        },
    });
    
    example, err := scm.NewRouteCommunityList(ctx, "routeCommunityListResource", &scm.RouteCommunityListArgs{
    	Description: pulumi.String("string"),
    	Device:      pulumi.String("string"),
    	Folder:      pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Snippet:     pulumi.String("string"),
    	Type: &scm.RouteCommunityListTypeArgs{
    		Extended: &scm.RouteCommunityListTypeExtendedArgs{
    			ExtendedEntries: scm.RouteCommunityListTypeExtendedExtendedEntryArray{
    				&scm.RouteCommunityListTypeExtendedExtendedEntryArgs{
    					Action: pulumi.String("string"),
    					LcRegexes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Name: pulumi.Int(0),
    				},
    			},
    		},
    		Large: &scm.RouteCommunityListTypeLargeArgs{
    			LargeEntries: scm.RouteCommunityListTypeLargeLargeEntryArray{
    				&scm.RouteCommunityListTypeLargeLargeEntryArgs{
    					Action: pulumi.String("string"),
    					LcRegexes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Name: pulumi.Int(0),
    				},
    			},
    		},
    		Regular: &scm.RouteCommunityListTypeRegularArgs{
    			RegularEntries: scm.RouteCommunityListTypeRegularRegularEntryArray{
    				&scm.RouteCommunityListTypeRegularRegularEntryArgs{
    					Action: pulumi.String("string"),
    					Communities: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Name: pulumi.Int(0),
    				},
    			},
    		},
    	},
    })
    
    resource "scm_route_community_list" "routeCommunityListResource" {
      lifecycle {
        create_before_destroy = true
      }
      description = "string"
      device      = "string"
      folder      = "string"
      name        = "string"
      snippet     = "string"
      type = {
        extended = {
          extended_entries = [{
            action     = "string"
            lc_regexes = ["string"]
            name       = 0
          }]
        }
        large = {
          large_entries = [{
            action     = "string"
            lc_regexes = ["string"]
            name       = 0
          }]
        }
        regular = {
          regular_entries = [{
            action      = "string"
            communities = ["string"]
            name        = 0
          }]
        }
      }
    }
    
    var routeCommunityListResource = new RouteCommunityList("routeCommunityListResource", RouteCommunityListArgs.builder()
        .description("string")
        .device("string")
        .folder("string")
        .name("string")
        .snippet("string")
        .type(RouteCommunityListTypeArgs.builder()
            .extended(RouteCommunityListTypeExtendedArgs.builder()
                .extendedEntries(RouteCommunityListTypeExtendedExtendedEntryArgs.builder()
                    .action("string")
                    .lcRegexes("string")
                    .name(0)
                    .build())
                .build())
            .large(RouteCommunityListTypeLargeArgs.builder()
                .largeEntries(RouteCommunityListTypeLargeLargeEntryArgs.builder()
                    .action("string")
                    .lcRegexes("string")
                    .name(0)
                    .build())
                .build())
            .regular(RouteCommunityListTypeRegularArgs.builder()
                .regularEntries(RouteCommunityListTypeRegularRegularEntryArgs.builder()
                    .action("string")
                    .communities("string")
                    .name(0)
                    .build())
                .build())
            .build())
        .build());
    
    route_community_list_resource = scm.RouteCommunityList("routeCommunityListResource",
        description="string",
        device="string",
        folder="string",
        name="string",
        snippet="string",
        type={
            "extended": {
                "extended_entries": [{
                    "action": "string",
                    "lc_regexes": ["string"],
                    "name": 0,
                }],
            },
            "large": {
                "large_entries": [{
                    "action": "string",
                    "lc_regexes": ["string"],
                    "name": 0,
                }],
            },
            "regular": {
                "regular_entries": [{
                    "action": "string",
                    "communities": ["string"],
                    "name": 0,
                }],
            },
        })
    
    const routeCommunityListResource = new scm.RouteCommunityList("routeCommunityListResource", {
        description: "string",
        device: "string",
        folder: "string",
        name: "string",
        snippet: "string",
        type: {
            extended: {
                extendedEntries: [{
                    action: "string",
                    lcRegexes: ["string"],
                    name: 0,
                }],
            },
            large: {
                largeEntries: [{
                    action: "string",
                    lcRegexes: ["string"],
                    name: 0,
                }],
            },
            regular: {
                regularEntries: [{
                    action: "string",
                    communities: ["string"],
                    name: 0,
                }],
            },
        },
    });
    
    type: scm:RouteCommunityList
    properties:
        description: string
        device: string
        folder: string
        name: string
        snippet: string
        type:
            extended:
                extendedEntries:
                    - action: string
                      lcRegexes:
                        - string
                      name: 0
            large:
                largeEntries:
                    - action: string
                      lcRegexes:
                        - string
                      name: 0
            regular:
                regularEntries:
                    - action: string
                      communities:
                        - string
                      name: 0
    

    RouteCommunityList 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 RouteCommunityList 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
    Name string
    Route community list name
    Snippet string
    The snippet in which the resource is defined
    Type RouteCommunityListType
    Type
    Description string
    Description
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Name string
    Route community list name
    Snippet string
    The snippet in which the resource is defined
    Type RouteCommunityListTypeArgs
    Type
    description string
    Description
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    name string
    Route community list name
    snippet string
    The snippet in which the resource is defined
    type object
    Type
    description String
    Description
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    name String
    Route community list name
    snippet String
    The snippet in which the resource is defined
    type RouteCommunityListType
    Type
    description string
    Description
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    name string
    Route community list name
    snippet string
    The snippet in which the resource is defined
    type RouteCommunityListType
    Type
    description str
    Description
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    name str
    Route community list name
    snippet str
    The snippet in which the resource is defined
    type RouteCommunityListTypeArgs
    Type
    description String
    Description
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    name String
    Route community list name
    snippet String
    The snippet in which the resource is defined
    type Property Map
    Type

    Outputs

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

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

    Look up Existing RouteCommunityList Resource

    Get an existing RouteCommunityList 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?: RouteCommunityListState, opts?: CustomResourceOptions): RouteCommunityList
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            device: Optional[str] = None,
            folder: Optional[str] = None,
            name: Optional[str] = None,
            snippet: Optional[str] = None,
            tfid: Optional[str] = None,
            type: Optional[RouteCommunityListTypeArgs] = None) -> RouteCommunityList
    func GetRouteCommunityList(ctx *Context, name string, id IDInput, state *RouteCommunityListState, opts ...ResourceOption) (*RouteCommunityList, error)
    public static RouteCommunityList Get(string name, Input<string> id, RouteCommunityListState? state, CustomResourceOptions? opts = null)
    public static RouteCommunityList get(String name, Output<String> id, RouteCommunityListState state, CustomResourceOptions options)
    resources:  _:    type: scm:RouteCommunityList    get:      id: ${id}
    import {
      to = scm_route_community_list.example
      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
    Name string
    Route community list name
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    The Terraform ID.
    Type RouteCommunityListType
    Type
    Description string
    Description
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    Name string
    Route community list name
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    The Terraform ID.
    Type RouteCommunityListTypeArgs
    Type
    description string
    Description
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    name string
    Route community list name
    snippet string
    The snippet in which the resource is defined
    tfid string
    The Terraform ID.
    type object
    Type
    description String
    Description
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    name String
    Route community list name
    snippet String
    The snippet in which the resource is defined
    tfid String
    The Terraform ID.
    type RouteCommunityListType
    Type
    description string
    Description
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    name string
    Route community list name
    snippet string
    The snippet in which the resource is defined
    tfid string
    The Terraform ID.
    type RouteCommunityListType
    Type
    description str
    Description
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    name str
    Route community list name
    snippet str
    The snippet in which the resource is defined
    tfid str
    The Terraform ID.
    type RouteCommunityListTypeArgs
    Type
    description String
    Description
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    name String
    Route community list name
    snippet String
    The snippet in which the resource is defined
    tfid String
    The Terraform ID.
    type Property Map
    Type

    Supporting Types

    RouteCommunityListType, RouteCommunityListTypeArgs

    RouteCommunityListTypeExtended, RouteCommunityListTypeExtendedArgs

    extended_entries list(object)
    Extended community lists
    extendedEntries List<Property Map>
    Extended community lists

    RouteCommunityListTypeExtendedExtendedEntry, RouteCommunityListTypeExtendedExtendedEntryArgs

    Action string
    Action. Possible values are deny and permit.
    LcRegexes List<string>
    Extended community regular expression
    Name int
    Sequence number
    Action string
    Action. Possible values are deny and permit.
    LcRegexes []string
    Extended community regular expression
    Name int
    Sequence number
    action string
    Action. Possible values are deny and permit.
    lc_regexes list(string)
    Extended community regular expression
    name number
    Sequence number
    action String
    Action. Possible values are deny and permit.
    lcRegexes List<String>
    Extended community regular expression
    name Integer
    Sequence number
    action string
    Action. Possible values are deny and permit.
    lcRegexes string[]
    Extended community regular expression
    name number
    Sequence number
    action str
    Action. Possible values are deny and permit.
    lc_regexes Sequence[str]
    Extended community regular expression
    name int
    Sequence number
    action String
    Action. Possible values are deny and permit.
    lcRegexes List<String>
    Extended community regular expression
    name Number
    Sequence number

    RouteCommunityListTypeLarge, RouteCommunityListTypeLargeArgs

    large_entries list(object)
    Large community lists
    largeEntries List<Property Map>
    Large community lists

    RouteCommunityListTypeLargeLargeEntry, RouteCommunityListTypeLargeLargeEntryArgs

    Action string
    Action. Possible values are deny and permit.
    LcRegexes List<string>
    Large community regular expression
    Name int
    Sequence number
    Action string
    Action. Possible values are deny and permit.
    LcRegexes []string
    Large community regular expression
    Name int
    Sequence number
    action string
    Action. Possible values are deny and permit.
    lc_regexes list(string)
    Large community regular expression
    name number
    Sequence number
    action String
    Action. Possible values are deny and permit.
    lcRegexes List<String>
    Large community regular expression
    name Integer
    Sequence number
    action string
    Action. Possible values are deny and permit.
    lcRegexes string[]
    Large community regular expression
    name number
    Sequence number
    action str
    Action. Possible values are deny and permit.
    lc_regexes Sequence[str]
    Large community regular expression
    name int
    Sequence number
    action String
    Action. Possible values are deny and permit.
    lcRegexes List<String>
    Large community regular expression
    name Number
    Sequence number

    RouteCommunityListTypeRegular, RouteCommunityListTypeRegularArgs

    regular_entries list(object)
    Regular community lists
    regularEntries List<Property Map>
    Regular community lists

    RouteCommunityListTypeRegularRegularEntry, RouteCommunityListTypeRegularRegularEntryArgs

    Action string
    Action. Possible values are deny and permit.
    Communities List<string>
    Communities
    Name int
    Sequence number
    Action string
    Action. Possible values are deny and permit.
    Communities []string
    Communities
    Name int
    Sequence number
    action string
    Action. Possible values are deny and permit.
    communities list(string)
    Communities
    name number
    Sequence number
    action String
    Action. Possible values are deny and permit.
    communities List<String>
    Communities
    name Integer
    Sequence number
    action string
    Action. Possible values are deny and permit.
    communities string[]
    Communities
    name number
    Sequence number
    action str
    Action. Possible values are deny and permit.
    communities Sequence[str]
    Communities
    name int
    Sequence number
    action String
    Action. Possible values are deny and permit.
    communities List<String>
    Communities
    name Number
    Sequence number

    Import

    The following command can be used to import a resource not managed by Terraform:

    $ pulumi import scm:index/routeCommunityList:RouteCommunityList example folder:::id
    

    or

    $ pulumi import scm:index/routeCommunityList:RouteCommunityList example :snippet::id
    

    or

    $ pulumi import scm:index/routeCommunityList:RouteCommunityList example ::device:id
    

    Note: Please provide just one of folder, snippet, or device for the import command.

    To learn more about importing existing cloud resources, see Importing resources.

    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
    Viewing docs for Strata Cloud Manager v1.2.1
    published on Friday, Oct 16, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial