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 private network. For more information about private networks, 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 network1 = selectel.getVpcNetworkV2({
projectId: project1.id,
region: "ru-6",
name: "network-1",
});
import pulumi
import pulumi_selectel as selectel
network1 = selectel.get_vpc_network_v2(project_id=project1["id"],
region="ru-6",
name="network-1")
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.LookupVpcNetworkV2(ctx, &selectel.LookupVpcNetworkV2Args{
ProjectId: project1.Id,
Region: "ru-6",
Name: pulumi.StringRef("network-1"),
}, 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 network1 = Selectel.GetVpcNetworkV2.Invoke(new()
{
ProjectId = project1.Id,
Region = "ru-6",
Name = "network-1",
});
});
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.GetVpcNetworkV2Args;
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 network1 = SelectelFunctions.getVpcNetworkV2(GetVpcNetworkV2Args.builder()
.projectId(project1.id())
.region("ru-6")
.name("network-1")
.build());
}
}
variables:
network1:
fn::invoke:
function: selectel:getVpcNetworkV2
arguments:
projectId: ${project1.id}
region: ru-6
name: network-1
Example coming soon!
Using getVpcNetworkV2
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 getVpcNetworkV2(args: GetVpcNetworkV2Args, opts?: InvokeOptions): Promise<GetVpcNetworkV2Result>
function getVpcNetworkV2Output(args: GetVpcNetworkV2OutputArgs, opts?: InvokeOutputOptions): Output<GetVpcNetworkV2Result>def get_vpc_network_v2(description: Optional[str] = None,
external: Optional[bool] = None,
matching_subnet_cidr: Optional[str] = None,
mtu: Optional[float] = None,
name: Optional[str] = None,
network_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcNetworkV2Result
def get_vpc_network_v2_output(description: pulumi.Input[Optional[str]] = None,
external: pulumi.Input[Optional[bool]] = None,
matching_subnet_cidr: pulumi.Input[Optional[str]] = None,
mtu: pulumi.Input[Optional[float]] = 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,
status: pulumi.Input[Optional[str]] = None,
tags: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetVpcNetworkV2Result]func LookupVpcNetworkV2(ctx *Context, args *LookupVpcNetworkV2Args, opts ...InvokeOption) (*LookupVpcNetworkV2Result, error)
func LookupVpcNetworkV2Output(ctx *Context, args *LookupVpcNetworkV2OutputArgs, opts ...InvokeOption) LookupVpcNetworkV2ResultOutput> Note: This function is named LookupVpcNetworkV2 in the Go SDK.
public static class GetVpcNetworkV2
{
public static Task<GetVpcNetworkV2Result> InvokeAsync(GetVpcNetworkV2Args args, InvokeOptions? opts = null)
public static Output<GetVpcNetworkV2Result> Invoke(GetVpcNetworkV2InvokeArgs args, InvokeOptions? opts = null)
public static Output<GetVpcNetworkV2Result> Invoke(GetVpcNetworkV2InvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetVpcNetworkV2Result> getVpcNetworkV2(GetVpcNetworkV2Args args, InvokeOptions options)
public static Output<GetVpcNetworkV2Result> getVpcNetworkV2(GetVpcNetworkV2Args args, InvokeOptions options)
public static Output<GetVpcNetworkV2Result> getVpcNetworkV2(GetVpcNetworkV2Args args, InvokeOutputOptions options)
fn::invoke:
function: selectel:index/getVpcNetworkV2:getVpcNetworkV2
arguments:
# arguments dictionarydata "selectel_get_vpc_network_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 network is located, for example,
ru-6. Learn more about available pools in Product availability by location. - Description string
- Description of the network.
- External bool
- Specifies if the network has an external routing facility.
- Matching
Subnet stringCidr - CIDR of a subnet within the network, for example
192.168.1.0/24. - Mtu double
- Maximum transmission unit of the network, for example
1500. - Name string
- Name of the network.
- Network
Id string - Unique identifier of the 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.
- Status string
- Status of the network. Available statuses are
ACTIVE,DOWN,BUILD, orERROR. - List<string>
- Tags of the network.
- 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 network is located, for example,
ru-6. Learn more about available pools in Product availability by location. - Description string
- Description of the network.
- External bool
- Specifies if the network has an external routing facility.
- Matching
Subnet stringCidr - CIDR of a subnet within the network, for example
192.168.1.0/24. - Mtu float64
- Maximum transmission unit of the network, for example
1500. - Name string
- Name of the network.
- Network
Id string - Unique identifier of the 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.
- Status string
- Status of the network. Available statuses are
ACTIVE,DOWN,BUILD, orERROR. - []string
- Tags of the network.
- 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 network is located, for example,
ru-6. Learn more about available pools in Product availability by location. - description string
- Description of the network.
- external bool
- Specifies if the network has an external routing facility.
- matching_
subnet_ stringcidr - CIDR of a subnet within the network, for example
192.168.1.0/24. - mtu number
- Maximum transmission unit of the network, for example
1500. - name string
- Name of the network.
- network_
id string - Unique identifier of the 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.
- status string
- Status of the network. Available statuses are
ACTIVE,DOWN,BUILD, orERROR. - list(string)
- Tags of the network.
- 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 network is located, for example,
ru-6. Learn more about available pools in Product availability by location. - description String
- Description of the network.
- external Boolean
- Specifies if the network has an external routing facility.
- matching
Subnet StringCidr - CIDR of a subnet within the network, for example
192.168.1.0/24. - mtu Double
- Maximum transmission unit of the network, for example
1500. - name String
- Name of the network.
- network
Id String - Unique identifier of the 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.
- status String
- Status of the network. Available statuses are
ACTIVE,DOWN,BUILD, orERROR. - List<String>
- Tags of the network.
- 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 network is located, for example,
ru-6. Learn more about available pools in Product availability by location. - description string
- Description of the network.
- external boolean
- Specifies if the network has an external routing facility.
- matching
Subnet stringCidr - CIDR of a subnet within the network, for example
192.168.1.0/24. - mtu number
- Maximum transmission unit of the network, for example
1500. - name string
- Name of the network.
- network
Id string - Unique identifier of the 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.
- status string
- Status of the network. Available statuses are
ACTIVE,DOWN,BUILD, orERROR. - string[]
- Tags of the network.
- 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 network is located, for example,
ru-6. Learn more about available pools in Product availability by location. - description str
- Description of the network.
- external bool
- Specifies if the network has an external routing facility.
- matching_
subnet_ strcidr - CIDR of a subnet within the network, for example
192.168.1.0/24. - mtu float
- Maximum transmission unit of the network, for example
1500. - name str
- Name of the network.
- network_
id str - Unique identifier of the 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.
- status str
- Status of the network. Available statuses are
ACTIVE,DOWN,BUILD, orERROR. - Sequence[str]
- Tags of the network.
- 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 network is located, for example,
ru-6. Learn more about available pools in Product availability by location. - description String
- Description of the network.
- external Boolean
- Specifies if the network has an external routing facility.
- matching
Subnet StringCidr - CIDR of a subnet within the network, for example
192.168.1.0/24. - mtu Number
- Maximum transmission unit of the network, for example
1500. - name String
- Name of the network.
- network
Id String - Unique identifier of the 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.
- status String
- Status of the network. Available statuses are
ACTIVE,DOWN,BUILD, orERROR. - List<String>
- Tags of the network.
getVpcNetworkV2 Result
The following output properties are available:
- Admin
State boolUp - Specifies if the network is administratively up.
- List<string>
- All tags of the network.
- Availability
Zone List<string>Hints - Pool segments requested for allocating the network.
- Availability
Zones List<string> - Pool segments where the network is actually allocated.
- Blocked bool
- Specifies if the network is administratively blocked.
- Description string
- Description of the network.
- Dns
Domain string - DNS domain of the network.
- External bool
- Specifies if the network has an external routing facility.
- Id string
- Unique identifier of the network.
- Is
Dns boolEnabled - Specifies if the Private DNS service is enabled for the network.
- Is
Public bool - Specifies if the network is public.
- Mtu double
- Maximum transmission unit of the network, for example
1500. - Name string
- Name of the network.
- Network
Id string - Unique identifier of the 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.
- Port
Security boolEnabled - Specifies if port security is enabled by default for the ports of the network.
- 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 network is located, for example,
ru-6. Learn more about available pools in Product availability by location. - bool
- Specifies if the network can be accessed by any project.
- Status string
- Status of the network. Available statuses are
ACTIVE,DOWN,BUILD, orERROR. - Subnets List<string>
- Unique identifiers of the subnets within the network.
- Matching
Subnet stringCidr - CIDR of a subnet within the network, for example
192.168.1.0/24. - List<string>
- Tags of the network.
- Admin
State boolUp - Specifies if the network is administratively up.
- []string
- All tags of the network.
- Availability
Zone []stringHints - Pool segments requested for allocating the network.
- Availability
Zones []string - Pool segments where the network is actually allocated.
- Blocked bool
- Specifies if the network is administratively blocked.
- Description string
- Description of the network.
- Dns
Domain string - DNS domain of the network.
- External bool
- Specifies if the network has an external routing facility.
- Id string
- Unique identifier of the network.
- Is
Dns boolEnabled - Specifies if the Private DNS service is enabled for the network.
- Is
Public bool - Specifies if the network is public.
- Mtu float64
- Maximum transmission unit of the network, for example
1500. - Name string
- Name of the network.
- Network
Id string - Unique identifier of the 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.
- Port
Security boolEnabled - Specifies if port security is enabled by default for the ports of the network.
- 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 network is located, for example,
ru-6. Learn more about available pools in Product availability by location. - bool
- Specifies if the network can be accessed by any project.
- Status string
- Status of the network. Available statuses are
ACTIVE,DOWN,BUILD, orERROR. - Subnets []string
- Unique identifiers of the subnets within the network.
- Matching
Subnet stringCidr - CIDR of a subnet within the network, for example
192.168.1.0/24. - []string
- Tags of the network.
- admin_
state_ boolup - Specifies if the network is administratively up.
- list(string)
- All tags of the network.
- availability_
zone_ list(string)hints - Pool segments requested for allocating the network.
- availability_
zones list(string) - Pool segments where the network is actually allocated.
- blocked bool
- Specifies if the network is administratively blocked.
- description string
- Description of the network.
- dns_
domain string - DNS domain of the network.
- external bool
- Specifies if the network has an external routing facility.
- id string
- Unique identifier of the network.
- is_
dns_ boolenabled - Specifies if the Private DNS service is enabled for the network.
- is_
public bool - Specifies if the network is public.
- mtu number
- Maximum transmission unit of the network, for example
1500. - name string
- Name of the network.
- network_
id string - Unique identifier of the 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.
- port_
security_ boolenabled - Specifies if port security is enabled by default for the ports of the network.
- 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 network is located, for example,
ru-6. Learn more about available pools in Product availability by location. - bool
- Specifies if the network can be accessed by any project.
- status string
- Status of the network. Available statuses are
ACTIVE,DOWN,BUILD, orERROR. - subnets list(string)
- Unique identifiers of the subnets within the network.
- matching_
subnet_ stringcidr - CIDR of a subnet within the network, for example
192.168.1.0/24. - list(string)
- Tags of the network.
- admin
State BooleanUp - Specifies if the network is administratively up.
- List<String>
- All tags of the network.
- availability
Zone List<String>Hints - Pool segments requested for allocating the network.
- availability
Zones List<String> - Pool segments where the network is actually allocated.
- blocked Boolean
- Specifies if the network is administratively blocked.
- description String
- Description of the network.
- dns
Domain String - DNS domain of the network.
- external Boolean
- Specifies if the network has an external routing facility.
- id String
- Unique identifier of the network.
- is
Dns BooleanEnabled - Specifies if the Private DNS service is enabled for the network.
- is
Public Boolean - Specifies if the network is public.
- mtu Double
- Maximum transmission unit of the network, for example
1500. - name String
- Name of the network.
- network
Id String - Unique identifier of the 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.
- port
Security BooleanEnabled - Specifies if port security is enabled by default for the ports of the network.
- 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 network is located, for example,
ru-6. Learn more about available pools in Product availability by location. - Boolean
- Specifies if the network can be accessed by any project.
- status String
- Status of the network. Available statuses are
ACTIVE,DOWN,BUILD, orERROR. - subnets List<String>
- Unique identifiers of the subnets within the network.
- matching
Subnet StringCidr - CIDR of a subnet within the network, for example
192.168.1.0/24. - List<String>
- Tags of the network.
- admin
State booleanUp - Specifies if the network is administratively up.
- string[]
- All tags of the network.
- availability
Zone string[]Hints - Pool segments requested for allocating the network.
- availability
Zones string[] - Pool segments where the network is actually allocated.
- blocked boolean
- Specifies if the network is administratively blocked.
- description string
- Description of the network.
- dns
Domain string - DNS domain of the network.
- external boolean
- Specifies if the network has an external routing facility.
- id string
- Unique identifier of the network.
- is
Dns booleanEnabled - Specifies if the Private DNS service is enabled for the network.
- is
Public boolean - Specifies if the network is public.
- mtu number
- Maximum transmission unit of the network, for example
1500. - name string
- Name of the network.
- network
Id string - Unique identifier of the 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.
- port
Security booleanEnabled - Specifies if port security is enabled by default for the ports of the network.
- 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 network is located, for example,
ru-6. Learn more about available pools in Product availability by location. - boolean
- Specifies if the network can be accessed by any project.
- status string
- Status of the network. Available statuses are
ACTIVE,DOWN,BUILD, orERROR. - subnets string[]
- Unique identifiers of the subnets within the network.
- matching
Subnet stringCidr - CIDR of a subnet within the network, for example
192.168.1.0/24. - string[]
- Tags of the network.
- admin_
state_ boolup - Specifies if the network is administratively up.
- Sequence[str]
- All tags of the network.
- availability_
zone_ Sequence[str]hints - Pool segments requested for allocating the network.
- availability_
zones Sequence[str] - Pool segments where the network is actually allocated.
- blocked bool
- Specifies if the network is administratively blocked.
- description str
- Description of the network.
- dns_
domain str - DNS domain of the network.
- external bool
- Specifies if the network has an external routing facility.
- id str
- Unique identifier of the network.
- is_
dns_ boolenabled - Specifies if the Private DNS service is enabled for the network.
- is_
public bool - Specifies if the network is public.
- mtu float
- Maximum transmission unit of the network, for example
1500. - name str
- Name of the network.
- network_
id str - Unique identifier of the 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.
- port_
security_ boolenabled - Specifies if port security is enabled by default for the ports of the network.
- 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 network is located, for example,
ru-6. Learn more about available pools in Product availability by location. - bool
- Specifies if the network can be accessed by any project.
- status str
- Status of the network. Available statuses are
ACTIVE,DOWN,BUILD, orERROR. - subnets Sequence[str]
- Unique identifiers of the subnets within the network.
- matching_
subnet_ strcidr - CIDR of a subnet within the network, for example
192.168.1.0/24. - Sequence[str]
- Tags of the network.
- admin
State BooleanUp - Specifies if the network is administratively up.
- List<String>
- All tags of the network.
- availability
Zone List<String>Hints - Pool segments requested for allocating the network.
- availability
Zones List<String> - Pool segments where the network is actually allocated.
- blocked Boolean
- Specifies if the network is administratively blocked.
- description String
- Description of the network.
- dns
Domain String - DNS domain of the network.
- external Boolean
- Specifies if the network has an external routing facility.
- id String
- Unique identifier of the network.
- is
Dns BooleanEnabled - Specifies if the Private DNS service is enabled for the network.
- is
Public Boolean - Specifies if the network is public.
- mtu Number
- Maximum transmission unit of the network, for example
1500. - name String
- Name of the network.
- network
Id String - Unique identifier of the 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.
- port
Security BooleanEnabled - Specifies if port security is enabled by default for the ports of the network.
- 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 network is located, for example,
ru-6. Learn more about available pools in Product availability by location. - Boolean
- Specifies if the network can be accessed by any project.
- status String
- Status of the network. Available statuses are
ACTIVE,DOWN,BUILD, orERROR. - subnets List<String>
- Unique identifiers of the subnets within the network.
- matching
Subnet StringCidr - CIDR of a subnet within the network, for example
192.168.1.0/24. - List<String>
- Tags of the network.
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