published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
Network area region resource schema.
Example Usage
resource "stackit_network_area_region" "example" {
organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
network_area_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
ipv4 = {
transfer_network = "10.1.2.0/24"
network_ranges = [
{
prefix = "10.0.0.0/16"
}
]
}
}
# Only use the import statement, if you want to import an existing network area region
import {
to = stackit_network_area_region.import-example
id = "${var.organization_id},${var.network_area_id},${var.region}"
}
Create NetworkAreaRegion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NetworkAreaRegion(name: string, args: NetworkAreaRegionArgs, opts?: CustomResourceOptions);@overload
def NetworkAreaRegion(resource_name: str,
args: NetworkAreaRegionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NetworkAreaRegion(resource_name: str,
opts: Optional[ResourceOptions] = None,
ipv4: Optional[NetworkAreaRegionIpv4Args] = None,
network_area_id: Optional[str] = None,
organization_id: Optional[str] = None,
region: Optional[str] = None)func NewNetworkAreaRegion(ctx *Context, name string, args NetworkAreaRegionArgs, opts ...ResourceOption) (*NetworkAreaRegion, error)public NetworkAreaRegion(string name, NetworkAreaRegionArgs args, CustomResourceOptions? opts = null)
public NetworkAreaRegion(String name, NetworkAreaRegionArgs args)
public NetworkAreaRegion(String name, NetworkAreaRegionArgs args, CustomResourceOptions options)
type: stackit:NetworkAreaRegion
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 NetworkAreaRegionArgs
- 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 NetworkAreaRegionArgs
- 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 NetworkAreaRegionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkAreaRegionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NetworkAreaRegionArgs
- 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 networkAreaRegionResource = new Stackit.NetworkAreaRegion("networkAreaRegionResource", new()
{
Ipv4 = new Stackit.Inputs.NetworkAreaRegionIpv4Args
{
NetworkRanges = new[]
{
new Stackit.Inputs.NetworkAreaRegionIpv4NetworkRangeArgs
{
Prefix = "string",
NetworkRangeId = "string",
},
},
TransferNetwork = "string",
DefaultNameservers = new[]
{
"string",
},
DefaultPrefixLength = 0,
MaxPrefixLength = 0,
MinPrefixLength = 0,
},
NetworkAreaId = "string",
OrganizationId = "string",
Region = "string",
});
example, err := stackit.NewNetworkAreaRegion(ctx, "networkAreaRegionResource", &stackit.NetworkAreaRegionArgs{
Ipv4: &stackit.NetworkAreaRegionIpv4Args{
NetworkRanges: stackit.NetworkAreaRegionIpv4NetworkRangeArray{
&stackit.NetworkAreaRegionIpv4NetworkRangeArgs{
Prefix: pulumi.String("string"),
NetworkRangeId: pulumi.String("string"),
},
},
TransferNetwork: pulumi.String("string"),
DefaultNameservers: pulumi.StringArray{
pulumi.String("string"),
},
DefaultPrefixLength: pulumi.Int(0),
MaxPrefixLength: pulumi.Int(0),
MinPrefixLength: pulumi.Int(0),
},
NetworkAreaId: pulumi.String("string"),
OrganizationId: pulumi.String("string"),
Region: pulumi.String("string"),
})
var networkAreaRegionResource = new NetworkAreaRegion("networkAreaRegionResource", NetworkAreaRegionArgs.builder()
.ipv4(NetworkAreaRegionIpv4Args.builder()
.networkRanges(NetworkAreaRegionIpv4NetworkRangeArgs.builder()
.prefix("string")
.networkRangeId("string")
.build())
.transferNetwork("string")
.defaultNameservers("string")
.defaultPrefixLength(0)
.maxPrefixLength(0)
.minPrefixLength(0)
.build())
.networkAreaId("string")
.organizationId("string")
.region("string")
.build());
network_area_region_resource = stackit.NetworkAreaRegion("networkAreaRegionResource",
ipv4={
"network_ranges": [{
"prefix": "string",
"network_range_id": "string",
}],
"transfer_network": "string",
"default_nameservers": ["string"],
"default_prefix_length": 0,
"max_prefix_length": 0,
"min_prefix_length": 0,
},
network_area_id="string",
organization_id="string",
region="string")
const networkAreaRegionResource = new stackit.NetworkAreaRegion("networkAreaRegionResource", {
ipv4: {
networkRanges: [{
prefix: "string",
networkRangeId: "string",
}],
transferNetwork: "string",
defaultNameservers: ["string"],
defaultPrefixLength: 0,
maxPrefixLength: 0,
minPrefixLength: 0,
},
networkAreaId: "string",
organizationId: "string",
region: "string",
});
type: stackit:NetworkAreaRegion
properties:
ipv4:
defaultNameservers:
- string
defaultPrefixLength: 0
maxPrefixLength: 0
minPrefixLength: 0
networkRanges:
- networkRangeId: string
prefix: string
transferNetwork: string
networkAreaId: string
organizationId: string
region: string
NetworkAreaRegion 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 NetworkAreaRegion resource accepts the following input properties:
- Ipv4
Network
Area Region Ipv4 - The regional IPv4 config of a network area.
- Network
Area stringId - The network area ID.
- Organization
Id string - STACKIT organization ID to which the network area is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Ipv4
Network
Area Region Ipv4Args - The regional IPv4 config of a network area.
- Network
Area stringId - The network area ID.
- Organization
Id string - STACKIT organization ID to which the network area is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- ipv4
Network
Area Region Ipv4 - The regional IPv4 config of a network area.
- network
Area StringId - The network area ID.
- organization
Id String - STACKIT organization ID to which the network area is associated.
- region String
- The resource region. If not defined, the provider region is used.
- ipv4
Network
Area Region Ipv4 - The regional IPv4 config of a network area.
- network
Area stringId - The network area ID.
- organization
Id string - STACKIT organization ID to which the network area is associated.
- region string
- The resource region. If not defined, the provider region is used.
- ipv4
Network
Area Region Ipv4Args - The regional IPv4 config of a network area.
- network_
area_ strid - The network area ID.
- organization_
id str - STACKIT organization ID to which the network area is associated.
- region str
- The resource region. If not defined, the provider region is used.
- ipv4 Property Map
- The regional IPv4 config of a network area.
- network
Area StringId - The network area ID.
- organization
Id String - STACKIT organization ID to which the network area is associated.
- region String
- The resource region. If not defined, the provider region is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the NetworkAreaRegion resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing NetworkAreaRegion Resource
Get an existing NetworkAreaRegion 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?: NetworkAreaRegionState, opts?: CustomResourceOptions): NetworkAreaRegion@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ipv4: Optional[NetworkAreaRegionIpv4Args] = None,
network_area_id: Optional[str] = None,
organization_id: Optional[str] = None,
region: Optional[str] = None) -> NetworkAreaRegionfunc GetNetworkAreaRegion(ctx *Context, name string, id IDInput, state *NetworkAreaRegionState, opts ...ResourceOption) (*NetworkAreaRegion, error)public static NetworkAreaRegion Get(string name, Input<string> id, NetworkAreaRegionState? state, CustomResourceOptions? opts = null)public static NetworkAreaRegion get(String name, Output<String> id, NetworkAreaRegionState state, CustomResourceOptions options)resources: _: type: stackit:NetworkAreaRegion 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.
- Ipv4
Network
Area Region Ipv4 - The regional IPv4 config of a network area.
- Network
Area stringId - The network area ID.
- Organization
Id string - STACKIT organization ID to which the network area is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Ipv4
Network
Area Region Ipv4Args - The regional IPv4 config of a network area.
- Network
Area stringId - The network area ID.
- Organization
Id string - STACKIT organization ID to which the network area is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- ipv4
Network
Area Region Ipv4 - The regional IPv4 config of a network area.
- network
Area StringId - The network area ID.
- organization
Id String - STACKIT organization ID to which the network area is associated.
- region String
- The resource region. If not defined, the provider region is used.
- ipv4
Network
Area Region Ipv4 - The regional IPv4 config of a network area.
- network
Area stringId - The network area ID.
- organization
Id string - STACKIT organization ID to which the network area is associated.
- region string
- The resource region. If not defined, the provider region is used.
- ipv4
Network
Area Region Ipv4Args - The regional IPv4 config of a network area.
- network_
area_ strid - The network area ID.
- organization_
id str - STACKIT organization ID to which the network area is associated.
- region str
- The resource region. If not defined, the provider region is used.
- ipv4 Property Map
- The regional IPv4 config of a network area.
- network
Area StringId - The network area ID.
- organization
Id String - STACKIT organization ID to which the network area is associated.
- region String
- The resource region. If not defined, the provider region is used.
Supporting Types
NetworkAreaRegionIpv4, NetworkAreaRegionIpv4Args
- Network
Ranges List<NetworkArea Region Ipv4Network Range> - List of Network ranges.
- Transfer
Network string - IPv4 Classless Inter-Domain Routing (CIDR).
- Default
Nameservers List<string> - List of DNS Servers/Nameservers.
- Default
Prefix intLength - The default prefix length for networks in the network area.
- Max
Prefix intLength - The maximal prefix length for networks in the network area.
- Min
Prefix intLength - The minimal prefix length for networks in the network area.
- Network
Ranges []NetworkArea Region Ipv4Network Range - List of Network ranges.
- Transfer
Network string - IPv4 Classless Inter-Domain Routing (CIDR).
- Default
Nameservers []string - List of DNS Servers/Nameservers.
- Default
Prefix intLength - The default prefix length for networks in the network area.
- Max
Prefix intLength - The maximal prefix length for networks in the network area.
- Min
Prefix intLength - The minimal prefix length for networks in the network area.
- network
Ranges List<NetworkArea Region Ipv4Network Range> - List of Network ranges.
- transfer
Network String - IPv4 Classless Inter-Domain Routing (CIDR).
- default
Nameservers List<String> - List of DNS Servers/Nameservers.
- default
Prefix IntegerLength - The default prefix length for networks in the network area.
- max
Prefix IntegerLength - The maximal prefix length for networks in the network area.
- min
Prefix IntegerLength - The minimal prefix length for networks in the network area.
- network
Ranges NetworkArea Region Ipv4Network Range[] - List of Network ranges.
- transfer
Network string - IPv4 Classless Inter-Domain Routing (CIDR).
- default
Nameservers string[] - List of DNS Servers/Nameservers.
- default
Prefix numberLength - The default prefix length for networks in the network area.
- max
Prefix numberLength - The maximal prefix length for networks in the network area.
- min
Prefix numberLength - The minimal prefix length for networks in the network area.
- network_
ranges Sequence[NetworkArea Region Ipv4Network Range] - List of Network ranges.
- transfer_
network str - IPv4 Classless Inter-Domain Routing (CIDR).
- default_
nameservers Sequence[str] - List of DNS Servers/Nameservers.
- default_
prefix_ intlength - The default prefix length for networks in the network area.
- max_
prefix_ intlength - The maximal prefix length for networks in the network area.
- min_
prefix_ intlength - The minimal prefix length for networks in the network area.
- network
Ranges List<Property Map> - List of Network ranges.
- transfer
Network String - IPv4 Classless Inter-Domain Routing (CIDR).
- default
Nameservers List<String> - List of DNS Servers/Nameservers.
- default
Prefix NumberLength - The default prefix length for networks in the network area.
- max
Prefix NumberLength - The maximal prefix length for networks in the network area.
- min
Prefix NumberLength - The minimal prefix length for networks in the network area.
NetworkAreaRegionIpv4NetworkRange, NetworkAreaRegionIpv4NetworkRangeArgs
- Prefix string
- Classless Inter-Domain Routing (CIDR).
- Network
Range stringId
- Prefix string
- Classless Inter-Domain Routing (CIDR).
- Network
Range stringId
- prefix String
- Classless Inter-Domain Routing (CIDR).
- network
Range StringId
- prefix string
- Classless Inter-Domain Routing (CIDR).
- network
Range stringId
- prefix str
- Classless Inter-Domain Routing (CIDR).
- network_
range_ strid
- prefix String
- Classless Inter-Domain Routing (CIDR).
- network
Range StringId
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
