1. Registry
  2. Packages
  3. stackit
  4. API Docs
  5. getNetworkArea
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud

    Network area datasource schema. Must have a region specified in the provider configuration.

    This datasource is for SNA, not VPC, networks.

    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?: InvokeOutputOptions): 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: pulumi.Input[Optional[str]] = None,
                         organization_id: pulumi.Input[Optional[str]] = None,
                         opts: Optional[InvokeOutputOptions] = 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 Output<GetNetworkAreaResult> Invoke(GetNetworkAreaInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetNetworkAreaResult> getNetworkArea(GetNetworkAreaArgs args, InvokeOptions options)
    public static Output<GetNetworkAreaResult> getNetworkArea(GetNetworkAreaArgs args, InvokeOptions options)
    public static Output<GetNetworkAreaResult> getNetworkArea(GetNetworkAreaArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: stackit:index/getNetworkArea:getNetworkArea
      arguments:
        # arguments dictionary
    data "stackit_get_network_area" "name" {
        # arguments
    }

    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.
    network_area_id string
    The network area ID.
    organization_id 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:

    Id string
    Terraform's internal resource ID. It is structured as "organizationId,networkAreaId".
    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 area.
    NetworkAreaId string
    The network area ID.
    OrganizationId string
    STACKIT organization ID to which the network area is associated.
    ProjectCount int
    The amount of projects currently referencing this area.
    Id string
    Terraform's internal resource ID. It is structured as "organizationId,networkAreaId".
    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 area.
    NetworkAreaId string
    The network area ID.
    OrganizationId string
    STACKIT organization ID to which the network area is associated.
    ProjectCount int
    The amount of projects currently referencing this area.
    id string
    Terraform's internal resource ID. It is structured as "organizationId,networkAreaId".
    labels map(string)
    Labels are key-value string pairs which can be attached to a resource container
    name string
    The name of the network area.
    network_area_id string
    The network area ID.
    organization_id string
    STACKIT organization ID to which the network area is associated.
    project_count number
    The amount of projects currently referencing this area.
    id String
    Terraform's internal resource ID. It is structured as "organizationId,networkAreaId".
    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 area.
    networkAreaId String
    The network area ID.
    organizationId String
    STACKIT organization ID to which the network area is associated.
    projectCount Integer
    The amount of projects currently referencing this area.
    id string
    Terraform's internal resource ID. It is structured as "organizationId,networkAreaId".
    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 area.
    networkAreaId string
    The network area ID.
    organizationId string
    STACKIT organization ID to which the network area is associated.
    projectCount number
    The amount of projects currently referencing this area.
    id str
    Terraform's internal resource ID. It is structured as "organizationId,networkAreaId".
    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 area.
    network_area_id str
    The network area ID.
    organization_id str
    STACKIT organization ID to which the network area is associated.
    project_count int
    The amount of projects currently referencing this area.
    id String
    Terraform's internal resource ID. It is structured as "organizationId,networkAreaId".
    labels Map<String>
    Labels are key-value string pairs which can be attached to a resource container
    name String
    The name of the network area.
    networkAreaId String
    The network area ID.
    organizationId String
    STACKIT organization ID to which the network area is associated.
    projectCount Number
    The amount of projects currently referencing this area.

    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.7
    published on Monday, Aug 17, 2026 by stackitcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial