1. Packages
  2. stackit
  3. API Docs
  4. getNetworkArea
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 datasource schema. Must have a region specified in the provider configuration.

    Example Usage

    data "stackit_network_area" "example" {
      organization_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      network_area_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    

    Using getNetworkArea

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getNetworkArea(args: GetNetworkAreaArgs, opts?: InvokeOptions): Promise<GetNetworkAreaResult>
    function getNetworkAreaOutput(args: GetNetworkAreaOutputArgs, opts?: InvokeOptions): Output<GetNetworkAreaResult>
    def get_network_area(network_area_id: Optional[str] = None,
                         organization_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetNetworkAreaResult
    def get_network_area_output(network_area_id: Optional[pulumi.Input[str]] = None,
                         organization_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetNetworkAreaResult]
    func LookupNetworkArea(ctx *Context, args *LookupNetworkAreaArgs, opts ...InvokeOption) (*LookupNetworkAreaResult, error)
    func LookupNetworkAreaOutput(ctx *Context, args *LookupNetworkAreaOutputArgs, opts ...InvokeOption) LookupNetworkAreaResultOutput

    > Note: This function is named LookupNetworkArea in the Go SDK.

    public static class GetNetworkArea 
    {
        public static Task<GetNetworkAreaResult> InvokeAsync(GetNetworkAreaArgs args, InvokeOptions? opts = null)
        public static Output<GetNetworkAreaResult> Invoke(GetNetworkAreaInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNetworkAreaResult> getNetworkArea(GetNetworkAreaArgs args, InvokeOptions options)
    public static Output<GetNetworkAreaResult> getNetworkArea(GetNetworkAreaArgs args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getNetworkArea:getNetworkArea
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NetworkAreaId string
    The network area ID.
    OrganizationId string
    STACKIT organization ID to which the network area is associated.
    NetworkAreaId string
    The network area ID.
    OrganizationId string
    STACKIT organization ID to which the network area is associated.
    networkAreaId String
    The network area ID.
    organizationId String
    STACKIT organization ID to which the network area is associated.
    networkAreaId string
    The network area ID.
    organizationId string
    STACKIT organization ID to which the network area is associated.
    network_area_id str
    The network area ID.
    organization_id str
    STACKIT organization ID to which the network area is associated.
    networkAreaId String
    The network area ID.
    organizationId String
    STACKIT organization ID to which the network area is associated.

    getNetworkArea Result

    The following output properties are available:

    DefaultNameservers List<string>
    List of DNS Servers/Nameservers.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    DefaultPrefixLength int
    The default prefix length for networks in the network area.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    Id string
    Labels Dictionary<string, string>
    Labels are key-value string pairs which can be attached to a resource container
    MaxPrefixLength int
    The maximal prefix length for networks in the network area.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    MinPrefixLength int
    The minimal prefix length for networks in the network area.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    Name string
    The name of the network area.
    NetworkAreaId string
    The network area ID.
    NetworkRanges List<GetNetworkAreaNetworkRange>
    List of Network ranges.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    OrganizationId string
    STACKIT organization ID to which the network area is associated.
    ProjectCount int
    The amount of projects currently referencing this area.
    TransferNetwork string
    Classless Inter-Domain Routing (CIDR).

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    DefaultNameservers []string
    List of DNS Servers/Nameservers.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    DefaultPrefixLength int
    The default prefix length for networks in the network area.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    Id string
    Labels map[string]string
    Labels are key-value string pairs which can be attached to a resource container
    MaxPrefixLength int
    The maximal prefix length for networks in the network area.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    MinPrefixLength int
    The minimal prefix length for networks in the network area.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    Name string
    The name of the network area.
    NetworkAreaId string
    The network area ID.
    NetworkRanges []GetNetworkAreaNetworkRange
    List of Network ranges.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    OrganizationId string
    STACKIT organization ID to which the network area is associated.
    ProjectCount int
    The amount of projects currently referencing this area.
    TransferNetwork string
    Classless Inter-Domain Routing (CIDR).

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    defaultNameservers List<String>
    List of DNS Servers/Nameservers.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    defaultPrefixLength Integer
    The default prefix length for networks in the network area.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    id String
    labels Map<String,String>
    Labels are key-value string pairs which can be attached to a resource container
    maxPrefixLength Integer
    The maximal prefix length for networks in the network area.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    minPrefixLength Integer
    The minimal prefix length for networks in the network area.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    name String
    The name of the network area.
    networkAreaId String
    The network area ID.
    networkRanges List<GetNetworkAreaNetworkRange>
    List of Network ranges.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    organizationId String
    STACKIT organization ID to which the network area is associated.
    projectCount Integer
    The amount of projects currently referencing this area.
    transferNetwork String
    Classless Inter-Domain Routing (CIDR).

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    defaultNameservers string[]
    List of DNS Servers/Nameservers.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    defaultPrefixLength number
    The default prefix length for networks in the network area.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    id string
    labels {[key: string]: string}
    Labels are key-value string pairs which can be attached to a resource container
    maxPrefixLength number
    The maximal prefix length for networks in the network area.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    minPrefixLength number
    The minimal prefix length for networks in the network area.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    name string
    The name of the network area.
    networkAreaId string
    The network area ID.
    networkRanges GetNetworkAreaNetworkRange[]
    List of Network ranges.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    organizationId string
    STACKIT organization ID to which the network area is associated.
    projectCount number
    The amount of projects currently referencing this area.
    transferNetwork string
    Classless Inter-Domain Routing (CIDR).

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    default_nameservers Sequence[str]
    List of DNS Servers/Nameservers.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    default_prefix_length int
    The default prefix length for networks in the network area.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    id str
    labels Mapping[str, str]
    Labels are key-value string pairs which can be attached to a resource container
    max_prefix_length int
    The maximal prefix length for networks in the network area.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    min_prefix_length int
    The minimal prefix length for networks in the network area.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    name str
    The name of the network area.
    network_area_id str
    The network area ID.
    network_ranges Sequence[GetNetworkAreaNetworkRange]
    List of Network ranges.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    organization_id str
    STACKIT organization ID to which the network area is associated.
    project_count int
    The amount of projects currently referencing this area.
    transfer_network str
    Classless Inter-Domain Routing (CIDR).

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    defaultNameservers List<String>
    List of DNS Servers/Nameservers.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    defaultPrefixLength Number
    The default prefix length for networks in the network area.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    id String
    labels Map<String>
    Labels are key-value string pairs which can be attached to a resource container
    maxPrefixLength Number
    The maximal prefix length for networks in the network area.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    minPrefixLength Number
    The minimal prefix length for networks in the network area.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    name String
    The name of the network area.
    networkAreaId String
    The network area ID.
    networkRanges List<Property Map>
    List of Network ranges.

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    organizationId String
    STACKIT organization ID to which the network area is associated.
    projectCount Number
    The amount of projects currently referencing this area.
    transferNetwork String
    Classless Inter-Domain Routing (CIDR).

    Deprecated: Deprecated because of the IaaS API v1 -> v2 migration. Will be removed in May 2026.

    Supporting Types

    GetNetworkAreaNetworkRange

    NetworkRangeId string
    Prefix string
    NetworkRangeId string
    Prefix string
    networkRangeId String
    prefix String
    networkRangeId string
    prefix string
    networkRangeId String
    prefix 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.