* Copy file from DNS zone resource * Implement resource * Implement datasource * Add examples * Implement acceptance test; Some fixes * Add docs * Fix linter * Fixes after review
42 lines
1.2 KiB
Markdown
42 lines
1.2 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "stackit_network Resource - stackit"
|
|
subcategory: ""
|
|
description: |-
|
|
Network resource schema. Must have a region specified in the provider configuration.
|
|
---
|
|
|
|
# stackit_network (Resource)
|
|
|
|
Network resource schema. Must have a `region` specified in the provider configuration.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
resource "stackit_network" "example" {
|
|
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
name = "example-network"
|
|
nameservers = ["1.2.3.4", "5.6.7.8"]
|
|
ipv4_prefix_length = 24
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `name` (String) The name of the network.
|
|
- `nameservers` (List of String) The nameservers of the network.
|
|
- `project_id` (String) STACKIT project ID to which the network is associated.
|
|
|
|
### Optional
|
|
|
|
- `ipv4_prefix_length` (Number) The IPv4 prefix length of the network.
|
|
|
|
### Read-Only
|
|
|
|
- `id` (String) Terraform's internal resource ID. It is structured as "`project_id`,`network_id`".
|
|
- `network_id` (String) The network ID.
|
|
- `prefixes` (List of String) The prefixes of the network.
|
|
- `public_ip` (String) The public IP of the network.
|