1. Packages
  2. stackit
  3. API Docs
  4. NetworkAreaRegion
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.4
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 NetworkAreaRegionIpv4
    The regional IPv4 config of a network area.
    NetworkAreaId string
    The network area ID.
    OrganizationId 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 NetworkAreaRegionIpv4Args
    The regional IPv4 config of a network area.
    NetworkAreaId string
    The network area ID.
    OrganizationId 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 NetworkAreaRegionIpv4
    The regional IPv4 config of a network area.
    networkAreaId String
    The network area ID.
    organizationId 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 NetworkAreaRegionIpv4
    The regional IPv4 config of a network area.
    networkAreaId string
    The network area ID.
    organizationId 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 NetworkAreaRegionIpv4Args
    The regional IPv4 config of a network area.
    network_area_id str
    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.
    networkAreaId String
    The network area ID.
    organizationId 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) -> NetworkAreaRegion
    func 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.
    The following state arguments are supported:
    Ipv4 NetworkAreaRegionIpv4
    The regional IPv4 config of a network area.
    NetworkAreaId string
    The network area ID.
    OrganizationId 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 NetworkAreaRegionIpv4Args
    The regional IPv4 config of a network area.
    NetworkAreaId string
    The network area ID.
    OrganizationId 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 NetworkAreaRegionIpv4
    The regional IPv4 config of a network area.
    networkAreaId String
    The network area ID.
    organizationId 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 NetworkAreaRegionIpv4
    The regional IPv4 config of a network area.
    networkAreaId string
    The network area ID.
    organizationId 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 NetworkAreaRegionIpv4Args
    The regional IPv4 config of a network area.
    network_area_id str
    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.
    networkAreaId String
    The network area ID.
    organizationId 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

    NetworkRanges List<NetworkAreaRegionIpv4NetworkRange>
    List of Network ranges.
    TransferNetwork string
    IPv4 Classless Inter-Domain Routing (CIDR).
    DefaultNameservers List<string>
    List of DNS Servers/Nameservers.
    DefaultPrefixLength int
    The default prefix length for networks in the network area.
    MaxPrefixLength int
    The maximal prefix length for networks in the network area.
    MinPrefixLength int
    The minimal prefix length for networks in the network area.
    NetworkRanges []NetworkAreaRegionIpv4NetworkRange
    List of Network ranges.
    TransferNetwork string
    IPv4 Classless Inter-Domain Routing (CIDR).
    DefaultNameservers []string
    List of DNS Servers/Nameservers.
    DefaultPrefixLength int
    The default prefix length for networks in the network area.
    MaxPrefixLength int
    The maximal prefix length for networks in the network area.
    MinPrefixLength int
    The minimal prefix length for networks in the network area.
    networkRanges List<NetworkAreaRegionIpv4NetworkRange>
    List of Network ranges.
    transferNetwork String
    IPv4 Classless Inter-Domain Routing (CIDR).
    defaultNameservers List<String>
    List of DNS Servers/Nameservers.
    defaultPrefixLength Integer
    The default prefix length for networks in the network area.
    maxPrefixLength Integer
    The maximal prefix length for networks in the network area.
    minPrefixLength Integer
    The minimal prefix length for networks in the network area.
    networkRanges NetworkAreaRegionIpv4NetworkRange[]
    List of Network ranges.
    transferNetwork string
    IPv4 Classless Inter-Domain Routing (CIDR).
    defaultNameservers string[]
    List of DNS Servers/Nameservers.
    defaultPrefixLength number
    The default prefix length for networks in the network area.
    maxPrefixLength number
    The maximal prefix length for networks in the network area.
    minPrefixLength number
    The minimal prefix length for networks in the network area.
    network_ranges Sequence[NetworkAreaRegionIpv4NetworkRange]
    List of Network ranges.
    transfer_network str
    IPv4 Classless Inter-Domain Routing (CIDR).
    default_nameservers Sequence[str]
    List of DNS Servers/Nameservers.
    default_prefix_length int
    The default prefix length for networks in the network area.
    max_prefix_length int
    The maximal prefix length for networks in the network area.
    min_prefix_length int
    The minimal prefix length for networks in the network area.
    networkRanges List<Property Map>
    List of Network ranges.
    transferNetwork String
    IPv4 Classless Inter-Domain Routing (CIDR).
    defaultNameservers List<String>
    List of DNS Servers/Nameservers.
    defaultPrefixLength Number
    The default prefix length for networks in the network area.
    maxPrefixLength Number
    The maximal prefix length for networks in the network area.
    minPrefixLength Number
    The minimal prefix length for networks in the network area.

    NetworkAreaRegionIpv4NetworkRange, NetworkAreaRegionIpv4NetworkRangeArgs

    Prefix string
    Classless Inter-Domain Routing (CIDR).
    NetworkRangeId string
    Prefix string
    Classless Inter-Domain Routing (CIDR).
    NetworkRangeId string
    prefix String
    Classless Inter-Domain Routing (CIDR).
    networkRangeId String
    prefix string
    Classless Inter-Domain Routing (CIDR).
    networkRangeId string
    prefix str
    Classless Inter-Domain Routing (CIDR).
    network_range_id str
    prefix String
    Classless Inter-Domain Routing (CIDR).
    networkRangeId String

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.4
    published on Friday, Feb 20, 2026 by stackitcloud
      Try Pulumi Cloud free. Your team will thank you.