-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Appliance Static Routing Resource #182
- Loading branch information
1 parent
4a09db9
commit b260343
Showing
2 changed files
with
217 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "meraki_networks_appliance_static_routes Data Source - terraform-provider-meraki" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# meraki_networks_appliance_static_routes (Data Source) | ||
|
||
|
||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "meraki_networks_appliance_static_routes" "example" { | ||
provider = meraki | ||
network_id = "string" | ||
} | ||
output "meraki_networks_appliance_static_routes_example" { | ||
value = data.meraki_networks_appliance_static_routes.example.items | ||
} | ||
data "meraki_networks_appliance_static_routes" "example" { | ||
provider = meraki | ||
network_id = "string" | ||
} | ||
output "meraki_networks_appliance_static_routes_example" { | ||
value = data.meraki_networks_appliance_static_routes.example.item | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- `network_id` (String) networkId path parameter. Network ID | ||
- `static_route_id` (String) staticRouteId path parameter. Static route ID | ||
|
||
### Read-Only | ||
|
||
- `item` (Attributes) (see [below for nested schema](#nestedatt--item)) | ||
- `items` (Attributes List) Array of ResponseApplianceGetNetworkApplianceStaticRoutes (see [below for nested schema](#nestedatt--items)) | ||
|
||
<a id="nestedatt--item"></a> | ||
### Nested Schema for `item` | ||
|
||
Read-Only: | ||
|
||
- `enabled` (Boolean) | ||
- `fixed_ip_assignments` (Attributes) (see [below for nested schema](#nestedatt--item--fixed_ip_assignments)) | ||
- `gateway_ip` (String) | ||
- `gateway_vlan_id` (Number) | ||
- `id` (String) | ||
- `ip_version` (Number) | ||
- `name` (String) | ||
- `network_id` (String) | ||
- `reserved_ip_ranges` (Attributes Set) (see [below for nested schema](#nestedatt--item--reserved_ip_ranges)) | ||
- `subnet` (String) | ||
|
||
<a id="nestedatt--item--fixed_ip_assignments"></a> | ||
### Nested Schema for `item.fixed_ip_assignments` | ||
|
||
Read-Only: | ||
|
||
- `attribute_22_33_44_55_66_77` (Attributes) (see [below for nested schema](#nestedatt--item--fixed_ip_assignments--attribute_22_33_44_55_66_77)) | ||
|
||
<a id="nestedatt--item--fixed_ip_assignments--attribute_22_33_44_55_66_77"></a> | ||
### Nested Schema for `item.fixed_ip_assignments.attribute_22_33_44_55_66_77` | ||
|
||
Read-Only: | ||
|
||
- `ip` (String) | ||
- `name` (String) | ||
|
||
|
||
|
||
<a id="nestedatt--item--reserved_ip_ranges"></a> | ||
### Nested Schema for `item.reserved_ip_ranges` | ||
|
||
Read-Only: | ||
|
||
- `comment` (String) | ||
- `end` (String) | ||
- `start` (String) | ||
|
||
|
||
|
||
<a id="nestedatt--items"></a> | ||
### Nested Schema for `items` | ||
|
||
Read-Only: | ||
|
||
- `enabled` (Boolean) | ||
- `fixed_ip_assignments` (Attributes) (see [below for nested schema](#nestedatt--items--fixed_ip_assignments)) | ||
- `gateway_ip` (String) | ||
- `gateway_vlan_id` (Number) | ||
- `id` (String) | ||
- `ip_version` (Number) | ||
- `name` (String) | ||
- `network_id` (String) | ||
- `reserved_ip_ranges` (Attributes Set) (see [below for nested schema](#nestedatt--items--reserved_ip_ranges)) | ||
- `subnet` (String) | ||
|
||
<a id="nestedatt--items--fixed_ip_assignments"></a> | ||
### Nested Schema for `items.fixed_ip_assignments` | ||
|
||
Read-Only: | ||
|
||
- `attribute_22_33_44_55_66_77` (Attributes) (see [below for nested schema](#nestedatt--items--fixed_ip_assignments--attribute_22_33_44_55_66_77)) | ||
|
||
<a id="nestedatt--items--fixed_ip_assignments--attribute_22_33_44_55_66_77"></a> | ||
### Nested Schema for `items.fixed_ip_assignments.attribute_22_33_44_55_66_77` | ||
|
||
Read-Only: | ||
|
||
- `ip` (String) | ||
- `name` (String) | ||
|
||
|
||
|
||
<a id="nestedatt--items--reserved_ip_ranges"></a> | ||
### Nested Schema for `items.reserved_ip_ranges` | ||
|
||
Read-Only: | ||
|
||
- `comment` (String) | ||
- `end` (String) | ||
- `start` (String) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "meraki_networks_appliance_static_routes Resource - terraform-provider-meraki" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# meraki_networks_appliance_static_routes (Resource) | ||
|
||
|
||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "meraki_networks_appliance_static_routes" "example" { | ||
provider = meraki | ||
gateway_ip = "1.2.3.5" | ||
name = "My route" | ||
network_id = "string" | ||
subnet = "192.168.1.0/24" | ||
} | ||
output "meraki_networks_appliance_static_routes_example" { | ||
value = meraki_networks_appliance_static_routes.example | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `network_id` (String) networkId path parameter. Network ID | ||
|
||
### Optional | ||
|
||
- `enabled` (Boolean) The enabled state of the static route | ||
- `fixed_ip_assignments` (Attributes) The DHCP fixed IP assignments on the static route. This should be an object that contains mappings from MAC addresses to objects that themselves each contain "ip" and "name" string fields. See the sample request/response for more details. (see [below for nested schema](#nestedatt--fixed_ip_assignments)) | ||
- `gateway_ip` (String) The gateway IP (next hop) of the static route | ||
- `gateway_vlan_id` (Number) The gateway IP (next hop) VLAN ID of the static route | ||
- `gateway_vlan_id_rs` (String) The gateway IP (next hop) VLAN ID of the static route | ||
- `name` (String) The name of the new static route | ||
- `reserved_ip_ranges` (Attributes Set) The DHCP reserved IP ranges on the static route (see [below for nested schema](#nestedatt--reserved_ip_ranges)) | ||
- `static_route_id` (String) staticRouteId path parameter. Static route ID | ||
- `subnet` (String) The subnet of the static route | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
- `ip_version` (Number) | ||
|
||
<a id="nestedatt--fixed_ip_assignments"></a> | ||
### Nested Schema for `fixed_ip_assignments` | ||
|
||
Read-Only: | ||
|
||
- `attribute_22_33_44_55_66_77` (Attributes) (see [below for nested schema](#nestedatt--fixed_ip_assignments--attribute_22_33_44_55_66_77)) | ||
|
||
<a id="nestedatt--fixed_ip_assignments--attribute_22_33_44_55_66_77"></a> | ||
### Nested Schema for `fixed_ip_assignments.attribute_22_33_44_55_66_77` | ||
|
||
Read-Only: | ||
|
||
- `ip` (String) | ||
- `name` (String) | ||
|
||
|
||
|
||
<a id="nestedatt--reserved_ip_ranges"></a> | ||
### Nested Schema for `reserved_ip_ranges` | ||
|
||
Optional: | ||
|
||
- `comment` (String) A text comment for the reserved range | ||
- `end` (String) The last IP in the reserved range | ||
- `start` (String) The first IP in the reserved range | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
terraform import meraki_networks_appliance_static_routes.example "network_id,static_route_id" | ||
``` |