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

    Example Usage

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

    Using getNetworkAreaRoute

    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 getNetworkAreaRoute(args: GetNetworkAreaRouteArgs, opts?: InvokeOptions): Promise<GetNetworkAreaRouteResult>
    function getNetworkAreaRouteOutput(args: GetNetworkAreaRouteOutputArgs, opts?: InvokeOptions): Output<GetNetworkAreaRouteResult>
    def get_network_area_route(network_area_id: Optional[str] = None,
                               network_area_route_id: Optional[str] = None,
                               organization_id: Optional[str] = None,
                               region: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetNetworkAreaRouteResult
    def get_network_area_route_output(network_area_id: Optional[pulumi.Input[str]] = None,
                               network_area_route_id: Optional[pulumi.Input[str]] = None,
                               organization_id: Optional[pulumi.Input[str]] = None,
                               region: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetNetworkAreaRouteResult]
    func LookupNetworkAreaRoute(ctx *Context, args *LookupNetworkAreaRouteArgs, opts ...InvokeOption) (*LookupNetworkAreaRouteResult, error)
    func LookupNetworkAreaRouteOutput(ctx *Context, args *LookupNetworkAreaRouteOutputArgs, opts ...InvokeOption) LookupNetworkAreaRouteResultOutput

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

    public static class GetNetworkAreaRoute 
    {
        public static Task<GetNetworkAreaRouteResult> InvokeAsync(GetNetworkAreaRouteArgs args, InvokeOptions? opts = null)
        public static Output<GetNetworkAreaRouteResult> Invoke(GetNetworkAreaRouteInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNetworkAreaRouteResult> getNetworkAreaRoute(GetNetworkAreaRouteArgs args, InvokeOptions options)
    public static Output<GetNetworkAreaRouteResult> getNetworkAreaRoute(GetNetworkAreaRouteArgs args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getNetworkAreaRoute:getNetworkAreaRoute
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NetworkAreaId string
    The network area ID to which the network area route is associated.
    NetworkAreaRouteId string
    The network area route 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.
    NetworkAreaId string
    The network area ID to which the network area route is associated.
    NetworkAreaRouteId string
    The network area route 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.
    networkAreaId String
    The network area ID to which the network area route is associated.
    networkAreaRouteId String
    The network area route 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.
    networkAreaId string
    The network area ID to which the network area route is associated.
    networkAreaRouteId string
    The network area route 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.
    network_area_id str
    The network area ID to which the network area route is associated.
    network_area_route_id str
    The network area route 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.
    networkAreaId String
    The network area ID to which the network area route is associated.
    networkAreaRouteId String
    The network area route 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.

    getNetworkAreaRoute Result

    The following output properties are available:

    Destination GetNetworkAreaRouteDestination
    Destination of the route.
    Id string
    Labels Dictionary<string, string>
    Labels are key-value string pairs which can be attached to a resource container
    NetworkAreaId string
    The network area ID to which the network area route is associated.
    NetworkAreaRouteId string
    The network area route ID.
    NextHop GetNetworkAreaRouteNextHop
    Next hop destination.
    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.
    Destination GetNetworkAreaRouteDestination
    Destination of the route.
    Id string
    Labels map[string]string
    Labels are key-value string pairs which can be attached to a resource container
    NetworkAreaId string
    The network area ID to which the network area route is associated.
    NetworkAreaRouteId string
    The network area route ID.
    NextHop GetNetworkAreaRouteNextHop
    Next hop destination.
    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.
    destination GetNetworkAreaRouteDestination
    Destination of the route.
    id String
    labels Map<String,String>
    Labels are key-value string pairs which can be attached to a resource container
    networkAreaId String
    The network area ID to which the network area route is associated.
    networkAreaRouteId String
    The network area route ID.
    nextHop GetNetworkAreaRouteNextHop
    Next hop destination.
    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.
    destination GetNetworkAreaRouteDestination
    Destination of the route.
    id string
    labels {[key: string]: string}
    Labels are key-value string pairs which can be attached to a resource container
    networkAreaId string
    The network area ID to which the network area route is associated.
    networkAreaRouteId string
    The network area route ID.
    nextHop GetNetworkAreaRouteNextHop
    Next hop destination.
    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.
    destination GetNetworkAreaRouteDestination
    Destination of the route.
    id str
    labels Mapping[str, str]
    Labels are key-value string pairs which can be attached to a resource container
    network_area_id str
    The network area ID to which the network area route is associated.
    network_area_route_id str
    The network area route ID.
    next_hop GetNetworkAreaRouteNextHop
    Next hop destination.
    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.
    destination Property Map
    Destination of the route.
    id String
    labels Map<String>
    Labels are key-value string pairs which can be attached to a resource container
    networkAreaId String
    The network area ID to which the network area route is associated.
    networkAreaRouteId String
    The network area route ID.
    nextHop Property Map
    Next hop destination.
    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

    GetNetworkAreaRouteDestination

    Type string
    CIDRV type. Possible values are: cidrv4, cidrv6.
    Value string
    An CIDR string.
    Type string
    CIDRV type. Possible values are: cidrv4, cidrv6.
    Value string
    An CIDR string.
    type String
    CIDRV type. Possible values are: cidrv4, cidrv6.
    value String
    An CIDR string.
    type string
    CIDRV type. Possible values are: cidrv4, cidrv6.
    value string
    An CIDR string.
    type str
    CIDRV type. Possible values are: cidrv4, cidrv6.
    value str
    An CIDR string.
    type String
    CIDRV type. Possible values are: cidrv4, cidrv6.
    value String
    An CIDR string.

    GetNetworkAreaRouteNextHop

    Type string
    Type of the next hop. Possible values are: blackhole, internet, ipv4, ipv6.
    Value string
    Either IPv4 or IPv6 (not set for blackhole and internet).
    Type string
    Type of the next hop. Possible values are: blackhole, internet, ipv4, ipv6.
    Value string
    Either IPv4 or IPv6 (not set for blackhole and internet).
    type String
    Type of the next hop. Possible values are: blackhole, internet, ipv4, ipv6.
    value String
    Either IPv4 or IPv6 (not set for blackhole and internet).
    type string
    Type of the next hop. Possible values are: blackhole, internet, ipv4, ipv6.
    value string
    Either IPv4 or IPv6 (not set for blackhole and internet).
    type str
    Type of the next hop. Possible values are: blackhole, internet, ipv4, ipv6.
    value str
    Either IPv4 or IPv6 (not set for blackhole and internet).
    type String
    Type of the next hop. Possible values are: blackhole, internet, ipv4, ipv6.
    value String
    Either IPv4 or IPv6 (not set for blackhole and internet).

    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.