Viewing docs for selectel 9.5.0
published on Friday, Oct 30, 2026 by selectel
published on Friday, Oct 30, 2026 by selectel
selectel
Viewing docs for selectel 9.5.0
published on Friday, Oct 30, 2026 by selectel
published on Friday, Oct 30, 2026 by selectel
Provides a subnet of a private network. For more information about private network subnets, see the official Selectel documentation.
If you are upgrading from a version earlier than 9.1.0, follow the upgrade guide to migrate your resources from the OpenStack provider.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as selectel from "@pulumi/selectel";
const subnet1 = selectel.getVpcNetworkSubnetV2({
projectId: project1.id,
region: "ru-6",
cidr: "192.168.199.0/24",
});
import pulumi
import pulumi_selectel as selectel
subnet1 = selectel.get_vpc_network_subnet_v2(project_id=project1["id"],
region="ru-6",
cidr="192.168.199.0/24")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v9/selectel"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := selectel.LookupVpcNetworkSubnetV2(ctx, &selectel.LookupVpcNetworkSubnetV2Args{
ProjectId: project1.Id,
Region: "ru-6",
Cidr: pulumi.StringRef("192.168.199.0/24"),
}, nil)
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 subnet1 = Selectel.GetVpcNetworkSubnetV2.Invoke(new()
{
ProjectId = project1.Id,
Region = "ru-6",
Cidr = "192.168.199.0/24",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.selectel.SelectelFunctions;
import com.pulumi.selectel.inputs.GetVpcNetworkSubnetV2Args;
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) {
final var subnet1 = SelectelFunctions.getVpcNetworkSubnetV2(GetVpcNetworkSubnetV2Args.builder()
.projectId(project1.id())
.region("ru-6")
.cidr("192.168.199.0/24")
.build());
}
}
variables:
subnet1:
fn::invoke:
function: selectel:getVpcNetworkSubnetV2
arguments:
projectId: ${project1.id}
region: ru-6
cidr: 192.168.199.0/24
Example coming soon!
Using getVpcNetworkSubnetV2
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVpcNetworkSubnetV2(args: GetVpcNetworkSubnetV2Args, opts?: InvokeOptions): Promise<GetVpcNetworkSubnetV2Result>
function getVpcNetworkSubnetV2Output(args: GetVpcNetworkSubnetV2OutputArgs, opts?: InvokeOutputOptions): Output<GetVpcNetworkSubnetV2Result>def get_vpc_network_subnet_v2(cidr: Optional[str] = None,
description: Optional[str] = None,
enable_dhcp: Optional[bool] = None,
gateway_ip: Optional[str] = None,
ip_version: Optional[float] = None,
ipv6_address_mode: Optional[str] = None,
ipv6_ra_mode: Optional[str] = None,
name: Optional[str] = None,
network_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
subnet_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcNetworkSubnetV2Result
def get_vpc_network_subnet_v2_output(cidr: pulumi.Input[Optional[str]] = None,
description: pulumi.Input[Optional[str]] = None,
enable_dhcp: pulumi.Input[Optional[bool]] = None,
gateway_ip: pulumi.Input[Optional[str]] = None,
ip_version: pulumi.Input[Optional[float]] = None,
ipv6_address_mode: pulumi.Input[Optional[str]] = None,
ipv6_ra_mode: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
network_id: pulumi.Input[Optional[str]] = None,
project_id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
subnet_id: pulumi.Input[Optional[str]] = None,
tags: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetVpcNetworkSubnetV2Result]func LookupVpcNetworkSubnetV2(ctx *Context, args *LookupVpcNetworkSubnetV2Args, opts ...InvokeOption) (*LookupVpcNetworkSubnetV2Result, error)
func LookupVpcNetworkSubnetV2Output(ctx *Context, args *LookupVpcNetworkSubnetV2OutputArgs, opts ...InvokeOption) LookupVpcNetworkSubnetV2ResultOutput> Note: This function is named LookupVpcNetworkSubnetV2 in the Go SDK.
public static class GetVpcNetworkSubnetV2
{
public static Task<GetVpcNetworkSubnetV2Result> InvokeAsync(GetVpcNetworkSubnetV2Args args, InvokeOptions? opts = null)
public static Output<GetVpcNetworkSubnetV2Result> Invoke(GetVpcNetworkSubnetV2InvokeArgs args, InvokeOptions? opts = null)
public static Output<GetVpcNetworkSubnetV2Result> Invoke(GetVpcNetworkSubnetV2InvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetVpcNetworkSubnetV2Result> getVpcNetworkSubnetV2(GetVpcNetworkSubnetV2Args args, InvokeOptions options)
public static Output<GetVpcNetworkSubnetV2Result> getVpcNetworkSubnetV2(GetVpcNetworkSubnetV2Args args, InvokeOptions options)
public static Output<GetVpcNetworkSubnetV2Result> getVpcNetworkSubnetV2(GetVpcNetworkSubnetV2Args args, InvokeOutputOptions options)
fn::invoke:
function: selectel:index/getVpcNetworkSubnetV2:getVpcNetworkSubnetV2
arguments:
# arguments dictionarydata "selectel_get_vpc_network_subnet_v2" "name" {
# arguments
}The following arguments are supported:
- Project
Id string - Unique identifier of the associated project, for example,
a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. - Region string
- Pool where the subnet is located, for example,
ru-6. Learn more about available pools in Product availability by location. - Cidr string
- CIDR of the subnet, for example
192.168.1.0/24. - Description string
- Description of the subnet.
- Enable
Dhcp bool - Specifies if DHCP is enabled for the subnet.
- Gateway
Ip string - Gateway of the subnet, for example
192.168.1.1. - Ip
Version double - Internet protocol version. Available versions are
4or6. - Ipv6Address
Mode string - IPv6 address assignment mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - Ipv6Ra
Mode string - IPv6 router advertisement mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - Name string
- Name of the subnet.
- Network
Id string - Unique identifier of the parent network. To get the network ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ copy the ID under the network name.
- Subnet
Id string - Unique identifier of the subnet. To get the subnet ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Subnets tab ⟶ copy the ID of the required subnet.
- List<string>
- Tags of the subnet.
- Project
Id string - Unique identifier of the associated project, for example,
a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. - Region string
- Pool where the subnet is located, for example,
ru-6. Learn more about available pools in Product availability by location. - Cidr string
- CIDR of the subnet, for example
192.168.1.0/24. - Description string
- Description of the subnet.
- Enable
Dhcp bool - Specifies if DHCP is enabled for the subnet.
- Gateway
Ip string - Gateway of the subnet, for example
192.168.1.1. - Ip
Version float64 - Internet protocol version. Available versions are
4or6. - Ipv6Address
Mode string - IPv6 address assignment mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - Ipv6Ra
Mode string - IPv6 router advertisement mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - Name string
- Name of the subnet.
- Network
Id string - Unique identifier of the parent network. To get the network ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ copy the ID under the network name.
- Subnet
Id string - Unique identifier of the subnet. To get the subnet ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Subnets tab ⟶ copy the ID of the required subnet.
- []string
- Tags of the subnet.
- project_
id string - Unique identifier of the associated project, for example,
a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. - region string
- Pool where the subnet is located, for example,
ru-6. Learn more about available pools in Product availability by location. - cidr string
- CIDR of the subnet, for example
192.168.1.0/24. - description string
- Description of the subnet.
- enable_
dhcp bool - Specifies if DHCP is enabled for the subnet.
- gateway_
ip string - Gateway of the subnet, for example
192.168.1.1. - ip_
version number - Internet protocol version. Available versions are
4or6. - ipv6_
address_ stringmode - IPv6 address assignment mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - ipv6_
ra_ stringmode - IPv6 router advertisement mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - name string
- Name of the subnet.
- network_
id string - Unique identifier of the parent network. To get the network ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ copy the ID under the network name.
- subnet_
id string - Unique identifier of the subnet. To get the subnet ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Subnets tab ⟶ copy the ID of the required subnet.
- list(string)
- Tags of the subnet.
- project
Id String - Unique identifier of the associated project, for example,
a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. - region String
- Pool where the subnet is located, for example,
ru-6. Learn more about available pools in Product availability by location. - cidr String
- CIDR of the subnet, for example
192.168.1.0/24. - description String
- Description of the subnet.
- enable
Dhcp Boolean - Specifies if DHCP is enabled for the subnet.
- gateway
Ip String - Gateway of the subnet, for example
192.168.1.1. - ip
Version Double - Internet protocol version. Available versions are
4or6. - ipv6Address
Mode String - IPv6 address assignment mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - ipv6Ra
Mode String - IPv6 router advertisement mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - name String
- Name of the subnet.
- network
Id String - Unique identifier of the parent network. To get the network ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ copy the ID under the network name.
- subnet
Id String - Unique identifier of the subnet. To get the subnet ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Subnets tab ⟶ copy the ID of the required subnet.
- List<String>
- Tags of the subnet.
- project
Id string - Unique identifier of the associated project, for example,
a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. - region string
- Pool where the subnet is located, for example,
ru-6. Learn more about available pools in Product availability by location. - cidr string
- CIDR of the subnet, for example
192.168.1.0/24. - description string
- Description of the subnet.
- enable
Dhcp boolean - Specifies if DHCP is enabled for the subnet.
- gateway
Ip string - Gateway of the subnet, for example
192.168.1.1. - ip
Version number - Internet protocol version. Available versions are
4or6. - ipv6Address
Mode string - IPv6 address assignment mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - ipv6Ra
Mode string - IPv6 router advertisement mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - name string
- Name of the subnet.
- network
Id string - Unique identifier of the parent network. To get the network ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ copy the ID under the network name.
- subnet
Id string - Unique identifier of the subnet. To get the subnet ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Subnets tab ⟶ copy the ID of the required subnet.
- string[]
- Tags of the subnet.
- project_
id str - Unique identifier of the associated project, for example,
a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. - region str
- Pool where the subnet is located, for example,
ru-6. Learn more about available pools in Product availability by location. - cidr str
- CIDR of the subnet, for example
192.168.1.0/24. - description str
- Description of the subnet.
- enable_
dhcp bool - Specifies if DHCP is enabled for the subnet.
- gateway_
ip str - Gateway of the subnet, for example
192.168.1.1. - ip_
version float - Internet protocol version. Available versions are
4or6. - ipv6_
address_ strmode - IPv6 address assignment mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - ipv6_
ra_ strmode - IPv6 router advertisement mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - name str
- Name of the subnet.
- network_
id str - Unique identifier of the parent network. To get the network ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ copy the ID under the network name.
- subnet_
id str - Unique identifier of the subnet. To get the subnet ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Subnets tab ⟶ copy the ID of the required subnet.
- Sequence[str]
- Tags of the subnet.
- project
Id String - Unique identifier of the associated project, for example,
a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. - region String
- Pool where the subnet is located, for example,
ru-6. Learn more about available pools in Product availability by location. - cidr String
- CIDR of the subnet, for example
192.168.1.0/24. - description String
- Description of the subnet.
- enable
Dhcp Boolean - Specifies if DHCP is enabled for the subnet.
- gateway
Ip String - Gateway of the subnet, for example
192.168.1.1. - ip
Version Number - Internet protocol version. Available versions are
4or6. - ipv6Address
Mode String - IPv6 address assignment mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - ipv6Ra
Mode String - IPv6 router advertisement mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - name String
- Name of the subnet.
- network
Id String - Unique identifier of the parent network. To get the network ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ copy the ID under the network name.
- subnet
Id String - Unique identifier of the subnet. To get the subnet ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Subnets tab ⟶ copy the ID of the required subnet.
- List<String>
- Tags of the subnet.
getVpcNetworkSubnetV2 Result
The following output properties are available:
- List<string>
- All tags of the subnet.
- Allocation
Pools List<GetVpc Network Subnet V2Allocation Pool> - Allocation pools of the subnet.
- Blocked bool
- Specifies if the subnet is administratively blocked.
- Cidr string
- CIDR of the subnet, for example
192.168.1.0/24. - Description string
- Description of the subnet.
- Dns
Nameservers List<string> - DNS nameservers of the subnet.
- Enable
Dhcp bool - Specifies if DHCP is enabled for the subnet.
- Gateway
Ip string - Gateway of the subnet, for example
192.168.1.1. - Host
Routes List<GetVpc Network Subnet V2Host Route> - Host routes of the subnet.
- Id string
- Unique identifier of the subnet.
- Ip
Version double - Internet protocol version. Available versions are
4or6. - Ipv6Address
Mode string - IPv6 address assignment mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - Ipv6Ra
Mode string - IPv6 router advertisement mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - Name string
- Name of the subnet.
- Network
Id string - Unique identifier of the parent network. To get the network ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ copy the ID under the network name.
- Project
Id string - Unique identifier of the associated project, for example,
a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. - Region string
- Pool where the subnet is located, for example,
ru-6. Learn more about available pools in Product availability by location. - Service
Types List<string> - Service types of the subnet.
- Subnet
Id string - Unique identifier of the subnet. To get the subnet ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Subnets tab ⟶ copy the ID of the required subnet.
- List<string>
- Tags of the subnet.
- []string
- All tags of the subnet.
- Allocation
Pools []GetVpc Network Subnet V2Allocation Pool - Allocation pools of the subnet.
- Blocked bool
- Specifies if the subnet is administratively blocked.
- Cidr string
- CIDR of the subnet, for example
192.168.1.0/24. - Description string
- Description of the subnet.
- Dns
Nameservers []string - DNS nameservers of the subnet.
- Enable
Dhcp bool - Specifies if DHCP is enabled for the subnet.
- Gateway
Ip string - Gateway of the subnet, for example
192.168.1.1. - Host
Routes []GetVpc Network Subnet V2Host Route - Host routes of the subnet.
- Id string
- Unique identifier of the subnet.
- Ip
Version float64 - Internet protocol version. Available versions are
4or6. - Ipv6Address
Mode string - IPv6 address assignment mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - Ipv6Ra
Mode string - IPv6 router advertisement mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - Name string
- Name of the subnet.
- Network
Id string - Unique identifier of the parent network. To get the network ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ copy the ID under the network name.
- Project
Id string - Unique identifier of the associated project, for example,
a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. - Region string
- Pool where the subnet is located, for example,
ru-6. Learn more about available pools in Product availability by location. - Service
Types []string - Service types of the subnet.
- Subnet
Id string - Unique identifier of the subnet. To get the subnet ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Subnets tab ⟶ copy the ID of the required subnet.
- []string
- Tags of the subnet.
- list(string)
- All tags of the subnet.
- allocation_
pools list(object) - Allocation pools of the subnet.
- blocked bool
- Specifies if the subnet is administratively blocked.
- cidr string
- CIDR of the subnet, for example
192.168.1.0/24. - description string
- Description of the subnet.
- dns_
nameservers list(string) - DNS nameservers of the subnet.
- enable_
dhcp bool - Specifies if DHCP is enabled for the subnet.
- gateway_
ip string - Gateway of the subnet, for example
192.168.1.1. - host_
routes list(object) - Host routes of the subnet.
- id string
- Unique identifier of the subnet.
- ip_
version number - Internet protocol version. Available versions are
4or6. - ipv6_
address_ stringmode - IPv6 address assignment mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - ipv6_
ra_ stringmode - IPv6 router advertisement mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - name string
- Name of the subnet.
- network_
id string - Unique identifier of the parent network. To get the network ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ copy the ID under the network name.
- project_
id string - Unique identifier of the associated project, for example,
a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. - region string
- Pool where the subnet is located, for example,
ru-6. Learn more about available pools in Product availability by location. - service_
types list(string) - Service types of the subnet.
- subnet_
id string - Unique identifier of the subnet. To get the subnet ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Subnets tab ⟶ copy the ID of the required subnet.
- list(string)
- Tags of the subnet.
- List<String>
- All tags of the subnet.
- allocation
Pools List<GetVpc Network Subnet V2Allocation Pool> - Allocation pools of the subnet.
- blocked Boolean
- Specifies if the subnet is administratively blocked.
- cidr String
- CIDR of the subnet, for example
192.168.1.0/24. - description String
- Description of the subnet.
- dns
Nameservers List<String> - DNS nameservers of the subnet.
- enable
Dhcp Boolean - Specifies if DHCP is enabled for the subnet.
- gateway
Ip String - Gateway of the subnet, for example
192.168.1.1. - host
Routes List<GetVpc Network Subnet V2Host Route> - Host routes of the subnet.
- id String
- Unique identifier of the subnet.
- ip
Version Double - Internet protocol version. Available versions are
4or6. - ipv6Address
Mode String - IPv6 address assignment mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - ipv6Ra
Mode String - IPv6 router advertisement mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - name String
- Name of the subnet.
- network
Id String - Unique identifier of the parent network. To get the network ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ copy the ID under the network name.
- project
Id String - Unique identifier of the associated project, for example,
a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. - region String
- Pool where the subnet is located, for example,
ru-6. Learn more about available pools in Product availability by location. - service
Types List<String> - Service types of the subnet.
- subnet
Id String - Unique identifier of the subnet. To get the subnet ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Subnets tab ⟶ copy the ID of the required subnet.
- List<String>
- Tags of the subnet.
- string[]
- All tags of the subnet.
- allocation
Pools GetVpc Network Subnet V2Allocation Pool[] - Allocation pools of the subnet.
- blocked boolean
- Specifies if the subnet is administratively blocked.
- cidr string
- CIDR of the subnet, for example
192.168.1.0/24. - description string
- Description of the subnet.
- dns
Nameservers string[] - DNS nameservers of the subnet.
- enable
Dhcp boolean - Specifies if DHCP is enabled for the subnet.
- gateway
Ip string - Gateway of the subnet, for example
192.168.1.1. - host
Routes GetVpc Network Subnet V2Host Route[] - Host routes of the subnet.
- id string
- Unique identifier of the subnet.
- ip
Version number - Internet protocol version. Available versions are
4or6. - ipv6Address
Mode string - IPv6 address assignment mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - ipv6Ra
Mode string - IPv6 router advertisement mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - name string
- Name of the subnet.
- network
Id string - Unique identifier of the parent network. To get the network ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ copy the ID under the network name.
- project
Id string - Unique identifier of the associated project, for example,
a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. - region string
- Pool where the subnet is located, for example,
ru-6. Learn more about available pools in Product availability by location. - service
Types string[] - Service types of the subnet.
- subnet
Id string - Unique identifier of the subnet. To get the subnet ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Subnets tab ⟶ copy the ID of the required subnet.
- string[]
- Tags of the subnet.
- Sequence[str]
- All tags of the subnet.
- allocation_
pools Sequence[GetVpc Network Subnet V2Allocation Pool] - Allocation pools of the subnet.
- blocked bool
- Specifies if the subnet is administratively blocked.
- cidr str
- CIDR of the subnet, for example
192.168.1.0/24. - description str
- Description of the subnet.
- dns_
nameservers Sequence[str] - DNS nameservers of the subnet.
- enable_
dhcp bool - Specifies if DHCP is enabled for the subnet.
- gateway_
ip str - Gateway of the subnet, for example
192.168.1.1. - host_
routes Sequence[GetVpc Network Subnet V2Host Route] - Host routes of the subnet.
- id str
- Unique identifier of the subnet.
- ip_
version float - Internet protocol version. Available versions are
4or6. - ipv6_
address_ strmode - IPv6 address assignment mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - ipv6_
ra_ strmode - IPv6 router advertisement mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - name str
- Name of the subnet.
- network_
id str - Unique identifier of the parent network. To get the network ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ copy the ID under the network name.
- project_
id str - Unique identifier of the associated project, for example,
a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. - region str
- Pool where the subnet is located, for example,
ru-6. Learn more about available pools in Product availability by location. - service_
types Sequence[str] - Service types of the subnet.
- subnet_
id str - Unique identifier of the subnet. To get the subnet ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Subnets tab ⟶ copy the ID of the required subnet.
- Sequence[str]
- Tags of the subnet.
- List<String>
- All tags of the subnet.
- allocation
Pools List<Property Map> - Allocation pools of the subnet.
- blocked Boolean
- Specifies if the subnet is administratively blocked.
- cidr String
- CIDR of the subnet, for example
192.168.1.0/24. - description String
- Description of the subnet.
- dns
Nameservers List<String> - DNS nameservers of the subnet.
- enable
Dhcp Boolean - Specifies if DHCP is enabled for the subnet.
- gateway
Ip String - Gateway of the subnet, for example
192.168.1.1. - host
Routes List<Property Map> - Host routes of the subnet.
- id String
- Unique identifier of the subnet.
- ip
Version Number - Internet protocol version. Available versions are
4or6. - ipv6Address
Mode String - IPv6 address assignment mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - ipv6Ra
Mode String - IPv6 router advertisement mode. Available modes are
slaac,dhcpv6-stateful, ordhcpv6-stateless. - name String
- Name of the subnet.
- network
Id String - Unique identifier of the parent network. To get the network ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ copy the ID under the network name.
- project
Id String - Unique identifier of the associated project, for example,
a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. - region String
- Pool where the subnet is located, for example,
ru-6. Learn more about available pools in Product availability by location. - service
Types List<String> - Service types of the subnet.
- subnet
Id String - Unique identifier of the subnet. To get the subnet ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Subnets tab ⟶ copy the ID of the required subnet.
- List<String>
- Tags of the subnet.
Supporting Types
GetVpcNetworkSubnetV2AllocationPool
GetVpcNetworkSubnetV2HostRoute
- Destination
Cidr string - Next
Hop string
- Destination
Cidr string - Next
Hop string
- destination_
cidr string - next_
hop string
- destination
Cidr String - next
Hop String
- destination
Cidr string - next
Hop string
- destination_
cidr str - next_
hop str
- destination
Cidr String - next
Hop String
Package Details
- Repository
- selectel selectel/terraform-provider-selectel
- License
- Notes
- This Pulumi package is based on the
selectelTerraform Provider.
selectel
Viewing docs for selectel 9.5.0
published on Friday, Oct 30, 2026 by selectel
published on Friday, Oct 30, 2026 by selectel