1. Packages
  2. Selectel Provider
  3. API Docs
  4. GlobalRouterRouterV1
selectel 7.5.2 published on Saturday, Jan 31, 2026 by selectel
selectel logo
selectel 7.5.2 published on Saturday, Jan 31, 2026 by selectel

    Creates and manages a global router in the Global Router service using public API v1. For more information about global routers, see the official Selectel documentation.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as selectel from "@pulumi/selectel";
    
    const globalRouter1 = new selectel.GlobalRouterRouterV1("global_router_1", {
        name: "test_router",
        tags: [
            "blue",
            "red",
        ],
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    global_router1 = selectel.GlobalRouterRouterV1("global_router_1",
        name="test_router",
        tags=[
            "blue",
            "red",
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v7/selectel"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := selectel.NewGlobalRouterRouterV1(ctx, "global_router_1", &selectel.GlobalRouterRouterV1Args{
    			Name: pulumi.String("test_router"),
    			Tags: pulumi.StringArray{
    				pulumi.String("blue"),
    				pulumi.String("red"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Selectel = Pulumi.Selectel;
    
    return await Deployment.RunAsync(() => 
    {
        var globalRouter1 = new Selectel.GlobalRouterRouterV1("global_router_1", new()
        {
            Name = "test_router",
            Tags = new[]
            {
                "blue",
                "red",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.selectel.GlobalRouterRouterV1;
    import com.pulumi.selectel.GlobalRouterRouterV1Args;
    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) {
            var globalRouter1 = new GlobalRouterRouterV1("globalRouter1", GlobalRouterRouterV1Args.builder()
                .name("test_router")
                .tags(            
                    "blue",
                    "red")
                .build());
    
        }
    }
    
    resources:
      globalRouter1:
        type: selectel:GlobalRouterRouterV1
        name: global_router_1
        properties:
          name: test_router
          tags:
            - blue
            - red
    

    Create GlobalRouterRouterV1 Resource

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

    Constructor syntax

    new GlobalRouterRouterV1(name: string, args?: GlobalRouterRouterV1Args, opts?: CustomResourceOptions);
    @overload
    def GlobalRouterRouterV1(resource_name: str,
                             args: Optional[GlobalRouterRouterV1Args] = None,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def GlobalRouterRouterV1(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             global_router_router_v1_id: Optional[str] = None,
                             name: Optional[str] = None,
                             tags: Optional[Sequence[str]] = None,
                             timeouts: Optional[GlobalRouterRouterV1TimeoutsArgs] = None)
    func NewGlobalRouterRouterV1(ctx *Context, name string, args *GlobalRouterRouterV1Args, opts ...ResourceOption) (*GlobalRouterRouterV1, error)
    public GlobalRouterRouterV1(string name, GlobalRouterRouterV1Args? args = null, CustomResourceOptions? opts = null)
    public GlobalRouterRouterV1(String name, GlobalRouterRouterV1Args args)
    public GlobalRouterRouterV1(String name, GlobalRouterRouterV1Args args, CustomResourceOptions options)
    
    type: selectel:GlobalRouterRouterV1
    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 GlobalRouterRouterV1Args
    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 GlobalRouterRouterV1Args
    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 GlobalRouterRouterV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GlobalRouterRouterV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GlobalRouterRouterV1Args
    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 globalRouterRouterV1Resource = new Selectel.GlobalRouterRouterV1("globalRouterRouterV1Resource", new()
    {
        GlobalRouterRouterV1Id = "string",
        Name = "string",
        Tags = new[]
        {
            "string",
        },
        Timeouts = new Selectel.Inputs.GlobalRouterRouterV1TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := selectel.NewGlobalRouterRouterV1(ctx, "globalRouterRouterV1Resource", &selectel.GlobalRouterRouterV1Args{
    	GlobalRouterRouterV1Id: pulumi.String("string"),
    	Name:                   pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Timeouts: &selectel.GlobalRouterRouterV1TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var globalRouterRouterV1Resource = new GlobalRouterRouterV1("globalRouterRouterV1Resource", GlobalRouterRouterV1Args.builder()
        .globalRouterRouterV1Id("string")
        .name("string")
        .tags("string")
        .timeouts(GlobalRouterRouterV1TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    global_router_router_v1_resource = selectel.GlobalRouterRouterV1("globalRouterRouterV1Resource",
        global_router_router_v1_id="string",
        name="string",
        tags=["string"],
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const globalRouterRouterV1Resource = new selectel.GlobalRouterRouterV1("globalRouterRouterV1Resource", {
        globalRouterRouterV1Id: "string",
        name: "string",
        tags: ["string"],
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: selectel:GlobalRouterRouterV1
    properties:
        globalRouterRouterV1Id: string
        name: string
        tags:
            - string
        timeouts:
            create: string
            delete: string
            update: string
    

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

    GlobalRouterRouterV1Id string
    Unique identifier of the router.
    Name string
    Name of the router.
    Tags List<string>
    List of router tags.
    Timeouts GlobalRouterRouterV1Timeouts
    GlobalRouterRouterV1Id string
    Unique identifier of the router.
    Name string
    Name of the router.
    Tags []string
    List of router tags.
    Timeouts GlobalRouterRouterV1TimeoutsArgs
    globalRouterRouterV1Id String
    Unique identifier of the router.
    name String
    Name of the router.
    tags List<String>
    List of router tags.
    timeouts GlobalRouterRouterV1Timeouts
    globalRouterRouterV1Id string
    Unique identifier of the router.
    name string
    Name of the router.
    tags string[]
    List of router tags.
    timeouts GlobalRouterRouterV1Timeouts
    global_router_router_v1_id str
    Unique identifier of the router.
    name str
    Name of the router.
    tags Sequence[str]
    List of router tags.
    timeouts GlobalRouterRouterV1TimeoutsArgs
    globalRouterRouterV1Id String
    Unique identifier of the router.
    name String
    Name of the router.
    tags List<String>
    List of router tags.
    timeouts Property Map

    Outputs

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

    AccountId string
    Selectel account ID.
    CreatedAt string
    Time when the router was created.
    Enabled bool
    Boolean flag, indicates whether the router is active. False means that the router is temporarily under maintenance and its connected networks and subnets cannot be updated or deleted, and new networks and subnets cannot be connected.
    Id string
    The provider-assigned unique ID for this managed resource.
    LeakUuid string
    Unique identifier for a group of routers united by a single logical entity.
    NetopsRouterId string
    Option for internal usage.
    PrefixPoolId string
    Unique identifier of a prefix pool. Can be used to request a list of allowed subnet prefixes that can be connected to the router.
    ProjectId string
    Unique identifier of the associated project.
    Status string
    Router status. Learn more about router statuses.
    UpdatedAt string
    Time when the router was updated.
    VpnId double
    Option for internal usage.
    AccountId string
    Selectel account ID.
    CreatedAt string
    Time when the router was created.
    Enabled bool
    Boolean flag, indicates whether the router is active. False means that the router is temporarily under maintenance and its connected networks and subnets cannot be updated or deleted, and new networks and subnets cannot be connected.
    Id string
    The provider-assigned unique ID for this managed resource.
    LeakUuid string
    Unique identifier for a group of routers united by a single logical entity.
    NetopsRouterId string
    Option for internal usage.
    PrefixPoolId string
    Unique identifier of a prefix pool. Can be used to request a list of allowed subnet prefixes that can be connected to the router.
    ProjectId string
    Unique identifier of the associated project.
    Status string
    Router status. Learn more about router statuses.
    UpdatedAt string
    Time when the router was updated.
    VpnId float64
    Option for internal usage.
    accountId String
    Selectel account ID.
    createdAt String
    Time when the router was created.
    enabled Boolean
    Boolean flag, indicates whether the router is active. False means that the router is temporarily under maintenance and its connected networks and subnets cannot be updated or deleted, and new networks and subnets cannot be connected.
    id String
    The provider-assigned unique ID for this managed resource.
    leakUuid String
    Unique identifier for a group of routers united by a single logical entity.
    netopsRouterId String
    Option for internal usage.
    prefixPoolId String
    Unique identifier of a prefix pool. Can be used to request a list of allowed subnet prefixes that can be connected to the router.
    projectId String
    Unique identifier of the associated project.
    status String
    Router status. Learn more about router statuses.
    updatedAt String
    Time when the router was updated.
    vpnId Double
    Option for internal usage.
    accountId string
    Selectel account ID.
    createdAt string
    Time when the router was created.
    enabled boolean
    Boolean flag, indicates whether the router is active. False means that the router is temporarily under maintenance and its connected networks and subnets cannot be updated or deleted, and new networks and subnets cannot be connected.
    id string
    The provider-assigned unique ID for this managed resource.
    leakUuid string
    Unique identifier for a group of routers united by a single logical entity.
    netopsRouterId string
    Option for internal usage.
    prefixPoolId string
    Unique identifier of a prefix pool. Can be used to request a list of allowed subnet prefixes that can be connected to the router.
    projectId string
    Unique identifier of the associated project.
    status string
    Router status. Learn more about router statuses.
    updatedAt string
    Time when the router was updated.
    vpnId number
    Option for internal usage.
    account_id str
    Selectel account ID.
    created_at str
    Time when the router was created.
    enabled bool
    Boolean flag, indicates whether the router is active. False means that the router is temporarily under maintenance and its connected networks and subnets cannot be updated or deleted, and new networks and subnets cannot be connected.
    id str
    The provider-assigned unique ID for this managed resource.
    leak_uuid str
    Unique identifier for a group of routers united by a single logical entity.
    netops_router_id str
    Option for internal usage.
    prefix_pool_id str
    Unique identifier of a prefix pool. Can be used to request a list of allowed subnet prefixes that can be connected to the router.
    project_id str
    Unique identifier of the associated project.
    status str
    Router status. Learn more about router statuses.
    updated_at str
    Time when the router was updated.
    vpn_id float
    Option for internal usage.
    accountId String
    Selectel account ID.
    createdAt String
    Time when the router was created.
    enabled Boolean
    Boolean flag, indicates whether the router is active. False means that the router is temporarily under maintenance and its connected networks and subnets cannot be updated or deleted, and new networks and subnets cannot be connected.
    id String
    The provider-assigned unique ID for this managed resource.
    leakUuid String
    Unique identifier for a group of routers united by a single logical entity.
    netopsRouterId String
    Option for internal usage.
    prefixPoolId String
    Unique identifier of a prefix pool. Can be used to request a list of allowed subnet prefixes that can be connected to the router.
    projectId String
    Unique identifier of the associated project.
    status String
    Router status. Learn more about router statuses.
    updatedAt String
    Time when the router was updated.
    vpnId Number
    Option for internal usage.

    Look up Existing GlobalRouterRouterV1 Resource

    Get an existing GlobalRouterRouterV1 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?: GlobalRouterRouterV1State, opts?: CustomResourceOptions): GlobalRouterRouterV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            created_at: Optional[str] = None,
            enabled: Optional[bool] = None,
            global_router_router_v1_id: Optional[str] = None,
            leak_uuid: Optional[str] = None,
            name: Optional[str] = None,
            netops_router_id: Optional[str] = None,
            prefix_pool_id: Optional[str] = None,
            project_id: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            timeouts: Optional[GlobalRouterRouterV1TimeoutsArgs] = None,
            updated_at: Optional[str] = None,
            vpn_id: Optional[float] = None) -> GlobalRouterRouterV1
    func GetGlobalRouterRouterV1(ctx *Context, name string, id IDInput, state *GlobalRouterRouterV1State, opts ...ResourceOption) (*GlobalRouterRouterV1, error)
    public static GlobalRouterRouterV1 Get(string name, Input<string> id, GlobalRouterRouterV1State? state, CustomResourceOptions? opts = null)
    public static GlobalRouterRouterV1 get(String name, Output<String> id, GlobalRouterRouterV1State state, CustomResourceOptions options)
    resources:  _:    type: selectel:GlobalRouterRouterV1    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:
    AccountId string
    Selectel account ID.
    CreatedAt string
    Time when the router was created.
    Enabled bool
    Boolean flag, indicates whether the router is active. False means that the router is temporarily under maintenance and its connected networks and subnets cannot be updated or deleted, and new networks and subnets cannot be connected.
    GlobalRouterRouterV1Id string
    Unique identifier of the router.
    LeakUuid string
    Unique identifier for a group of routers united by a single logical entity.
    Name string
    Name of the router.
    NetopsRouterId string
    Option for internal usage.
    PrefixPoolId string
    Unique identifier of a prefix pool. Can be used to request a list of allowed subnet prefixes that can be connected to the router.
    ProjectId string
    Unique identifier of the associated project.
    Status string
    Router status. Learn more about router statuses.
    Tags List<string>
    List of router tags.
    Timeouts GlobalRouterRouterV1Timeouts
    UpdatedAt string
    Time when the router was updated.
    VpnId double
    Option for internal usage.
    AccountId string
    Selectel account ID.
    CreatedAt string
    Time when the router was created.
    Enabled bool
    Boolean flag, indicates whether the router is active. False means that the router is temporarily under maintenance and its connected networks and subnets cannot be updated or deleted, and new networks and subnets cannot be connected.
    GlobalRouterRouterV1Id string
    Unique identifier of the router.
    LeakUuid string
    Unique identifier for a group of routers united by a single logical entity.
    Name string
    Name of the router.
    NetopsRouterId string
    Option for internal usage.
    PrefixPoolId string
    Unique identifier of a prefix pool. Can be used to request a list of allowed subnet prefixes that can be connected to the router.
    ProjectId string
    Unique identifier of the associated project.
    Status string
    Router status. Learn more about router statuses.
    Tags []string
    List of router tags.
    Timeouts GlobalRouterRouterV1TimeoutsArgs
    UpdatedAt string
    Time when the router was updated.
    VpnId float64
    Option for internal usage.
    accountId String
    Selectel account ID.
    createdAt String
    Time when the router was created.
    enabled Boolean
    Boolean flag, indicates whether the router is active. False means that the router is temporarily under maintenance and its connected networks and subnets cannot be updated or deleted, and new networks and subnets cannot be connected.
    globalRouterRouterV1Id String
    Unique identifier of the router.
    leakUuid String
    Unique identifier for a group of routers united by a single logical entity.
    name String
    Name of the router.
    netopsRouterId String
    Option for internal usage.
    prefixPoolId String
    Unique identifier of a prefix pool. Can be used to request a list of allowed subnet prefixes that can be connected to the router.
    projectId String
    Unique identifier of the associated project.
    status String
    Router status. Learn more about router statuses.
    tags List<String>
    List of router tags.
    timeouts GlobalRouterRouterV1Timeouts
    updatedAt String
    Time when the router was updated.
    vpnId Double
    Option for internal usage.
    accountId string
    Selectel account ID.
    createdAt string
    Time when the router was created.
    enabled boolean
    Boolean flag, indicates whether the router is active. False means that the router is temporarily under maintenance and its connected networks and subnets cannot be updated or deleted, and new networks and subnets cannot be connected.
    globalRouterRouterV1Id string
    Unique identifier of the router.
    leakUuid string
    Unique identifier for a group of routers united by a single logical entity.
    name string
    Name of the router.
    netopsRouterId string
    Option for internal usage.
    prefixPoolId string
    Unique identifier of a prefix pool. Can be used to request a list of allowed subnet prefixes that can be connected to the router.
    projectId string
    Unique identifier of the associated project.
    status string
    Router status. Learn more about router statuses.
    tags string[]
    List of router tags.
    timeouts GlobalRouterRouterV1Timeouts
    updatedAt string
    Time when the router was updated.
    vpnId number
    Option for internal usage.
    account_id str
    Selectel account ID.
    created_at str
    Time when the router was created.
    enabled bool
    Boolean flag, indicates whether the router is active. False means that the router is temporarily under maintenance and its connected networks and subnets cannot be updated or deleted, and new networks and subnets cannot be connected.
    global_router_router_v1_id str
    Unique identifier of the router.
    leak_uuid str
    Unique identifier for a group of routers united by a single logical entity.
    name str
    Name of the router.
    netops_router_id str
    Option for internal usage.
    prefix_pool_id str
    Unique identifier of a prefix pool. Can be used to request a list of allowed subnet prefixes that can be connected to the router.
    project_id str
    Unique identifier of the associated project.
    status str
    Router status. Learn more about router statuses.
    tags Sequence[str]
    List of router tags.
    timeouts GlobalRouterRouterV1TimeoutsArgs
    updated_at str
    Time when the router was updated.
    vpn_id float
    Option for internal usage.
    accountId String
    Selectel account ID.
    createdAt String
    Time when the router was created.
    enabled Boolean
    Boolean flag, indicates whether the router is active. False means that the router is temporarily under maintenance and its connected networks and subnets cannot be updated or deleted, and new networks and subnets cannot be connected.
    globalRouterRouterV1Id String
    Unique identifier of the router.
    leakUuid String
    Unique identifier for a group of routers united by a single logical entity.
    name String
    Name of the router.
    netopsRouterId String
    Option for internal usage.
    prefixPoolId String
    Unique identifier of a prefix pool. Can be used to request a list of allowed subnet prefixes that can be connected to the router.
    projectId String
    Unique identifier of the associated project.
    status String
    Router status. Learn more about router statuses.
    tags List<String>
    List of router tags.
    timeouts Property Map
    updatedAt String
    Time when the router was updated.
    vpnId Number
    Option for internal usage.

    Supporting Types

    GlobalRouterRouterV1Timeouts, GlobalRouterRouterV1TimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Package Details

    Repository
    selectel selectel/terraform-provider-selectel
    License
    Notes
    This Pulumi package is based on the selectel Terraform Provider.
    selectel logo
    selectel 7.5.2 published on Saturday, Jan 31, 2026 by selectel
      Meet Neo: Your AI Platform Teammate