---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_sdn_segment Resource - terraform-provider-decort"
subcategory: ""
description: |-
  
---

# decort_sdn_segment (Resource)





<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `access_group_id` (String)
- `description` (String)
- `display_name` (String)
- `enabled` (Boolean)

### Optional

- `dhcp_v4` (Block List, Max: 1) (see [below for nested schema](#nestedblock--dhcp_v4))
- `dhcp_v6` (Block List, Max: 1) (see [below for nested schema](#nestedblock--dhcp_v6))
- `force` (Boolean)
- `subnet_v4` (String)
- `subnet_v6` (String)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `type` (String)

### Read-Only

- `access_group_name` (String)
- `created_at` (String)
- `id` (String) The ID of this resource.
- `l2_connection_port` (List of Object) (see [below for nested schema](#nestedatt--l2_connection_port))
- `logical_ports_info` (List of Object) (see [below for nested schema](#nestedatt--logical_ports_info))
- `routers_info` (List of Object) (see [below for nested schema](#nestedatt--routers_info))
- `status` (List of Object) (see [below for nested schema](#nestedatt--status))
- `updated_at` (String)
- `version_id` (Number)

<a id="nestedblock--dhcp_v4"></a>
### Nested Schema for `dhcp_v4`

Required:

- `enabled` (Boolean)
- `gateway` (String)
- `server_ip` (String)

Optional:

- `dns` (List of String)
- `excluded_address_ranges` (List of String)
- `lease_time` (Number)
- `server_mac` (String)

Read-Only:

- `id` (String)


<a id="nestedblock--dhcp_v6"></a>
### Nested Schema for `dhcp_v6`

Required:

- `address_prefix` (String)
- `enabled` (Boolean)

Optional:

- `dns` (List of String)
- `lease_time` (Number)
- `server_mac` (String)

Read-Only:

- `id` (String)


<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`

Optional:

- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)


<a id="nestedatt--l2_connection_port"></a>
### Nested Schema for `l2_connection_port`

Read-Only:

- `access_group_id` (String)
- `created_at` (String)
- `created_by` (String)
- `id` (String)
- `l2_external_network` (List of Object) (see [below for nested schema](#nestedobjatt--l2_connection_port--l2_external_network))
- `updated_at` (String)
- `updated_by` (String)
- `version_id` (Number)

<a id="nestedobjatt--l2_connection_port--l2_external_network"></a>
### Nested Schema for `l2_connection_port.l2_external_network`

Read-Only:

- `bridge_network_name` (String)
- `created_at` (String)
- `created_by` (String)
- `description` (String)
- `display_name` (String)
- `hypervisors` (List of String)
- `id` (String)
- `updated_at` (String)
- `updated_by` (String)
- `version_id` (Number)
- `vlan_tag` (Number)



<a id="nestedatt--logical_ports_info"></a>
### Nested Schema for `logical_ports_info`

Read-Only:

- `display_name` (String)
- `id` (String)


<a id="nestedatt--routers_info"></a>
### Nested Schema for `routers_info`

Read-Only:

- `display_name` (String)
- `id` (String)


<a id="nestedatt--status"></a>
### Nested Schema for `status`

Read-Only:

- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--status--hypervisors))
- `operation_status` (String)

<a id="nestedobjatt--status--hypervisors"></a>
### Nested Schema for `status.hypervisors`

Read-Only:

- `display_name` (String)
- `hypervisor_status` (String)
- `name` (String)
- `operation_status` (String)
- `synced_at` (String)
