published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
Network resource schema. Must have a region specified in the provider configuration.
Behavior of not configured
ipv4_nameserverswill change from January 2026. Whenipv4_nameserversis not set, it will be set to the network area’sdefault_nameservers. To prevent any nameserver configuration, theipv4_nameserversattribute should be explicitly set to an empty list[]. In cases whereipv4_nameserversare defined within the resource, the existing behavior will remain unchanged.
Example Usage
resource "stackit_network" "example_with_name" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-with-name"
}
resource "stackit_network" "example_routed_network" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-routed-network"
labels = {
"key" = "value"
}
routed = true
}
resource "stackit_network" "example_non_routed_network" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-non-routed-network"
ipv4_nameservers = ["1.2.3.4", "5.6.7.8"]
ipv4_gateway = "10.1.2.3"
ipv4_prefix = "10.1.2.0/24"
labels = {
"key" = "value"
}
routed = false
}
# Only use the import statement, if you want to import an existing network
# Note: There will be a conflict which needs to be resolved manually.
# These attributes cannot be configured together: [ipv4_prefix,ipv4_prefix_length,ipv4_gateway]
import {
to = stackit_network.import-example
id = "${var.project_id},${var.region},${var.network_id}"
}
Create Network Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Network(name: string, args: NetworkArgs, opts?: CustomResourceOptions);@overload
def Network(resource_name: str,
args: NetworkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Network(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_id: Optional[str] = None,
ipv6_prefix_length: Optional[int] = None,
name: Optional[str] = None,
ipv4_prefix: Optional[str] = None,
ipv4_prefix_length: Optional[int] = None,
ipv6_gateway: Optional[str] = None,
ipv6_nameservers: Optional[Sequence[str]] = None,
ipv6_prefix: Optional[str] = None,
dhcp: Optional[bool] = None,
ipv4_nameservers: Optional[Sequence[str]] = None,
nameservers: Optional[Sequence[str]] = None,
labels: Optional[Mapping[str, str]] = None,
no_ipv4_gateway: Optional[bool] = None,
no_ipv6_gateway: Optional[bool] = None,
ipv4_gateway: Optional[str] = None,
region: Optional[str] = None,
routed: Optional[bool] = None,
routing_table_id: Optional[str] = None)func NewNetwork(ctx *Context, name string, args NetworkArgs, opts ...ResourceOption) (*Network, error)public Network(string name, NetworkArgs args, CustomResourceOptions? opts = null)
public Network(String name, NetworkArgs args)
public Network(String name, NetworkArgs args, CustomResourceOptions options)
type: stackit:Network
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NetworkArgs
- 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 NetworkArgs
- 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 NetworkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NetworkArgs
- 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 networkResource = new Stackit.Network("networkResource", new()
{
ProjectId = "string",
Ipv6PrefixLength = 0,
Name = "string",
Ipv4Prefix = "string",
Ipv4PrefixLength = 0,
Ipv6Gateway = "string",
Ipv6Nameservers = new[]
{
"string",
},
Ipv6Prefix = "string",
Dhcp = false,
Ipv4Nameservers = new[]
{
"string",
},
Labels =
{
{ "string", "string" },
},
NoIpv4Gateway = false,
NoIpv6Gateway = false,
Ipv4Gateway = "string",
Region = "string",
Routed = false,
RoutingTableId = "string",
});
example, err := stackit.NewNetwork(ctx, "networkResource", &stackit.NetworkArgs{
ProjectId: pulumi.String("string"),
Ipv6PrefixLength: pulumi.Int(0),
Name: pulumi.String("string"),
Ipv4Prefix: pulumi.String("string"),
Ipv4PrefixLength: pulumi.Int(0),
Ipv6Gateway: pulumi.String("string"),
Ipv6Nameservers: pulumi.StringArray{
pulumi.String("string"),
},
Ipv6Prefix: pulumi.String("string"),
Dhcp: pulumi.Bool(false),
Ipv4Nameservers: pulumi.StringArray{
pulumi.String("string"),
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
NoIpv4Gateway: pulumi.Bool(false),
NoIpv6Gateway: pulumi.Bool(false),
Ipv4Gateway: pulumi.String("string"),
Region: pulumi.String("string"),
Routed: pulumi.Bool(false),
RoutingTableId: pulumi.String("string"),
})
var networkResource = new Network("networkResource", NetworkArgs.builder()
.projectId("string")
.ipv6PrefixLength(0)
.name("string")
.ipv4Prefix("string")
.ipv4PrefixLength(0)
.ipv6Gateway("string")
.ipv6Nameservers("string")
.ipv6Prefix("string")
.dhcp(false)
.ipv4Nameservers("string")
.labels(Map.of("string", "string"))
.noIpv4Gateway(false)
.noIpv6Gateway(false)
.ipv4Gateway("string")
.region("string")
.routed(false)
.routingTableId("string")
.build());
network_resource = stackit.Network("networkResource",
project_id="string",
ipv6_prefix_length=0,
name="string",
ipv4_prefix="string",
ipv4_prefix_length=0,
ipv6_gateway="string",
ipv6_nameservers=["string"],
ipv6_prefix="string",
dhcp=False,
ipv4_nameservers=["string"],
labels={
"string": "string",
},
no_ipv4_gateway=False,
no_ipv6_gateway=False,
ipv4_gateway="string",
region="string",
routed=False,
routing_table_id="string")
const networkResource = new stackit.Network("networkResource", {
projectId: "string",
ipv6PrefixLength: 0,
name: "string",
ipv4Prefix: "string",
ipv4PrefixLength: 0,
ipv6Gateway: "string",
ipv6Nameservers: ["string"],
ipv6Prefix: "string",
dhcp: false,
ipv4Nameservers: ["string"],
labels: {
string: "string",
},
noIpv4Gateway: false,
noIpv6Gateway: false,
ipv4Gateway: "string",
region: "string",
routed: false,
routingTableId: "string",
});
type: stackit:Network
properties:
dhcp: false
ipv4Gateway: string
ipv4Nameservers:
- string
ipv4Prefix: string
ipv4PrefixLength: 0
ipv6Gateway: string
ipv6Nameservers:
- string
ipv6Prefix: string
ipv6PrefixLength: 0
labels:
string: string
name: string
noIpv4Gateway: false
noIpv6Gateway: false
projectId: string
region: string
routed: false
routingTableId: string
Network 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 Network resource accepts the following input properties:
- Project
Id string - STACKIT project ID to which the network is associated.
- Dhcp bool
- If the network has DHCP enabled. Default value is
true. - Ipv4Gateway string
- The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- Ipv4Nameservers List<string>
- The IPv4 nameservers of the network.
- Ipv4Prefix string
- The IPv4 prefix of the network (CIDR).
- Ipv4Prefix
Length int - The IPv4 prefix length of the network.
- Ipv6Gateway string
- The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- Ipv6Nameservers List<string>
- The IPv6 nameservers of the network.
- Ipv6Prefix string
- The IPv6 prefix of the network (CIDR).
- Ipv6Prefix
Length int - The IPv6 prefix length of the network.
- Labels Dictionary<string, string>
- Labels are key-value string pairs which can be attached to a resource container
- Name string
- The name of the network.
- Nameservers List<string>
- The nameservers of the network. This field is deprecated and will be removed in January 2026, use
ipv4_nameserversto configure the nameservers for IPv4. - No
Ipv4Gateway bool - If set to
true, the network doesn't have a gateway. - No
Ipv6Gateway bool - If set to
true, the network doesn't have a gateway. - Region string
- The resource region. If not defined, the provider region is used.
- Routed bool
- If set to
true, the network is routed and therefore accessible from other networks. - Routing
Table stringId - The ID of the routing table associated with the network.
- Project
Id string - STACKIT project ID to which the network is associated.
- Dhcp bool
- If the network has DHCP enabled. Default value is
true. - Ipv4Gateway string
- The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- Ipv4Nameservers []string
- The IPv4 nameservers of the network.
- Ipv4Prefix string
- The IPv4 prefix of the network (CIDR).
- Ipv4Prefix
Length int - The IPv4 prefix length of the network.
- Ipv6Gateway string
- The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- Ipv6Nameservers []string
- The IPv6 nameservers of the network.
- Ipv6Prefix string
- The IPv6 prefix of the network (CIDR).
- Ipv6Prefix
Length int - The IPv6 prefix length of the network.
- Labels map[string]string
- Labels are key-value string pairs which can be attached to a resource container
- Name string
- The name of the network.
- Nameservers []string
- The nameservers of the network. This field is deprecated and will be removed in January 2026, use
ipv4_nameserversto configure the nameservers for IPv4. - No
Ipv4Gateway bool - If set to
true, the network doesn't have a gateway. - No
Ipv6Gateway bool - If set to
true, the network doesn't have a gateway. - Region string
- The resource region. If not defined, the provider region is used.
- Routed bool
- If set to
true, the network is routed and therefore accessible from other networks. - Routing
Table stringId - The ID of the routing table associated with the network.
- project
Id String - STACKIT project ID to which the network is associated.
- dhcp Boolean
- If the network has DHCP enabled. Default value is
true. - ipv4Gateway String
- The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- ipv4Nameservers List<String>
- The IPv4 nameservers of the network.
- ipv4Prefix String
- The IPv4 prefix of the network (CIDR).
- ipv4Prefix
Length Integer - The IPv4 prefix length of the network.
- ipv6Gateway String
- The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- ipv6Nameservers List<String>
- The IPv6 nameservers of the network.
- ipv6Prefix String
- The IPv6 prefix of the network (CIDR).
- ipv6Prefix
Length Integer - The IPv6 prefix length of the network.
- labels Map<String,String>
- Labels are key-value string pairs which can be attached to a resource container
- name String
- The name of the network.
- nameservers List<String>
- The nameservers of the network. This field is deprecated and will be removed in January 2026, use
ipv4_nameserversto configure the nameservers for IPv4. - no
Ipv4Gateway Boolean - If set to
true, the network doesn't have a gateway. - no
Ipv6Gateway Boolean - If set to
true, the network doesn't have a gateway. - region String
- The resource region. If not defined, the provider region is used.
- routed Boolean
- If set to
true, the network is routed and therefore accessible from other networks. - routing
Table StringId - The ID of the routing table associated with the network.
- project
Id string - STACKIT project ID to which the network is associated.
- dhcp boolean
- If the network has DHCP enabled. Default value is
true. - ipv4Gateway string
- The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- ipv4Nameservers string[]
- The IPv4 nameservers of the network.
- ipv4Prefix string
- The IPv4 prefix of the network (CIDR).
- ipv4Prefix
Length number - The IPv4 prefix length of the network.
- ipv6Gateway string
- The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- ipv6Nameservers string[]
- The IPv6 nameservers of the network.
- ipv6Prefix string
- The IPv6 prefix of the network (CIDR).
- ipv6Prefix
Length number - The IPv6 prefix length of the network.
- labels {[key: string]: string}
- Labels are key-value string pairs which can be attached to a resource container
- name string
- The name of the network.
- nameservers string[]
- The nameservers of the network. This field is deprecated and will be removed in January 2026, use
ipv4_nameserversto configure the nameservers for IPv4. - no
Ipv4Gateway boolean - If set to
true, the network doesn't have a gateway. - no
Ipv6Gateway boolean - If set to
true, the network doesn't have a gateway. - region string
- The resource region. If not defined, the provider region is used.
- routed boolean
- If set to
true, the network is routed and therefore accessible from other networks. - routing
Table stringId - The ID of the routing table associated with the network.
- project_
id str - STACKIT project ID to which the network is associated.
- dhcp bool
- If the network has DHCP enabled. Default value is
true. - ipv4_
gateway str - The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- ipv4_
nameservers Sequence[str] - The IPv4 nameservers of the network.
- ipv4_
prefix str - The IPv4 prefix of the network (CIDR).
- ipv4_
prefix_ intlength - The IPv4 prefix length of the network.
- ipv6_
gateway str - The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- ipv6_
nameservers Sequence[str] - The IPv6 nameservers of the network.
- ipv6_
prefix str - The IPv6 prefix of the network (CIDR).
- ipv6_
prefix_ intlength - The IPv6 prefix length of the network.
- labels Mapping[str, str]
- Labels are key-value string pairs which can be attached to a resource container
- name str
- The name of the network.
- nameservers Sequence[str]
- The nameservers of the network. This field is deprecated and will be removed in January 2026, use
ipv4_nameserversto configure the nameservers for IPv4. - no_
ipv4_ boolgateway - If set to
true, the network doesn't have a gateway. - no_
ipv6_ boolgateway - If set to
true, the network doesn't have a gateway. - region str
- The resource region. If not defined, the provider region is used.
- routed bool
- If set to
true, the network is routed and therefore accessible from other networks. - routing_
table_ strid - The ID of the routing table associated with the network.
- project
Id String - STACKIT project ID to which the network is associated.
- dhcp Boolean
- If the network has DHCP enabled. Default value is
true. - ipv4Gateway String
- The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- ipv4Nameservers List<String>
- The IPv4 nameservers of the network.
- ipv4Prefix String
- The IPv4 prefix of the network (CIDR).
- ipv4Prefix
Length Number - The IPv4 prefix length of the network.
- ipv6Gateway String
- The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- ipv6Nameservers List<String>
- The IPv6 nameservers of the network.
- ipv6Prefix String
- The IPv6 prefix of the network (CIDR).
- ipv6Prefix
Length Number - The IPv6 prefix length of the network.
- labels Map<String>
- Labels are key-value string pairs which can be attached to a resource container
- name String
- The name of the network.
- nameservers List<String>
- The nameservers of the network. This field is deprecated and will be removed in January 2026, use
ipv4_nameserversto configure the nameservers for IPv4. - no
Ipv4Gateway Boolean - If set to
true, the network doesn't have a gateway. - no
Ipv6Gateway Boolean - If set to
true, the network doesn't have a gateway. - region String
- The resource region. If not defined, the provider region is used.
- routed Boolean
- If set to
true, the network is routed and therefore accessible from other networks. - routing
Table StringId - The ID of the routing table associated with the network.
Outputs
All input properties are implicitly available as output properties. Additionally, the Network resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv4Prefixes List<string>
- The IPv4 prefixes of the network.
- Ipv6Prefixes List<string>
- The IPv6 prefixes of the network.
- Network
Id string - The network ID.
- Prefixes List<string>
- The prefixes of the network. This field is deprecated and will be removed in January 2026, use
ipv4_prefixesto read the prefixes of the IPv4 networks. - Public
Ip string - The public IP of the network.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv4Prefixes []string
- The IPv4 prefixes of the network.
- Ipv6Prefixes []string
- The IPv6 prefixes of the network.
- Network
Id string - The network ID.
- Prefixes []string
- The prefixes of the network. This field is deprecated and will be removed in January 2026, use
ipv4_prefixesto read the prefixes of the IPv4 networks. - Public
Ip string - The public IP of the network.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv4Prefixes List<String>
- The IPv4 prefixes of the network.
- ipv6Prefixes List<String>
- The IPv6 prefixes of the network.
- network
Id String - The network ID.
- prefixes List<String>
- The prefixes of the network. This field is deprecated and will be removed in January 2026, use
ipv4_prefixesto read the prefixes of the IPv4 networks. - public
Ip String - The public IP of the network.
- id string
- The provider-assigned unique ID for this managed resource.
- ipv4Prefixes string[]
- The IPv4 prefixes of the network.
- ipv6Prefixes string[]
- The IPv6 prefixes of the network.
- network
Id string - The network ID.
- prefixes string[]
- The prefixes of the network. This field is deprecated and will be removed in January 2026, use
ipv4_prefixesto read the prefixes of the IPv4 networks. - public
Ip string - The public IP of the network.
- id str
- The provider-assigned unique ID for this managed resource.
- ipv4_
prefixes Sequence[str] - The IPv4 prefixes of the network.
- ipv6_
prefixes Sequence[str] - The IPv6 prefixes of the network.
- network_
id str - The network ID.
- prefixes Sequence[str]
- The prefixes of the network. This field is deprecated and will be removed in January 2026, use
ipv4_prefixesto read the prefixes of the IPv4 networks. - public_
ip str - The public IP of the network.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv4Prefixes List<String>
- The IPv4 prefixes of the network.
- ipv6Prefixes List<String>
- The IPv6 prefixes of the network.
- network
Id String - The network ID.
- prefixes List<String>
- The prefixes of the network. This field is deprecated and will be removed in January 2026, use
ipv4_prefixesto read the prefixes of the IPv4 networks. - public
Ip String - The public IP of the network.
Look up Existing Network Resource
Get an existing Network 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?: NetworkState, opts?: CustomResourceOptions): Network@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dhcp: Optional[bool] = None,
ipv4_gateway: Optional[str] = None,
ipv4_nameservers: Optional[Sequence[str]] = None,
ipv4_prefix: Optional[str] = None,
ipv4_prefix_length: Optional[int] = None,
ipv4_prefixes: Optional[Sequence[str]] = None,
ipv6_gateway: Optional[str] = None,
ipv6_nameservers: Optional[Sequence[str]] = None,
ipv6_prefix: Optional[str] = None,
ipv6_prefix_length: Optional[int] = None,
ipv6_prefixes: Optional[Sequence[str]] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
nameservers: Optional[Sequence[str]] = None,
network_id: Optional[str] = None,
no_ipv4_gateway: Optional[bool] = None,
no_ipv6_gateway: Optional[bool] = None,
prefixes: Optional[Sequence[str]] = None,
project_id: Optional[str] = None,
public_ip: Optional[str] = None,
region: Optional[str] = None,
routed: Optional[bool] = None,
routing_table_id: Optional[str] = None) -> Networkfunc GetNetwork(ctx *Context, name string, id IDInput, state *NetworkState, opts ...ResourceOption) (*Network, error)public static Network Get(string name, Input<string> id, NetworkState? state, CustomResourceOptions? opts = null)public static Network get(String name, Output<String> id, NetworkState state, CustomResourceOptions options)resources: _: type: stackit:Network get: 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.
- Dhcp bool
- If the network has DHCP enabled. Default value is
true. - Ipv4Gateway string
- The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- Ipv4Nameservers List<string>
- The IPv4 nameservers of the network.
- Ipv4Prefix string
- The IPv4 prefix of the network (CIDR).
- Ipv4Prefix
Length int - The IPv4 prefix length of the network.
- Ipv4Prefixes List<string>
- The IPv4 prefixes of the network.
- Ipv6Gateway string
- The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- Ipv6Nameservers List<string>
- The IPv6 nameservers of the network.
- Ipv6Prefix string
- The IPv6 prefix of the network (CIDR).
- Ipv6Prefix
Length int - The IPv6 prefix length of the network.
- Ipv6Prefixes List<string>
- The IPv6 prefixes of the network.
- Labels Dictionary<string, string>
- Labels are key-value string pairs which can be attached to a resource container
- Name string
- The name of the network.
- Nameservers List<string>
- The nameservers of the network. This field is deprecated and will be removed in January 2026, use
ipv4_nameserversto configure the nameservers for IPv4. - Network
Id string - The network ID.
- No
Ipv4Gateway bool - If set to
true, the network doesn't have a gateway. - No
Ipv6Gateway bool - If set to
true, the network doesn't have a gateway. - Prefixes List<string>
- The prefixes of the network. This field is deprecated and will be removed in January 2026, use
ipv4_prefixesto read the prefixes of the IPv4 networks. - Project
Id string - STACKIT project ID to which the network is associated.
- Public
Ip string - The public IP of the network.
- Region string
- The resource region. If not defined, the provider region is used.
- Routed bool
- If set to
true, the network is routed and therefore accessible from other networks. - Routing
Table stringId - The ID of the routing table associated with the network.
- Dhcp bool
- If the network has DHCP enabled. Default value is
true. - Ipv4Gateway string
- The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- Ipv4Nameservers []string
- The IPv4 nameservers of the network.
- Ipv4Prefix string
- The IPv4 prefix of the network (CIDR).
- Ipv4Prefix
Length int - The IPv4 prefix length of the network.
- Ipv4Prefixes []string
- The IPv4 prefixes of the network.
- Ipv6Gateway string
- The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- Ipv6Nameservers []string
- The IPv6 nameservers of the network.
- Ipv6Prefix string
- The IPv6 prefix of the network (CIDR).
- Ipv6Prefix
Length int - The IPv6 prefix length of the network.
- Ipv6Prefixes []string
- The IPv6 prefixes of the network.
- Labels map[string]string
- Labels are key-value string pairs which can be attached to a resource container
- Name string
- The name of the network.
- Nameservers []string
- The nameservers of the network. This field is deprecated and will be removed in January 2026, use
ipv4_nameserversto configure the nameservers for IPv4. - Network
Id string - The network ID.
- No
Ipv4Gateway bool - If set to
true, the network doesn't have a gateway. - No
Ipv6Gateway bool - If set to
true, the network doesn't have a gateway. - Prefixes []string
- The prefixes of the network. This field is deprecated and will be removed in January 2026, use
ipv4_prefixesto read the prefixes of the IPv4 networks. - Project
Id string - STACKIT project ID to which the network is associated.
- Public
Ip string - The public IP of the network.
- Region string
- The resource region. If not defined, the provider region is used.
- Routed bool
- If set to
true, the network is routed and therefore accessible from other networks. - Routing
Table stringId - The ID of the routing table associated with the network.
- dhcp Boolean
- If the network has DHCP enabled. Default value is
true. - ipv4Gateway String
- The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- ipv4Nameservers List<String>
- The IPv4 nameservers of the network.
- ipv4Prefix String
- The IPv4 prefix of the network (CIDR).
- ipv4Prefix
Length Integer - The IPv4 prefix length of the network.
- ipv4Prefixes List<String>
- The IPv4 prefixes of the network.
- ipv6Gateway String
- The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- ipv6Nameservers List<String>
- The IPv6 nameservers of the network.
- ipv6Prefix String
- The IPv6 prefix of the network (CIDR).
- ipv6Prefix
Length Integer - The IPv6 prefix length of the network.
- ipv6Prefixes List<String>
- The IPv6 prefixes of the network.
- labels Map<String,String>
- Labels are key-value string pairs which can be attached to a resource container
- name String
- The name of the network.
- nameservers List<String>
- The nameservers of the network. This field is deprecated and will be removed in January 2026, use
ipv4_nameserversto configure the nameservers for IPv4. - network
Id String - The network ID.
- no
Ipv4Gateway Boolean - If set to
true, the network doesn't have a gateway. - no
Ipv6Gateway Boolean - If set to
true, the network doesn't have a gateway. - prefixes List<String>
- The prefixes of the network. This field is deprecated and will be removed in January 2026, use
ipv4_prefixesto read the prefixes of the IPv4 networks. - project
Id String - STACKIT project ID to which the network is associated.
- public
Ip String - The public IP of the network.
- region String
- The resource region. If not defined, the provider region is used.
- routed Boolean
- If set to
true, the network is routed and therefore accessible from other networks. - routing
Table StringId - The ID of the routing table associated with the network.
- dhcp boolean
- If the network has DHCP enabled. Default value is
true. - ipv4Gateway string
- The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- ipv4Nameservers string[]
- The IPv4 nameservers of the network.
- ipv4Prefix string
- The IPv4 prefix of the network (CIDR).
- ipv4Prefix
Length number - The IPv4 prefix length of the network.
- ipv4Prefixes string[]
- The IPv4 prefixes of the network.
- ipv6Gateway string
- The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- ipv6Nameservers string[]
- The IPv6 nameservers of the network.
- ipv6Prefix string
- The IPv6 prefix of the network (CIDR).
- ipv6Prefix
Length number - The IPv6 prefix length of the network.
- ipv6Prefixes string[]
- The IPv6 prefixes of the network.
- labels {[key: string]: string}
- Labels are key-value string pairs which can be attached to a resource container
- name string
- The name of the network.
- nameservers string[]
- The nameservers of the network. This field is deprecated and will be removed in January 2026, use
ipv4_nameserversto configure the nameservers for IPv4. - network
Id string - The network ID.
- no
Ipv4Gateway boolean - If set to
true, the network doesn't have a gateway. - no
Ipv6Gateway boolean - If set to
true, the network doesn't have a gateway. - prefixes string[]
- The prefixes of the network. This field is deprecated and will be removed in January 2026, use
ipv4_prefixesto read the prefixes of the IPv4 networks. - project
Id string - STACKIT project ID to which the network is associated.
- public
Ip string - The public IP of the network.
- region string
- The resource region. If not defined, the provider region is used.
- routed boolean
- If set to
true, the network is routed and therefore accessible from other networks. - routing
Table stringId - The ID of the routing table associated with the network.
- dhcp bool
- If the network has DHCP enabled. Default value is
true. - ipv4_
gateway str - The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- ipv4_
nameservers Sequence[str] - The IPv4 nameservers of the network.
- ipv4_
prefix str - The IPv4 prefix of the network (CIDR).
- ipv4_
prefix_ intlength - The IPv4 prefix length of the network.
- ipv4_
prefixes Sequence[str] - The IPv4 prefixes of the network.
- ipv6_
gateway str - The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- ipv6_
nameservers Sequence[str] - The IPv6 nameservers of the network.
- ipv6_
prefix str - The IPv6 prefix of the network (CIDR).
- ipv6_
prefix_ intlength - The IPv6 prefix length of the network.
- ipv6_
prefixes Sequence[str] - The IPv6 prefixes of the network.
- labels Mapping[str, str]
- Labels are key-value string pairs which can be attached to a resource container
- name str
- The name of the network.
- nameservers Sequence[str]
- The nameservers of the network. This field is deprecated and will be removed in January 2026, use
ipv4_nameserversto configure the nameservers for IPv4. - network_
id str - The network ID.
- no_
ipv4_ boolgateway - If set to
true, the network doesn't have a gateway. - no_
ipv6_ boolgateway - If set to
true, the network doesn't have a gateway. - prefixes Sequence[str]
- The prefixes of the network. This field is deprecated and will be removed in January 2026, use
ipv4_prefixesto read the prefixes of the IPv4 networks. - project_
id str - STACKIT project ID to which the network is associated.
- public_
ip str - The public IP of the network.
- region str
- The resource region. If not defined, the provider region is used.
- routed bool
- If set to
true, the network is routed and therefore accessible from other networks. - routing_
table_ strid - The ID of the routing table associated with the network.
- dhcp Boolean
- If the network has DHCP enabled. Default value is
true. - ipv4Gateway String
- The IPv4 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- ipv4Nameservers List<String>
- The IPv4 nameservers of the network.
- ipv4Prefix String
- The IPv4 prefix of the network (CIDR).
- ipv4Prefix
Length Number - The IPv4 prefix length of the network.
- ipv4Prefixes List<String>
- The IPv4 prefixes of the network.
- ipv6Gateway String
- The IPv6 gateway of a network. If not specified, the first IP of the network will be assigned as the gateway.
- ipv6Nameservers List<String>
- The IPv6 nameservers of the network.
- ipv6Prefix String
- The IPv6 prefix of the network (CIDR).
- ipv6Prefix
Length Number - The IPv6 prefix length of the network.
- ipv6Prefixes List<String>
- The IPv6 prefixes of the network.
- labels Map<String>
- Labels are key-value string pairs which can be attached to a resource container
- name String
- The name of the network.
- nameservers List<String>
- The nameservers of the network. This field is deprecated and will be removed in January 2026, use
ipv4_nameserversto configure the nameservers for IPv4. - network
Id String - The network ID.
- no
Ipv4Gateway Boolean - If set to
true, the network doesn't have a gateway. - no
Ipv6Gateway Boolean - If set to
true, the network doesn't have a gateway. - prefixes List<String>
- The prefixes of the network. This field is deprecated and will be removed in January 2026, use
ipv4_prefixesto read the prefixes of the IPv4 networks. - project
Id String - STACKIT project ID to which the network is associated.
- public
Ip String - The public IP of the network.
- region String
- The resource region. If not defined, the provider region is used.
- routed Boolean
- If set to
true, the network is routed and therefore accessible from other networks. - routing
Table StringId - The ID of the routing table associated with the network.
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
published on Friday, Feb 20, 2026 by stackitcloud
