1. Registry
  2. Packages
  3. Selectel Provider
  4. API Docs
  5. VpcNetworkV2
Viewing docs for selectel 9.5.0
published on Friday, Oct 30, 2026 by selectel
selectel
Viewing docs for selectel 9.5.0
published on Friday, Oct 30, 2026 by selectel

    Creates and manages a private network using the v2 public API. 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 = new selectel.VpcNetworkV2("network_1", {
        projectId: project1.id,
        region: "ru-6",
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    network1 = selectel.VpcNetworkV2("network_1",
        project_id=project1["id"],
        region="ru-6")
    
    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.NewVpcNetworkV2(ctx, "network_1", &selectel.VpcNetworkV2Args{
    			ProjectId: pulumi.Any(project1.Id),
    			Region:    pulumi.String("ru-6"),
    		})
    		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 = new Selectel.VpcNetworkV2("network_1", new()
        {
            ProjectId = project1.Id,
            Region = "ru-6",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.selectel.VpcNetworkV2;
    import com.pulumi.selectel.VpcNetworkV2Args;
    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 network1 = new VpcNetworkV2("network1", VpcNetworkV2Args.builder()
                .projectId(project1.id())
                .region("ru-6")
                .build());
    
        }
    }
    
    resources:
      network1:
        type: selectel:VpcNetworkV2
        name: network_1
        properties:
          projectId: ${project1.id}
          region: ru-6
    
    Example coming soon!
    

    Create VpcNetworkV2 Resource

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

    Constructor syntax

    new VpcNetworkV2(name: string, args: VpcNetworkV2Args, opts?: CustomResourceOptions);
    @overload
    def VpcNetworkV2(resource_name: str,
                     args: VpcNetworkV2Args,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def VpcNetworkV2(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     project_id: Optional[str] = None,
                     region: Optional[str] = None,
                     admin_state_up: Optional[bool] = None,
                     availability_zone_hints: Optional[Sequence[str]] = None,
                     description: Optional[str] = None,
                     dns_domain: Optional[str] = None,
                     name: Optional[str] = None,
                     tags: Optional[Sequence[str]] = None,
                     timeouts: Optional[VpcNetworkV2TimeoutsArgs] = None)
    func NewVpcNetworkV2(ctx *Context, name string, args VpcNetworkV2Args, opts ...ResourceOption) (*VpcNetworkV2, error)
    public VpcNetworkV2(string name, VpcNetworkV2Args args, CustomResourceOptions? opts = null)
    public VpcNetworkV2(String name, VpcNetworkV2Args args)
    public VpcNetworkV2(String name, VpcNetworkV2Args args, CustomResourceOptions options)
    
    type: selectel:VpcNetworkV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "selectel_vpc_network_v2" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args VpcNetworkV2Args
    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 VpcNetworkV2Args
    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 VpcNetworkV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpcNetworkV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpcNetworkV2Args
    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 vpcNetworkV2Resource = new Selectel.VpcNetworkV2("vpcNetworkV2Resource", new()
    {
        ProjectId = "string",
        Region = "string",
        AdminStateUp = false,
        AvailabilityZoneHints = new[]
        {
            "string",
        },
        Description = "string",
        DnsDomain = "string",
        Name = "string",
        Tags = new[]
        {
            "string",
        },
        Timeouts = new Selectel.Inputs.VpcNetworkV2TimeoutsArgs
        {
            Delete = "string",
        },
    });
    
    example, err := selectel.NewVpcNetworkV2(ctx, "vpcNetworkV2Resource", &selectel.VpcNetworkV2Args{
    	ProjectId:    pulumi.String("string"),
    	Region:       pulumi.String("string"),
    	AdminStateUp: pulumi.Bool(false),
    	AvailabilityZoneHints: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	DnsDomain:   pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Timeouts: &selectel.VpcNetworkV2TimeoutsArgs{
    		Delete: pulumi.String("string"),
    	},
    })
    
    resource "selectel_vpc_network_v2" "vpcNetworkV2Resource" {
      lifecycle {
        create_before_destroy = true
      }
      project_id              = "string"
      region                  = "string"
      admin_state_up          = false
      availability_zone_hints = ["string"]
      description             = "string"
      dns_domain              = "string"
      name                    = "string"
      tags                    = ["string"]
      timeouts = {
        delete = "string"
      }
    }
    
    var vpcNetworkV2Resource = new VpcNetworkV2("vpcNetworkV2Resource", VpcNetworkV2Args.builder()
        .projectId("string")
        .region("string")
        .adminStateUp(false)
        .availabilityZoneHints("string")
        .description("string")
        .dnsDomain("string")
        .name("string")
        .tags("string")
        .timeouts(VpcNetworkV2TimeoutsArgs.builder()
            .delete("string")
            .build())
        .build());
    
    vpc_network_v2_resource = selectel.VpcNetworkV2("vpcNetworkV2Resource",
        project_id="string",
        region="string",
        admin_state_up=False,
        availability_zone_hints=["string"],
        description="string",
        dns_domain="string",
        name="string",
        tags=["string"],
        timeouts={
            "delete": "string",
        })
    
    const vpcNetworkV2Resource = new selectel.VpcNetworkV2("vpcNetworkV2Resource", {
        projectId: "string",
        region: "string",
        adminStateUp: false,
        availabilityZoneHints: ["string"],
        description: "string",
        dnsDomain: "string",
        name: "string",
        tags: ["string"],
        timeouts: {
            "delete": "string",
        },
    });
    
    type: selectel:VpcNetworkV2
    properties:
        adminStateUp: false
        availabilityZoneHints:
            - string
        description: string
        dnsDomain: string
        name: string
        projectId: string
        region: string
        tags:
            - string
        timeouts:
            delete: string
    

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

    ProjectId string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. Changing this creates a new network.
    Region string
    Pool where the network is located, for example, ru-6. Learn more about available pools in Product availability by location. Changing this creates a new network.
    AdminStateUp bool
    Specifies if the network is administratively up. The default value is true.
    AvailabilityZoneHints List<string>
    Pool segments requested for allocating the network. Learn more about available pools in Product availability by location. Changing this creates a new network.
    Description string
    Description of the network.
    DnsDomain string
    DNS domain of the network. Learn more about Private DNS.
    Name string
    Name of the network.
    Tags List<string>
    Tags of the network.
    Timeouts VpcNetworkV2Timeouts
    ProjectId string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. Changing this creates a new network.
    Region string
    Pool where the network is located, for example, ru-6. Learn more about available pools in Product availability by location. Changing this creates a new network.
    AdminStateUp bool
    Specifies if the network is administratively up. The default value is true.
    AvailabilityZoneHints []string
    Pool segments requested for allocating the network. Learn more about available pools in Product availability by location. Changing this creates a new network.
    Description string
    Description of the network.
    DnsDomain string
    DNS domain of the network. Learn more about Private DNS.
    Name string
    Name of the network.
    Tags []string
    Tags of the network.
    Timeouts VpcNetworkV2TimeoutsArgs
    project_id string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. Changing this creates a new network.
    region string
    Pool where the network is located, for example, ru-6. Learn more about available pools in Product availability by location. Changing this creates a new network.
    admin_state_up bool
    Specifies if the network is administratively up. The default value is true.
    availability_zone_hints list(string)
    Pool segments requested for allocating the network. Learn more about available pools in Product availability by location. Changing this creates a new network.
    description string
    Description of the network.
    dns_domain string
    DNS domain of the network. Learn more about Private DNS.
    name string
    Name of the network.
    tags list(string)
    Tags of the network.
    timeouts object
    projectId String
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. Changing this creates a new network.
    region String
    Pool where the network is located, for example, ru-6. Learn more about available pools in Product availability by location. Changing this creates a new network.
    adminStateUp Boolean
    Specifies if the network is administratively up. The default value is true.
    availabilityZoneHints List<String>
    Pool segments requested for allocating the network. Learn more about available pools in Product availability by location. Changing this creates a new network.
    description String
    Description of the network.
    dnsDomain String
    DNS domain of the network. Learn more about Private DNS.
    name String
    Name of the network.
    tags List<String>
    Tags of the network.
    timeouts VpcNetworkV2Timeouts
    projectId string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. Changing this creates a new network.
    region string
    Pool where the network is located, for example, ru-6. Learn more about available pools in Product availability by location. Changing this creates a new network.
    adminStateUp boolean
    Specifies if the network is administratively up. The default value is true.
    availabilityZoneHints string[]
    Pool segments requested for allocating the network. Learn more about available pools in Product availability by location. Changing this creates a new network.
    description string
    Description of the network.
    dnsDomain string
    DNS domain of the network. Learn more about Private DNS.
    name string
    Name of the network.
    tags string[]
    Tags of the network.
    timeouts VpcNetworkV2Timeouts
    project_id str
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. Changing this creates a new network.
    region str
    Pool where the network is located, for example, ru-6. Learn more about available pools in Product availability by location. Changing this creates a new network.
    admin_state_up bool
    Specifies if the network is administratively up. The default value is true.
    availability_zone_hints Sequence[str]
    Pool segments requested for allocating the network. Learn more about available pools in Product availability by location. Changing this creates a new network.
    description str
    Description of the network.
    dns_domain str
    DNS domain of the network. Learn more about Private DNS.
    name str
    Name of the network.
    tags Sequence[str]
    Tags of the network.
    timeouts VpcNetworkV2TimeoutsArgs
    projectId String
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. Changing this creates a new network.
    region String
    Pool where the network is located, for example, ru-6. Learn more about available pools in Product availability by location. Changing this creates a new network.
    adminStateUp Boolean
    Specifies if the network is administratively up. The default value is true.
    availabilityZoneHints List<String>
    Pool segments requested for allocating the network. Learn more about available pools in Product availability by location. Changing this creates a new network.
    description String
    Description of the network.
    dnsDomain String
    DNS domain of the network. Learn more about Private DNS.
    name String
    Name of the network.
    tags List<String>
    Tags of the network.
    timeouts Property Map

    Outputs

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

    AllTags List<string>
    All tags of the network.
    AvailabilityZones List<string>
    Pool segments where the network is actually allocated.
    Blocked bool
    Specifies if the network is administratively blocked.
    External bool
    Specifies if the network has an external routing facility.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDnsEnabled bool
    Specifies if the Private DNS service is enabled for the network.
    IsPublic bool
    Specifies if the network is public.
    Mtu double
    Maximum transmission unit of the network.
    PortSecurityEnabled bool
    Specifies if port security is enabled by default for the ports of the network.
    Shared bool
    Specifies if the network can be accessed by any project.
    Status string
    Status of the network.
    Subnets List<string>
    Unique identifiers of the subnets within the network.
    AllTags []string
    All tags of the network.
    AvailabilityZones []string
    Pool segments where the network is actually allocated.
    Blocked bool
    Specifies if the network is administratively blocked.
    External bool
    Specifies if the network has an external routing facility.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDnsEnabled bool
    Specifies if the Private DNS service is enabled for the network.
    IsPublic bool
    Specifies if the network is public.
    Mtu float64
    Maximum transmission unit of the network.
    PortSecurityEnabled bool
    Specifies if port security is enabled by default for the ports of the network.
    Shared bool
    Specifies if the network can be accessed by any project.
    Status string
    Status of the network.
    Subnets []string
    Unique identifiers of the subnets within the network.
    all_tags list(string)
    All tags of the network.
    availability_zones list(string)
    Pool segments where the network is actually allocated.
    blocked bool
    Specifies if the network is administratively blocked.
    external bool
    Specifies if the network has an external routing facility.
    id string
    The provider-assigned unique ID for this managed resource.
    is_dns_enabled bool
    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.
    port_security_enabled bool
    Specifies if port security is enabled by default for the ports of the network.
    shared bool
    Specifies if the network can be accessed by any project.
    status string
    Status of the network.
    subnets list(string)
    Unique identifiers of the subnets within the network.
    allTags List<String>
    All tags of the network.
    availabilityZones List<String>
    Pool segments where the network is actually allocated.
    blocked Boolean
    Specifies if the network is administratively blocked.
    external Boolean
    Specifies if the network has an external routing facility.
    id String
    The provider-assigned unique ID for this managed resource.
    isDnsEnabled Boolean
    Specifies if the Private DNS service is enabled for the network.
    isPublic Boolean
    Specifies if the network is public.
    mtu Double
    Maximum transmission unit of the network.
    portSecurityEnabled Boolean
    Specifies if port security is enabled by default for the ports of the network.
    shared Boolean
    Specifies if the network can be accessed by any project.
    status String
    Status of the network.
    subnets List<String>
    Unique identifiers of the subnets within the network.
    allTags string[]
    All tags of the network.
    availabilityZones string[]
    Pool segments where the network is actually allocated.
    blocked boolean
    Specifies if the network is administratively blocked.
    external boolean
    Specifies if the network has an external routing facility.
    id string
    The provider-assigned unique ID for this managed resource.
    isDnsEnabled boolean
    Specifies if the Private DNS service is enabled for the network.
    isPublic boolean
    Specifies if the network is public.
    mtu number
    Maximum transmission unit of the network.
    portSecurityEnabled boolean
    Specifies if port security is enabled by default for the ports of the network.
    shared boolean
    Specifies if the network can be accessed by any project.
    status string
    Status of the network.
    subnets string[]
    Unique identifiers of the subnets within the network.
    all_tags Sequence[str]
    All tags of the network.
    availability_zones Sequence[str]
    Pool segments where the network is actually allocated.
    blocked bool
    Specifies if the network is administratively blocked.
    external bool
    Specifies if the network has an external routing facility.
    id str
    The provider-assigned unique ID for this managed resource.
    is_dns_enabled bool
    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.
    port_security_enabled bool
    Specifies if port security is enabled by default for the ports of the network.
    shared bool
    Specifies if the network can be accessed by any project.
    status str
    Status of the network.
    subnets Sequence[str]
    Unique identifiers of the subnets within the network.
    allTags List<String>
    All tags of the network.
    availabilityZones List<String>
    Pool segments where the network is actually allocated.
    blocked Boolean
    Specifies if the network is administratively blocked.
    external Boolean
    Specifies if the network has an external routing facility.
    id String
    The provider-assigned unique ID for this managed resource.
    isDnsEnabled Boolean
    Specifies if the Private DNS service is enabled for the network.
    isPublic Boolean
    Specifies if the network is public.
    mtu Number
    Maximum transmission unit of the network.
    portSecurityEnabled Boolean
    Specifies if port security is enabled by default for the ports of the network.
    shared Boolean
    Specifies if the network can be accessed by any project.
    status String
    Status of the network.
    subnets List<String>
    Unique identifiers of the subnets within the network.

    Look up Existing VpcNetworkV2 Resource

    Get an existing VpcNetworkV2 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?: VpcNetworkV2State, opts?: CustomResourceOptions): VpcNetworkV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            admin_state_up: Optional[bool] = None,
            all_tags: Optional[Sequence[str]] = None,
            availability_zone_hints: Optional[Sequence[str]] = None,
            availability_zones: Optional[Sequence[str]] = None,
            blocked: Optional[bool] = None,
            description: Optional[str] = None,
            dns_domain: Optional[str] = None,
            external: Optional[bool] = None,
            is_dns_enabled: Optional[bool] = None,
            is_public: Optional[bool] = None,
            mtu: Optional[float] = None,
            name: Optional[str] = None,
            port_security_enabled: Optional[bool] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            shared: Optional[bool] = None,
            status: Optional[str] = None,
            subnets: Optional[Sequence[str]] = None,
            tags: Optional[Sequence[str]] = None,
            timeouts: Optional[VpcNetworkV2TimeoutsArgs] = None) -> VpcNetworkV2
    func GetVpcNetworkV2(ctx *Context, name string, id IDInput, state *VpcNetworkV2State, opts ...ResourceOption) (*VpcNetworkV2, error)
    public static VpcNetworkV2 Get(string name, Input<string> id, VpcNetworkV2State? state, CustomResourceOptions? opts = null)
    public static VpcNetworkV2 get(String name, Output<String> id, VpcNetworkV2State state, CustomResourceOptions options)
    resources:  _:    type: selectel:VpcNetworkV2    get:      id: ${id}
    import {
      to = selectel_vpc_network_v2.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdminStateUp bool
    Specifies if the network is administratively up. The default value is true.
    AllTags List<string>
    All tags of the network.
    AvailabilityZoneHints List<string>
    Pool segments requested for allocating the network. Learn more about available pools in Product availability by location. Changing this creates a new network.
    AvailabilityZones 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.
    DnsDomain string
    DNS domain of the network. Learn more about Private DNS.
    External bool
    Specifies if the network has an external routing facility.
    IsDnsEnabled bool
    Specifies if the Private DNS service is enabled for the network.
    IsPublic bool
    Specifies if the network is public.
    Mtu double
    Maximum transmission unit of the network.
    Name string
    Name of the network.
    PortSecurityEnabled bool
    Specifies if port security is enabled by default for the ports of the network.
    ProjectId string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. Changing this creates a new network.
    Region string
    Pool where the network is located, for example, ru-6. Learn more about available pools in Product availability by location. Changing this creates a new network.
    Shared bool
    Specifies if the network can be accessed by any project.
    Status string
    Status of the network.
    Subnets List<string>
    Unique identifiers of the subnets within the network.
    Tags List<string>
    Tags of the network.
    Timeouts VpcNetworkV2Timeouts
    AdminStateUp bool
    Specifies if the network is administratively up. The default value is true.
    AllTags []string
    All tags of the network.
    AvailabilityZoneHints []string
    Pool segments requested for allocating the network. Learn more about available pools in Product availability by location. Changing this creates a new network.
    AvailabilityZones []string
    Pool segments where the network is actually allocated.
    Blocked bool
    Specifies if the network is administratively blocked.
    Description string
    Description of the network.
    DnsDomain string
    DNS domain of the network. Learn more about Private DNS.
    External bool
    Specifies if the network has an external routing facility.
    IsDnsEnabled bool
    Specifies if the Private DNS service is enabled for the network.
    IsPublic bool
    Specifies if the network is public.
    Mtu float64
    Maximum transmission unit of the network.
    Name string
    Name of the network.
    PortSecurityEnabled bool
    Specifies if port security is enabled by default for the ports of the network.
    ProjectId string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. Changing this creates a new network.
    Region string
    Pool where the network is located, for example, ru-6. Learn more about available pools in Product availability by location. Changing this creates a new network.
    Shared bool
    Specifies if the network can be accessed by any project.
    Status string
    Status of the network.
    Subnets []string
    Unique identifiers of the subnets within the network.
    Tags []string
    Tags of the network.
    Timeouts VpcNetworkV2TimeoutsArgs
    admin_state_up bool
    Specifies if the network is administratively up. The default value is true.
    all_tags list(string)
    All tags of the network.
    availability_zone_hints list(string)
    Pool segments requested for allocating the network. Learn more about available pools in Product availability by location. Changing this creates a new 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. Learn more about Private DNS.
    external bool
    Specifies if the network has an external routing facility.
    is_dns_enabled bool
    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.
    name string
    Name of the network.
    port_security_enabled bool
    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. Changing this creates a new network.
    region string
    Pool where the network is located, for example, ru-6. Learn more about available pools in Product availability by location. Changing this creates a new network.
    shared bool
    Specifies if the network can be accessed by any project.
    status string
    Status of the network.
    subnets list(string)
    Unique identifiers of the subnets within the network.
    tags list(string)
    Tags of the network.
    timeouts object
    adminStateUp Boolean
    Specifies if the network is administratively up. The default value is true.
    allTags List<String>
    All tags of the network.
    availabilityZoneHints List<String>
    Pool segments requested for allocating the network. Learn more about available pools in Product availability by location. Changing this creates a new network.
    availabilityZones 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.
    dnsDomain String
    DNS domain of the network. Learn more about Private DNS.
    external Boolean
    Specifies if the network has an external routing facility.
    isDnsEnabled Boolean
    Specifies if the Private DNS service is enabled for the network.
    isPublic Boolean
    Specifies if the network is public.
    mtu Double
    Maximum transmission unit of the network.
    name String
    Name of the network.
    portSecurityEnabled Boolean
    Specifies if port security is enabled by default for the ports of the network.
    projectId String
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. Changing this creates a new network.
    region String
    Pool where the network is located, for example, ru-6. Learn more about available pools in Product availability by location. Changing this creates a new network.
    shared Boolean
    Specifies if the network can be accessed by any project.
    status String
    Status of the network.
    subnets List<String>
    Unique identifiers of the subnets within the network.
    tags List<String>
    Tags of the network.
    timeouts VpcNetworkV2Timeouts
    adminStateUp boolean
    Specifies if the network is administratively up. The default value is true.
    allTags string[]
    All tags of the network.
    availabilityZoneHints string[]
    Pool segments requested for allocating the network. Learn more about available pools in Product availability by location. Changing this creates a new network.
    availabilityZones string[]
    Pool segments where the network is actually allocated.
    blocked boolean
    Specifies if the network is administratively blocked.
    description string
    Description of the network.
    dnsDomain string
    DNS domain of the network. Learn more about Private DNS.
    external boolean
    Specifies if the network has an external routing facility.
    isDnsEnabled boolean
    Specifies if the Private DNS service is enabled for the network.
    isPublic boolean
    Specifies if the network is public.
    mtu number
    Maximum transmission unit of the network.
    name string
    Name of the network.
    portSecurityEnabled boolean
    Specifies if port security is enabled by default for the ports of the network.
    projectId string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. Changing this creates a new network.
    region string
    Pool where the network is located, for example, ru-6. Learn more about available pools in Product availability by location. Changing this creates a new network.
    shared boolean
    Specifies if the network can be accessed by any project.
    status string
    Status of the network.
    subnets string[]
    Unique identifiers of the subnets within the network.
    tags string[]
    Tags of the network.
    timeouts VpcNetworkV2Timeouts
    admin_state_up bool
    Specifies if the network is administratively up. The default value is true.
    all_tags Sequence[str]
    All tags of the network.
    availability_zone_hints Sequence[str]
    Pool segments requested for allocating the network. Learn more about available pools in Product availability by location. Changing this creates a new 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. Learn more about Private DNS.
    external bool
    Specifies if the network has an external routing facility.
    is_dns_enabled bool
    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.
    name str
    Name of the network.
    port_security_enabled bool
    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. Changing this creates a new network.
    region str
    Pool where the network is located, for example, ru-6. Learn more about available pools in Product availability by location. Changing this creates a new network.
    shared bool
    Specifies if the network can be accessed by any project.
    status str
    Status of the network.
    subnets Sequence[str]
    Unique identifiers of the subnets within the network.
    tags Sequence[str]
    Tags of the network.
    timeouts VpcNetworkV2TimeoutsArgs
    adminStateUp Boolean
    Specifies if the network is administratively up. The default value is true.
    allTags List<String>
    All tags of the network.
    availabilityZoneHints List<String>
    Pool segments requested for allocating the network. Learn more about available pools in Product availability by location. Changing this creates a new network.
    availabilityZones 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.
    dnsDomain String
    DNS domain of the network. Learn more about Private DNS.
    external Boolean
    Specifies if the network has an external routing facility.
    isDnsEnabled Boolean
    Specifies if the Private DNS service is enabled for the network.
    isPublic Boolean
    Specifies if the network is public.
    mtu Number
    Maximum transmission unit of the network.
    name String
    Name of the network.
    portSecurityEnabled Boolean
    Specifies if port security is enabled by default for the ports of the network.
    projectId String
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. Retrieved from the selectelvpcproject_v2 resource. Learn more about Projects. Changing this creates a new network.
    region String
    Pool where the network is located, for example, ru-6. Learn more about available pools in Product availability by location. Changing this creates a new network.
    shared Boolean
    Specifies if the network can be accessed by any project.
    status String
    Status of the network.
    subnets List<String>
    Unique identifiers of the subnets within the network.
    tags List<String>
    Tags of the network.
    timeouts Property Map

    Supporting Types

    VpcNetworkV2Timeouts, VpcNetworkV2TimeoutsArgs

    Delete string
    Delete string
    delete string
    delete String
    delete string
    delete str
    delete String

    Import

    All versions

    Use the pulumi import command:

    export OS_DOMAIN_NAME=<domain_name>

    export OS_USERNAME=

    export OS_PASSWORD=

    export INFRA_PROJECT_ID=<project_id>

    export INFRA_REGION=

    $ pulumi import selectel:index/vpcNetworkV2:VpcNetworkV2 network_1 <id>
    

    <domain_name>, <username>, and <password> are the arguments of the provider configuration.

    Other identity attributes are described above in the import or resource sections.

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

    Package Details

    Repository
    selectel selectel/terraform-provider-selectel
    License
    Notes
    This Pulumi package is based on the selectel Terraform Provider.
    selectel
    Viewing docs for selectel 9.5.0
    published on Friday, Oct 30, 2026 by selectel

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial