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 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 dictionarydata "selectel_get_vpc_port_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 port is located, for example,
ru-6. Learn more about available pools in Product availability by location. - Admin
State boolUp - 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 List<string>Ids - Unique identifiers of security groups of which the port must have at least one assigned.
- Status string
- Status of the port. Available statuses are
ACTIVEorDOWN. - List<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 boolUp - 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 []stringIds - Unique identifiers of security groups of which the port must have at least one assigned.
- Status string
- Status of the port. Available statuses are
ACTIVEorDOWN. - []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_ boolup - 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_ list(string)ids - Unique identifiers of security groups of which the port must have at least one assigned.
- status string
- Status of the port. Available statuses are
ACTIVEorDOWN. - list(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 BooleanUp - 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 List<String>Ids - Unique identifiers of security groups of which the port must have at least one assigned.
- status String
- Status of the port. Available statuses are
ACTIVEorDOWN. - List<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 booleanUp - 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 string[]Ids - Unique identifiers of security groups of which the port must have at least one assigned.
- status string
- Status of the port. Available statuses are
ACTIVEorDOWN. - 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_ boolup - 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_ Sequence[str]ids - Unique identifiers of security groups of which the port must have at least one assigned.
- status str
- Status of the port. Available statuses are
ACTIVEorDOWN. - Sequence[str]
- 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 BooleanUp - 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 List<String>Ids - Unique identifiers of security groups of which the port must have at least one assigned.
- status String
- Status of the port. Available statuses are
ACTIVEorDOWN. - List<String>
- Tags of the port.
getVpcPortV2 Result
The following output properties are available:
- Admin
State boolUp - Specifies if the port is administratively up.
- All
Fixed List<GetIps Vpc Port V2All Fixed Ip> - All fixed IPs of the port.
- All
Security List<string>Group Ids - All unique identifiers of security groups assigned to the port.
- List<string>
- All tags of the port.
- Allowed
Address List<GetPairs Vpc Port V2Allowed Address Pair> - 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 List<GetOptions Vpc Port V2Extra Dhcp Option> - 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 boolEnabled - 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
ACTIVEorDOWN. - Fixed
Ip string - Address among the port fixed IP addresses, for example
192.168.1.10. - Security
Group List<string>Ids - Unique identifiers of security groups of which the port must have at least one assigned.
- List<string>
- Tags of the port.
- Admin
State boolUp - Specifies if the port is administratively up.
- All
Fixed []GetIps Vpc Port V2All Fixed Ip - All fixed IPs of the port.
- All
Security []stringGroup Ids - All unique identifiers of security groups assigned to the port.
- []string
- All tags of the port.
- Allowed
Address []GetPairs Vpc Port V2Allowed Address Pair - 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 []GetOptions Vpc Port V2Extra Dhcp Option - 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 boolEnabled - 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
ACTIVEorDOWN. - Fixed
Ip string - Address among the port fixed IP addresses, for example
192.168.1.10. - Security
Group []stringIds - Unique identifiers of security groups of which the port must have at least one assigned.
- []string
- Tags of the port.
- admin_
state_ boolup - Specifies if the port is administratively up.
- all_
fixed_ list(object)ips - All fixed IPs of the port.
- all_
security_ list(string)group_ ids - All unique identifiers of security groups assigned to the port.
- list(string)
- All tags of the port.
- allowed_
address_ list(object)pairs - 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_ list(object)options - 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_ boolenabled - 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
ACTIVEorDOWN. - fixed_
ip string - Address among the port fixed IP addresses, for example
192.168.1.10. - security_
group_ list(string)ids - Unique identifiers of security groups of which the port must have at least one assigned.
- list(string)
- Tags of the port.
- admin
State BooleanUp - Specifies if the port is administratively up.
- all
Fixed List<GetIps Vpc Port V2All Fixed Ip> - All fixed IPs of the port.
- all
Security List<String>Group Ids - All unique identifiers of security groups assigned to the port.
- List<String>
- All tags of the port.
- allowed
Address List<GetPairs Vpc Port V2Allowed Address Pair> - 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.
- 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 Boolean - Specifies if DHCP is administratively blocked on the port.
- dns
Name String - DNS name of the port. Learn more about Private DNS.
- extra
Dhcp List<GetOptions Vpc Port V2Extra Dhcp Option> - 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 BooleanEnabled - 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
ACTIVEorDOWN. - fixed
Ip String - Address among the port fixed IP addresses, for example
192.168.1.10. - security
Group List<String>Ids - Unique identifiers of security groups of which the port must have at least one assigned.
- List<String>
- Tags of the port.
- admin
State booleanUp - Specifies if the port is administratively up.
- all
Fixed GetIps Vpc Port V2All Fixed Ip[] - All fixed IPs of the port.
- all
Security string[]Group Ids - All unique identifiers of security groups assigned to the port.
- string[]
- All tags of the port.
- allowed
Address GetPairs Vpc Port V2Allowed Address Pair[] - 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.
- 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 boolean - Specifies if DHCP is administratively blocked on the port.
- dns
Name string - DNS name of the port. Learn more about Private DNS.
- extra
Dhcp GetOptions Vpc Port V2Extra Dhcp Option[] - 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 booleanEnabled - 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
ACTIVEorDOWN. - fixed
Ip string - Address among the port fixed IP addresses, for example
192.168.1.10. - security
Group string[]Ids - Unique identifiers of security groups of which the port must have at least one assigned.
- string[]
- Tags of the port.
- admin_
state_ boolup - Specifies if the port is administratively up.
- all_
fixed_ Sequence[Getips Vpc Port V2All Fixed Ip] - All fixed IPs of the port.
- all_
security_ Sequence[str]group_ ids - All unique identifiers of security groups assigned to the port.
- Sequence[str]
- All tags of the port.
- allowed_
address_ Sequence[Getpairs Vpc Port V2Allowed Address Pair] - 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_ Sequence[Getoptions Vpc Port V2Extra Dhcp Option] - 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_ boolenabled - 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
ACTIVEorDOWN. - fixed_
ip str - Address among the port fixed IP addresses, for example
192.168.1.10. - security_
group_ Sequence[str]ids - Unique identifiers of security groups of which the port must have at least one assigned.
- Sequence[str]
- Tags of the port.
- admin
State BooleanUp - Specifies if the port is administratively up.
- all
Fixed List<Property Map>Ips - All fixed IPs of the port.
- all
Security List<String>Group Ids - All unique identifiers of security groups assigned to the port.
- List<String>
- All tags of the port.
- allowed
Address List<Property Map>Pairs - 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.
- 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 Boolean - Specifies if DHCP is administratively blocked on the port.
- dns
Name String - DNS name of the port. Learn more about Private DNS.
- extra
Dhcp List<Property Map>Options - 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 BooleanEnabled - 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
ACTIVEorDOWN. - fixed
Ip String - Address among the port fixed IP addresses, for example
192.168.1.10. - security
Group List<String>Ids - Unique identifiers of security groups of which the port must have at least one assigned.
- List<String>
- Tags of the port.
Supporting Types
GetVpcPortV2AllFixedIp
- ip_
address string - subnet_
id string
- ip_
address str - subnet_
id str
GetVpcPortV2AllowedAddressPair
- Ip
Address string - Mac
Address string
- Ip
Address string - Mac
Address string
- ip_
address string - mac_
address string
- ip
Address String - mac
Address String
- ip
Address string - mac
Address string
- ip_
address str - mac_
address str
- ip
Address String - mac
Address String
GetVpcPortV2ExtraDhcpOption
- ip_
version number - name string
- value string
- ip_
version float - name str
- value str
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