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

# decort_sdn_logical_port (Resource)





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

### Required

- `access_group_id` (String) Access Group ID
- `description` (String) Description
- `display_name` (String) Display Name
- `enabled` (Boolean) Whether the logical port should be enabled
- `hypervisor` (String) Hypervisor
- `port_security` (Boolean) Whether the port security is enabled
- `segment_id` (String) Segment ID

### Optional

- `adapter_mac` (String) Adapter MAC address
- `force` (Boolean)
- `labels` (Block List, Max: 1) Labels (see [below for nested schema](#nestedblock--labels))
- `logical_port_addresses` (Block List) (see [below for nested schema](#nestedblock--logical_port_addresses))
- `migrate` (Boolean) If true, triggers live migration to the hypervisor specified in the 'hypervisor' field. If false, hypervisor changes are applied via the regular update endpoint.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `unique_identifier` (String) Unique identifier of the logical port

### Read-Only

- `access_group_name` (String) Name of the access group
- `address_detection` (Boolean)
- `bindings` (List of Object) (see [below for nested schema](#nestedatt--bindings))
- `created_at` (String)
- `external_network_id` (String)
- `hypervisor_display_name` (String)
- `id` (String) ID of the logical port
- `live_migration_target_hv` (String)
- `status` (List of Object) (see [below for nested schema](#nestedatt--status))
- `version_id` (Number) Version ID of the logical port

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

Optional:

- `vm_id` (String) VM ID label
- `vm_name` (String) VM name label


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

Required:

- `ip` (String) IP address of the logical port
- `ip_type` (String)
- `is_primary` (Boolean)

Optional:

- `is_discovered` (Boolean)
- `mac` (String)


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

Optional:

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


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

Read-Only:

- `address_detection` (Boolean)
- `created_at` (String)
- `id` (String)
- `logical_port_addresses` (List of Object) (see [below for nested schema](#nestedobjatt--bindings--logical_port_addresses))
- `port_security` (Boolean)
- `segment_display_name` (String)
- `segment_id` (String)
- `updated_at` (String)
- `version_id` (Number)

<a id="nestedobjatt--bindings--logical_port_addresses"></a>
### Nested Schema for `bindings.logical_port_addresses`

Read-Only:

- `assigned_at` (String)
- `id` (String)
- `ip` (String)
- `ip_type` (String)
- `is_discovered` (Boolean)
- `is_primary` (Boolean)
- `logical_port_id` (String)
- `mac` (String)



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

Read-Only:

- `hypervisor_status` (String)
- `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)
