published on Friday, Oct 30, 2026 by selectel
published on Friday, Oct 30, 2026 by selectel
Creates and manages a port using the v2 public API. 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 = new selectel.VpcPortV2("port_1", {
projectId: project1.id,
region: "ru-6",
networkId: network1.id,
});
import pulumi
import pulumi_selectel as selectel
port1 = selectel.VpcPortV2("port_1",
project_id=project1["id"],
region="ru-6",
network_id=network1["id"])
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.NewVpcPortV2(ctx, "port_1", &selectel.VpcPortV2Args{
ProjectId: pulumi.Any(project1.Id),
Region: pulumi.String("ru-6"),
NetworkId: pulumi.Any(network1.Id),
})
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 = new Selectel.VpcPortV2("port_1", new()
{
ProjectId = project1.Id,
Region = "ru-6",
NetworkId = network1.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.selectel.VpcPortV2;
import com.pulumi.selectel.VpcPortV2Args;
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 port1 = new VpcPortV2("port1", VpcPortV2Args.builder()
.projectId(project1.id())
.region("ru-6")
.networkId(network1.id())
.build());
}
}
resources:
port1:
type: selectel:VpcPortV2
name: port_1
properties:
projectId: ${project1.id}
region: ru-6
networkId: ${network1.id}
Example coming soon!
Create VpcPortV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcPortV2(name: string, args: VpcPortV2Args, opts?: CustomResourceOptions);@overload
def VpcPortV2(resource_name: str,
args: VpcPortV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def VpcPortV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
region: Optional[str] = None,
project_id: Optional[str] = None,
mac_address: Optional[str] = None,
device_id: Optional[str] = None,
dns_name: Optional[str] = None,
extra_dhcp_options: Optional[Sequence[VpcPortV2ExtraDhcpOptionArgs]] = None,
fixed_ips: Optional[Sequence[VpcPortV2FixedIpArgs]] = None,
admin_state_up: Optional[bool] = None,
name: Optional[str] = None,
device_owner: Optional[str] = None,
no_fixed_ip: Optional[bool] = None,
no_security_groups: Optional[bool] = None,
description: Optional[str] = None,
allowed_address_pairs: Optional[Sequence[VpcPortV2AllowedAddressPairArgs]] = None,
security_group_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[str]] = None)func NewVpcPortV2(ctx *Context, name string, args VpcPortV2Args, opts ...ResourceOption) (*VpcPortV2, error)public VpcPortV2(string name, VpcPortV2Args args, CustomResourceOptions? opts = null)
public VpcPortV2(String name, VpcPortV2Args args)
public VpcPortV2(String name, VpcPortV2Args args, CustomResourceOptions options)
type: selectel:VpcPortV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "selectel_vpc_port_v2" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args VpcPortV2Args
- 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 VpcPortV2Args
- 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 VpcPortV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcPortV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcPortV2Args
- 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 vpcPortV2Resource = new Selectel.VpcPortV2("vpcPortV2Resource", new()
{
NetworkId = "string",
Region = "string",
ProjectId = "string",
MacAddress = "string",
DeviceId = "string",
DnsName = "string",
ExtraDhcpOptions = new[]
{
new Selectel.Inputs.VpcPortV2ExtraDhcpOptionArgs
{
Name = "string",
Value = "string",
IpVersion = 0.0,
},
},
FixedIps = new[]
{
new Selectel.Inputs.VpcPortV2FixedIpArgs
{
IpAddress = "string",
SubnetId = "string",
},
},
AdminStateUp = false,
Name = "string",
DeviceOwner = "string",
NoFixedIp = false,
NoSecurityGroups = false,
Description = "string",
AllowedAddressPairs = new[]
{
new Selectel.Inputs.VpcPortV2AllowedAddressPairArgs
{
IpAddress = "string",
MacAddress = "string",
},
},
SecurityGroupIds = new[]
{
"string",
},
Tags = new[]
{
"string",
},
});
example, err := selectel.NewVpcPortV2(ctx, "vpcPortV2Resource", &selectel.VpcPortV2Args{
NetworkId: pulumi.String("string"),
Region: pulumi.String("string"),
ProjectId: pulumi.String("string"),
MacAddress: pulumi.String("string"),
DeviceId: pulumi.String("string"),
DnsName: pulumi.String("string"),
ExtraDhcpOptions: selectel.VpcPortV2ExtraDhcpOptionArray{
&selectel.VpcPortV2ExtraDhcpOptionArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
IpVersion: pulumi.Float64(0),
},
},
FixedIps: selectel.VpcPortV2FixedIpArray{
&selectel.VpcPortV2FixedIpArgs{
IpAddress: pulumi.String("string"),
SubnetId: pulumi.String("string"),
},
},
AdminStateUp: pulumi.Bool(false),
Name: pulumi.String("string"),
DeviceOwner: pulumi.String("string"),
NoFixedIp: pulumi.Bool(false),
NoSecurityGroups: pulumi.Bool(false),
Description: pulumi.String("string"),
AllowedAddressPairs: selectel.VpcPortV2AllowedAddressPairArray{
&selectel.VpcPortV2AllowedAddressPairArgs{
IpAddress: pulumi.String("string"),
MacAddress: pulumi.String("string"),
},
},
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
resource "selectel_vpc_port_v2" "vpcPortV2Resource" {
lifecycle {
create_before_destroy = true
}
network_id = "string"
region = "string"
project_id = "string"
mac_address = "string"
device_id = "string"
dns_name = "string"
extra_dhcp_options {
name = "string"
value = "string"
ip_version = 0
}
fixed_ips {
ip_address = "string"
subnet_id = "string"
}
admin_state_up = false
name = "string"
device_owner = "string"
no_fixed_ip = false
no_security_groups = false
description = "string"
allowed_address_pairs {
ip_address = "string"
mac_address = "string"
}
security_group_ids = ["string"]
tags = ["string"]
}
var vpcPortV2Resource = new VpcPortV2("vpcPortV2Resource", VpcPortV2Args.builder()
.networkId("string")
.region("string")
.projectId("string")
.macAddress("string")
.deviceId("string")
.dnsName("string")
.extraDhcpOptions(VpcPortV2ExtraDhcpOptionArgs.builder()
.name("string")
.value("string")
.ipVersion(0.0)
.build())
.fixedIps(VpcPortV2FixedIpArgs.builder()
.ipAddress("string")
.subnetId("string")
.build())
.adminStateUp(false)
.name("string")
.deviceOwner("string")
.noFixedIp(false)
.noSecurityGroups(false)
.description("string")
.allowedAddressPairs(VpcPortV2AllowedAddressPairArgs.builder()
.ipAddress("string")
.macAddress("string")
.build())
.securityGroupIds("string")
.tags("string")
.build());
vpc_port_v2_resource = selectel.VpcPortV2("vpcPortV2Resource",
network_id="string",
region="string",
project_id="string",
mac_address="string",
device_id="string",
dns_name="string",
extra_dhcp_options=[{
"name": "string",
"value": "string",
"ip_version": float(0),
}],
fixed_ips=[{
"ip_address": "string",
"subnet_id": "string",
}],
admin_state_up=False,
name="string",
device_owner="string",
no_fixed_ip=False,
no_security_groups=False,
description="string",
allowed_address_pairs=[{
"ip_address": "string",
"mac_address": "string",
}],
security_group_ids=["string"],
tags=["string"])
const vpcPortV2Resource = new selectel.VpcPortV2("vpcPortV2Resource", {
networkId: "string",
region: "string",
projectId: "string",
macAddress: "string",
deviceId: "string",
dnsName: "string",
extraDhcpOptions: [{
name: "string",
value: "string",
ipVersion: 0,
}],
fixedIps: [{
ipAddress: "string",
subnetId: "string",
}],
adminStateUp: false,
name: "string",
deviceOwner: "string",
noFixedIp: false,
noSecurityGroups: false,
description: "string",
allowedAddressPairs: [{
ipAddress: "string",
macAddress: "string",
}],
securityGroupIds: ["string"],
tags: ["string"],
});
type: selectel:VpcPortV2
properties:
adminStateUp: false
allowedAddressPairs:
- ipAddress: string
macAddress: string
description: string
deviceId: string
deviceOwner: string
dnsName: string
extraDhcpOptions:
- ipVersion: 0
name: string
value: string
fixedIps:
- ipAddress: string
subnetId: string
macAddress: string
name: string
networkId: string
noFixedIp: false
noSecurityGroups: false
projectId: string
region: string
securityGroupIds:
- string
tags:
- string
VpcPortV2 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 VpcPortV2 resource accepts the following input properties:
- Network
Id string - Unique identifier of the network the port belongs to. Retrieved from the selectelvpcnetwork_v2 resource. Changing this creates a new port.
- 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 port. - Region string
- Pool where the port is located, for example,
ru-6. Learn more about available pools in Product availability by location. Changing this creates a new port. - Admin
State boolUp - Specifies if the port is administratively up. The default value is
true. - Allowed
Address List<VpcPairs Port V2Allowed Address Pair> - Additional IP and MAC address pairs allowed on the port.
- Description string
- Description of the port.
- Device
Id string - Unique identifier of the device the port is attached to. Changing this creates a new port.
- Device
Owner string - Owner of the device the port is attached to. Changing this creates a new port.
- Dns
Name string - DNS name of the port. Learn more about Private DNS.
- Extra
Dhcp List<VpcOptions Port V2Extra Dhcp Option> - Extra DHCP options configured on the port.
- Fixed
Ips List<VpcPort V2Fixed Ip> - Fixed IPs of the port. If neither is specified, allocates an address from one of the subnets of the network. Conflicts with
no_fixed_ip. - Mac
Address string - MAC address of the port, for example
fa:16:3e:4c:2c:30. If not specified, it allocates one automatically. Changing this creates a new port. - Name string
- Name of the port.
- No
Fixed boolIp - Specifies whether to create the port without any fixed IP. Conflicts with
fixed_ip. The default value isfalse. - No
Security boolGroups - Specifies whether to create the port without any security group. Conflicts with
security_group_ids. The default value isfalse. - Security
Group List<string>Ids - Unique identifiers of security groups assigned to the port. If not specified, the port gets the default security group of the project. Retrieved from the selectelvpcsecgroup_v2 resource. Conflicts with
no_security_groups. - List<string>
- Tags of the port.
- Network
Id string - Unique identifier of the network the port belongs to. Retrieved from the selectelvpcnetwork_v2 resource. Changing this creates a new port.
- 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 port. - Region string
- Pool where the port is located, for example,
ru-6. Learn more about available pools in Product availability by location. Changing this creates a new port. - Admin
State boolUp - Specifies if the port is administratively up. The default value is
true. - Allowed
Address []VpcPairs Port V2Allowed Address Pair Args - Additional IP and MAC address pairs allowed on the port.
- Description string
- Description of the port.
- Device
Id string - Unique identifier of the device the port is attached to. Changing this creates a new port.
- Device
Owner string - Owner of the device the port is attached to. Changing this creates a new port.
- Dns
Name string - DNS name of the port. Learn more about Private DNS.
- Extra
Dhcp []VpcOptions Port V2Extra Dhcp Option Args - Extra DHCP options configured on the port.
- Fixed
Ips []VpcPort V2Fixed Ip Args - Fixed IPs of the port. If neither is specified, allocates an address from one of the subnets of the network. Conflicts with
no_fixed_ip. - Mac
Address string - MAC address of the port, for example
fa:16:3e:4c:2c:30. If not specified, it allocates one automatically. Changing this creates a new port. - Name string
- Name of the port.
- No
Fixed boolIp - Specifies whether to create the port without any fixed IP. Conflicts with
fixed_ip. The default value isfalse. - No
Security boolGroups - Specifies whether to create the port without any security group. Conflicts with
security_group_ids. The default value isfalse. - Security
Group []stringIds - Unique identifiers of security groups assigned to the port. If not specified, the port gets the default security group of the project. Retrieved from the selectelvpcsecgroup_v2 resource. Conflicts with
no_security_groups. - []string
- Tags of the port.
- network_
id string - Unique identifier of the network the port belongs to. Retrieved from the selectelvpcnetwork_v2 resource. Changing this creates a new port.
- 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 port. - region string
- Pool where the port is located, for example,
ru-6. Learn more about available pools in Product availability by location. Changing this creates a new port. - admin_
state_ boolup - Specifies if the port is administratively up. The default value is
true. - allowed_
address_ list(object)pairs - Additional IP and MAC address pairs allowed on the port.
- description string
- Description of the port.
- device_
id string - Unique identifier of the device the port is attached to. Changing this creates a new port.
- device_
owner string - Owner of the device the port is attached to. Changing this creates a new 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.
- fixed_
ips list(object) - Fixed IPs of the port. If neither is specified, allocates an address from one of the subnets of the network. Conflicts with
no_fixed_ip. - mac_
address string - MAC address of the port, for example
fa:16:3e:4c:2c:30. If not specified, it allocates one automatically. Changing this creates a new port. - name string
- Name of the port.
- no_
fixed_ boolip - Specifies whether to create the port without any fixed IP. Conflicts with
fixed_ip. The default value isfalse. - no_
security_ boolgroups - Specifies whether to create the port without any security group. Conflicts with
security_group_ids. The default value isfalse. - security_
group_ list(string)ids - Unique identifiers of security groups assigned to the port. If not specified, the port gets the default security group of the project. Retrieved from the selectelvpcsecgroup_v2 resource. Conflicts with
no_security_groups. - list(string)
- Tags of the port.
- network
Id String - Unique identifier of the network the port belongs to. Retrieved from the selectelvpcnetwork_v2 resource. Changing this creates a new port.
- 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 port. - region String
- Pool where the port is located, for example,
ru-6. Learn more about available pools in Product availability by location. Changing this creates a new port. - admin
State BooleanUp - Specifies if the port is administratively up. The default value is
true. - allowed
Address List<VpcPairs Port V2Allowed Address Pair> - Additional IP and MAC address pairs allowed on the port.
- description String
- Description of the port.
- device
Id String - Unique identifier of the device the port is attached to. Changing this creates a new port.
- device
Owner String - Owner of the device the port is attached to. Changing this creates a new port.
- dns
Name String - DNS name of the port. Learn more about Private DNS.
- extra
Dhcp List<VpcOptions Port V2Extra Dhcp Option> - Extra DHCP options configured on the port.
- fixed
Ips List<VpcPort V2Fixed Ip> - Fixed IPs of the port. If neither is specified, allocates an address from one of the subnets of the network. Conflicts with
no_fixed_ip. - mac
Address String - MAC address of the port, for example
fa:16:3e:4c:2c:30. If not specified, it allocates one automatically. Changing this creates a new port. - name String
- Name of the port.
- no
Fixed BooleanIp - Specifies whether to create the port without any fixed IP. Conflicts with
fixed_ip. The default value isfalse. - no
Security BooleanGroups - Specifies whether to create the port without any security group. Conflicts with
security_group_ids. The default value isfalse. - security
Group List<String>Ids - Unique identifiers of security groups assigned to the port. If not specified, the port gets the default security group of the project. Retrieved from the selectelvpcsecgroup_v2 resource. Conflicts with
no_security_groups. - List<String>
- Tags of the port.
- network
Id string - Unique identifier of the network the port belongs to. Retrieved from the selectelvpcnetwork_v2 resource. Changing this creates a new port.
- 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 port. - region string
- Pool where the port is located, for example,
ru-6. Learn more about available pools in Product availability by location. Changing this creates a new port. - admin
State booleanUp - Specifies if the port is administratively up. The default value is
true. - allowed
Address VpcPairs Port V2Allowed Address Pair[] - Additional IP and MAC address pairs allowed on the port.
- description string
- Description of the port.
- device
Id string - Unique identifier of the device the port is attached to. Changing this creates a new port.
- device
Owner string - Owner of the device the port is attached to. Changing this creates a new port.
- dns
Name string - DNS name of the port. Learn more about Private DNS.
- extra
Dhcp VpcOptions Port V2Extra Dhcp Option[] - Extra DHCP options configured on the port.
- fixed
Ips VpcPort V2Fixed Ip[] - Fixed IPs of the port. If neither is specified, allocates an address from one of the subnets of the network. Conflicts with
no_fixed_ip. - mac
Address string - MAC address of the port, for example
fa:16:3e:4c:2c:30. If not specified, it allocates one automatically. Changing this creates a new port. - name string
- Name of the port.
- no
Fixed booleanIp - Specifies whether to create the port without any fixed IP. Conflicts with
fixed_ip. The default value isfalse. - no
Security booleanGroups - Specifies whether to create the port without any security group. Conflicts with
security_group_ids. The default value isfalse. - security
Group string[]Ids - Unique identifiers of security groups assigned to the port. If not specified, the port gets the default security group of the project. Retrieved from the selectelvpcsecgroup_v2 resource. Conflicts with
no_security_groups. - string[]
- Tags of the port.
- network_
id str - Unique identifier of the network the port belongs to. Retrieved from the selectelvpcnetwork_v2 resource. Changing this creates a new port.
- 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 port. - region str
- Pool where the port is located, for example,
ru-6. Learn more about available pools in Product availability by location. Changing this creates a new port. - admin_
state_ boolup - Specifies if the port is administratively up. The default value is
true. - allowed_
address_ Sequence[Vpcpairs Port V2Allowed Address Pair Args] - Additional IP and MAC address pairs allowed on the port.
- description str
- Description of the port.
- device_
id str - Unique identifier of the device the port is attached to. Changing this creates a new port.
- device_
owner str - Owner of the device the port is attached to. Changing this creates a new port.
- dns_
name str - DNS name of the port. Learn more about Private DNS.
- extra_
dhcp_ Sequence[Vpcoptions Port V2Extra Dhcp Option Args] - Extra DHCP options configured on the port.
- fixed_
ips Sequence[VpcPort V2Fixed Ip Args] - Fixed IPs of the port. If neither is specified, allocates an address from one of the subnets of the network. Conflicts with
no_fixed_ip. - mac_
address str - MAC address of the port, for example
fa:16:3e:4c:2c:30. If not specified, it allocates one automatically. Changing this creates a new port. - name str
- Name of the port.
- no_
fixed_ boolip - Specifies whether to create the port without any fixed IP. Conflicts with
fixed_ip. The default value isfalse. - no_
security_ boolgroups - Specifies whether to create the port without any security group. Conflicts with
security_group_ids. The default value isfalse. - security_
group_ Sequence[str]ids - Unique identifiers of security groups assigned to the port. If not specified, the port gets the default security group of the project. Retrieved from the selectelvpcsecgroup_v2 resource. Conflicts with
no_security_groups. - Sequence[str]
- Tags of the port.
- network
Id String - Unique identifier of the network the port belongs to. Retrieved from the selectelvpcnetwork_v2 resource. Changing this creates a new port.
- 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 port. - region String
- Pool where the port is located, for example,
ru-6. Learn more about available pools in Product availability by location. Changing this creates a new port. - admin
State BooleanUp - Specifies if the port is administratively up. The default value is
true. - allowed
Address List<Property Map>Pairs - Additional IP and MAC address pairs allowed on the port.
- description String
- Description of the port.
- device
Id String - Unique identifier of the device the port is attached to. Changing this creates a new port.
- device
Owner String - Owner of the device the port is attached to. Changing this creates a new 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.
- fixed
Ips List<Property Map> - Fixed IPs of the port. If neither is specified, allocates an address from one of the subnets of the network. Conflicts with
no_fixed_ip. - mac
Address String - MAC address of the port, for example
fa:16:3e:4c:2c:30. If not specified, it allocates one automatically. Changing this creates a new port. - name String
- Name of the port.
- no
Fixed BooleanIp - Specifies whether to create the port without any fixed IP. Conflicts with
fixed_ip. The default value isfalse. - no
Security BooleanGroups - Specifies whether to create the port without any security group. Conflicts with
security_group_ids. The default value isfalse. - security
Group List<String>Ids - Unique identifiers of security groups assigned to the port. If not specified, the port gets the default security group of the project. Retrieved from the selectelvpcsecgroup_v2 resource. Conflicts with
no_security_groups. - List<String>
- Tags of the port.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcPortV2 resource produces the following output properties:
- All
Fixed List<VpcIps 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.
- Blocked bool
- Specifies if the port is administratively blocked.
- Dhcp
Blocked bool - Specifies if DHCP is administratively blocked on the port.
- Id string
- The provider-assigned unique ID for this managed resource.
- Port
Security boolEnabled - Specifies if port security is enabled.
- Status string
- Status of the port.
- All
Fixed []VpcIps 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.
- Blocked bool
- Specifies if the port is administratively blocked.
- Dhcp
Blocked bool - Specifies if DHCP is administratively blocked on the port.
- Id string
- The provider-assigned unique ID for this managed resource.
- Port
Security boolEnabled - Specifies if port security is enabled.
- Status string
- Status of the port.
- 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.
- blocked bool
- Specifies if the port is administratively blocked.
- dhcp_
blocked bool - Specifies if DHCP is administratively blocked on the port.
- id string
- The provider-assigned unique ID for this managed resource.
- port_
security_ boolenabled - Specifies if port security is enabled.
- status string
- Status of the port.
- all
Fixed List<VpcIps 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.
- blocked Boolean
- Specifies if the port is administratively blocked.
- dhcp
Blocked Boolean - Specifies if DHCP is administratively blocked on the port.
- id String
- The provider-assigned unique ID for this managed resource.
- port
Security BooleanEnabled - Specifies if port security is enabled.
- status String
- Status of the port.
- all
Fixed VpcIps 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.
- blocked boolean
- Specifies if the port is administratively blocked.
- dhcp
Blocked boolean - Specifies if DHCP is administratively blocked on the port.
- id string
- The provider-assigned unique ID for this managed resource.
- port
Security booleanEnabled - Specifies if port security is enabled.
- status string
- Status of the port.
- all_
fixed_ Sequence[Vpcips 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.
- blocked bool
- Specifies if the port is administratively blocked.
- dhcp_
blocked bool - Specifies if DHCP is administratively blocked on the port.
- id str
- The provider-assigned unique ID for this managed resource.
- port_
security_ boolenabled - Specifies if port security is enabled.
- status str
- Status of the port.
- 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.
- blocked Boolean
- Specifies if the port is administratively blocked.
- dhcp
Blocked Boolean - Specifies if DHCP is administratively blocked on the port.
- id String
- The provider-assigned unique ID for this managed resource.
- port
Security BooleanEnabled - Specifies if port security is enabled.
- status String
- Status of the port.
Look up Existing VpcPortV2 Resource
Get an existing VpcPortV2 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?: VpcPortV2State, opts?: CustomResourceOptions): VpcPortV2@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_state_up: Optional[bool] = None,
all_fixed_ips: Optional[Sequence[VpcPortV2AllFixedIpArgs]] = None,
all_security_group_ids: Optional[Sequence[str]] = None,
all_tags: Optional[Sequence[str]] = None,
allowed_address_pairs: Optional[Sequence[VpcPortV2AllowedAddressPairArgs]] = None,
blocked: Optional[bool] = None,
description: Optional[str] = None,
device_id: Optional[str] = None,
device_owner: Optional[str] = None,
dhcp_blocked: Optional[bool] = None,
dns_name: Optional[str] = None,
extra_dhcp_options: Optional[Sequence[VpcPortV2ExtraDhcpOptionArgs]] = None,
fixed_ips: Optional[Sequence[VpcPortV2FixedIpArgs]] = None,
mac_address: Optional[str] = None,
name: Optional[str] = None,
network_id: Optional[str] = None,
no_fixed_ip: Optional[bool] = None,
no_security_groups: Optional[bool] = None,
port_security_enabled: Optional[bool] = 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) -> VpcPortV2func GetVpcPortV2(ctx *Context, name string, id IDInput, state *VpcPortV2State, opts ...ResourceOption) (*VpcPortV2, error)public static VpcPortV2 Get(string name, Input<string> id, VpcPortV2State? state, CustomResourceOptions? opts = null)public static VpcPortV2 get(String name, Output<String> id, VpcPortV2State state, CustomResourceOptions options)resources: _: type: selectel:VpcPortV2 get: id: ${id}import {
to = selectel_vpc_port_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.
- Admin
State boolUp - Specifies if the port is administratively up. The default value is
true. - All
Fixed List<VpcIps 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<VpcPairs 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. Changing this creates a new port.
- Device
Owner string - Owner of the device the port is attached to. Changing this creates a new port.
- 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<VpcOptions Port V2Extra Dhcp Option> - Extra DHCP options configured on the port.
- Fixed
Ips List<VpcPort V2Fixed Ip> - Fixed IPs of the port. If neither is specified, allocates an address from one of the subnets of the network. Conflicts with
no_fixed_ip. - Mac
Address string - MAC address of the port, for example
fa:16:3e:4c:2c:30. If not specified, it allocates one automatically. Changing this creates a new port. - Name string
- Name of the port.
- Network
Id string - Unique identifier of the network the port belongs to. Retrieved from the selectelvpcnetwork_v2 resource. Changing this creates a new port.
- No
Fixed boolIp - Specifies whether to create the port without any fixed IP. Conflicts with
fixed_ip. The default value isfalse. - No
Security boolGroups - Specifies whether to create the port without any security group. Conflicts with
security_group_ids. The default value isfalse. - 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. Changing this creates a new port. - Region string
- Pool where the port is located, for example,
ru-6. Learn more about available pools in Product availability by location. Changing this creates a new port. - Security
Group List<string>Ids - Unique identifiers of security groups assigned to the port. If not specified, the port gets the default security group of the project. Retrieved from the selectelvpcsecgroup_v2 resource. Conflicts with
no_security_groups. - Status string
- Status of the port.
- List<string>
- Tags of the port.
- Admin
State boolUp - Specifies if the port is administratively up. The default value is
true. - All
Fixed []VpcIps Port V2All Fixed Ip Args - 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 []VpcPairs Port V2Allowed Address Pair Args - 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. Changing this creates a new port.
- Device
Owner string - Owner of the device the port is attached to. Changing this creates a new port.
- 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 []VpcOptions Port V2Extra Dhcp Option Args - Extra DHCP options configured on the port.
- Fixed
Ips []VpcPort V2Fixed Ip Args - Fixed IPs of the port. If neither is specified, allocates an address from one of the subnets of the network. Conflicts with
no_fixed_ip. - Mac
Address string - MAC address of the port, for example
fa:16:3e:4c:2c:30. If not specified, it allocates one automatically. Changing this creates a new port. - Name string
- Name of the port.
- Network
Id string - Unique identifier of the network the port belongs to. Retrieved from the selectelvpcnetwork_v2 resource. Changing this creates a new port.
- No
Fixed boolIp - Specifies whether to create the port without any fixed IP. Conflicts with
fixed_ip. The default value isfalse. - No
Security boolGroups - Specifies whether to create the port without any security group. Conflicts with
security_group_ids. The default value isfalse. - 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. Changing this creates a new port. - Region string
- Pool where the port is located, for example,
ru-6. Learn more about available pools in Product availability by location. Changing this creates a new port. - Security
Group []stringIds - Unique identifiers of security groups assigned to the port. If not specified, the port gets the default security group of the project. Retrieved from the selectelvpcsecgroup_v2 resource. Conflicts with
no_security_groups. - Status string
- Status of the port.
- []string
- Tags of the port.
- admin_
state_ boolup - Specifies if the port is administratively up. The default value is
true. - 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. Changing this creates a new port.
- device_
owner string - Owner of the device the port is attached to. Changing this creates a new port.
- 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.
- fixed_
ips list(object) - Fixed IPs of the port. If neither is specified, allocates an address from one of the subnets of the network. Conflicts with
no_fixed_ip. - mac_
address string - MAC address of the port, for example
fa:16:3e:4c:2c:30. If not specified, it allocates one automatically. Changing this creates a new port. - name string
- Name of the port.
- network_
id string - Unique identifier of the network the port belongs to. Retrieved from the selectelvpcnetwork_v2 resource. Changing this creates a new port.
- no_
fixed_ boolip - Specifies whether to create the port without any fixed IP. Conflicts with
fixed_ip. The default value isfalse. - no_
security_ boolgroups - Specifies whether to create the port without any security group. Conflicts with
security_group_ids. The default value isfalse. - 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. Changing this creates a new port. - region string
- Pool where the port is located, for example,
ru-6. Learn more about available pools in Product availability by location. Changing this creates a new port. - security_
group_ list(string)ids - Unique identifiers of security groups assigned to the port. If not specified, the port gets the default security group of the project. Retrieved from the selectelvpcsecgroup_v2 resource. Conflicts with
no_security_groups. - status string
- Status of the port.
- list(string)
- Tags of the port.
- admin
State BooleanUp - Specifies if the port is administratively up. The default value is
true. - all
Fixed List<VpcIps 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<VpcPairs 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. Changing this creates a new port.
- device
Owner String - Owner of the device the port is attached to. Changing this creates a new port.
- 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<VpcOptions Port V2Extra Dhcp Option> - Extra DHCP options configured on the port.
- fixed
Ips List<VpcPort V2Fixed Ip> - Fixed IPs of the port. If neither is specified, allocates an address from one of the subnets of the network. Conflicts with
no_fixed_ip. - mac
Address String - MAC address of the port, for example
fa:16:3e:4c:2c:30. If not specified, it allocates one automatically. Changing this creates a new port. - name String
- Name of the port.
- network
Id String - Unique identifier of the network the port belongs to. Retrieved from the selectelvpcnetwork_v2 resource. Changing this creates a new port.
- no
Fixed BooleanIp - Specifies whether to create the port without any fixed IP. Conflicts with
fixed_ip. The default value isfalse. - no
Security BooleanGroups - Specifies whether to create the port without any security group. Conflicts with
security_group_ids. The default value isfalse. - 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. Changing this creates a new port. - region String
- Pool where the port is located, for example,
ru-6. Learn more about available pools in Product availability by location. Changing this creates a new port. - security
Group List<String>Ids - Unique identifiers of security groups assigned to the port. If not specified, the port gets the default security group of the project. Retrieved from the selectelvpcsecgroup_v2 resource. Conflicts with
no_security_groups. - status String
- Status of the port.
- List<String>
- Tags of the port.
- admin
State booleanUp - Specifies if the port is administratively up. The default value is
true. - all
Fixed VpcIps 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 VpcPairs 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. Changing this creates a new port.
- device
Owner string - Owner of the device the port is attached to. Changing this creates a new port.
- 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 VpcOptions Port V2Extra Dhcp Option[] - Extra DHCP options configured on the port.
- fixed
Ips VpcPort V2Fixed Ip[] - Fixed IPs of the port. If neither is specified, allocates an address from one of the subnets of the network. Conflicts with
no_fixed_ip. - mac
Address string - MAC address of the port, for example
fa:16:3e:4c:2c:30. If not specified, it allocates one automatically. Changing this creates a new port. - name string
- Name of the port.
- network
Id string - Unique identifier of the network the port belongs to. Retrieved from the selectelvpcnetwork_v2 resource. Changing this creates a new port.
- no
Fixed booleanIp - Specifies whether to create the port without any fixed IP. Conflicts with
fixed_ip. The default value isfalse. - no
Security booleanGroups - Specifies whether to create the port without any security group. Conflicts with
security_group_ids. The default value isfalse. - 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. Changing this creates a new port. - region string
- Pool where the port is located, for example,
ru-6. Learn more about available pools in Product availability by location. Changing this creates a new port. - security
Group string[]Ids - Unique identifiers of security groups assigned to the port. If not specified, the port gets the default security group of the project. Retrieved from the selectelvpcsecgroup_v2 resource. Conflicts with
no_security_groups. - status string
- Status of the port.
- string[]
- Tags of the port.
- admin_
state_ boolup - Specifies if the port is administratively up. The default value is
true. - all_
fixed_ Sequence[Vpcips Port V2All Fixed Ip Args] - 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[Vpcpairs Port V2Allowed Address Pair Args] - 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. Changing this creates a new port.
- device_
owner str - Owner of the device the port is attached to. Changing this creates a new port.
- 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[Vpcoptions Port V2Extra Dhcp Option Args] - Extra DHCP options configured on the port.
- fixed_
ips Sequence[VpcPort V2Fixed Ip Args] - Fixed IPs of the port. If neither is specified, allocates an address from one of the subnets of the network. Conflicts with
no_fixed_ip. - mac_
address str - MAC address of the port, for example
fa:16:3e:4c:2c:30. If not specified, it allocates one automatically. Changing this creates a new port. - name str
- Name of the port.
- network_
id str - Unique identifier of the network the port belongs to. Retrieved from the selectelvpcnetwork_v2 resource. Changing this creates a new port.
- no_
fixed_ boolip - Specifies whether to create the port without any fixed IP. Conflicts with
fixed_ip. The default value isfalse. - no_
security_ boolgroups - Specifies whether to create the port without any security group. Conflicts with
security_group_ids. The default value isfalse. - 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. Changing this creates a new port. - region str
- Pool where the port is located, for example,
ru-6. Learn more about available pools in Product availability by location. Changing this creates a new port. - security_
group_ Sequence[str]ids - Unique identifiers of security groups assigned to the port. If not specified, the port gets the default security group of the project. Retrieved from the selectelvpcsecgroup_v2 resource. Conflicts with
no_security_groups. - status str
- Status of the port.
- Sequence[str]
- Tags of the port.
- admin
State BooleanUp - Specifies if the port is administratively up. The default value is
true. - 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. Changing this creates a new port.
- device
Owner String - Owner of the device the port is attached to. Changing this creates a new port.
- 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.
- fixed
Ips List<Property Map> - Fixed IPs of the port. If neither is specified, allocates an address from one of the subnets of the network. Conflicts with
no_fixed_ip. - mac
Address String - MAC address of the port, for example
fa:16:3e:4c:2c:30. If not specified, it allocates one automatically. Changing this creates a new port. - name String
- Name of the port.
- network
Id String - Unique identifier of the network the port belongs to. Retrieved from the selectelvpcnetwork_v2 resource. Changing this creates a new port.
- no
Fixed BooleanIp - Specifies whether to create the port without any fixed IP. Conflicts with
fixed_ip. The default value isfalse. - no
Security BooleanGroups - Specifies whether to create the port without any security group. Conflicts with
security_group_ids. The default value isfalse. - 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. Changing this creates a new port. - region String
- Pool where the port is located, for example,
ru-6. Learn more about available pools in Product availability by location. Changing this creates a new port. - security
Group List<String>Ids - Unique identifiers of security groups assigned to the port. If not specified, the port gets the default security group of the project. Retrieved from the selectelvpcsecgroup_v2 resource. Conflicts with
no_security_groups. - status String
- Status of the port.
- List<String>
- Tags of the port.
Supporting Types
VpcPortV2AllFixedIp, VpcPortV2AllFixedIpArgs
- ip_
address string - subnet_
id string
- ip_
address str - subnet_
id str
VpcPortV2AllowedAddressPair, VpcPortV2AllowedAddressPairArgs
- Ip
Address string - IP address or CIDR of the pair, for example,
192.168.0.10or192.168.0.0/24. - Mac
Address string - MAC address of the pair, for example,
00:11:22:33:44:55. If not specified, the pair gets own port MAC address.
- Ip
Address string - IP address or CIDR of the pair, for example,
192.168.0.10or192.168.0.0/24. - Mac
Address string - MAC address of the pair, for example,
00:11:22:33:44:55. If not specified, the pair gets own port MAC address.
- ip_
address string - IP address or CIDR of the pair, for example,
192.168.0.10or192.168.0.0/24. - mac_
address string - MAC address of the pair, for example,
00:11:22:33:44:55. If not specified, the pair gets own port MAC address.
- ip
Address String - IP address or CIDR of the pair, for example,
192.168.0.10or192.168.0.0/24. - mac
Address String - MAC address of the pair, for example,
00:11:22:33:44:55. If not specified, the pair gets own port MAC address.
- ip
Address string - IP address or CIDR of the pair, for example,
192.168.0.10or192.168.0.0/24. - mac
Address string - MAC address of the pair, for example,
00:11:22:33:44:55. If not specified, the pair gets own port MAC address.
- ip_
address str - IP address or CIDR of the pair, for example,
192.168.0.10or192.168.0.0/24. - mac_
address str - MAC address of the pair, for example,
00:11:22:33:44:55. If not specified, the pair gets own port MAC address.
- ip
Address String - IP address or CIDR of the pair, for example,
192.168.0.10or192.168.0.0/24. - mac
Address String - MAC address of the pair, for example,
00:11:22:33:44:55. If not specified, the pair gets own port MAC address.
VpcPortV2ExtraDhcpOption, VpcPortV2ExtraDhcpOptionArgs
- name string
- Name of the option.
- value string
- Value of the option.
- ip_
version number - Internet protocol version of the option. Available versions are
4or6. The default value is4.
- name str
- Name of the option.
- value str
- Value of the option.
- ip_
version float - Internet protocol version of the option. Available versions are
4or6. The default value is4.
VpcPortV2FixedIp, VpcPortV2FixedIpArgs
- Ip
Address string - Specific address to assign, for example
192.168.1.10. If not specified, it allocates one from the subnet. - Subnet
Id string - Unique identifier of the subnet the address is allocated from. If not specified, selects a suitable subnet of the network. Retrieved from the selectelvpcnetworksubnetv2 resource.
- Ip
Address string - Specific address to assign, for example
192.168.1.10. If not specified, it allocates one from the subnet. - Subnet
Id string - Unique identifier of the subnet the address is allocated from. If not specified, selects a suitable subnet of the network. Retrieved from the selectelvpcnetworksubnetv2 resource.
- ip_
address string - Specific address to assign, for example
192.168.1.10. If not specified, it allocates one from the subnet. - subnet_
id string - Unique identifier of the subnet the address is allocated from. If not specified, selects a suitable subnet of the network. Retrieved from the selectelvpcnetworksubnetv2 resource.
- ip
Address String - Specific address to assign, for example
192.168.1.10. If not specified, it allocates one from the subnet. - subnet
Id String - Unique identifier of the subnet the address is allocated from. If not specified, selects a suitable subnet of the network. Retrieved from the selectelvpcnetworksubnetv2 resource.
- ip
Address string - Specific address to assign, for example
192.168.1.10. If not specified, it allocates one from the subnet. - subnet
Id string - Unique identifier of the subnet the address is allocated from. If not specified, selects a suitable subnet of the network. Retrieved from the selectelvpcnetworksubnetv2 resource.
- ip_
address str - Specific address to assign, for example
192.168.1.10. If not specified, it allocates one from the subnet. - subnet_
id str - Unique identifier of the subnet the address is allocated from. If not specified, selects a suitable subnet of the network. Retrieved from the selectelvpcnetworksubnetv2 resource.
- ip
Address String - Specific address to assign, for example
192.168.1.10. If not specified, it allocates one from the subnet. - subnet
Id String - Unique identifier of the subnet the address is allocated from. If not specified, selects a suitable subnet of the network. Retrieved from the selectelvpcnetworksubnetv2 resource.
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/vpcPortV2:VpcPortV2 port_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
selectelTerraform Provider.
published on Friday, Oct 30, 2026 by selectel