1. Packages
  2. Selectel Provider
  3. API Docs
  4. GlobalRouterVpcSubnetV1
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 subnet that connects an existing cloud platform private subnet to a global router in the Global Router service using public API v1. To create a cloud platform subnet, use the openstack_networking_subnet_v2 resource.

    For more information about cloud platform private networks and subnets, see the official Selectel documentation. 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 globalRouterVpcSubnet1 = new selectel.GlobalRouterVpcSubnetV1("global_router_vpc_subnet_1", {
        networkId: globalRouterVpcNetwork1.id,
        osSubnetId: subnet1.id,
        cidr: "10.10.10.0/24",
        gateway: "10.10.10.13",
        serviceAddresses: [
            "10.10.10.253",
            "10.10.10.254",
        ],
        name: "my_super_vpc_subnet",
        tags: [
            "blue",
            "red",
        ],
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    global_router_vpc_subnet1 = selectel.GlobalRouterVpcSubnetV1("global_router_vpc_subnet_1",
        network_id=global_router_vpc_network1["id"],
        os_subnet_id=subnet1["id"],
        cidr="10.10.10.0/24",
        gateway="10.10.10.13",
        service_addresses=[
            "10.10.10.253",
            "10.10.10.254",
        ],
        name="my_super_vpc_subnet",
        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.NewGlobalRouterVpcSubnetV1(ctx, "global_router_vpc_subnet_1", &selectel.GlobalRouterVpcSubnetV1Args{
    			NetworkId:  pulumi.Any(globalRouterVpcNetwork1.Id),
    			OsSubnetId: pulumi.Any(subnet1.Id),
    			Cidr:       pulumi.String("10.10.10.0/24"),
    			Gateway:    pulumi.String("10.10.10.13"),
    			ServiceAddresses: pulumi.StringArray{
    				pulumi.String("10.10.10.253"),
    				pulumi.String("10.10.10.254"),
    			},
    			Name: pulumi.String("my_super_vpc_subnet"),
    			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 globalRouterVpcSubnet1 = new Selectel.GlobalRouterVpcSubnetV1("global_router_vpc_subnet_1", new()
        {
            NetworkId = globalRouterVpcNetwork1.Id,
            OsSubnetId = subnet1.Id,
            Cidr = "10.10.10.0/24",
            Gateway = "10.10.10.13",
            ServiceAddresses = new[]
            {
                "10.10.10.253",
                "10.10.10.254",
            },
            Name = "my_super_vpc_subnet",
            Tags = new[]
            {
                "blue",
                "red",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.selectel.GlobalRouterVpcSubnetV1;
    import com.pulumi.selectel.GlobalRouterVpcSubnetV1Args;
    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 globalRouterVpcSubnet1 = new GlobalRouterVpcSubnetV1("globalRouterVpcSubnet1", GlobalRouterVpcSubnetV1Args.builder()
                .networkId(globalRouterVpcNetwork1.id())
                .osSubnetId(subnet1.id())
                .cidr("10.10.10.0/24")
                .gateway("10.10.10.13")
                .serviceAddresses(            
                    "10.10.10.253",
                    "10.10.10.254")
                .name("my_super_vpc_subnet")
                .tags(            
                    "blue",
                    "red")
                .build());
    
        }
    }
    
    resources:
      globalRouterVpcSubnet1:
        type: selectel:GlobalRouterVpcSubnetV1
        name: global_router_vpc_subnet_1
        properties:
          networkId: ${globalRouterVpcNetwork1.id}
          osSubnetId: ${subnet1.id}
          cidr: 10.10.10.0/24
          gateway: 10.10.10.13
          serviceAddresses:
            - 10.10.10.253
            - 10.10.10.254
          name: my_super_vpc_subnet
          tags:
            - blue
            - red
    

    Create GlobalRouterVpcSubnetV1 Resource

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

    Constructor syntax

    new GlobalRouterVpcSubnetV1(name: string, args: GlobalRouterVpcSubnetV1Args, opts?: CustomResourceOptions);
    @overload
    def GlobalRouterVpcSubnetV1(resource_name: str,
                                args: GlobalRouterVpcSubnetV1Args,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def GlobalRouterVpcSubnetV1(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                cidr: Optional[str] = None,
                                network_id: Optional[str] = None,
                                os_subnet_id: Optional[str] = None,
                                gateway: Optional[str] = None,
                                global_router_vpc_subnet_v1_id: Optional[str] = None,
                                name: Optional[str] = None,
                                service_addresses: Optional[Sequence[str]] = None,
                                tags: Optional[Sequence[str]] = None,
                                timeouts: Optional[GlobalRouterVpcSubnetV1TimeoutsArgs] = None)
    func NewGlobalRouterVpcSubnetV1(ctx *Context, name string, args GlobalRouterVpcSubnetV1Args, opts ...ResourceOption) (*GlobalRouterVpcSubnetV1, error)
    public GlobalRouterVpcSubnetV1(string name, GlobalRouterVpcSubnetV1Args args, CustomResourceOptions? opts = null)
    public GlobalRouterVpcSubnetV1(String name, GlobalRouterVpcSubnetV1Args args)
    public GlobalRouterVpcSubnetV1(String name, GlobalRouterVpcSubnetV1Args args, CustomResourceOptions options)
    
    type: selectel:GlobalRouterVpcSubnetV1
    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 GlobalRouterVpcSubnetV1Args
    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 GlobalRouterVpcSubnetV1Args
    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 GlobalRouterVpcSubnetV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GlobalRouterVpcSubnetV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GlobalRouterVpcSubnetV1Args
    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 globalRouterVpcSubnetV1Resource = new Selectel.GlobalRouterVpcSubnetV1("globalRouterVpcSubnetV1Resource", new()
    {
        Cidr = "string",
        NetworkId = "string",
        OsSubnetId = "string",
        Gateway = "string",
        GlobalRouterVpcSubnetV1Id = "string",
        Name = "string",
        ServiceAddresses = new[]
        {
            "string",
        },
        Tags = new[]
        {
            "string",
        },
        Timeouts = new Selectel.Inputs.GlobalRouterVpcSubnetV1TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := selectel.NewGlobalRouterVpcSubnetV1(ctx, "globalRouterVpcSubnetV1Resource", &selectel.GlobalRouterVpcSubnetV1Args{
    	Cidr:                      pulumi.String("string"),
    	NetworkId:                 pulumi.String("string"),
    	OsSubnetId:                pulumi.String("string"),
    	Gateway:                   pulumi.String("string"),
    	GlobalRouterVpcSubnetV1Id: pulumi.String("string"),
    	Name:                      pulumi.String("string"),
    	ServiceAddresses: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Timeouts: &selectel.GlobalRouterVpcSubnetV1TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var globalRouterVpcSubnetV1Resource = new GlobalRouterVpcSubnetV1("globalRouterVpcSubnetV1Resource", GlobalRouterVpcSubnetV1Args.builder()
        .cidr("string")
        .networkId("string")
        .osSubnetId("string")
        .gateway("string")
        .globalRouterVpcSubnetV1Id("string")
        .name("string")
        .serviceAddresses("string")
        .tags("string")
        .timeouts(GlobalRouterVpcSubnetV1TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    global_router_vpc_subnet_v1_resource = selectel.GlobalRouterVpcSubnetV1("globalRouterVpcSubnetV1Resource",
        cidr="string",
        network_id="string",
        os_subnet_id="string",
        gateway="string",
        global_router_vpc_subnet_v1_id="string",
        name="string",
        service_addresses=["string"],
        tags=["string"],
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const globalRouterVpcSubnetV1Resource = new selectel.GlobalRouterVpcSubnetV1("globalRouterVpcSubnetV1Resource", {
        cidr: "string",
        networkId: "string",
        osSubnetId: "string",
        gateway: "string",
        globalRouterVpcSubnetV1Id: "string",
        name: "string",
        serviceAddresses: ["string"],
        tags: ["string"],
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: selectel:GlobalRouterVpcSubnetV1
    properties:
        cidr: string
        gateway: string
        globalRouterVpcSubnetV1Id: string
        name: string
        networkId: string
        osSubnetId: string
        serviceAddresses:
            - string
        tags:
            - string
        timeouts:
            create: string
            delete: string
            update: string
    

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

    Cidr string
    Subnet IP address range in CIDR notation. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    NetworkId string
    Unique identifier of the global router network that was created for the cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    OsSubnetId string
    Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    Gateway string
    Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    GlobalRouterVpcSubnetV1Id string
    Unique identifier of the global router subnet.
    Name string
    Name of the global router subnet. Does not have to match the name of the cloud platform subnet.
    ServiceAddresses List<string>
    Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    Tags List<string>
    List of global router subnet tags.
    Timeouts GlobalRouterVpcSubnetV1Timeouts
    Cidr string
    Subnet IP address range in CIDR notation. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    NetworkId string
    Unique identifier of the global router network that was created for the cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    OsSubnetId string
    Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    Gateway string
    Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    GlobalRouterVpcSubnetV1Id string
    Unique identifier of the global router subnet.
    Name string
    Name of the global router subnet. Does not have to match the name of the cloud platform subnet.
    ServiceAddresses []string
    Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    Tags []string
    List of global router subnet tags.
    Timeouts GlobalRouterVpcSubnetV1TimeoutsArgs
    cidr String
    Subnet IP address range in CIDR notation. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    networkId String
    Unique identifier of the global router network that was created for the cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    osSubnetId String
    Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    gateway String
    Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    globalRouterVpcSubnetV1Id String
    Unique identifier of the global router subnet.
    name String
    Name of the global router subnet. Does not have to match the name of the cloud platform subnet.
    serviceAddresses List<String>
    Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    tags List<String>
    List of global router subnet tags.
    timeouts GlobalRouterVpcSubnetV1Timeouts
    cidr string
    Subnet IP address range in CIDR notation. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    networkId string
    Unique identifier of the global router network that was created for the cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    osSubnetId string
    Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    gateway string
    Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    globalRouterVpcSubnetV1Id string
    Unique identifier of the global router subnet.
    name string
    Name of the global router subnet. Does not have to match the name of the cloud platform subnet.
    serviceAddresses string[]
    Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    tags string[]
    List of global router subnet tags.
    timeouts GlobalRouterVpcSubnetV1Timeouts
    cidr str
    Subnet IP address range in CIDR notation. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    network_id str
    Unique identifier of the global router network that was created for the cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    os_subnet_id str
    Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    gateway str
    Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    global_router_vpc_subnet_v1_id str
    Unique identifier of the global router subnet.
    name str
    Name of the global router subnet. Does not have to match the name of the cloud platform subnet.
    service_addresses Sequence[str]
    Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    tags Sequence[str]
    List of global router subnet tags.
    timeouts GlobalRouterVpcSubnetV1TimeoutsArgs
    cidr String
    Subnet IP address range in CIDR notation. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    networkId String
    Unique identifier of the global router network that was created for the cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    osSubnetId String
    Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    gateway String
    Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    globalRouterVpcSubnetV1Id String
    Unique identifier of the global router subnet.
    name String
    Name of the global router subnet. Does not have to match the name of the cloud platform subnet.
    serviceAddresses List<String>
    Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    tags List<String>
    List of global router subnet tags.
    timeouts Property Map

    Outputs

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

    AccountId string
    Selectel account ID.
    CreatedAt string
    Time when the global router subnet was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    NetopsSubnetId string
    Option for internal usage.
    ProjectId string
    Unique identifier of the associated project.
    Status string
    Global router subnet status.
    SvSubnetId string
    Option for internal usage.
    UpdatedAt string
    Time when the global router subnet was updated.
    AccountId string
    Selectel account ID.
    CreatedAt string
    Time when the global router subnet was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    NetopsSubnetId string
    Option for internal usage.
    ProjectId string
    Unique identifier of the associated project.
    Status string
    Global router subnet status.
    SvSubnetId string
    Option for internal usage.
    UpdatedAt string
    Time when the global router subnet was updated.
    accountId String
    Selectel account ID.
    createdAt String
    Time when the global router subnet was created.
    id String
    The provider-assigned unique ID for this managed resource.
    netopsSubnetId String
    Option for internal usage.
    projectId String
    Unique identifier of the associated project.
    status String
    Global router subnet status.
    svSubnetId String
    Option for internal usage.
    updatedAt String
    Time when the global router subnet was updated.
    accountId string
    Selectel account ID.
    createdAt string
    Time when the global router subnet was created.
    id string
    The provider-assigned unique ID for this managed resource.
    netopsSubnetId string
    Option for internal usage.
    projectId string
    Unique identifier of the associated project.
    status string
    Global router subnet status.
    svSubnetId string
    Option for internal usage.
    updatedAt string
    Time when the global router subnet was updated.
    account_id str
    Selectel account ID.
    created_at str
    Time when the global router subnet was created.
    id str
    The provider-assigned unique ID for this managed resource.
    netops_subnet_id str
    Option for internal usage.
    project_id str
    Unique identifier of the associated project.
    status str
    Global router subnet status.
    sv_subnet_id str
    Option for internal usage.
    updated_at str
    Time when the global router subnet was updated.
    accountId String
    Selectel account ID.
    createdAt String
    Time when the global router subnet was created.
    id String
    The provider-assigned unique ID for this managed resource.
    netopsSubnetId String
    Option for internal usage.
    projectId String
    Unique identifier of the associated project.
    status String
    Global router subnet status.
    svSubnetId String
    Option for internal usage.
    updatedAt String
    Time when the global router subnet was updated.

    Look up Existing GlobalRouterVpcSubnetV1 Resource

    Get an existing GlobalRouterVpcSubnetV1 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?: GlobalRouterVpcSubnetV1State, opts?: CustomResourceOptions): GlobalRouterVpcSubnetV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            cidr: Optional[str] = None,
            created_at: Optional[str] = None,
            gateway: Optional[str] = None,
            global_router_vpc_subnet_v1_id: Optional[str] = None,
            name: Optional[str] = None,
            netops_subnet_id: Optional[str] = None,
            network_id: Optional[str] = None,
            os_subnet_id: Optional[str] = None,
            project_id: Optional[str] = None,
            service_addresses: Optional[Sequence[str]] = None,
            status: Optional[str] = None,
            sv_subnet_id: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            timeouts: Optional[GlobalRouterVpcSubnetV1TimeoutsArgs] = None,
            updated_at: Optional[str] = None) -> GlobalRouterVpcSubnetV1
    func GetGlobalRouterVpcSubnetV1(ctx *Context, name string, id IDInput, state *GlobalRouterVpcSubnetV1State, opts ...ResourceOption) (*GlobalRouterVpcSubnetV1, error)
    public static GlobalRouterVpcSubnetV1 Get(string name, Input<string> id, GlobalRouterVpcSubnetV1State? state, CustomResourceOptions? opts = null)
    public static GlobalRouterVpcSubnetV1 get(String name, Output<String> id, GlobalRouterVpcSubnetV1State state, CustomResourceOptions options)
    resources:  _:    type: selectel:GlobalRouterVpcSubnetV1    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.
    Cidr string
    Subnet IP address range in CIDR notation. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    CreatedAt string
    Time when the global router subnet was created.
    Gateway string
    Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    GlobalRouterVpcSubnetV1Id string
    Unique identifier of the global router subnet.
    Name string
    Name of the global router subnet. Does not have to match the name of the cloud platform subnet.
    NetopsSubnetId string
    Option for internal usage.
    NetworkId string
    Unique identifier of the global router network that was created for the cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    OsSubnetId string
    Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    ProjectId string
    Unique identifier of the associated project.
    ServiceAddresses List<string>
    Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    Status string
    Global router subnet status.
    SvSubnetId string
    Option for internal usage.
    Tags List<string>
    List of global router subnet tags.
    Timeouts GlobalRouterVpcSubnetV1Timeouts
    UpdatedAt string
    Time when the global router subnet was updated.
    AccountId string
    Selectel account ID.
    Cidr string
    Subnet IP address range in CIDR notation. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    CreatedAt string
    Time when the global router subnet was created.
    Gateway string
    Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    GlobalRouterVpcSubnetV1Id string
    Unique identifier of the global router subnet.
    Name string
    Name of the global router subnet. Does not have to match the name of the cloud platform subnet.
    NetopsSubnetId string
    Option for internal usage.
    NetworkId string
    Unique identifier of the global router network that was created for the cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    OsSubnetId string
    Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    ProjectId string
    Unique identifier of the associated project.
    ServiceAddresses []string
    Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    Status string
    Global router subnet status.
    SvSubnetId string
    Option for internal usage.
    Tags []string
    List of global router subnet tags.
    Timeouts GlobalRouterVpcSubnetV1TimeoutsArgs
    UpdatedAt string
    Time when the global router subnet was updated.
    accountId String
    Selectel account ID.
    cidr String
    Subnet IP address range in CIDR notation. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    createdAt String
    Time when the global router subnet was created.
    gateway String
    Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    globalRouterVpcSubnetV1Id String
    Unique identifier of the global router subnet.
    name String
    Name of the global router subnet. Does not have to match the name of the cloud platform subnet.
    netopsSubnetId String
    Option for internal usage.
    networkId String
    Unique identifier of the global router network that was created for the cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    osSubnetId String
    Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    projectId String
    Unique identifier of the associated project.
    serviceAddresses List<String>
    Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    status String
    Global router subnet status.
    svSubnetId String
    Option for internal usage.
    tags List<String>
    List of global router subnet tags.
    timeouts GlobalRouterVpcSubnetV1Timeouts
    updatedAt String
    Time when the global router subnet was updated.
    accountId string
    Selectel account ID.
    cidr string
    Subnet IP address range in CIDR notation. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    createdAt string
    Time when the global router subnet was created.
    gateway string
    Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    globalRouterVpcSubnetV1Id string
    Unique identifier of the global router subnet.
    name string
    Name of the global router subnet. Does not have to match the name of the cloud platform subnet.
    netopsSubnetId string
    Option for internal usage.
    networkId string
    Unique identifier of the global router network that was created for the cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    osSubnetId string
    Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    projectId string
    Unique identifier of the associated project.
    serviceAddresses string[]
    Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    status string
    Global router subnet status.
    svSubnetId string
    Option for internal usage.
    tags string[]
    List of global router subnet tags.
    timeouts GlobalRouterVpcSubnetV1Timeouts
    updatedAt string
    Time when the global router subnet was updated.
    account_id str
    Selectel account ID.
    cidr str
    Subnet IP address range in CIDR notation. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    created_at str
    Time when the global router subnet was created.
    gateway str
    Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    global_router_vpc_subnet_v1_id str
    Unique identifier of the global router subnet.
    name str
    Name of the global router subnet. Does not have to match the name of the cloud platform subnet.
    netops_subnet_id str
    Option for internal usage.
    network_id str
    Unique identifier of the global router network that was created for the cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    os_subnet_id str
    Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    project_id str
    Unique identifier of the associated project.
    service_addresses Sequence[str]
    Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    status str
    Global router subnet status.
    sv_subnet_id str
    Option for internal usage.
    tags Sequence[str]
    List of global router subnet tags.
    timeouts GlobalRouterVpcSubnetV1TimeoutsArgs
    updated_at str
    Time when the global router subnet was updated.
    accountId String
    Selectel account ID.
    cidr String
    Subnet IP address range in CIDR notation. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    createdAt String
    Time when the global router subnet was created.
    gateway String
    Subnet IP address that will be used as gateway on the global router. This IP address must be available. If not specified, the first IP address in the subnet range will be used. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    globalRouterVpcSubnetV1Id String
    Unique identifier of the global router subnet.
    name String
    Name of the global router subnet. Does not have to match the name of the cloud platform subnet.
    netopsSubnetId String
    Option for internal usage.
    networkId String
    Unique identifier of the global router network that was created for the cloud platform network to which the subnet belongs. Retrieved from the selectel.GlobalRouterVpcNetworkV1 resource. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    osSubnetId String
    Unique identifier of the cloud platform subnet. Retrieved from the openstack_networking_subnet_v2 data source. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    projectId String
    Unique identifier of the associated project.
    serviceAddresses List<String>
    Two subnet IP addresses that will be reserved as service ones. These IP addresses must be available. If not specified, the last two IP addresses in subnet range will be reserved. Changing this deletes the global router subnet and connected static routes and recreates them with the new argument value.
    status String
    Global router subnet status.
    svSubnetId String
    Option for internal usage.
    tags List<String>
    List of global router subnet tags.
    timeouts Property Map
    updatedAt String
    Time when the global router subnet was updated.

    Supporting Types

    GlobalRouterVpcSubnetV1Timeouts, GlobalRouterVpcSubnetV1TimeoutsArgs

    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