58 lines
2 KiB
Markdown
58 lines
2 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "stackit_network_area_route Data Source - stackit"
|
|
subcategory: ""
|
|
description: |-
|
|
Network area route data resource schema. Must have a region specified in the provider configuration.
|
|
---
|
|
|
|
# stackit_network_area_route (Data Source)
|
|
|
|
Network area route data resource schema. Must have a `region` specified in the provider configuration.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
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"
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `network_area_id` (String) The network area ID to which the network area route is associated.
|
|
- `network_area_route_id` (String) The network area route ID.
|
|
- `organization_id` (String) STACKIT organization ID to which the network area is associated.
|
|
|
|
### Optional
|
|
|
|
- `region` (String) The resource region. If not defined, the provider region is used.
|
|
|
|
### Read-Only
|
|
|
|
- `destination` (Attributes) Destination of the route. (see [below for nested schema](#nestedatt--destination))
|
|
- `id` (String) Terraform's internal data source ID. It is structured as "`organization_id`,`region`,`network_area_id`,`network_area_route_id`".
|
|
- `labels` (Map of String) Labels are key-value string pairs which can be attached to a resource container
|
|
- `next_hop` (Attributes) Next hop destination. (see [below for nested schema](#nestedatt--next_hop))
|
|
|
|
<a id="nestedatt--destination"></a>
|
|
### Nested Schema for `destination`
|
|
|
|
Read-Only:
|
|
|
|
- `type` (String) CIDRV type. Possible values are: `cidrv4`, `cidrv6`.
|
|
- `value` (String) An CIDR string.
|
|
|
|
|
|
<a id="nestedatt--next_hop"></a>
|
|
### Nested Schema for `next_hop`
|
|
|
|
Read-Only:
|
|
|
|
- `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).
|