published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
Create NetworkAreaRoute Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NetworkAreaRoute(name: string, args: NetworkAreaRouteArgs, opts?: CustomResourceOptions);@overload
def NetworkAreaRoute(resource_name: str,
args: NetworkAreaRouteArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NetworkAreaRoute(resource_name: str,
opts: Optional[ResourceOptions] = None,
destination: Optional[NetworkAreaRouteDestinationArgs] = None,
network_area_id: Optional[str] = None,
next_hop: Optional[NetworkAreaRouteNextHopArgs] = None,
organization_id: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
region: Optional[str] = None)func NewNetworkAreaRoute(ctx *Context, name string, args NetworkAreaRouteArgs, opts ...ResourceOption) (*NetworkAreaRoute, error)public NetworkAreaRoute(string name, NetworkAreaRouteArgs args, CustomResourceOptions? opts = null)
public NetworkAreaRoute(String name, NetworkAreaRouteArgs args)
public NetworkAreaRoute(String name, NetworkAreaRouteArgs args, CustomResourceOptions options)
type: stackit:NetworkAreaRoute
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 NetworkAreaRouteArgs
- 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 NetworkAreaRouteArgs
- 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 NetworkAreaRouteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkAreaRouteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NetworkAreaRouteArgs
- 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 networkAreaRouteResource = new Stackit.NetworkAreaRoute("networkAreaRouteResource", new()
{
Destination = new Stackit.Inputs.NetworkAreaRouteDestinationArgs
{
Type = "string",
Value = "string",
},
NetworkAreaId = "string",
NextHop = new Stackit.Inputs.NetworkAreaRouteNextHopArgs
{
Type = "string",
Value = "string",
},
OrganizationId = "string",
Labels =
{
{ "string", "string" },
},
Region = "string",
});
example, err := stackit.NewNetworkAreaRoute(ctx, "networkAreaRouteResource", &stackit.NetworkAreaRouteArgs{
Destination: &stackit.NetworkAreaRouteDestinationArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
NetworkAreaId: pulumi.String("string"),
NextHop: &stackit.NetworkAreaRouteNextHopArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
OrganizationId: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Region: pulumi.String("string"),
})
var networkAreaRouteResource = new NetworkAreaRoute("networkAreaRouteResource", NetworkAreaRouteArgs.builder()
.destination(NetworkAreaRouteDestinationArgs.builder()
.type("string")
.value("string")
.build())
.networkAreaId("string")
.nextHop(NetworkAreaRouteNextHopArgs.builder()
.type("string")
.value("string")
.build())
.organizationId("string")
.labels(Map.of("string", "string"))
.region("string")
.build());
network_area_route_resource = stackit.NetworkAreaRoute("networkAreaRouteResource",
destination={
"type": "string",
"value": "string",
},
network_area_id="string",
next_hop={
"type": "string",
"value": "string",
},
organization_id="string",
labels={
"string": "string",
},
region="string")
const networkAreaRouteResource = new stackit.NetworkAreaRoute("networkAreaRouteResource", {
destination: {
type: "string",
value: "string",
},
networkAreaId: "string",
nextHop: {
type: "string",
value: "string",
},
organizationId: "string",
labels: {
string: "string",
},
region: "string",
});
type: stackit:NetworkAreaRoute
properties:
destination:
type: string
value: string
labels:
string: string
networkAreaId: string
nextHop:
type: string
value: string
organizationId: string
region: string
NetworkAreaRoute 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 NetworkAreaRoute resource accepts the following input properties:
- Destination
Network
Area Route Destination - Destination of the route.
- Network
Area stringId - The network area ID to which the network area route is associated.
- Next
Hop NetworkArea Route Next Hop - Next hop destination.
- Organization
Id string - STACKIT organization ID to which the network area is associated.
- Labels Dictionary<string, string>
- Labels are key-value string pairs which can be attached to a resource container
- Region string
- The resource region. If not defined, the provider region is used.
- Destination
Network
Area Route Destination Args - Destination of the route.
- Network
Area stringId - The network area ID to which the network area route is associated.
- Next
Hop NetworkArea Route Next Hop Args - Next hop destination.
- Organization
Id string - STACKIT organization ID to which the network area is associated.
- Labels map[string]string
- Labels are key-value string pairs which can be attached to a resource container
- Region string
- The resource region. If not defined, the provider region is used.
- destination
Network
Area Route Destination - Destination of the route.
- network
Area StringId - The network area ID to which the network area route is associated.
- next
Hop NetworkArea Route Next Hop - Next hop destination.
- organization
Id String - STACKIT organization ID to which the network area is associated.
- labels Map<String,String>
- Labels are key-value string pairs which can be attached to a resource container
- region String
- The resource region. If not defined, the provider region is used.
- destination
Network
Area Route Destination - Destination of the route.
- network
Area stringId - The network area ID to which the network area route is associated.
- next
Hop NetworkArea Route Next Hop - Next hop destination.
- organization
Id string - STACKIT organization ID to which the network area is associated.
- labels {[key: string]: string}
- Labels are key-value string pairs which can be attached to a resource container
- region string
- The resource region. If not defined, the provider region is used.
- destination
Network
Area Route Destination Args - Destination of the route.
- network_
area_ strid - The network area ID to which the network area route is associated.
- next_
hop NetworkArea Route Next Hop Args - Next hop destination.
- organization_
id str - STACKIT organization ID to which the network area is associated.
- labels Mapping[str, str]
- Labels are key-value string pairs which can be attached to a resource container
- region str
- The resource region. If not defined, the provider region is used.
- destination Property Map
- Destination of the route.
- network
Area StringId - The network area ID to which the network area route is associated.
- next
Hop Property Map - Next hop destination.
- organization
Id String - STACKIT organization ID to which the network area is associated.
- labels Map<String>
- Labels are key-value string pairs which can be attached to a resource container
- 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 NetworkAreaRoute resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Area stringRoute Id - The network area route ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Area stringRoute Id - The network area route ID.
- id String
- The provider-assigned unique ID for this managed resource.
- network
Area StringRoute Id - The network area route ID.
- id string
- The provider-assigned unique ID for this managed resource.
- network
Area stringRoute Id - The network area route ID.
- id str
- The provider-assigned unique ID for this managed resource.
- network_
area_ strroute_ id - The network area route ID.
- id String
- The provider-assigned unique ID for this managed resource.
- network
Area StringRoute Id - The network area route ID.
Look up Existing NetworkAreaRoute Resource
Get an existing NetworkAreaRoute 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?: NetworkAreaRouteState, opts?: CustomResourceOptions): NetworkAreaRoute@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
destination: Optional[NetworkAreaRouteDestinationArgs] = None,
labels: Optional[Mapping[str, str]] = None,
network_area_id: Optional[str] = None,
network_area_route_id: Optional[str] = None,
next_hop: Optional[NetworkAreaRouteNextHopArgs] = None,
organization_id: Optional[str] = None,
region: Optional[str] = None) -> NetworkAreaRoutefunc GetNetworkAreaRoute(ctx *Context, name string, id IDInput, state *NetworkAreaRouteState, opts ...ResourceOption) (*NetworkAreaRoute, error)public static NetworkAreaRoute Get(string name, Input<string> id, NetworkAreaRouteState? state, CustomResourceOptions? opts = null)public static NetworkAreaRoute get(String name, Output<String> id, NetworkAreaRouteState state, CustomResourceOptions options)resources: _: type: stackit:NetworkAreaRoute 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.
- Destination
Network
Area Route Destination - Destination of the route.
- Labels Dictionary<string, string>
- Labels are key-value string pairs which can be attached to a resource container
- Network
Area stringId - The network area ID to which the network area route is associated.
- Network
Area stringRoute Id - The network area route ID.
- Next
Hop NetworkArea Route Next Hop - Next hop destination.
- 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.
- Destination
Network
Area Route Destination Args - Destination of the route.
- Labels map[string]string
- Labels are key-value string pairs which can be attached to a resource container
- Network
Area stringId - The network area ID to which the network area route is associated.
- Network
Area stringRoute Id - The network area route ID.
- Next
Hop NetworkArea Route Next Hop Args - Next hop destination.
- 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.
- destination
Network
Area Route Destination - Destination of the route.
- labels Map<String,String>
- Labels are key-value string pairs which can be attached to a resource container
- network
Area StringId - The network area ID to which the network area route is associated.
- network
Area StringRoute Id - The network area route ID.
- next
Hop NetworkArea Route Next Hop - Next hop destination.
- 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.
- destination
Network
Area Route Destination - Destination of the route.
- labels {[key: string]: string}
- Labels are key-value string pairs which can be attached to a resource container
- network
Area stringId - The network area ID to which the network area route is associated.
- network
Area stringRoute Id - The network area route ID.
- next
Hop NetworkArea Route Next Hop - Next hop destination.
- 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.
- destination
Network
Area Route Destination Args - Destination of the route.
- labels Mapping[str, str]
- Labels are key-value string pairs which can be attached to a resource container
- network_
area_ strid - The network area ID to which the network area route is associated.
- network_
area_ strroute_ id - The network area route ID.
- next_
hop NetworkArea Route Next Hop Args - 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.
- labels Map<String>
- Labels are key-value string pairs which can be attached to a resource container
- network
Area StringId - The network area ID to which the network area route is associated.
- network
Area StringRoute Id - The network area route ID.
- next
Hop Property Map - Next hop destination.
- 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
NetworkAreaRouteDestination, NetworkAreaRouteDestinationArgs
NetworkAreaRouteNextHop, NetworkAreaRouteNextHopArgs
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
