1. Registry
  2. Packages
  3. Selectel Provider
  4. API Docs
  5. getVpcPortV2
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

    Provides a port. For more information about ports, 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 port1 = selectel.getVpcPortV2({
        projectId: project1.id,
        region: "ru-6",
        fixedIp: "192.168.199.50",
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    port1 = selectel.get_vpc_port_v2(project_id=project1["id"],
        region="ru-6",
        fixed_ip="192.168.199.50")
    
    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.LookupVpcPortV2(ctx, &selectel.LookupVpcPortV2Args{
    			ProjectId: project1.Id,
    			Region:    "ru-6",
    			FixedIp:   pulumi.StringRef("192.168.199.50"),
    		}, 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 port1 = Selectel.GetVpcPortV2.Invoke(new()
        {
            ProjectId = project1.Id,
            Region = "ru-6",
            FixedIp = "192.168.199.50",
        });
    
    });
    
    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.GetVpcPortV2Args;
    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 port1 = SelectelFunctions.getVpcPortV2(GetVpcPortV2Args.builder()
                .projectId(project1.id())
                .region("ru-6")
                .fixedIp("192.168.199.50")
                .build());
    
        }
    }
    
    variables:
      port1:
        fn::invoke:
          function: selectel:getVpcPortV2
          arguments:
            projectId: ${project1.id}
            region: ru-6
            fixedIp: 192.168.199.50
    
    Example coming soon!
    

    Using getVpcPortV2

    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 getVpcPortV2(args: GetVpcPortV2Args, opts?: InvokeOptions): Promise<GetVpcPortV2Result>
    function getVpcPortV2Output(args: GetVpcPortV2OutputArgs, opts?: InvokeOutputOptions): Output<GetVpcPortV2Result>
    def get_vpc_port_v2(admin_state_up: Optional[bool] = None,
                        description: Optional[str] = None,
                        device_id: Optional[str] = None,
                        device_owner: Optional[str] = None,
                        dns_name: Optional[str] = None,
                        fixed_ip: Optional[str] = None,
                        mac_address: Optional[str] = None,
                        name: Optional[str] = None,
                        network_id: Optional[str] = None,
                        port_id: Optional[str] = None,
                        project_id: Optional[str] = None,
                        region: Optional[str] = None,
                        security_group_ids: Optional[Sequence[str]] = None,
                        status: Optional[str] = None,
                        tags: Optional[Sequence[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> GetVpcPortV2Result
    def get_vpc_port_v2_output(admin_state_up: pulumi.Input[Optional[bool]] = None,
                        description: pulumi.Input[Optional[str]] = None,
                        device_id: pulumi.Input[Optional[str]] = None,
                        device_owner: pulumi.Input[Optional[str]] = None,
                        dns_name: pulumi.Input[Optional[str]] = None,
                        fixed_ip: pulumi.Input[Optional[str]] = None,
                        mac_address: pulumi.Input[Optional[str]] = None,
                        name: pulumi.Input[Optional[str]] = None,
                        network_id: pulumi.Input[Optional[str]] = None,
                        port_id: pulumi.Input[Optional[str]] = None,
                        project_id: pulumi.Input[Optional[str]] = None,
                        region: pulumi.Input[Optional[str]] = None,
                        security_group_ids: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
                        status: pulumi.Input[Optional[str]] = None,
                        tags: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
                        opts: Optional[InvokeOutputOptions] = None) -> Output[GetVpcPortV2Result]
    func LookupVpcPortV2(ctx *Context, args *LookupVpcPortV2Args, opts ...InvokeOption) (*LookupVpcPortV2Result, error)
    func LookupVpcPortV2Output(ctx *Context, args *LookupVpcPortV2OutputArgs, opts ...InvokeOption) LookupVpcPortV2ResultOutput

    > Note: This function is named LookupVpcPortV2 in the Go SDK.

    public static class GetVpcPortV2 
    {
        public static Task<GetVpcPortV2Result> InvokeAsync(GetVpcPortV2Args args, InvokeOptions? opts = null)
        public static Output<GetVpcPortV2Result> Invoke(GetVpcPortV2InvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetVpcPortV2Result> Invoke(GetVpcPortV2InvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetVpcPortV2Result> getVpcPortV2(GetVpcPortV2Args args, InvokeOptions options)
    public static Output<GetVpcPortV2Result> getVpcPortV2(GetVpcPortV2Args args, InvokeOptions options)
    public static Output<GetVpcPortV2Result> getVpcPortV2(GetVpcPortV2Args args, InvokeOutputOptions options)
    
    fn::invoke:
      function: selectel:index/getVpcPortV2:getVpcPortV2
      arguments:
        # arguments dictionary
    data "selectel_get_vpc_port_v2" "name" {
        # arguments
    }

    The following arguments are supported:

    ProjectId 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 port is located, for example, ru-6. Learn more about available pools in Product availability by location.
    AdminStateUp bool
    Specifies if the port is administratively up.
    Description string
    Description of the port.
    DeviceId string
    Unique identifier of the device the port is attached to.
    DeviceOwner string
    Owner of the device the port is attached to.
    DnsName string
    DNS name of the port. Learn more about Private DNS.
    FixedIp string
    Address among the port fixed IP addresses, for example 192.168.1.10.
    MacAddress string
    MAC address of the port, for example fa:16:3e:4c:2c:30.
    Name string
    Name of the port.
    NetworkId string
    Unique identifier of the network the port belongs to. 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.
    PortId string
    Unique identifier of the port. To get the port ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Ports tab ⟶ copy the ID of the required port.
    SecurityGroupIds List<string>
    Unique identifiers of security groups of which the port must have at least one assigned.
    Status string
    Status of the port. Available statuses are ACTIVE or DOWN.
    Tags List<string>
    Tags of the port.
    ProjectId 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 port is located, for example, ru-6. Learn more about available pools in Product availability by location.
    AdminStateUp bool
    Specifies if the port is administratively up.
    Description string
    Description of the port.
    DeviceId string
    Unique identifier of the device the port is attached to.
    DeviceOwner string
    Owner of the device the port is attached to.
    DnsName string
    DNS name of the port. Learn more about Private DNS.
    FixedIp string
    Address among the port fixed IP addresses, for example 192.168.1.10.
    MacAddress string
    MAC address of the port, for example fa:16:3e:4c:2c:30.
    Name string
    Name of the port.
    NetworkId string
    Unique identifier of the network the port belongs to. 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.
    PortId string
    Unique identifier of the port. To get the port ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Ports tab ⟶ copy the ID of the required port.
    SecurityGroupIds []string
    Unique identifiers of security groups of which the port must have at least one assigned.
    Status string
    Status of the port. Available statuses are ACTIVE or DOWN.
    Tags []string
    Tags of the port.
    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 port is located, for example, ru-6. Learn more about available pools in Product availability by location.
    admin_state_up bool
    Specifies if the port is administratively up.
    description string
    Description of the port.
    device_id string
    Unique identifier of the device the port is attached to.
    device_owner string
    Owner of the device the port is attached to.
    dns_name string
    DNS name of the port. Learn more about Private DNS.
    fixed_ip string
    Address among the port fixed IP addresses, for example 192.168.1.10.
    mac_address string
    MAC address of the port, for example fa:16:3e:4c:2c:30.
    name string
    Name of the port.
    network_id string
    Unique identifier of the network the port belongs to. 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_id string
    Unique identifier of the port. To get the port ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Ports tab ⟶ copy the ID of the required port.
    security_group_ids list(string)
    Unique identifiers of security groups of which the port must have at least one assigned.
    status string
    Status of the port. Available statuses are ACTIVE or DOWN.
    tags list(string)
    Tags of the port.
    projectId 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 port is located, for example, ru-6. Learn more about available pools in Product availability by location.
    adminStateUp Boolean
    Specifies if the port is administratively up.
    description String
    Description of the port.
    deviceId String
    Unique identifier of the device the port is attached to.
    deviceOwner String
    Owner of the device the port is attached to.
    dnsName String
    DNS name of the port. Learn more about Private DNS.
    fixedIp String
    Address among the port fixed IP addresses, for example 192.168.1.10.
    macAddress String
    MAC address of the port, for example fa:16:3e:4c:2c:30.
    name String
    Name of the port.
    networkId String
    Unique identifier of the network the port belongs to. 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.
    portId String
    Unique identifier of the port. To get the port ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Ports tab ⟶ copy the ID of the required port.
    securityGroupIds List<String>
    Unique identifiers of security groups of which the port must have at least one assigned.
    status String
    Status of the port. Available statuses are ACTIVE or DOWN.
    tags List<String>
    Tags of the port.
    projectId 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 port is located, for example, ru-6. Learn more about available pools in Product availability by location.
    adminStateUp boolean
    Specifies if the port is administratively up.
    description string
    Description of the port.
    deviceId string
    Unique identifier of the device the port is attached to.
    deviceOwner string
    Owner of the device the port is attached to.
    dnsName string
    DNS name of the port. Learn more about Private DNS.
    fixedIp string
    Address among the port fixed IP addresses, for example 192.168.1.10.
    macAddress string
    MAC address of the port, for example fa:16:3e:4c:2c:30.
    name string
    Name of the port.
    networkId string
    Unique identifier of the network the port belongs to. 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.
    portId string
    Unique identifier of the port. To get the port ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Ports tab ⟶ copy the ID of the required port.
    securityGroupIds string[]
    Unique identifiers of security groups of which the port must have at least one assigned.
    status string
    Status of the port. Available statuses are ACTIVE or DOWN.
    tags string[]
    Tags of the port.
    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 port is located, for example, ru-6. Learn more about available pools in Product availability by location.
    admin_state_up bool
    Specifies if the port is administratively up.
    description str
    Description of the port.
    device_id str
    Unique identifier of the device the port is attached to.
    device_owner str
    Owner of the device the port is attached to.
    dns_name str
    DNS name of the port. Learn more about Private DNS.
    fixed_ip str
    Address among the port fixed IP addresses, for example 192.168.1.10.
    mac_address str
    MAC address of the port, for example fa:16:3e:4c:2c:30.
    name str
    Name of the port.
    network_id str
    Unique identifier of the network the port belongs to. 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_id str
    Unique identifier of the port. To get the port ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Ports tab ⟶ copy the ID of the required port.
    security_group_ids Sequence[str]
    Unique identifiers of security groups of which the port must have at least one assigned.
    status str
    Status of the port. Available statuses are ACTIVE or DOWN.
    tags Sequence[str]
    Tags of the port.
    projectId 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 port is located, for example, ru-6. Learn more about available pools in Product availability by location.
    adminStateUp Boolean
    Specifies if the port is administratively up.
    description String
    Description of the port.
    deviceId String
    Unique identifier of the device the port is attached to.
    deviceOwner String
    Owner of the device the port is attached to.
    dnsName String
    DNS name of the port. Learn more about Private DNS.
    fixedIp String
    Address among the port fixed IP addresses, for example 192.168.1.10.
    macAddress String
    MAC address of the port, for example fa:16:3e:4c:2c:30.
    name String
    Name of the port.
    networkId String
    Unique identifier of the network the port belongs to. 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.
    portId String
    Unique identifier of the port. To get the port ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Ports tab ⟶ copy the ID of the required port.
    securityGroupIds List<String>
    Unique identifiers of security groups of which the port must have at least one assigned.
    status String
    Status of the port. Available statuses are ACTIVE or DOWN.
    tags List<String>
    Tags of the port.

    getVpcPortV2 Result

    The following output properties are available:

    AdminStateUp bool
    Specifies if the port is administratively up.
    AllFixedIps List<GetVpcPortV2AllFixedIp>
    All fixed IPs of the port.
    AllSecurityGroupIds List<string>
    All unique identifiers of security groups assigned to the port.
    AllTags List<string>
    All tags of the port.
    AllowedAddressPairs List<GetVpcPortV2AllowedAddressPair>
    Additional IP and MAC address pairs allowed on the port.
    Blocked bool
    Specifies if the port is administratively blocked.
    Description string
    Description of the port.
    DeviceId string
    Unique identifier of the device the port is attached to.
    DeviceOwner string
    Owner of the device the port is attached to.
    DhcpBlocked bool
    Specifies if DHCP is administratively blocked on the port.
    DnsName string
    DNS name of the port. Learn more about Private DNS.
    ExtraDhcpOptions List<GetVpcPortV2ExtraDhcpOption>
    Extra DHCP options configured on the port.
    Id string
    Unique identifier of the port.
    MacAddress string
    MAC address of the port, for example fa:16:3e:4c:2c:30.
    Name string
    Name of the port.
    NetworkId string
    Unique identifier of the network the port belongs to. 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.
    PortId string
    Unique identifier of the port. To get the port ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Ports tab ⟶ copy the ID of the required port.
    PortSecurityEnabled bool
    Specifies if port security is enabled.
    ProjectId 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 port is located, for example, ru-6. Learn more about available pools in Product availability by location.
    Status string
    Status of the port. Available statuses are ACTIVE or DOWN.
    FixedIp string
    Address among the port fixed IP addresses, for example 192.168.1.10.
    SecurityGroupIds List<string>
    Unique identifiers of security groups of which the port must have at least one assigned.
    Tags List<string>
    Tags of the port.
    AdminStateUp bool
    Specifies if the port is administratively up.
    AllFixedIps []GetVpcPortV2AllFixedIp
    All fixed IPs of the port.
    AllSecurityGroupIds []string
    All unique identifiers of security groups assigned to the port.
    AllTags []string
    All tags of the port.
    AllowedAddressPairs []GetVpcPortV2AllowedAddressPair
    Additional IP and MAC address pairs allowed on the port.
    Blocked bool
    Specifies if the port is administratively blocked.
    Description string
    Description of the port.
    DeviceId string
    Unique identifier of the device the port is attached to.
    DeviceOwner string
    Owner of the device the port is attached to.
    DhcpBlocked bool
    Specifies if DHCP is administratively blocked on the port.
    DnsName string
    DNS name of the port. Learn more about Private DNS.
    ExtraDhcpOptions []GetVpcPortV2ExtraDhcpOption
    Extra DHCP options configured on the port.
    Id string
    Unique identifier of the port.
    MacAddress string
    MAC address of the port, for example fa:16:3e:4c:2c:30.
    Name string
    Name of the port.
    NetworkId string
    Unique identifier of the network the port belongs to. 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.
    PortId string
    Unique identifier of the port. To get the port ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Ports tab ⟶ copy the ID of the required port.
    PortSecurityEnabled bool
    Specifies if port security is enabled.
    ProjectId 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 port is located, for example, ru-6. Learn more about available pools in Product availability by location.
    Status string
    Status of the port. Available statuses are ACTIVE or DOWN.
    FixedIp string
    Address among the port fixed IP addresses, for example 192.168.1.10.
    SecurityGroupIds []string
    Unique identifiers of security groups of which the port must have at least one assigned.
    Tags []string
    Tags of the port.
    admin_state_up bool
    Specifies if the port is administratively up.
    all_fixed_ips list(object)
    All fixed IPs of the port.
    all_security_group_ids list(string)
    All unique identifiers of security groups assigned to the port.
    all_tags list(string)
    All tags of the port.
    allowed_address_pairs list(object)
    Additional IP and MAC address pairs allowed on the port.
    blocked bool
    Specifies if the port is administratively blocked.
    description string
    Description of the port.
    device_id string
    Unique identifier of the device the port is attached to.
    device_owner string
    Owner of the device the port is attached to.
    dhcp_blocked bool
    Specifies if DHCP is administratively blocked on the port.
    dns_name string
    DNS name of the port. Learn more about Private DNS.
    extra_dhcp_options list(object)
    Extra DHCP options configured on the port.
    id string
    Unique identifier of the port.
    mac_address string
    MAC address of the port, for example fa:16:3e:4c:2c:30.
    name string
    Name of the port.
    network_id string
    Unique identifier of the network the port belongs to. 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_id string
    Unique identifier of the port. To get the port ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Ports tab ⟶ copy the ID of the required port.
    port_security_enabled bool
    Specifies if port security is enabled.
    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 port is located, for example, ru-6. Learn more about available pools in Product availability by location.
    status string
    Status of the port. Available statuses are ACTIVE or DOWN.
    fixed_ip string
    Address among the port fixed IP addresses, for example 192.168.1.10.
    security_group_ids list(string)
    Unique identifiers of security groups of which the port must have at least one assigned.
    tags list(string)
    Tags of the port.
    adminStateUp Boolean
    Specifies if the port is administratively up.
    allFixedIps List<GetVpcPortV2AllFixedIp>
    All fixed IPs of the port.
    allSecurityGroupIds List<String>
    All unique identifiers of security groups assigned to the port.
    allTags List<String>
    All tags of the port.
    allowedAddressPairs List<GetVpcPortV2AllowedAddressPair>
    Additional IP and MAC address pairs allowed on the port.
    blocked Boolean
    Specifies if the port is administratively blocked.
    description String
    Description of the port.
    deviceId String
    Unique identifier of the device the port is attached to.
    deviceOwner String
    Owner of the device the port is attached to.
    dhcpBlocked Boolean
    Specifies if DHCP is administratively blocked on the port.
    dnsName String
    DNS name of the port. Learn more about Private DNS.
    extraDhcpOptions List<GetVpcPortV2ExtraDhcpOption>
    Extra DHCP options configured on the port.
    id String
    Unique identifier of the port.
    macAddress String
    MAC address of the port, for example fa:16:3e:4c:2c:30.
    name String
    Name of the port.
    networkId String
    Unique identifier of the network the port belongs to. 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.
    portId String
    Unique identifier of the port. To get the port ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Ports tab ⟶ copy the ID of the required port.
    portSecurityEnabled Boolean
    Specifies if port security is enabled.
    projectId 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 port is located, for example, ru-6. Learn more about available pools in Product availability by location.
    status String
    Status of the port. Available statuses are ACTIVE or DOWN.
    fixedIp String
    Address among the port fixed IP addresses, for example 192.168.1.10.
    securityGroupIds List<String>
    Unique identifiers of security groups of which the port must have at least one assigned.
    tags List<String>
    Tags of the port.
    adminStateUp boolean
    Specifies if the port is administratively up.
    allFixedIps GetVpcPortV2AllFixedIp[]
    All fixed IPs of the port.
    allSecurityGroupIds string[]
    All unique identifiers of security groups assigned to the port.
    allTags string[]
    All tags of the port.
    allowedAddressPairs GetVpcPortV2AllowedAddressPair[]
    Additional IP and MAC address pairs allowed on the port.
    blocked boolean
    Specifies if the port is administratively blocked.
    description string
    Description of the port.
    deviceId string
    Unique identifier of the device the port is attached to.
    deviceOwner string
    Owner of the device the port is attached to.
    dhcpBlocked boolean
    Specifies if DHCP is administratively blocked on the port.
    dnsName string
    DNS name of the port. Learn more about Private DNS.
    extraDhcpOptions GetVpcPortV2ExtraDhcpOption[]
    Extra DHCP options configured on the port.
    id string
    Unique identifier of the port.
    macAddress string
    MAC address of the port, for example fa:16:3e:4c:2c:30.
    name string
    Name of the port.
    networkId string
    Unique identifier of the network the port belongs to. 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.
    portId string
    Unique identifier of the port. To get the port ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Ports tab ⟶ copy the ID of the required port.
    portSecurityEnabled boolean
    Specifies if port security is enabled.
    projectId 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 port is located, for example, ru-6. Learn more about available pools in Product availability by location.
    status string
    Status of the port. Available statuses are ACTIVE or DOWN.
    fixedIp string
    Address among the port fixed IP addresses, for example 192.168.1.10.
    securityGroupIds string[]
    Unique identifiers of security groups of which the port must have at least one assigned.
    tags string[]
    Tags of the port.
    admin_state_up bool
    Specifies if the port is administratively up.
    all_fixed_ips Sequence[GetVpcPortV2AllFixedIp]
    All fixed IPs of the port.
    all_security_group_ids Sequence[str]
    All unique identifiers of security groups assigned to the port.
    all_tags Sequence[str]
    All tags of the port.
    allowed_address_pairs Sequence[GetVpcPortV2AllowedAddressPair]
    Additional IP and MAC address pairs allowed on the port.
    blocked bool
    Specifies if the port is administratively blocked.
    description str
    Description of the port.
    device_id str
    Unique identifier of the device the port is attached to.
    device_owner str
    Owner of the device the port is attached to.
    dhcp_blocked bool
    Specifies if DHCP is administratively blocked on the port.
    dns_name str
    DNS name of the port. Learn more about Private DNS.
    extra_dhcp_options Sequence[GetVpcPortV2ExtraDhcpOption]
    Extra DHCP options configured on the port.
    id str
    Unique identifier of the port.
    mac_address str
    MAC address of the port, for example fa:16:3e:4c:2c:30.
    name str
    Name of the port.
    network_id str
    Unique identifier of the network the port belongs to. 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_id str
    Unique identifier of the port. To get the port ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Ports tab ⟶ copy the ID of the required port.
    port_security_enabled bool
    Specifies if port security is enabled.
    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 port is located, for example, ru-6. Learn more about available pools in Product availability by location.
    status str
    Status of the port. Available statuses are ACTIVE or DOWN.
    fixed_ip str
    Address among the port fixed IP addresses, for example 192.168.1.10.
    security_group_ids Sequence[str]
    Unique identifiers of security groups of which the port must have at least one assigned.
    tags Sequence[str]
    Tags of the port.
    adminStateUp Boolean
    Specifies if the port is administratively up.
    allFixedIps List<Property Map>
    All fixed IPs of the port.
    allSecurityGroupIds List<String>
    All unique identifiers of security groups assigned to the port.
    allTags List<String>
    All tags of the port.
    allowedAddressPairs List<Property Map>
    Additional IP and MAC address pairs allowed on the port.
    blocked Boolean
    Specifies if the port is administratively blocked.
    description String
    Description of the port.
    deviceId String
    Unique identifier of the device the port is attached to.
    deviceOwner String
    Owner of the device the port is attached to.
    dhcpBlocked Boolean
    Specifies if DHCP is administratively blocked on the port.
    dnsName String
    DNS name of the port. Learn more about Private DNS.
    extraDhcpOptions List<Property Map>
    Extra DHCP options configured on the port.
    id String
    Unique identifier of the port.
    macAddress String
    MAC address of the port, for example fa:16:3e:4c:2c:30.
    name String
    Name of the port.
    networkId String
    Unique identifier of the network the port belongs to. 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.
    portId String
    Unique identifier of the port. To get the port ID, in the Control panel, go to Products ⟶ Cloud Servers ⟶ Network ⟶ the Private networks tab ⟶ the network page ⟶ the Ports tab ⟶ copy the ID of the required port.
    portSecurityEnabled Boolean
    Specifies if port security is enabled.
    projectId 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 port is located, for example, ru-6. Learn more about available pools in Product availability by location.
    status String
    Status of the port. Available statuses are ACTIVE or DOWN.
    fixedIp String
    Address among the port fixed IP addresses, for example 192.168.1.10.
    securityGroupIds List<String>
    Unique identifiers of security groups of which the port must have at least one assigned.
    tags List<String>
    Tags of the port.

    Supporting Types

    GetVpcPortV2AllFixedIp

    IpAddress string
    SubnetId string
    IpAddress string
    SubnetId string
    ip_address string
    subnet_id string
    ipAddress String
    subnetId String
    ipAddress string
    subnetId string
    ipAddress String
    subnetId String

    GetVpcPortV2AllowedAddressPair

    IpAddress string
    MacAddress string
    IpAddress string
    MacAddress string
    ip_address string
    mac_address string
    ipAddress String
    macAddress String
    ipAddress string
    macAddress string
    ipAddress String
    macAddress String

    GetVpcPortV2ExtraDhcpOption

    IpVersion double
    Name string
    Value string
    IpVersion float64
    Name string
    Value string
    ip_version number
    name string
    value string
    ipVersion Double
    name String
    value String
    ipVersion number
    name string
    value string
    ip_version float
    name str
    value str
    ipVersion Number
    name String
    value String

    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