4.12.0
This commit is contained in:
237
CHANGELOG.md
237
CHANGELOG.md
@@ -1,8 +1,241 @@
|
||||
## Version 4.11.2
|
||||
## Version 4.12.0
|
||||
|
||||
### Добавлено
|
||||
|
||||
#### account
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1244 | Вычисляемое поле `updated_by` в datasources `decort_account_list` и `decort_account_deleted_list` в cloudapi/account |
|
||||
| BATF-1232 | Вычисляемое поле `deleted_by` в datasources `decort_account_list` и `decort_account_deleted_list` в cloudapi/account |
|
||||
| BATF-1226 | Вычисляемое поле `updated_by` в resource `decort_cb_account` и datasources `decort_cb_account`, `decort_cb_account_list`, `decort_cb_account_list_deleted` и `decort_cb_account_computes_list` в cloudbroker/account |
|
||||
| BATF-1226 | Вычисляемое поле `updated_by` в resource `decort_account` и datasource `decort_account` в cloudapi/account |
|
||||
|
||||
#### disks
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1231 | Опциональные поля `rg_id` и `compute_id` в datasource `decort_cb_disk_list` в cloudbroker/disks |
|
||||
| BATF-1231 | Опциональные поля `rg_id` и `compute_id` в datasource `decort_disk_list` в cloudapi/disks |
|
||||
| BATF-1224 | Опциональное поле `block_size` в resource `decort_cb_disk` в cloudbroker/disks |
|
||||
| BATF-1224 | Вычисляемое поле `block_size` в datasources `decort_cb_disk`, `decort_cb_disk_list`, `decort_cb_disk_list_deleted` и `decort_cb_disk_list_unattached` в cloudbroker/disks |
|
||||
| BATF-1224 | Вычисляемое поле `block_size` в datasources `decort_disk`, `decort_disk_list`, `decort_disk_list_deleted` и `decort_disk_list_unattached` и в resource `decort_disk` в cloudapi/disks |
|
||||
| BATF-1247 | Вычисляемое поле `to_clean` в datasource `decort_disk_list_unattached` в cloudapi/disks и в datasource `decort_cb_disk_list_unattached` в cloudbroker/disks |
|
||||
| BATF-1245 | Вычисляемое поле `independent` в datasources `decort_disk`, `decort_disk_list` и `decort_disk_list_deleted` в cloudapi/disks и в datasources `decort_cb_disk`, `decort_cb_disk_list` и `decort_cb_disk_list_deleted` в cloudbroker/disks |
|
||||
| BATF-1245 | Вычисляемое поле `independent` в resource `decort_disk` в cloudapi/disks и в resource `decort_cb_disk` в cloudbroker/disks |
|
||||
| BATF-1252 | Вычисляемое поле `present_to` в datasource `decort_disk_list_unattached` в cloudapi/disks |
|
||||
| BATF-1252 | Вычисляемое поле `provision` в datasources `decort_disk`, `decort_disk_list`, `decort_disk_list_deleted` и `decort_disk_list_unattached` и в resource `decort_disk` в cloudapi/disks |
|
||||
| BATF-1252 | Вычисляемое поле `provision` в datasources `decort_cb_disk`, `decort_cb_disk_list`, `decort_cb_disk_list_deleted` и `decort_cb_disk_list_unattached` и в resource `decort_cb_disk` в cloudbroker/disks |
|
||||
|
||||
#### grid
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1265 | Вычисляемое поле `zero_access_enabled` в datasource `decort_cb_grid_list` в cloudbroker/grid |
|
||||
|
||||
#### image
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1245 | Вычисляемое поле `independent` в datasource `decort_image` в cloudapi/image и в datasources `decort_cb_image` и `decort_cb_image_list` в cloudbroker/image |
|
||||
| BATF-1245 | Вычисляемое поле `independent` в resources `decort_image` и `decort_image_virtual` в cloudapi/image и в resources `decort_cb_image` и `decort_cb_virtual_image` в cloudbroker/image |
|
||||
| BATF-1256 | Вычисляемое поле `links_to` в datasources `decort_image` и `decort_image_list` и в resources `decort_image`, `decort_image_from_blank_compute` и `decort_image_from_platform_disk` в cloudapi/image |
|
||||
| BATF-1256 | Вычисляемое поле `links_to` в datasources `decort_cb_image` и `decort_cb_image_list` и в resources `decort_cb_image`, `decort_cb_image_from_blank_compute` и `decort_cb_image_from_platform_disk` в cloudbroker/image |
|
||||
| BATF-1255 | Resource `decort_cb_multi_image` в cloudbroker/image |
|
||||
| BATF-1262 | Обязательное поле `storage_policy_id` в resources `decort_image_from_blank_compute` в cloudapi/image и в `decort_cb_image_from_blank_compute` в cloudbroker/image |
|
||||
|
||||
#### kvmvm
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1270 | Опциональное поле `iotune` в блоке `disks` в resource `decort_kvmvm` в cloudapi/kvmvm и в resource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
| BATF-1251 | Вычисляемое поле `provision` в блоке `disks` в resource `decort_cb_kvmvm` и datasource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
| BATF-1251 | Вычисляемое поле `provision` в блоке `disks` в resource `decort_kvmvm` и datasource `decort_kvmvm` в cloudapi/kvmvm |
|
||||
| BATF-1251 | Вычисляемое поле `provision` в блоке `boot_disk` в resource `decort_kvmvm` в cloudapi/kvmvm |
|
||||
| BATF-1225 | Опциональное поле `block_size` в блоке `disks` в resource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
| BATF-1225 | Вычисляемое поле `block_size` в блоке `disks` в datasource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
| BATF-1225 | Вычисляемое поле `block_size` в блоке `disks` в resource `decort_kvmvm` и datasource `decort_kvmvm` в cloudapi/kvmvm |
|
||||
| BATF-1229 | Вычисляемое поле `weight` в datasources `decort_cb_kvmvm`, `decort_cb_kvmvm_list` и `decort_cb_kvmvm_list_deleted` в cloudbroker/kvmvm и в datasources `decort_kvmvm`, `decort_kvmvm_list` и `decort_kvmvm_list_deleted` в cloudapi/kvmvm |
|
||||
| BATF-1229 | Опциональное поле `weight` в resource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
| BATF-1229 | Вычисляемое поле `weight` в resource `decort_kvmvm` в cloudapi/kvmvm |
|
||||
| BATF-1245 | Вычисляемое поле `independent` в блоке `disks` в datasource `decort_kvmvm` в cloudapi/kvmvm и в datasource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
| BATF-1245 | Вычисляемое поле `independent` в блоке `disks` в resource `decort_kvmvm` в cloudapi/kvmvm и в resource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
| BATF-1264 | Ограничения на типы сетей при использования поля `security_groups` в resource `decort_kvmvm` в cloudapi/kvmvm и в resource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
| BATF-1267 | Проверка типа сети ВМ на TRUNK для добавления опционального поля `mtu` в resource `decort_kvmvm` в cloudapi/kvmvm и в resource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
| BATF-1001 | Проверка типа сети ВМ на SDN в resource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
| BATF-1270 | Опциональное поле `iotune` в блоке `disks` в resource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
| BATF-1270 | Опциональное поле `iotune` в блоке `disks` в resource `decort_kvmvm` в cloudapi/kvmvm |
|
||||
| BATF-1276 | Добавлено опциональное поле `create_blank` в resource `decort_kvmvm` в cloudapi/kvmvm и в resource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
| BATF-1276 | Опциональное поле `alt_boot_id` в resource `decort_kvmvm` в cloudapi/kvmvm |
|
||||
|
||||
#### locations
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1261 | Вычисляемое поле `ZeroAccessEnabled` в datasource `decort_locations_list` в cloudapi/locations |
|
||||
| BATF-1275 | Вычисляемое поле `BROEnabled` в datasource `decort_locations_list` в cloudapi/locations |
|
||||
|
||||
#### node
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1223 | Опциональное поле `zone_id` в datasource `decort_cb_node_list` в cloudbroker/node |
|
||||
| BATF-1254 | Вычисляемое поле `thread_count` в блок `cpu_info` в datasources `decort_cb_node` и `decort_cb_node_list` в cloudbroker/node |
|
||||
|
||||
#### rg
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1228 | Вычисляемое поле `email` в блоке `acl` в resource и datasource `decort_resgroup` в cloudapi/rg |
|
||||
| BATF-1228 | Вычисляемое поле `email` в блоке `acl` в resource и datasource `decort_cb_rg` в cloudbroker/rg |
|
||||
|
||||
#### storage policy
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1235 | Вычисляемое поле `sep_tech_status` в блок `access_seps_pools` в resource `decort_cb_storage_policy` и в datasource `decort_cb_storage_policy` в cloudbroker/stpolicy |
|
||||
| BATF-1235 | Вычисляемое поле `sep_tech_status` в блок `access_seps_pools` datasource `decort_storage_policy` в cloudapi/stpolicy |
|
||||
|
||||
#### vins
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1266 | Опциональное поле `enable_secgroups` в resource `decort_vins` в cloudapi/vins |
|
||||
|
||||
#### SDN logical ports
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1271 | Опциональное поле `labels` в resource `decort_sdn_logical_port` в sdn/logicalports |
|
||||
| BATF-1271 | Вычисляемое поле `labels` в datasources `decort_sdn_logical_port`, `decort_sdn_logical_port_list` и `decort_sdn_logical_port_get_by_unique_identifier` в sdn/logicalports |
|
||||
| BATF-1271 | Опциональное поле `migrate` в resource `decort_sdn_logical_port` в sdn/logicalports |
|
||||
| BATF-1271 | Вычисляемое поле `hypervisor_status` в блоке `status` в datasources `decort_sdn_logical_port`, `decort_sdn_logical_port_list` и `decort_sdn_logical_port_get_by_unique_identifier` и в resource `decort_sdn_logical_port` в sdn/logicalports |
|
||||
| BATF-1271 | Вычисляемое поле `logical_port_addresses` в блоке `bindings` в datasources `decort_sdn_logical_port`, `decort_sdn_logical_port_list` и `decort_sdn_logical_port_get_by_unique_identifier` и в resource `decort_sdn_logical_port` в sdn/logicalports |
|
||||
| BATF-1271 | Вычисляемое поле `external_network_id` в datasources `decort_sdn_logical_port`, `decort_sdn_logical_port_list` и `decort_sdn_logical_port_get_by_unique_identifier` в sdn/logicalports |
|
||||
| BATF-1271 | Опциональное поле `operation_status` в datasource `decort_sdn_logical_port_list` в sdn/logicalports |
|
||||
| BATF-1271 | Опциональное поле `hypervisor_status` в datasource `decort_sdn_logical_port_list` в sdn/logicalports |
|
||||
| BATF-1271 | Вычисляемое поле `operation_status` в блоке `status` в datasources `decort_sdn_logical_port`, `decort_sdn_logical_port_list` и `decort_sdn_logical_port_get_by_unique_identifier` и в resource `decort_sdn_logical_port` в sdn/logicalports |
|
||||
| BATF-1271 | Вычисляемое поле `operation_status` в блоке `hypervisors` в datasources `decort_sdn_logical_port`, `decort_sdn_logical_port_list` и `decort_sdn_logical_port_get_by_unique_identifier` и в resource `decort_sdn_logical_port` в sdn/logicalports |
|
||||
|
||||
|
||||
#### SDN segments
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1157 | Опциональное поле `operation_status` в datasource `decort_sdn_segment_list` в sdn/segments |
|
||||
| BATF-1157 | Опциональное поле `type` в resource `decort_sdn_segment` в sdn/segments |
|
||||
| BATF-1157 | Вычисляемое поле `type` в datasources `decort_sdn_segment` и `decort_sdn_segment_list` в sdn/segments |
|
||||
| BATF-1157 | Вычисляемое поле `operation_status` в блоке `status` в datasources `decort_sdn_segment` и `decort_sdn_segment_list` и в resource `decort_sdn_segment` в sdn/segments |
|
||||
| BATF-1157 | Вычисляемое поле `operation_status` в блоке `hypervisors` в datasources `decort_sdn_segment` и `decort_sdn_segment_list` и в resource `decort_sdn_segment` в sdn/segments |
|
||||
| BATF-1157 | Вычисляемое поле `l2_connection_port` в datasources `decort_sdn_segment` и `decort_sdn_segment_list` и в resource `decort_sdn_segment` в sdn/segments |
|
||||
|
||||
#### SDN hypervisors
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1113 | Resource `decort_sdn_hypervisor` и datasources `decort_sdn_hypervisor` и `decort_sdn_hypervisor_list` в sdn/hypervisors |
|
||||
|
||||
#### SDN access group
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1155 | Опциональное поле `owner_display_name` в datasource `decort_sdn_access_group_list` в sdn/access_group |
|
||||
|
||||
|
||||
#### SDN network object group
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1115| Resource `decort_sdn_network_object_group`, datasources `decort_sdn_network_object_group` и `decort_sdn_network_object_group_list` в sdn/netobjgroups |
|
||||
|
||||
#### zone
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1259 | Вычисляемые поля `drs`, `drs_uid`, `drs_name`, `sso_url`, `app_id` и `decort_url` в datasources `decort_zone` и `decort_zone_list` в cloudapi/zone и в datasources `decort_cb_zone` и `decort_cb_zone_list` в cloudbroker/zone |
|
||||
| BATF-1259 | Опциональное поле `drs` и вычисляемые поля `drs`, `drs_uid`, `drs_name`, `sso_url`, `app_id` и `decort_url` в resource `decort_cb_zone` в cloudbroker/zone |
|
||||
| BATF-1273 | Вычисляемые поля `ping_addr`, `broadcast_addr`, `ssl_skip_verify`, `domain` и `sso_type` в datasources `decort_zone` и `decort_zone_list` в cloudapi/zone и в datasources `decort_cb_zone` и `decort_cb_zone_list` в cloudbroker/zone |
|
||||
| BATF-1273 | Вычисляемые поля `ping_addr`, `broadcast_addr`, `ssl_skip_verify`, `domain` и `sso_type` в resource `decort_cb_zone` в cloudbroker/zone |
|
||||
|
||||
### Изменено
|
||||
|
||||
#### kvmvm
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1249 | Минимальное значение опционального поля `mtu` в блоке `network` с 1 на 1500 в resource `decort_kvmvm` в cloudapi/kvmvm и в resource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
|
||||
#### node
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1258 | Тип вычисляемого поля `VCPU` с `uint64` на `float64` в блоке `FreeResourcesInfo` в datasource `decort_cb_node` в cloudbroker/node |
|
||||
|
||||
#### zone
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1253 | Поле `lb_ids` было переименовано в `lbs_ids` в datasource `decort_zone` в cloudapi/zone |
|
||||
|
||||
### Исправлено
|
||||
|
||||
#### flipgroup
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1283 | Установка поля `desc` с платформы в ресурсе `decort_cb_flipgroup` в cloudbroker/flipgroup |
|
||||
|
||||
#### dpdknet
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | ---
|
||||
| BATF-1266 | Оптимизировано количество запросов при создании `decort_cb_dpdknet` в cloudbroker/dpdknet |
|
||||
|
||||
#### extnet
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | ---
|
||||
| BATF-1266 | Оптимизировано количество запросов при создании `decort_cb_extnet` в cloudbroker/extnet |
|
||||
|
||||
#### kvmvm
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1276 | Ошибка при старте ВМ с указанием поля `alt_boot_id` в resource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
|
||||
#### rg
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1214 | Поведение ресурса при использовании параметра `net_type` в блоке `def_net` со значением `PRIVATE` в resource `decort_resgroup` в cloudapi/rg и в resource `decort_cb_rg` в cloudbroker/rg |
|
||||
|
||||
#### vins
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | ---
|
||||
| BATF-1266 | Оптимизировано количество запросов при создании `decort_cb_vins` в cloudbroker/vins |
|
||||
|
||||
#### SDN logical ports
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1271 | Формирование списка `remove_addresses` при обновлении `logical_port_addresses` в resource `decort_sdn_logical_port` в sdn/logicalports |
|
||||
|
||||
#### trunk
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1285 | Установка полей `account_ids`, `ovs_bridge`, `native_vlan_id`, `trunk_tags` с платформы в ресурсе `decort_cb_trunk ` в cloudbroker/trunk |
|
||||
|
||||
#### vfpool
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1289 | Разрешено создавать пул виртуальных функций с блоком `config` при значении поля `enable` равным `false` в resource `decort_cb_vfpool` в cloudbroker/vfpool |
|
||||
| BATF-1289 | Разрешено обновлять поля `name`, `description`, `account_access` и `rg_access` без блока `config` в resource `decort_cb_vfpool` в cloudbroker/vfpool |
|
||||
|
||||
### Удалено
|
||||
|
||||
#### disks
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1233 | datasources `decort_disk_list_types`, `decort_disk_list_types_detailed` в cloudapi/disks и `decort_cb_disk_list_types`, `decort_cb_disk_list_types_detailed` в cloudbroker/disks |
|
||||
| BATF-1233 | Опциональное поле `type` из resource `decort_disk` в cloudapi/disks и из resource `decort_cb_disk` в cloudbroker/disks |
|
||||
| BATF-1233 | Вычисляемое поле `type` из datasources `decort_disk`, `decort_disk_list`, `decort_disk_list_deleted`, `decort_disk_list_unattached` и в cloudapi/disks и `decort_cb_disk`, `decort_cb_disk_list`, `decort_cb_disk_list_deleted`, `decort_cb_disk_list_unattached` и в cloudbroker/disks |
|
||||
|
||||
#### kvmvm
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1233 | Опциональное поле `disk_type` из блока `disks` в resource `decort_kvmvm` в cloudapi/kvmvm и в resource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
| BATF-1227 | Опциональные поля `is` и `ipa_type` из resource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
| BATF-1227 | Опциональные поля `is` и `ipa_type` из resource `decort_kvmvm` в cloudapi/kvmvm |
|
||||
|
||||
#### storage policy
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1235 | Вычисляемое поле `storage_policy_id` из resource `decort_cb_storage_policy` в cloudbroker/stpolicy |
|
||||
|
||||
#### SDN logical ports
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1271 | Вычисляемое поле `is_excluded_from_firewall` в блоке `bindings` из datasources `decort_sdn_logical_port`, `decort_sdn_logical_port_list` и `decort_sdn_logical_port_get_by_unique_identifier` и из resource `decort_sdn_logical_port` в sdn/logicalports |
|
||||
| BATF-1271 | Вычисляемое поле `common` в блоке `status` в datasources `decort_sdn_logical_port`, `decort_sdn_logical_port_list` и `decort_sdn_logical_port_get_by_unique_identifier` и в resource `decort_sdn_logical_port` в sdn/logicalports |
|
||||
| BATF-1271 | Вычисляемое поле `status` в блоке `hypervisors` в datasources `decort_sdn_logical_port`, `decort_sdn_logical_port_list` и `decort_sdn_logical_port_get_by_unique_identifier` и в resource `decort_sdn_logical_port` в sdn/logicalports |
|
||||
|
||||
#### SDN segments
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1157 | Datasource `decort_sdn_segment_get_status` в sdn/segments |
|
||||
| BATF-1157 | Вычисляемое поле `common` в блоке `status` в datasources `decort_sdn_segment` и `decort_sdn_segment_list` и в resource `decort_sdn_segment` в sdn/segments |
|
||||
| BATF-1157 | Вычисляемое поле `status` в блоке `hypervisors` в datasources `decort_sdn_segment` и `decort_sdn_segment_list` и в resource `decort_sdn_segment` в sdn/segments |
|
||||
|
||||
2
Makefile
2
Makefile
@@ -7,7 +7,7 @@ ZIPDIR = ./zip
|
||||
BINARY=${NAME}
|
||||
WORKPATH= ./examples/terraform.d/plugins/${HOSTNAME}/${NAMESPACE}/${NAMESPACE}/${VERSION}/${OS_ARCH}
|
||||
MAINPATH = ./cmd/decort/
|
||||
VERSION=4.11.2
|
||||
VERSION=4.12.0
|
||||
OS_ARCH=$(shell go env GOHOSTOS)_$(shell go env GOHOSTARCH)
|
||||
|
||||
FILES = ${BINARY}_${VERSION}_darwin_amd64\
|
||||
|
||||
15
README.md
15
README.md
@@ -6,6 +6,7 @@ Terraform provider для платформы Digital Energy Cloud Orchestration
|
||||
|
||||
| Версия DECORT API | Версия провайдера Terraform |
|
||||
| ------ | ------ |
|
||||
| 4.6.0 | 4.12.x |
|
||||
| 4.5.0 | 4.11.x |
|
||||
| 4.4.0 | 4.10.x |
|
||||
| 4.3.0 | 4.9.x |
|
||||
@@ -82,7 +83,9 @@ Terraform provider для платформы Digital Energy Cloud Orchestration
|
||||
- Режим SDN:
|
||||
- Работа с access groups,
|
||||
- Работа с default security policies,
|
||||
- Работа с segments
|
||||
- Работа с hypervisors,
|
||||
- Работа с segments,
|
||||
- Работа с network object groups
|
||||
|
||||
Со списком и описанием функционала всех групп можно ознамоиться на Вики проекта: https://repository.basistech.ru/BASIS/terraform-provider-decort/wiki
|
||||
|
||||
@@ -100,13 +103,13 @@ chmod u+x install.sh
|
||||
```
|
||||
6. Дождаться сообщения об успешной установке. Установщик выведет актуальный блок конфигурации провайдера, скопируйте его
|
||||
```bash
|
||||
DECORT provider version 4.11.0 has been successfully installed
|
||||
DECORT provider version 4.12.0 has been successfully installed
|
||||
|
||||
Copy this provider configuration to main.tf file:
|
||||
terraform {
|
||||
required_providers {
|
||||
decort = {
|
||||
version = "4.11.0"
|
||||
version = "4.12.0"
|
||||
source = "basis/decort/decort"
|
||||
}
|
||||
}
|
||||
@@ -165,13 +168,13 @@ Windows:
|
||||
- host_name - имя хоста, держателя провайдера, например, basis
|
||||
- namespace - пространство имен хоста, например decort
|
||||
- type - тип провайдера, может совпадать с пространством имен, например, decort
|
||||
- version - версия провайдера, например 4.11.0
|
||||
- version - версия провайдера, например 4.12.0
|
||||
- target - архитектура операционной системы, например windows_amd64
|
||||
|
||||
В примере ниже используется путь до провайдера на машине с ОС Linux:
|
||||
|
||||
```bash
|
||||
~/.terraform.d/plugins/basis/decort/decort/4.11.0/linux_amd64/tf-provider
|
||||
~/.terraform.d/plugins/basis/decort/decort/4.12.0/linux_amd64/tf-provider
|
||||
^ ^ ^ ^ ^ ^
|
||||
host_name | | | | | |
|
||||
| | | | |
|
||||
@@ -196,7 +199,7 @@ Windows:
|
||||
terraform {
|
||||
required_providers {
|
||||
decort = {
|
||||
version = "4.11.0"
|
||||
version = "4.12.0"
|
||||
source = "basis/decort/decort"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,6 +49,7 @@ description: |-
|
||||
- `send_access_emails` (Boolean)
|
||||
- `status` (String)
|
||||
- `storage_policy_ids` (List of Number)
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `version` (Number)
|
||||
- `vins` (List of Number)
|
||||
|
||||
@@ -51,9 +51,11 @@ Read-Only:
|
||||
- `acl` (List of Object) (see [below for nested schema](#nestedobjatt--items--acl))
|
||||
- `compute_features` (List of String)
|
||||
- `created_time` (Number)
|
||||
- `deleted_by` (String)
|
||||
- `deleted_time` (Number)
|
||||
- `desc` (String)
|
||||
- `status` (String)
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `zone_ids` (List of Number)
|
||||
|
||||
|
||||
@@ -52,9 +52,11 @@ Read-Only:
|
||||
- `acl` (List of Object) (see [below for nested schema](#nestedobjatt--items--acl))
|
||||
- `compute_features` (List of String)
|
||||
- `created_time` (Number)
|
||||
- `deleted_by` (String)
|
||||
- `deleted_time` (Number)
|
||||
- `desc` (String)
|
||||
- `status` (String)
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `zone_ids` (List of Number)
|
||||
|
||||
|
||||
@@ -49,6 +49,7 @@ description: |-
|
||||
- `status` (String)
|
||||
- `storage_policy_ids` (List of Number)
|
||||
- `uniq_pools` (List of String)
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `version` (Number)
|
||||
- `vins` (List of Number)
|
||||
|
||||
@@ -71,6 +71,7 @@ Read-Only:
|
||||
- `status` (String)
|
||||
- `storage_policy_ids` (List of Number)
|
||||
- `uniq_pools` (List of String)
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `version` (Number)
|
||||
- `vins` (List of Number)
|
||||
|
||||
@@ -69,6 +69,7 @@ Read-Only:
|
||||
- `status` (String)
|
||||
- `storage_policy_ids` (List of Number)
|
||||
- `uniq_pools` (List of String)
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `version` (Number)
|
||||
- `vins` (List of Number)
|
||||
|
||||
@@ -29,6 +29,7 @@ description: |-
|
||||
- `account_name` (String)
|
||||
- `acl` (String)
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String)
|
||||
- `boot_partition` (Number)
|
||||
- `cache` (String)
|
||||
- `computes` (List of Object) (see [below for nested schema](#nestedatt--computes))
|
||||
@@ -46,6 +47,7 @@ description: |-
|
||||
- `id` (String) The ID of this resource.
|
||||
- `image_id` (Number)
|
||||
- `images` (List of Number)
|
||||
- `independent` (Boolean)
|
||||
- `iotune` (List of Object) (see [below for nested schema](#nestedatt--iotune))
|
||||
- `iqn` (String)
|
||||
- `login` (String)
|
||||
@@ -59,6 +61,7 @@ description: |-
|
||||
- `pci_slot` (Number)
|
||||
- `pool` (String)
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `purge_attempts` (Number)
|
||||
- `purge_time` (Number)
|
||||
- `reality_device_number` (Number)
|
||||
@@ -78,7 +81,6 @@ description: |-
|
||||
- `storage_policy_id` (Number) Storage policy ID
|
||||
- `tech_status` (String)
|
||||
- `to_clean` (Boolean)
|
||||
- `type` (String)
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `vmid` (Number)
|
||||
|
||||
@@ -20,10 +20,12 @@ description: |-
|
||||
- `account_id` (Number) ID of the account the disks belong to
|
||||
- `account_name` (String) Find by account name
|
||||
- `by_id` (Number) Find by ID
|
||||
- `compute_id` (Number) Find by compute id
|
||||
- `disk_max_size` (Number) Find by max disk size
|
||||
- `name` (String) Find by name
|
||||
- `page` (Number) Page number
|
||||
- `pool` (String) Find by pool name
|
||||
- `rg_id` (Number) Find by rg id
|
||||
- `sep_id` (Number) Find by sep id
|
||||
- `shared` (Boolean) Find by shared field
|
||||
- `size` (Number) Page size
|
||||
@@ -31,7 +33,6 @@ description: |-
|
||||
- `status` (String) Find by status
|
||||
- `storage_policy_id` (Number) storage policy ID
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
- `type` (String) type of the disks
|
||||
|
||||
### Read-Only
|
||||
|
||||
@@ -57,6 +58,7 @@ Read-Only:
|
||||
- `account_name` (String)
|
||||
- `acl` (String)
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String)
|
||||
- `boot_partition` (Number)
|
||||
- `cache` (String)
|
||||
- `computes` (List of Object) (see [below for nested schema](#nestedobjatt--items--computes))
|
||||
@@ -74,6 +76,7 @@ Read-Only:
|
||||
- `guid` (Number)
|
||||
- `image_id` (Number)
|
||||
- `images` (List of Number)
|
||||
- `independent` (Boolean)
|
||||
- `iotune` (List of Object) (see [below for nested schema](#nestedobjatt--items--iotune))
|
||||
- `iqn` (String)
|
||||
- `login` (String)
|
||||
@@ -87,6 +90,7 @@ Read-Only:
|
||||
- `pci_slot` (Number)
|
||||
- `pool` (String)
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `purge_attempts` (Number)
|
||||
- `purge_time` (Number)
|
||||
- `reality_device_number` (Number)
|
||||
@@ -106,7 +110,6 @@ Read-Only:
|
||||
- `storage_policy_id` (Number)
|
||||
- `tech_status` (String)
|
||||
- `to_clean` (Boolean)
|
||||
- `type` (String)
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `vmid` (Number)
|
||||
|
||||
@@ -27,7 +27,6 @@ description: |-
|
||||
- `size` (Number) Page size
|
||||
- `sort_by` (String) sort by one of supported fields, format +|-(field)
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
- `type` (String) type of the disks
|
||||
|
||||
### Read-Only
|
||||
|
||||
@@ -53,6 +52,7 @@ Read-Only:
|
||||
- `account_name` (String)
|
||||
- `acl` (String)
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String)
|
||||
- `boot_partition` (Number)
|
||||
- `cache` (String)
|
||||
- `computes` (List of Object) (see [below for nested schema](#nestedobjatt--items--computes))
|
||||
@@ -70,6 +70,7 @@ Read-Only:
|
||||
- `guid` (Number)
|
||||
- `image_id` (Number)
|
||||
- `images` (List of Number)
|
||||
- `independent` (Boolean)
|
||||
- `iotune` (List of Object) (see [below for nested schema](#nestedobjatt--items--iotune))
|
||||
- `iqn` (String)
|
||||
- `login` (String)
|
||||
@@ -83,6 +84,7 @@ Read-Only:
|
||||
- `pci_slot` (Number)
|
||||
- `pool` (String)
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `purge_attempts` (Number)
|
||||
- `purge_time` (Number)
|
||||
- `reality_device_number` (Number)
|
||||
@@ -102,7 +104,6 @@ Read-Only:
|
||||
- `storage_policy_id` (Number)
|
||||
- `tech_status` (String)
|
||||
- `to_clean` (Boolean)
|
||||
- `type` (String)
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `vmid` (Number)
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "decort_cb_disk_list_types Data Source - terraform-provider-decort"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
|
||||
---
|
||||
|
||||
# decort_cb_disk_list_types (Data Source)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Optional
|
||||
|
||||
- `page` (Number) page number
|
||||
- `size` (Number) page size
|
||||
- `sort_by` (String) sort by one of supported fields, format +|-(field)
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `entry_count` (Number)
|
||||
- `id` (String) The ID of this resource.
|
||||
- `items` (List of String) The types of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'
|
||||
|
||||
<a id="nestedblock--timeouts"></a>
|
||||
### Nested Schema for `timeouts`
|
||||
|
||||
Optional:
|
||||
|
||||
- `default` (String)
|
||||
- `read` (String)
|
||||
@@ -1,56 +0,0 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "decort_cb_disk_list_types_detailed Data Source - terraform-provider-decort"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
|
||||
---
|
||||
|
||||
# decort_cb_disk_list_types_detailed (Data Source)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Optional
|
||||
|
||||
- `page` (Number) page number
|
||||
- `size` (Number) page size
|
||||
- `sort_by` (String) sort by one of supported fields, format +|-(field)
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `entry_count` (Number)
|
||||
- `id` (String) The ID of this resource.
|
||||
- `items` (List of Object) (see [below for nested schema](#nestedatt--items))
|
||||
|
||||
<a id="nestedblock--timeouts"></a>
|
||||
### Nested Schema for `timeouts`
|
||||
|
||||
Optional:
|
||||
|
||||
- `default` (String)
|
||||
- `read` (String)
|
||||
|
||||
|
||||
<a id="nestedatt--items"></a>
|
||||
### Nested Schema for `items`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `pools` (List of Object) (see [below for nested schema](#nestedobjatt--items--pools))
|
||||
- `sep_id` (Number)
|
||||
- `sep_name` (String)
|
||||
|
||||
<a id="nestedobjatt--items--pools"></a>
|
||||
### Nested Schema for `items.pools`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `name` (String)
|
||||
- `system` (String)
|
||||
- `types` (List of String)
|
||||
@@ -29,7 +29,6 @@ description: |-
|
||||
- `status` (String) Find by status
|
||||
- `storage_policy_id` (Number) storage policy ID
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
- `type` (String) type of the disks
|
||||
|
||||
### Read-Only
|
||||
|
||||
@@ -56,6 +55,7 @@ Read-Only:
|
||||
- `account_name` (String)
|
||||
- `acl` (String)
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String)
|
||||
- `boot_partition` (Number)
|
||||
- `cache` (String)
|
||||
- `created_time` (Number)
|
||||
@@ -80,6 +80,7 @@ Read-Only:
|
||||
- `pci_slot` (Number)
|
||||
- `pool` (String)
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `purge_attempts` (Number)
|
||||
- `purge_time` (Number)
|
||||
- `reality_device_number` (Number)
|
||||
@@ -94,7 +95,7 @@ Read-Only:
|
||||
- `snapshots` (List of Object) (see [below for nested schema](#nestedobjatt--items--snapshots))
|
||||
- `status` (String)
|
||||
- `tech_status` (String)
|
||||
- `type` (String)
|
||||
- `to_clean` (Boolean)
|
||||
- `vmid` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--iotune"></a>
|
||||
|
||||
@@ -54,6 +54,7 @@ Read-Only:
|
||||
- `network_modes` (List of String)
|
||||
- `resources` (List of Object) (see [below for nested schema](#nestedobjatt--items--resources))
|
||||
- `sdn_support` (Boolean)
|
||||
- `zero_access_enabled` (Boolean)
|
||||
|
||||
<a id="nestedobjatt--items--resources"></a>
|
||||
### Nested Schema for `items.resources`
|
||||
|
||||
@@ -43,8 +43,10 @@ description: |-
|
||||
- `hot_resize` (Boolean) Does this machine supports hot resize
|
||||
- `id` (String) The ID of this resource.
|
||||
- `image_type` (String) Image type linux, windows or other
|
||||
- `independent` (Boolean)
|
||||
- `last_modified` (Number)
|
||||
- `link_to` (Number)
|
||||
- `links_to` (List of Number)
|
||||
- `milestones` (Number)
|
||||
- `name` (String) Name of the rescue disk
|
||||
- `network_interface_naming` (String)
|
||||
|
||||
@@ -73,8 +73,10 @@ Read-Only:
|
||||
- `hot_resize` (Boolean)
|
||||
- `image_id` (Number)
|
||||
- `image_type` (String)
|
||||
- `independent` (Boolean)
|
||||
- `last_modified` (Number)
|
||||
- `link_to` (Number)
|
||||
- `links_to` (List of Number)
|
||||
- `milestones` (Number)
|
||||
- `name` (String)
|
||||
- `network_interface_naming` (String)
|
||||
|
||||
@@ -62,6 +62,7 @@ description: |-
|
||||
- `id` (String) The ID of this resource.
|
||||
- `image_id` (Number)
|
||||
- `image_name` (String)
|
||||
- `independent` (Boolean)
|
||||
- `interfaces` (List of Object) (see [below for nested schema](#nestedatt--interfaces))
|
||||
- `live_migration_job_id` (Number)
|
||||
- `loader_meta_iso` (List of Object) (see [below for nested schema](#nestedatt--loader_meta_iso))
|
||||
@@ -111,6 +112,7 @@ description: |-
|
||||
- `user_managed` (Boolean)
|
||||
- `vgpus` (List of Object) List of virtual GPUs (see [below for nested schema](#nestedatt--vgpus))
|
||||
- `vnc_password` (String)
|
||||
- `weight` (Number)
|
||||
- `zone_id` (Number)
|
||||
|
||||
<a id="nestedblock--timeouts"></a>
|
||||
@@ -168,6 +170,7 @@ Read-Only:
|
||||
|
||||
- `account_id` (Number)
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String)
|
||||
- `boot_partition` (Number)
|
||||
- `bus_number` (Number)
|
||||
- `cache` (String)
|
||||
@@ -185,6 +188,7 @@ Read-Only:
|
||||
- `guid` (Number)
|
||||
- `image_id` (Number)
|
||||
- `images` (List of Number)
|
||||
- `independent` (Boolean)
|
||||
- `iotune` (List of Object) (see [below for nested schema](#nestedobjatt--disks--iotune))
|
||||
- `iqn` (String)
|
||||
- `login` (String)
|
||||
@@ -197,6 +201,7 @@ Read-Only:
|
||||
- `pci_slot` (Number)
|
||||
- `pool` (String)
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `purge_attempts` (Number)
|
||||
- `purge_time` (Number)
|
||||
- `reality_device_number` (Number)
|
||||
|
||||
@@ -134,6 +134,7 @@ Read-Only:
|
||||
- `user_managed` (Boolean)
|
||||
- `vgpus` (List of Number)
|
||||
- `vins_connected` (Number)
|
||||
- `weight` (Number)
|
||||
- `zone_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--acl"></a>
|
||||
|
||||
@@ -124,6 +124,7 @@ Read-Only:
|
||||
- `user_managed` (Boolean)
|
||||
- `vgpus` (List of Number)
|
||||
- `vins_connected` (Number)
|
||||
- `weight` (Number)
|
||||
- `zone_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--acl"></a>
|
||||
@@ -172,6 +173,7 @@ Read-Only:
|
||||
|
||||
- `disk_id` (Number)
|
||||
- `pci_slot` (Number)
|
||||
- `sep_id` (Number)
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--interfaces"></a>
|
||||
|
||||
@@ -124,6 +124,7 @@ Read-Only:
|
||||
- `flags` (List of String)
|
||||
- `model_name` (String)
|
||||
- `phys_count` (Number)
|
||||
- `thread_count` (Number)
|
||||
|
||||
|
||||
<a id="nestedatt--dpdk"></a>
|
||||
|
||||
@@ -28,6 +28,7 @@ description: |-
|
||||
- `status` (String) find node by status
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
- `version` (String) find node by version
|
||||
- `zone_id` (Number) find node by zone id
|
||||
|
||||
### Read-Only
|
||||
|
||||
@@ -111,6 +112,7 @@ Read-Only:
|
||||
- `flags` (List of String)
|
||||
- `model_name` (String)
|
||||
- `phys_count` (Number)
|
||||
- `thread_count` (Number)
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--dpdk"></a>
|
||||
|
||||
@@ -71,6 +71,7 @@ Optional:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `email` (String)
|
||||
- `explicit` (Boolean)
|
||||
- `guid` (String)
|
||||
- `right` (String)
|
||||
|
||||
@@ -51,6 +51,7 @@ Read-Only:
|
||||
- `pool_names` (List of String)
|
||||
- `sep_id` (Number)
|
||||
- `sep_name` (String)
|
||||
- `sep_tech_status` (String)
|
||||
|
||||
|
||||
<a id="nestedatt--usage"></a>
|
||||
|
||||
@@ -26,12 +26,19 @@ description: |-
|
||||
### Read-Only
|
||||
|
||||
- `account_ids` (List of Number)
|
||||
- `app_id` (String)
|
||||
- `auto_start` (Boolean)
|
||||
- `broadcast_addr` (String)
|
||||
- `bservice_ids` (List of Number)
|
||||
- `compute_ids` (List of Number)
|
||||
- `created_time` (Number)
|
||||
- `decort_url` (String)
|
||||
- `deletable` (Boolean)
|
||||
- `description` (String)
|
||||
- `domain` (String)
|
||||
- `drs` (Boolean)
|
||||
- `drs_name` (String)
|
||||
- `drs_uid` (String)
|
||||
- `extnet_ids` (List of Number)
|
||||
- `gid` (Number)
|
||||
- `guid` (Number)
|
||||
@@ -40,6 +47,10 @@ description: |-
|
||||
- `lb_ids` (List of Number)
|
||||
- `name` (String)
|
||||
- `node_ids` (List of Number)
|
||||
- `ping_addr` (String)
|
||||
- `ssl_skip_verify` (Boolean)
|
||||
- `sso_type` (String)
|
||||
- `sso_url` (String)
|
||||
- `status` (String)
|
||||
- `updated_time` (Number)
|
||||
- `vins_ids` (List of Number)
|
||||
|
||||
@@ -49,14 +49,25 @@ Optional:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `app_id` (String)
|
||||
- `auto_start` (Boolean)
|
||||
- `broadcast_addr` (String)
|
||||
- `created_time` (Number)
|
||||
- `decort_url` (String)
|
||||
- `deletable` (Boolean)
|
||||
- `description` (String)
|
||||
- `domain` (String)
|
||||
- `drs` (Boolean)
|
||||
- `drs_name` (String)
|
||||
- `drs_uid` (String)
|
||||
- `gid` (Number)
|
||||
- `guid` (Number)
|
||||
- `name` (String)
|
||||
- `node_ids` (List of Number)
|
||||
- `ping_addr` (String)
|
||||
- `ssl_skip_verify` (Boolean)
|
||||
- `sso_type` (String)
|
||||
- `sso_url` (String)
|
||||
- `status` (String)
|
||||
- `updated_time` (Number)
|
||||
- `zone_id` (Number)
|
||||
|
||||
@@ -29,6 +29,7 @@ description: |-
|
||||
- `account_name` (String) The name of the subscriber '(account') to whom this disk belongs
|
||||
- `acl` (String)
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String)
|
||||
- `cache` (String)
|
||||
- `computes` (List of Object) (see [below for nested schema](#nestedatt--computes))
|
||||
- `created_by` (String)
|
||||
@@ -43,6 +44,7 @@ description: |-
|
||||
- `id` (String) The ID of this resource.
|
||||
- `image_id` (Number) Image ID
|
||||
- `images` (List of Number) IDs of images using the disk
|
||||
- `independent` (Boolean)
|
||||
- `iotune` (List of Object) (see [below for nested schema](#nestedatt--iotune))
|
||||
- `machine_id` (Number)
|
||||
- `machine_name` (String)
|
||||
@@ -53,6 +55,7 @@ description: |-
|
||||
- `pci_slot` (Number) ID of the pci slot to which the disk is connected
|
||||
- `pool` (String) Pool for disk location
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `purge_time` (Number) Time of the last deletion attempt
|
||||
- `replication` (List of Object) Replication status (see [below for nested schema](#nestedatt--replication))
|
||||
- `res_id` (String) Resource ID
|
||||
@@ -69,7 +72,6 @@ description: |-
|
||||
- `storage_policy_id` (Number) Storage policy ID
|
||||
- `tech_status` (String) Technical status of the disk
|
||||
- `to_clean` (Boolean)
|
||||
- `type` (String) The type of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `vmid` (Number) Virtual Machine ID (Deprecated)
|
||||
|
||||
@@ -20,10 +20,12 @@ description: |-
|
||||
- `account_id` (Number) ID of the account the disks belong to
|
||||
- `account_name` (String) Find by account name
|
||||
- `by_id` (Number) Find by ID
|
||||
- `compute_id` (Number) Find by compute ID
|
||||
- `disk_max_size` (Number) Find by max disk size
|
||||
- `name` (String) Find by name
|
||||
- `page` (Number) Page number
|
||||
- `pool_name` (String) find by pool name
|
||||
- `rg_id` (Number) Find by rg ID
|
||||
- `sep_id` (Number) find by sep ID
|
||||
- `shared` (Boolean) Find by shared field
|
||||
- `size` (Number) Page size
|
||||
@@ -31,7 +33,6 @@ description: |-
|
||||
- `status` (String) Find by status
|
||||
- `storage_policy_id` (Number) storage policy ID
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
- `type` (String) type of the disks
|
||||
|
||||
### Read-Only
|
||||
|
||||
@@ -57,6 +58,7 @@ Read-Only:
|
||||
- `account_name` (String)
|
||||
- `acl` (String)
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String)
|
||||
- `cache` (String)
|
||||
- `computes` (List of Object) (see [below for nested schema](#nestedobjatt--items--computes))
|
||||
- `created_by` (String)
|
||||
@@ -71,6 +73,7 @@ Read-Only:
|
||||
- `gid` (Number)
|
||||
- `image_id` (Number)
|
||||
- `images` (List of Number)
|
||||
- `independent` (Boolean)
|
||||
- `iotune` (List of Object) (see [below for nested schema](#nestedobjatt--items--iotune))
|
||||
- `machine_id` (Number)
|
||||
- `machine_name` (String)
|
||||
@@ -81,6 +84,7 @@ Read-Only:
|
||||
- `pci_slot` (Number)
|
||||
- `pool` (String)
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `purge_time` (Number)
|
||||
- `replication` (List of Object) (see [below for nested schema](#nestedobjatt--items--replication))
|
||||
- `res_id` (String)
|
||||
@@ -97,7 +101,6 @@ Read-Only:
|
||||
- `storage_policy_id` (Number)
|
||||
- `tech_status` (String)
|
||||
- `to_clean` (Boolean)
|
||||
- `type` (String)
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `vmid` (Number)
|
||||
|
||||
@@ -27,7 +27,6 @@ description: |-
|
||||
- `size` (Number) Page size
|
||||
- `sort_by` (String) sort by one of supported fields, format +|-(field)
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
- `type` (String) type of the disks
|
||||
|
||||
### Read-Only
|
||||
|
||||
@@ -53,6 +52,7 @@ Read-Only:
|
||||
- `account_name` (String)
|
||||
- `acl` (String)
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String)
|
||||
- `cache` (String)
|
||||
- `computes` (List of Object) (see [below for nested schema](#nestedobjatt--items--computes))
|
||||
- `created_by` (String)
|
||||
@@ -67,6 +67,7 @@ Read-Only:
|
||||
- `gid` (Number)
|
||||
- `image_id` (Number)
|
||||
- `images` (List of Number)
|
||||
- `independent` (Boolean)
|
||||
- `iotune` (List of Object) (see [below for nested schema](#nestedobjatt--items--iotune))
|
||||
- `machine_id` (Number)
|
||||
- `machine_name` (String)
|
||||
@@ -77,6 +78,7 @@ Read-Only:
|
||||
- `pci_slot` (Number)
|
||||
- `pool` (String)
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `purge_time` (Number)
|
||||
- `replication` (List of Object) (see [below for nested schema](#nestedobjatt--items--replication))
|
||||
- `res_id` (String)
|
||||
@@ -93,7 +95,6 @@ Read-Only:
|
||||
- `storage_policy_id` (Number)
|
||||
- `tech_status` (String)
|
||||
- `to_clean` (Boolean)
|
||||
- `type` (String)
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `vmid` (Number)
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "decort_disk_list_types Data Source - terraform-provider-decort"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
|
||||
---
|
||||
|
||||
# decort_disk_list_types (Data Source)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Optional
|
||||
|
||||
- `page` (Number) Page number
|
||||
- `size` (Number) Page size
|
||||
- `sort_by` (String) sort by one of supported fields, format +|-(field)
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `entry_count` (Number)
|
||||
- `id` (String) The ID of this resource.
|
||||
- `types` (List of String) The types of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'
|
||||
|
||||
<a id="nestedblock--timeouts"></a>
|
||||
### Nested Schema for `timeouts`
|
||||
|
||||
Optional:
|
||||
|
||||
- `default` (String)
|
||||
- `read` (String)
|
||||
@@ -1,56 +0,0 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "decort_disk_list_types_detailed Data Source - terraform-provider-decort"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
|
||||
---
|
||||
|
||||
# decort_disk_list_types_detailed (Data Source)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Optional
|
||||
|
||||
- `page` (Number) Page number
|
||||
- `size` (Number) Page size
|
||||
- `sort_by` (String) sort by one of supported fields, format +|-(field)
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `entry_count` (Number)
|
||||
- `id` (String) The ID of this resource.
|
||||
- `items` (List of Object) (see [below for nested schema](#nestedatt--items))
|
||||
|
||||
<a id="nestedblock--timeouts"></a>
|
||||
### Nested Schema for `timeouts`
|
||||
|
||||
Optional:
|
||||
|
||||
- `default` (String)
|
||||
- `read` (String)
|
||||
|
||||
|
||||
<a id="nestedatt--items"></a>
|
||||
### Nested Schema for `items`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `pools` (List of Object) (see [below for nested schema](#nestedobjatt--items--pools))
|
||||
- `sep_id` (Number)
|
||||
- `sep_name` (String)
|
||||
|
||||
<a id="nestedobjatt--items--pools"></a>
|
||||
### Nested Schema for `items.pools`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `name` (String)
|
||||
- `system` (String)
|
||||
- `types` (List of String)
|
||||
@@ -29,7 +29,6 @@ description: |-
|
||||
- `status` (String) Find by status
|
||||
- `storage_policy_id` (Number) storage policy ID
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
- `type` (String) type of the disks
|
||||
|
||||
### Read-Only
|
||||
|
||||
@@ -56,6 +55,7 @@ Read-Only:
|
||||
- `account_name` (String)
|
||||
- `acl` (String)
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String)
|
||||
- `boot_partition` (Number)
|
||||
- `cache` (String)
|
||||
- `created_time` (Number)
|
||||
@@ -79,6 +79,8 @@ Read-Only:
|
||||
- `passwd` (String)
|
||||
- `pci_slot` (Number)
|
||||
- `pool` (String)
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `purge_attempts` (Number)
|
||||
- `purge_time` (Number)
|
||||
- `reality_device_number` (Number)
|
||||
@@ -93,7 +95,7 @@ Read-Only:
|
||||
- `snapshots` (List of Object) (see [below for nested schema](#nestedobjatt--items--snapshots))
|
||||
- `status` (String)
|
||||
- `tech_status` (String)
|
||||
- `type` (String)
|
||||
- `to_clean` (Boolean)
|
||||
- `vmid` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--iotune"></a>
|
||||
|
||||
@@ -61,7 +61,6 @@ description: |-
|
||||
- `status` (String) Disk status
|
||||
- `status_replication` (String) Status of replication
|
||||
- `tech_status` (String) Technical status of the disk
|
||||
- `type` (String) The type of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'
|
||||
- `vmid` (Number) Virtual Machine ID (Deprecated)
|
||||
|
||||
<a id="nestedblock--timeouts"></a>
|
||||
|
||||
@@ -43,8 +43,10 @@ description: |-
|
||||
- `hot_resize` (Boolean)
|
||||
- `id` (String) The ID of this resource.
|
||||
- `image_name` (String)
|
||||
- `independent` (Boolean)
|
||||
- `last_modified` (Number)
|
||||
- `link_to` (Number)
|
||||
- `links_to` (List of Number)
|
||||
- `milestones` (Number)
|
||||
- `network_interface_naming` (String)
|
||||
- `password` (String)
|
||||
|
||||
@@ -67,6 +67,7 @@ Read-Only:
|
||||
- `image_id` (Number)
|
||||
- `image_name` (String)
|
||||
- `link_to` (Number)
|
||||
- `links_to` (List of Number)
|
||||
- `network_interface_naming` (String)
|
||||
- `pool_name` (String)
|
||||
- `sep_id` (Number)
|
||||
|
||||
@@ -105,6 +105,7 @@ description: |-
|
||||
- `userdata` (String)
|
||||
- `vgpus` (List of Object) List of virtual GPUs (see [below for nested schema](#nestedatt--vgpus))
|
||||
- `vnc_password` (String)
|
||||
- `weight` (Number)
|
||||
- `zone_id` (Number)
|
||||
|
||||
<a id="nestedblock--timeouts"></a>
|
||||
@@ -200,6 +201,7 @@ Read-Only:
|
||||
- `account_id` (Number)
|
||||
- `acl` (String)
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String)
|
||||
- `boot_partition` (Number)
|
||||
- `bus_number` (Number)
|
||||
- `cache` (String)
|
||||
@@ -217,6 +219,7 @@ Read-Only:
|
||||
- `image_id` (Number)
|
||||
- `image_name` (String)
|
||||
- `images` (List of Number)
|
||||
- `independent` (Boolean)
|
||||
- `iotune` (List of Object) (see [below for nested schema](#nestedobjatt--disks--iotune))
|
||||
- `iqn` (String)
|
||||
- `login` (String)
|
||||
@@ -228,6 +231,7 @@ Read-Only:
|
||||
- `pci_slot` (Number)
|
||||
- `pool` (String)
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `purge_time` (Number)
|
||||
- `reality_device_number` (Number)
|
||||
- `replication` (List of Object) (see [below for nested schema](#nestedobjatt--disks--replication))
|
||||
@@ -243,7 +247,6 @@ Read-Only:
|
||||
- `storage_policy_id` (Number)
|
||||
- `tech_status` (String)
|
||||
- `to_clean` (Boolean)
|
||||
- `type` (String)
|
||||
- `updated_time` (Number)
|
||||
|
||||
<a id="nestedobjatt--disks--iotune"></a>
|
||||
|
||||
@@ -126,6 +126,7 @@ Read-Only:
|
||||
- `user_managed` (Boolean)
|
||||
- `vgpus` (List of Number)
|
||||
- `vins_connected` (Number)
|
||||
- `weight` (Number)
|
||||
- `zone_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--acl"></a>
|
||||
|
||||
@@ -123,6 +123,7 @@ Read-Only:
|
||||
- `user_managed` (Boolean)
|
||||
- `vgpus` (List of Number)
|
||||
- `vins_connected` (Number)
|
||||
- `weight` (Number)
|
||||
- `zone_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--acl"></a>
|
||||
|
||||
@@ -47,6 +47,7 @@ Optional:
|
||||
Read-Only:
|
||||
|
||||
- `auth_broker` (List of String)
|
||||
- `bro_enabled` (Boolean)
|
||||
- `ckey` (String)
|
||||
- `flag` (String)
|
||||
- `gid` (Number)
|
||||
@@ -57,3 +58,4 @@ Read-Only:
|
||||
- `name` (String)
|
||||
- `network_modes` (List of String)
|
||||
- `sdn_support` (Boolean)
|
||||
- `zero_access_enabled` (Boolean)
|
||||
|
||||
@@ -71,6 +71,7 @@ Optional:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `email` (String)
|
||||
- `explicit` (Boolean)
|
||||
- `guid` (String)
|
||||
- `right` (String)
|
||||
|
||||
@@ -88,6 +88,7 @@ Read-Only:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `email` (String)
|
||||
- `explicit` (Boolean)
|
||||
- `guid` (String)
|
||||
- `right` (String)
|
||||
|
||||
@@ -86,6 +86,7 @@ Read-Only:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `email` (String)
|
||||
- `explicit` (Boolean)
|
||||
- `guid` (String)
|
||||
- `right` (String)
|
||||
|
||||
@@ -85,6 +85,7 @@ Read-Only:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `email` (String)
|
||||
- `explicit` (Boolean)
|
||||
- `guid` (String)
|
||||
- `right` (String)
|
||||
|
||||
@@ -22,6 +22,7 @@ description: |-
|
||||
- `deleted` (Boolean) filter by deleted/not deleted group
|
||||
- `display_name` (String) filter by display name
|
||||
- `enabled` (Boolean) filter by enabled/disabled group
|
||||
- `owner_display_name` (String)
|
||||
- `page` (Number) Page number
|
||||
- `per_page` (Number) Items per page
|
||||
- `sort_by` (String) sort by one of supported fields
|
||||
|
||||
72
docs/data-sources/sdn_hypervisor.md
Normal file
72
docs/data-sources/sdn_hypervisor.md
Normal file
@@ -0,0 +1,72 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "decort_sdn_hypervisor Data Source - terraform-provider-decort"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
|
||||
---
|
||||
|
||||
# decort_sdn_hypervisor (Data Source)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `name` (String)
|
||||
|
||||
### Optional
|
||||
|
||||
- `port_info` (String)
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `created_at` (String)
|
||||
- `display_name` (String)
|
||||
- `hostname` (String)
|
||||
- `id` (String) The ID of this resource.
|
||||
- `ip` (String)
|
||||
- `ports` (List of Object) (see [below for nested schema](#nestedatt--ports))
|
||||
- `status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
<a id="nestedblock--timeouts"></a>
|
||||
### Nested Schema for `timeouts`
|
||||
|
||||
Optional:
|
||||
|
||||
- `default` (String)
|
||||
- `read` (String)
|
||||
|
||||
|
||||
<a id="nestedatt--ports"></a>
|
||||
### Nested Schema for `ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `data` (List of Object) (see [below for nested schema](#nestedobjatt--ports--data))
|
||||
- `info` (List of Object) (see [below for nested schema](#nestedobjatt--ports--info))
|
||||
|
||||
<a id="nestedobjatt--ports--data"></a>
|
||||
### Nested Schema for `ports.data`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `id` (String)
|
||||
- `unique_identifier` (String)
|
||||
- `up` (Boolean)
|
||||
|
||||
|
||||
<a id="nestedobjatt--ports--info"></a>
|
||||
### Nested Schema for `ports.info`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `active_ports` (Number)
|
||||
- `total_ports` (Number)
|
||||
87
docs/data-sources/sdn_hypervisor_list.md
Normal file
87
docs/data-sources/sdn_hypervisor_list.md
Normal file
@@ -0,0 +1,87 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "decort_sdn_hypervisor_list Data Source - terraform-provider-decort"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
|
||||
---
|
||||
|
||||
# decort_sdn_hypervisor_list (Data Source)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Optional
|
||||
|
||||
- `created_from` (String)
|
||||
- `created_to` (String)
|
||||
- `display_name` (String)
|
||||
- `hostname` (String)
|
||||
- `ip` (String)
|
||||
- `page` (Number)
|
||||
- `per_page` (Number)
|
||||
- `port_info` (String)
|
||||
- `sort_by` (String)
|
||||
- `sort_order` (String)
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
- `updated_from` (String)
|
||||
- `updated_to` (String)
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (String) The ID of this resource.
|
||||
- `items` (List of Object) List of hypervisors (see [below for nested schema](#nestedatt--items))
|
||||
|
||||
<a id="nestedblock--timeouts"></a>
|
||||
### Nested Schema for `timeouts`
|
||||
|
||||
Optional:
|
||||
|
||||
- `default` (String)
|
||||
- `read` (String)
|
||||
|
||||
|
||||
<a id="nestedatt--items"></a>
|
||||
### Nested Schema for `items`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `created_at` (String)
|
||||
- `display_name` (String)
|
||||
- `hostname` (String)
|
||||
- `ip` (String)
|
||||
- `name` (String)
|
||||
- `ports` (List of Object) (see [below for nested schema](#nestedobjatt--items--ports))
|
||||
- `status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
<a id="nestedobjatt--items--ports"></a>
|
||||
### Nested Schema for `items.ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `data` (List of Object) (see [below for nested schema](#nestedobjatt--items--ports--data))
|
||||
- `info` (List of Object) (see [below for nested schema](#nestedobjatt--items--ports--info))
|
||||
|
||||
<a id="nestedobjatt--items--ports--data"></a>
|
||||
### Nested Schema for `items.ports.data`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `id` (String)
|
||||
- `unique_identifier` (String)
|
||||
- `up` (Boolean)
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--ports--info"></a>
|
||||
### Nested Schema for `items.ports.info`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `active_ports` (Number)
|
||||
- `total_ports` (Number)
|
||||
@@ -34,9 +34,11 @@ description: |-
|
||||
- `description` (String) Description of the logical port
|
||||
- `display_name` (String) Display name of the logical port
|
||||
- `enabled` (Boolean) If the logical port is enabled
|
||||
- `external_network_id` (String)
|
||||
- `hypervisor` (String) ID of the hypervisor
|
||||
- `hypervisor_display_name` (String) Display name of the hypervisor
|
||||
- `id` (String) The ID of this resource.
|
||||
- `labels` (List of Object) Labels (see [below for nested schema](#nestedatt--labels))
|
||||
- `live_migration_target_hv` (String)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedatt--status))
|
||||
- `unique_identifier` (String) Unique identifier of the logical port
|
||||
@@ -60,21 +62,46 @@ Read-Only:
|
||||
- `address_detection` (Boolean)
|
||||
- `created_at` (String)
|
||||
- `id` (String)
|
||||
- `is_excluded_from_firewall` (Boolean)
|
||||
- `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--labels"></a>
|
||||
### Nested Schema for `labels`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `vm_id` (String)
|
||||
- `vm_name` (String)
|
||||
|
||||
|
||||
<a id="nestedatt--status"></a>
|
||||
### Nested Schema for `status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `common` (String)
|
||||
- `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`
|
||||
@@ -84,5 +111,5 @@ Read-Only:
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `status` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
@@ -34,9 +34,11 @@ description: |-
|
||||
- `description` (String) Description of the logical port
|
||||
- `display_name` (String) Display name of the logical port
|
||||
- `enabled` (Boolean) If the logical port is enabled
|
||||
- `external_network_id` (String)
|
||||
- `hypervisor` (String) ID of the hypervisor
|
||||
- `hypervisor_display_name` (String) Display name of the hypervisor
|
||||
- `id` (String) The ID of this resource.
|
||||
- `labels` (List of Object) Labels (see [below for nested schema](#nestedatt--labels))
|
||||
- `live_migration_target_hv` (String)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedatt--status))
|
||||
- `updated_at` (String) Update time the logical port
|
||||
@@ -59,21 +61,46 @@ Read-Only:
|
||||
- `address_detection` (Boolean)
|
||||
- `created_at` (String)
|
||||
- `id` (String)
|
||||
- `is_excluded_from_firewall` (Boolean)
|
||||
- `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--labels"></a>
|
||||
### Nested Schema for `labels`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `vm_id` (String)
|
||||
- `vm_name` (String)
|
||||
|
||||
|
||||
<a id="nestedatt--status"></a>
|
||||
### Nested Schema for `status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `common` (String)
|
||||
- `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`
|
||||
@@ -83,5 +110,5 @@ Read-Only:
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `status` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
@@ -27,7 +27,9 @@ description: |-
|
||||
- `external_network_id` (String) External Network ID
|
||||
- `hypervisor` (String) Hypervisor
|
||||
- `hypervisor_display_name` (String) Hypervisor display name
|
||||
- `hypervisor_status` (String) Filter by hypervisor status
|
||||
- `live_migration_target_hv` (String) Live migration target HV
|
||||
- `operation_status` (String) Filter by operation status
|
||||
- `page` (Number)
|
||||
- `per_page` (Number)
|
||||
- `port_security` (Boolean)
|
||||
@@ -66,9 +68,11 @@ Read-Only:
|
||||
- `description` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `external_network_id` (String)
|
||||
- `hypervisor` (String)
|
||||
- `hypervisor_display_name` (String)
|
||||
- `id` (String)
|
||||
- `labels` (List of Object) (see [below for nested schema](#nestedobjatt--items--labels))
|
||||
- `live_migration_target_hv` (String)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--items--status))
|
||||
- `unique_identifier` (String)
|
||||
@@ -83,21 +87,46 @@ Read-Only:
|
||||
- `address_detection` (Boolean)
|
||||
- `created_at` (String)
|
||||
- `id` (String)
|
||||
- `is_excluded_from_firewall` (Boolean)
|
||||
- `logical_port_addresses` (List of Object) (see [below for nested schema](#nestedobjatt--items--bindings--logical_port_addresses))
|
||||
- `port_security` (Boolean)
|
||||
- `segment_display_name` (String)
|
||||
- `segment_id` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--bindings--logical_port_addresses"></a>
|
||||
### Nested Schema for `items.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="nestedobjatt--items--labels"></a>
|
||||
### Nested Schema for `items.labels`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `vm_id` (String)
|
||||
- `vm_name` (String)
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--status"></a>
|
||||
### Nested Schema for `items.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `common` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--items--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--items--status--hypervisors"></a>
|
||||
### Nested Schema for `items.status.hypervisors`
|
||||
@@ -107,5 +136,5 @@ Read-Only:
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `status` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
705
docs/data-sources/sdn_network_object_group.md
Normal file
705
docs/data-sources/sdn_network_object_group.md
Normal file
@@ -0,0 +1,705 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "decort_sdn_network_object_group Data Source - terraform-provider-decort"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
|
||||
---
|
||||
|
||||
# decort_sdn_network_object_group (Data Source)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `net_object_group_id` (String)
|
||||
|
||||
### Optional
|
||||
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `addresses` (List of Object) (see [below for nested schema](#nestedatt--addresses))
|
||||
- `counters` (List of Object) (see [below for nested schema](#nestedatt--counters))
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `external_network_ports` (List of Object) (see [below for nested schema](#nestedatt--external_network_ports))
|
||||
- `id` (String) The ID of this resource.
|
||||
- `l2_connection_ports` (List of Object) (see [below for nested schema](#nestedatt--l2_connection_ports))
|
||||
- `logical_ports` (List of Object) (see [below for nested schema](#nestedatt--logical_ports))
|
||||
- `name` (String)
|
||||
- `purpose` (String)
|
||||
- `security_policies` (List of Object) (see [below for nested schema](#nestedatt--security_policies))
|
||||
- `type` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedblock--timeouts"></a>
|
||||
### Nested Schema for `timeouts`
|
||||
|
||||
Optional:
|
||||
|
||||
- `default` (String)
|
||||
- `read` (String)
|
||||
|
||||
|
||||
<a id="nestedatt--addresses"></a>
|
||||
### Nested Schema for `addresses`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `id` (String)
|
||||
- `ip_addr` (String)
|
||||
- `ip_addr_range_end` (String)
|
||||
- `ip_prefix` (String)
|
||||
- `mac_addr` (String)
|
||||
- `net_address_type` (String)
|
||||
|
||||
|
||||
<a id="nestedatt--counters"></a>
|
||||
### Nested Schema for `counters`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `addresses_count` (Number)
|
||||
- `l2_connection_ports_count` (Number)
|
||||
- `logical_ports_count` (Number)
|
||||
- `security_policies_count` (Number)
|
||||
- `security_rules_count` (Number)
|
||||
|
||||
|
||||
<a id="nestedatt--external_network_ports"></a>
|
||||
### Nested Schema for `external_network_ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `bridge_network_name` (String)
|
||||
- `comment` (String)
|
||||
- `created_at` (String)
|
||||
- `default_gateway_ipv4` (String)
|
||||
- `default_gateway_ipv6` (String)
|
||||
- `description` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `external_network_ports` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports))
|
||||
- `hypervisors` (List of String)
|
||||
- `id` (String)
|
||||
- `ipv4` (String)
|
||||
- `mac` (String)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--status))
|
||||
- `subnet_v4` (String)
|
||||
- `subnet_v6` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
- `vlan_tag` (Number)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `comment` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `floating_ip` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip))
|
||||
- `ipv4` (String)
|
||||
- `ipv6` (String)
|
||||
- `ipv6_config` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--ipv6_config))
|
||||
- `mac` (String)
|
||||
- `router_gateaway_port` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--router_gateaway_port))
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `created_at` (String)
|
||||
- `logical_port` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port))
|
||||
- `router` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router))
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.logical_port`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `adapter_mac` (String)
|
||||
- `address_detection` (Boolean)
|
||||
- `bindings` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--bindings))
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `exclude_firewall` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--exclude_firewall))
|
||||
- `external_network_id` (String)
|
||||
- `hypervisor` (String)
|
||||
- `hypervisor_display_name` (String)
|
||||
- `id` (String)
|
||||
- `labels` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--labels))
|
||||
- `live_migration_target_hv` (String)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--status))
|
||||
- `unique_identifier` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--bindings"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.logical_port.bindings`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `address_detection` (Boolean)
|
||||
- `created_at` (String)
|
||||
- `id` (String)
|
||||
- `logical_port_addresses` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--bindings--logical_port_addresses))
|
||||
- `port_security` (Boolean)
|
||||
- `segment_display_name` (String)
|
||||
- `segment_id` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--bindings--logical_port_addresses"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.logical_port.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="nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--exclude_firewall"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.logical_port.exclude_firewall`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `exclusion_reason` (String)
|
||||
- `logical_port_addresses_excluded` (Boolean)
|
||||
- `logical_port_excluded` (Boolean)
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--labels"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.logical_port.labels`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `vm_id` (String)
|
||||
- `vm_name` (String)
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--status"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.logical_port.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--status--hypervisors"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.logical_port.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `gateaway_ports` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--gateaway_ports))
|
||||
- `id` (String)
|
||||
- `policies` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--policies))
|
||||
- `ports` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports))
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--status))
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--gateaway_ports"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.gateaway_ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `external_l4_port_max` (Number)
|
||||
- `external_l4_port_min` (Number)
|
||||
- `id` (String)
|
||||
- `snat_enabled` (Boolean)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--gateaway_ports--status))
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--gateaway_ports--status"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.gateaway_ports.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--gateaway_ports--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--gateaway_ports--status--hypervisors"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.gateaway_ports.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--policies"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.policies`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `action` (String)
|
||||
- `created_at` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `id` (String)
|
||||
- `match` (String)
|
||||
- `next_ipv4_address` (List of String)
|
||||
- `next_ipv6_address` (List of String)
|
||||
- `priority` (Number)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `id` (String)
|
||||
- `ipv4_address` (String)
|
||||
- `ipv6_address` (String)
|
||||
- `ipv6_config` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports--ipv6_config))
|
||||
- `mac` (String)
|
||||
- `segment` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports--segment))
|
||||
- `segment_id` (String)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports--status))
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports--ipv6_config"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.ports.ipv6_config`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `address_mode` (String)
|
||||
- `enable_periodic_ra` (Boolean)
|
||||
- `interval_ra` (Number)
|
||||
- `router_preference` (String)
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports--segment"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.ports.segment`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `id` (String)
|
||||
- `subnet_v4` (String)
|
||||
- `subnet_v6` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports--status"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.ports.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports--status--hypervisors"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.ports.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--status"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--status--hypervisors"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--ipv6_config"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.ipv6_config`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `address_mode` (String)
|
||||
- `enable_periodic_ra` (Boolean)
|
||||
- `interval_ra` (Number)
|
||||
- `router_preference` (String)
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--router_gateaway_port"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.router_gateaway_port`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `id` (String)
|
||||
- `router_display_name` (String)
|
||||
- `router_id` (String)
|
||||
- `snat_enabled` (Boolean)
|
||||
- `updated_at` (String)
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--status"></a>
|
||||
### Nested Schema for `external_network_ports.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--status--hypervisors"></a>
|
||||
### Nested Schema for `external_network_ports.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="nestedatt--l2_connection_ports"></a>
|
||||
### Nested Schema for `l2_connection_ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `created_at` (String)
|
||||
- `id` (String)
|
||||
- `l2_external_network` (List of Object) (see [below for nested schema](#nestedobjatt--l2_connection_ports--l2_external_network))
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--l2_connection_ports--l2_external_network"></a>
|
||||
### Nested Schema for `l2_connection_ports.l2_external_network`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `bridge_network_name` (String)
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `display_name` (String)
|
||||
- `hypervisors` (List of String)
|
||||
- `id` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
- `vlan_tag` (Number)
|
||||
|
||||
|
||||
|
||||
<a id="nestedatt--logical_ports"></a>
|
||||
### Nested Schema for `logical_ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `adapter_mac` (String)
|
||||
- `address_detection` (Boolean)
|
||||
- `bindings` (List of Object) (see [below for nested schema](#nestedobjatt--logical_ports--bindings))
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `exclude_firewall` (List of Object) (see [below for nested schema](#nestedobjatt--logical_ports--exclude_firewall))
|
||||
- `external_network_id` (String)
|
||||
- `hypervisor` (String)
|
||||
- `hypervisor_display_name` (String)
|
||||
- `id` (String)
|
||||
- `labels` (List of Object) (see [below for nested schema](#nestedobjatt--logical_ports--labels))
|
||||
- `live_migration_target_hv` (String)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--logical_ports--status))
|
||||
- `unique_identifier` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--logical_ports--bindings"></a>
|
||||
### Nested Schema for `logical_ports.bindings`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `address_detection` (Boolean)
|
||||
- `created_at` (String)
|
||||
- `id` (String)
|
||||
- `logical_port_addresses` (List of Object) (see [below for nested schema](#nestedobjatt--logical_ports--bindings--logical_port_addresses))
|
||||
- `port_security` (Boolean)
|
||||
- `segment_display_name` (String)
|
||||
- `segment_id` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--logical_ports--bindings--logical_port_addresses"></a>
|
||||
### Nested Schema for `logical_ports.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="nestedobjatt--logical_ports--exclude_firewall"></a>
|
||||
### Nested Schema for `logical_ports.exclude_firewall`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `exclusion_reason` (String)
|
||||
- `logical_port_addresses_excluded` (Boolean)
|
||||
- `logical_port_excluded` (Boolean)
|
||||
|
||||
|
||||
<a id="nestedobjatt--logical_ports--labels"></a>
|
||||
### Nested Schema for `logical_ports.labels`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `vm_id` (String)
|
||||
- `vm_name` (String)
|
||||
|
||||
|
||||
<a id="nestedobjatt--logical_ports--status"></a>
|
||||
### Nested Schema for `logical_ports.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--logical_ports--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--logical_ports--status--hypervisors"></a>
|
||||
### Nested Schema for `logical_ports.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="nestedatt--security_policies"></a>
|
||||
### Nested Schema for `security_policies`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `applied_net_object_groups` (List of Object) (see [below for nested schema](#nestedobjatt--security_policies--applied_net_object_groups))
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `end_priority` (Number)
|
||||
- `id` (String)
|
||||
- `security_rules` (List of Object) (see [below for nested schema](#nestedobjatt--security_policies--security_rules))
|
||||
- `start_priority` (Number)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--security_policies--status))
|
||||
- `type` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--security_policies--applied_net_object_groups"></a>
|
||||
### Nested Schema for `security_policies.applied_net_object_groups`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `id` (String)
|
||||
- `name` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
|
||||
<a id="nestedobjatt--security_policies--security_rules"></a>
|
||||
### Nested Schema for `security_policies.security_rules`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `action` (String)
|
||||
- `description` (String)
|
||||
- `destination_net_object` (List of Object) (see [below for nested schema](#nestedobjatt--security_policies--security_rules--destination_net_object))
|
||||
- `direction` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `filter` (List of Object) (see [below for nested schema](#nestedobjatt--security_policies--security_rules--filter))
|
||||
- `id` (String)
|
||||
- `log_enabled` (Boolean)
|
||||
- `log_name` (String)
|
||||
- `log_severity` (String)
|
||||
- `priority` (Number)
|
||||
- `security_policy_id` (String)
|
||||
- `source_net_object` (List of Object) (see [below for nested schema](#nestedobjatt--security_policies--security_rules--source_net_object))
|
||||
- `statistics_enabled` (Boolean)
|
||||
- `type` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--security_policies--security_rules--destination_net_object"></a>
|
||||
### Nested Schema for `security_policies.security_rules.destination_net_object`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `net_address_pool_id` (String)
|
||||
- `net_object_group_id` (String)
|
||||
|
||||
|
||||
<a id="nestedobjatt--security_policies--security_rules--filter"></a>
|
||||
### Nested Schema for `security_policies.security_rules.filter`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `filters` (List of Object) (see [below for nested schema](#nestedobjatt--security_policies--security_rules--filter--filters))
|
||||
- `name` (String)
|
||||
|
||||
<a id="nestedobjatt--security_policies--security_rules--filter--filters"></a>
|
||||
### Nested Schema for `security_policies.security_rules.filter.filters`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `all` (Boolean)
|
||||
- `arp` (Boolean)
|
||||
- `dhcp` (Boolean)
|
||||
- `expression` (String)
|
||||
- `icmp` (Boolean)
|
||||
- `ip` (Boolean)
|
||||
- `ip_v4` (Boolean)
|
||||
- `ip_v6` (Boolean)
|
||||
- `keep_opened_sessions` (Boolean)
|
||||
- `nd` (Boolean)
|
||||
- `tcp` (Boolean)
|
||||
- `tcp_dst_ports` (List of String)
|
||||
- `udp` (Boolean)
|
||||
- `udp_dst_ports` (List of String)
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--security_policies--security_rules--source_net_object"></a>
|
||||
### Nested Schema for `security_policies.security_rules.source_net_object`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `net_address_pool_id` (String)
|
||||
- `net_object_group_id` (String)
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--security_policies--status"></a>
|
||||
### Nested Schema for `security_policies.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--security_policies--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--security_policies--status--hypervisors"></a>
|
||||
### Nested Schema for `security_policies.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
720
docs/data-sources/sdn_network_object_group_list.md
Normal file
720
docs/data-sources/sdn_network_object_group_list.md
Normal file
@@ -0,0 +1,720 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "decort_sdn_network_object_group_list Data Source - terraform-provider-decort"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
|
||||
---
|
||||
|
||||
# decort_sdn_network_object_group_list (Data Source)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Optional
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `created_from` (String)
|
||||
- `created_to` (String)
|
||||
- `name` (String)
|
||||
- `page` (Number)
|
||||
- `per_page` (Number)
|
||||
- `sort_by` (String)
|
||||
- `sort_order` (String)
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
- `updated_from` (String)
|
||||
- `updated_to` (String)
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `entry_count` (Number)
|
||||
- `id` (String) The ID of this resource.
|
||||
- `items` (List of Object) (see [below for nested schema](#nestedatt--items))
|
||||
|
||||
<a id="nestedblock--timeouts"></a>
|
||||
### Nested Schema for `timeouts`
|
||||
|
||||
Optional:
|
||||
|
||||
- `default` (String)
|
||||
- `read` (String)
|
||||
|
||||
|
||||
<a id="nestedatt--items"></a>
|
||||
### Nested Schema for `items`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `addresses` (List of Object) (see [below for nested schema](#nestedobjatt--items--addresses))
|
||||
- `counters` (List of Object) (see [below for nested schema](#nestedobjatt--items--counters))
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `external_network_ports` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports))
|
||||
- `id` (String)
|
||||
- `l2_connection_ports` (List of Object) (see [below for nested schema](#nestedobjatt--items--l2_connection_ports))
|
||||
- `logical_ports` (List of Object) (see [below for nested schema](#nestedobjatt--items--logical_ports))
|
||||
- `name` (String)
|
||||
- `purpose` (String)
|
||||
- `security_policies` (List of Object) (see [below for nested schema](#nestedobjatt--items--security_policies))
|
||||
- `type` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--addresses"></a>
|
||||
### Nested Schema for `items.addresses`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `id` (String)
|
||||
- `ip_addr` (String)
|
||||
- `ip_addr_range_end` (String)
|
||||
- `ip_prefix` (String)
|
||||
- `mac_addr` (String)
|
||||
- `net_address_type` (String)
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--counters"></a>
|
||||
### Nested Schema for `items.counters`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `addresses_count` (Number)
|
||||
- `l2_connection_ports_count` (Number)
|
||||
- `logical_ports_count` (Number)
|
||||
- `security_policies_count` (Number)
|
||||
- `security_rules_count` (Number)
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports"></a>
|
||||
### Nested Schema for `items.external_network_ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `bridge_network_name` (String)
|
||||
- `comment` (String)
|
||||
- `created_at` (String)
|
||||
- `default_gateway_ipv4` (String)
|
||||
- `default_gateway_ipv6` (String)
|
||||
- `description` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `external_network_ports` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports))
|
||||
- `hypervisors` (List of String)
|
||||
- `id` (String)
|
||||
- `ipv4` (String)
|
||||
- `mac` (String)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--status))
|
||||
- `subnet_v4` (String)
|
||||
- `subnet_v6` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
- `vlan_tag` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `comment` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `floating_ip` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip))
|
||||
- `ipv4` (String)
|
||||
- `ipv6` (String)
|
||||
- `ipv6_config` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--ipv6_config))
|
||||
- `mac` (String)
|
||||
- `router_gateaway_port` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--router_gateaway_port))
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `created_at` (String)
|
||||
- `logical_port` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--logical_port))
|
||||
- `router` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router))
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--logical_port"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip.logical_port`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `adapter_mac` (String)
|
||||
- `address_detection` (Boolean)
|
||||
- `bindings` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--logical_port--bindings))
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `exclude_firewall` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--logical_port--exclude_firewall))
|
||||
- `external_network_id` (String)
|
||||
- `hypervisor` (String)
|
||||
- `hypervisor_display_name` (String)
|
||||
- `id` (String)
|
||||
- `labels` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--logical_port--labels))
|
||||
- `live_migration_target_hv` (String)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--logical_port--status))
|
||||
- `unique_identifier` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--logical_port--bindings"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip.logical_port.bindings`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `address_detection` (Boolean)
|
||||
- `created_at` (String)
|
||||
- `id` (String)
|
||||
- `logical_port_addresses` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--logical_port--bindings--logical_port_addresses))
|
||||
- `port_security` (Boolean)
|
||||
- `segment_display_name` (String)
|
||||
- `segment_id` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--logical_port--bindings--logical_port_addresses"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip.logical_port.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="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--logical_port--exclude_firewall"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip.logical_port.exclude_firewall`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `exclusion_reason` (String)
|
||||
- `logical_port_addresses_excluded` (Boolean)
|
||||
- `logical_port_excluded` (Boolean)
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--logical_port--labels"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip.logical_port.labels`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `vm_id` (String)
|
||||
- `vm_name` (String)
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--logical_port--status"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip.logical_port.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--logical_port--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--logical_port--status--hypervisors"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip.logical_port.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip.router`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `gateaway_ports` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--gateaway_ports))
|
||||
- `id` (String)
|
||||
- `policies` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--policies))
|
||||
- `ports` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--ports))
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--status))
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--gateaway_ports"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip.router.gateaway_ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `external_l4_port_max` (Number)
|
||||
- `external_l4_port_min` (Number)
|
||||
- `id` (String)
|
||||
- `snat_enabled` (Boolean)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--gateaway_ports--status))
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--gateaway_ports--status"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip.router.gateaway_ports.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--gateaway_ports--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--gateaway_ports--status--hypervisors"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip.router.gateaway_ports.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--policies"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip.router.policies`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `action` (String)
|
||||
- `created_at` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `id` (String)
|
||||
- `match` (String)
|
||||
- `next_ipv4_address` (List of String)
|
||||
- `next_ipv6_address` (List of String)
|
||||
- `priority` (Number)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--ports"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip.router.ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `id` (String)
|
||||
- `ipv4_address` (String)
|
||||
- `ipv6_address` (String)
|
||||
- `ipv6_config` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--ports--ipv6_config))
|
||||
- `mac` (String)
|
||||
- `segment` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--ports--segment))
|
||||
- `segment_id` (String)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--ports--status))
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--ports--ipv6_config"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip.router.ports.ipv6_config`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `address_mode` (String)
|
||||
- `enable_periodic_ra` (Boolean)
|
||||
- `interval_ra` (Number)
|
||||
- `router_preference` (String)
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--ports--segment"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip.router.ports.segment`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `id` (String)
|
||||
- `subnet_v4` (String)
|
||||
- `subnet_v6` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--ports--status"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip.router.ports.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--ports--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--ports--status--hypervisors"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip.router.ports.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--status"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip.router.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--floating_ip--router--status--hypervisors"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.floating_ip.router.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--ipv6_config"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.ipv6_config`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `address_mode` (String)
|
||||
- `enable_periodic_ra` (Boolean)
|
||||
- `interval_ra` (Number)
|
||||
- `router_preference` (String)
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--external_network_ports--router_gateaway_port"></a>
|
||||
### Nested Schema for `items.external_network_ports.external_network_ports.router_gateaway_port`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `id` (String)
|
||||
- `router_display_name` (String)
|
||||
- `router_id` (String)
|
||||
- `snat_enabled` (Boolean)
|
||||
- `updated_at` (String)
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--status"></a>
|
||||
### Nested Schema for `items.external_network_ports.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--items--external_network_ports--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--items--external_network_ports--status--hypervisors"></a>
|
||||
### Nested Schema for `items.external_network_ports.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--l2_connection_ports"></a>
|
||||
### Nested Schema for `items.l2_connection_ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `created_at` (String)
|
||||
- `id` (String)
|
||||
- `l2_external_network` (List of Object) (see [below for nested schema](#nestedobjatt--items--l2_connection_ports--l2_external_network))
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--l2_connection_ports--l2_external_network"></a>
|
||||
### Nested Schema for `items.l2_connection_ports.l2_external_network`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `bridge_network_name` (String)
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `display_name` (String)
|
||||
- `hypervisors` (List of String)
|
||||
- `id` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
- `vlan_tag` (Number)
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--logical_ports"></a>
|
||||
### Nested Schema for `items.logical_ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `adapter_mac` (String)
|
||||
- `address_detection` (Boolean)
|
||||
- `bindings` (List of Object) (see [below for nested schema](#nestedobjatt--items--logical_ports--bindings))
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `exclude_firewall` (List of Object) (see [below for nested schema](#nestedobjatt--items--logical_ports--exclude_firewall))
|
||||
- `external_network_id` (String)
|
||||
- `hypervisor` (String)
|
||||
- `hypervisor_display_name` (String)
|
||||
- `id` (String)
|
||||
- `labels` (List of Object) (see [below for nested schema](#nestedobjatt--items--logical_ports--labels))
|
||||
- `live_migration_target_hv` (String)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--items--logical_ports--status))
|
||||
- `unique_identifier` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--logical_ports--bindings"></a>
|
||||
### Nested Schema for `items.logical_ports.bindings`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `address_detection` (Boolean)
|
||||
- `created_at` (String)
|
||||
- `id` (String)
|
||||
- `logical_port_addresses` (List of Object) (see [below for nested schema](#nestedobjatt--items--logical_ports--bindings--logical_port_addresses))
|
||||
- `port_security` (Boolean)
|
||||
- `segment_display_name` (String)
|
||||
- `segment_id` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--logical_ports--bindings--logical_port_addresses"></a>
|
||||
### Nested Schema for `items.logical_ports.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="nestedobjatt--items--logical_ports--exclude_firewall"></a>
|
||||
### Nested Schema for `items.logical_ports.exclude_firewall`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `exclusion_reason` (String)
|
||||
- `logical_port_addresses_excluded` (Boolean)
|
||||
- `logical_port_excluded` (Boolean)
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--logical_ports--labels"></a>
|
||||
### Nested Schema for `items.logical_ports.labels`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `vm_id` (String)
|
||||
- `vm_name` (String)
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--logical_ports--status"></a>
|
||||
### Nested Schema for `items.logical_ports.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--items--logical_ports--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--items--logical_ports--status--hypervisors"></a>
|
||||
### Nested Schema for `items.logical_ports.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--security_policies"></a>
|
||||
### Nested Schema for `items.security_policies`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `applied_net_object_groups` (List of Object) (see [below for nested schema](#nestedobjatt--items--security_policies--applied_net_object_groups))
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `end_priority` (Number)
|
||||
- `id` (String)
|
||||
- `security_rules` (List of Object) (see [below for nested schema](#nestedobjatt--items--security_policies--security_rules))
|
||||
- `start_priority` (Number)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--items--security_policies--status))
|
||||
- `type` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--security_policies--applied_net_object_groups"></a>
|
||||
### Nested Schema for `items.security_policies.applied_net_object_groups`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `id` (String)
|
||||
- `name` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--security_policies--security_rules"></a>
|
||||
### Nested Schema for `items.security_policies.security_rules`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `action` (String)
|
||||
- `description` (String)
|
||||
- `destination_net_object` (List of Object) (see [below for nested schema](#nestedobjatt--items--security_policies--security_rules--destination_net_object))
|
||||
- `direction` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `filter` (List of Object) (see [below for nested schema](#nestedobjatt--items--security_policies--security_rules--filter))
|
||||
- `id` (String)
|
||||
- `log_enabled` (Boolean)
|
||||
- `log_name` (String)
|
||||
- `log_severity` (String)
|
||||
- `priority` (Number)
|
||||
- `security_policy_id` (String)
|
||||
- `source_net_object` (List of Object) (see [below for nested schema](#nestedobjatt--items--security_policies--security_rules--source_net_object))
|
||||
- `statistics_enabled` (Boolean)
|
||||
- `type` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--security_policies--security_rules--destination_net_object"></a>
|
||||
### Nested Schema for `items.security_policies.security_rules.destination_net_object`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `net_address_pool_id` (String)
|
||||
- `net_object_group_id` (String)
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--security_policies--security_rules--filter"></a>
|
||||
### Nested Schema for `items.security_policies.security_rules.filter`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `filters` (List of Object) (see [below for nested schema](#nestedobjatt--items--security_policies--security_rules--filter--filters))
|
||||
- `name` (String)
|
||||
|
||||
<a id="nestedobjatt--items--security_policies--security_rules--filter--filters"></a>
|
||||
### Nested Schema for `items.security_policies.security_rules.filter.filters`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `all` (Boolean)
|
||||
- `arp` (Boolean)
|
||||
- `dhcp` (Boolean)
|
||||
- `expression` (String)
|
||||
- `icmp` (Boolean)
|
||||
- `ip` (Boolean)
|
||||
- `ip_v4` (Boolean)
|
||||
- `ip_v6` (Boolean)
|
||||
- `keep_opened_sessions` (Boolean)
|
||||
- `nd` (Boolean)
|
||||
- `tcp` (Boolean)
|
||||
- `tcp_dst_ports` (List of String)
|
||||
- `udp` (Boolean)
|
||||
- `udp_dst_ports` (List of String)
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--security_policies--security_rules--source_net_object"></a>
|
||||
### Nested Schema for `items.security_policies.security_rules.source_net_object`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `net_address_pool_id` (String)
|
||||
- `net_object_group_id` (String)
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--security_policies--status"></a>
|
||||
### Nested Schema for `items.security_policies.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--items--security_policies--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--items--security_policies--status--hypervisors"></a>
|
||||
### Nested Schema for `items.security_policies.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
@@ -34,11 +34,13 @@ description: |-
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `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))
|
||||
- `subnet_v4` (String)
|
||||
- `subnet_v6` (String)
|
||||
- `type` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
@@ -79,6 +81,39 @@ Read-Only:
|
||||
- `server_mac` (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`
|
||||
|
||||
@@ -102,8 +137,8 @@ Read-Only:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `common` (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`
|
||||
@@ -113,5 +148,5 @@ Read-Only:
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `status` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "decort_sdn_segment_get_status Data Source - terraform-provider-decort"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
|
||||
---
|
||||
|
||||
# decort_sdn_segment_get_status (Data Source)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `segment_id` (String)
|
||||
|
||||
### Optional
|
||||
|
||||
- `detailed` (Boolean)
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
- `version_id` (Number)
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (String) The ID of this resource.
|
||||
- `status` (String)
|
||||
|
||||
<a id="nestedblock--timeouts"></a>
|
||||
### Nested Schema for `timeouts`
|
||||
|
||||
Optional:
|
||||
|
||||
- `default` (String)
|
||||
- `read` (String)
|
||||
@@ -23,6 +23,7 @@ description: |-
|
||||
- `display_name` (String) find by display name
|
||||
- `enabled` (Boolean) find by enabled status
|
||||
- `is_synced` (Boolean) does core currently believe that its data is synchronized with the data in the OVN?
|
||||
- `operation_status` (String) filter by operation status
|
||||
- `page` (Number) Page number
|
||||
- `per_page` (Number) Items per page
|
||||
- `sort_by` (String) sort by one of supported fields
|
||||
@@ -61,11 +62,13 @@ Read-Only:
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `id` (String)
|
||||
- `l2_connection_port` (List of Object) (see [below for nested schema](#nestedobjatt--items--l2_connection_port))
|
||||
- `logical_ports_info` (List of Object) (see [below for nested schema](#nestedobjatt--items--logical_ports_info))
|
||||
- `routers_info` (List of Object) (see [below for nested schema](#nestedobjatt--items--routers_info))
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--items--status))
|
||||
- `subnet_v4` (String)
|
||||
- `subnet_v6` (String)
|
||||
- `type` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
@@ -97,6 +100,39 @@ Read-Only:
|
||||
- `server_mac` (String)
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--l2_connection_port"></a>
|
||||
### Nested Schema for `items.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--items--l2_connection_port--l2_external_network))
|
||||
- `updated_at` (String)
|
||||
- `updated_by` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--l2_connection_port--l2_external_network"></a>
|
||||
### Nested Schema for `items.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="nestedobjatt--items--logical_ports_info"></a>
|
||||
### Nested Schema for `items.logical_ports_info`
|
||||
|
||||
@@ -120,8 +156,8 @@ Read-Only:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `common` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--items--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--items--status--hypervisors"></a>
|
||||
### Nested Schema for `items.status.hypervisors`
|
||||
@@ -131,5 +167,5 @@ Read-Only:
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `status` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
@@ -51,6 +51,7 @@ Read-Only:
|
||||
- `pool_names` (List of String)
|
||||
- `sep_id` (Number)
|
||||
- `sep_name` (String)
|
||||
- `sep_tech_status` (String)
|
||||
|
||||
|
||||
<a id="nestedatt--usage"></a>
|
||||
|
||||
@@ -26,20 +26,31 @@ description: |-
|
||||
### Read-Only
|
||||
|
||||
- `account_ids` (List of Number)
|
||||
- `app_id` (String)
|
||||
- `auto_start` (Boolean)
|
||||
- `broadcast_addr` (String)
|
||||
- `bservice_ids` (List of Number)
|
||||
- `compute_ids` (List of Number)
|
||||
- `created_time` (Number)
|
||||
- `decort_url` (String)
|
||||
- `deletable` (Boolean)
|
||||
- `description` (String)
|
||||
- `domain` (String)
|
||||
- `drs` (Boolean)
|
||||
- `drs_name` (String)
|
||||
- `drs_uid` (String)
|
||||
- `extnet_ids` (List of Number)
|
||||
- `gid` (Number)
|
||||
- `guid` (Number)
|
||||
- `id` (String) The ID of this resource.
|
||||
- `k8s_ids` (List of Number)
|
||||
- `lb_ids` (List of Number)
|
||||
- `lbs_ids` (List of Number)
|
||||
- `name` (String)
|
||||
- `node_ids` (List of Number)
|
||||
- `ping_addr` (String)
|
||||
- `ssl_skip_verify` (Boolean)
|
||||
- `sso_type` (String)
|
||||
- `sso_url` (String)
|
||||
- `status` (String)
|
||||
- `updated_time` (Number)
|
||||
- `vins_ids` (List of Number)
|
||||
|
||||
@@ -49,14 +49,25 @@ Optional:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `app_id` (String)
|
||||
- `auto_start` (Boolean)
|
||||
- `broadcast_addr` (String)
|
||||
- `created_time` (Number)
|
||||
- `decort_url` (String)
|
||||
- `deletable` (Boolean)
|
||||
- `description` (String)
|
||||
- `domain` (String)
|
||||
- `drs` (Boolean)
|
||||
- `drs_name` (String)
|
||||
- `drs_uid` (String)
|
||||
- `gid` (Number)
|
||||
- `guid` (Number)
|
||||
- `name` (String)
|
||||
- `node_ids` (List of Number)
|
||||
- `ping_addr` (String)
|
||||
- `ssl_skip_verify` (Boolean)
|
||||
- `sso_type` (String)
|
||||
- `sso_url` (String)
|
||||
- `status` (String)
|
||||
- `updated_time` (Number)
|
||||
- `zone_id` (Number)
|
||||
|
||||
@@ -54,6 +54,7 @@ description: |-
|
||||
- `machines` (List of Object) (see [below for nested schema](#nestedatt--machines))
|
||||
- `status` (String)
|
||||
- `storage_policy_ids` (List of Number)
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `version` (Number)
|
||||
- `vins` (List of Number)
|
||||
|
||||
@@ -57,6 +57,7 @@ description: |-
|
||||
- `id` (String) The ID of this resource.
|
||||
- `resource_types` (List of String)
|
||||
- `status` (String)
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `version` (Number)
|
||||
- `vins` (List of Number)
|
||||
|
||||
@@ -25,6 +25,7 @@ description: |-
|
||||
### Optional
|
||||
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String)
|
||||
- `cache` (String) Cache mode for the disk
|
||||
- `desc` (String)
|
||||
- `detach` (Boolean) detach disk from machine first
|
||||
@@ -56,6 +57,7 @@ description: |-
|
||||
- `id` (String) The ID of this resource.
|
||||
- `image_id` (Number)
|
||||
- `images` (List of Number)
|
||||
- `independent` (Boolean)
|
||||
- `iqn` (String)
|
||||
- `login` (String)
|
||||
- `machine_id` (Number)
|
||||
@@ -67,6 +69,7 @@ description: |-
|
||||
- `passwd` (String)
|
||||
- `pci_slot` (Number)
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `purge_attempts` (Number)
|
||||
- `purge_time` (Number)
|
||||
- `reality_device_number` (Number)
|
||||
@@ -81,7 +84,6 @@ description: |-
|
||||
- `status` (String)
|
||||
- `tech_status` (String)
|
||||
- `to_clean` (Boolean)
|
||||
- `type` (String) The type of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `vmid` (Number)
|
||||
|
||||
@@ -54,8 +54,10 @@ description: |-
|
||||
- `history` (List of Object) (see [below for nested schema](#nestedatt--history))
|
||||
- `id` (String) The ID of this resource.
|
||||
- `image_id` (Number) image id
|
||||
- `independent` (Boolean)
|
||||
- `last_modified` (Number)
|
||||
- `link_to` (Number)
|
||||
- `links_to` (List of Number)
|
||||
- `milestones` (Number)
|
||||
- `present_to` (Map of Number)
|
||||
- `provider_name` (String)
|
||||
|
||||
@@ -21,6 +21,7 @@ description: |-
|
||||
- `compute_id` (Number) Compute Id
|
||||
- `image_type` (String) Image type linux, windows or unknown
|
||||
- `name` (String) Name of the rescue disk
|
||||
- `storage_policy_id` (Number) Storage policy ID
|
||||
|
||||
### Optional
|
||||
|
||||
@@ -52,6 +53,7 @@ description: |-
|
||||
- `image_id` (Number)
|
||||
- `last_modified` (Number)
|
||||
- `link_to` (Number)
|
||||
- `links_to` (List of Number)
|
||||
- `milestones` (Number)
|
||||
- `present_to` (Map of Number)
|
||||
- `provider_name` (String)
|
||||
|
||||
@@ -52,6 +52,7 @@ description: |-
|
||||
- `image_id` (Number)
|
||||
- `last_modified` (Number)
|
||||
- `link_to` (Number)
|
||||
- `links_to` (List of Number)
|
||||
- `milestones` (Number)
|
||||
- `present_to` (Map of Number)
|
||||
- `provider_name` (String)
|
||||
|
||||
@@ -38,6 +38,7 @@ description: |-
|
||||
- `chipset` (String) Type of the emulated system.
|
||||
- `cloud_init` (String) Optional cloud_init parameters. Applied when creating new compute instance only, ignored in all other cases.
|
||||
- `cpu_pin` (Boolean) Run VM on dedicated CPUs. To use this feature, the system must be pre-configured by allocating CPUs on the physical node.
|
||||
- `create_blank` (Boolean) If True, the compute is created via kvmx86/createBlank endpoint (without OS image). The image_id field is not required in this case.
|
||||
- `custom_fields` (String)
|
||||
- `description` (String) Optional text description of this compute instance.
|
||||
- `detach_disks` (Boolean)
|
||||
@@ -50,8 +51,6 @@ description: |-
|
||||
- `hot_resize` (Boolean) Type of image vm.
|
||||
- `hp_backed` (Boolean) Use Huge Pages to allocate RAM of the virtual machine. The system must be pre-configured by allocating Huge Pages on the physical node.
|
||||
- `image_id` (Number) ID of the OS image to base this compute instance on.
|
||||
- `ipa_type` (String) compute purpose
|
||||
- `is` (String) system name
|
||||
- `libvirt_settings` (Block Set) Configure libvirt virtio interface parameters. You can only delete values locally. Data on the platform cannot be deleted. (see [below for nested schema](#nestedblock--libvirt_settings))
|
||||
- `loader_type` (String) Type of image vm.
|
||||
- `network` (Block Set) Optional network connection(s) for this compute. You may specify several network blocks, one for each connection. (see [below for nested schema](#nestedblock--network))
|
||||
@@ -77,6 +76,7 @@ description: |-
|
||||
- `tags` (Block Set) (see [below for nested schema](#nestedblock--tags))
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
- `user_access` (Block Set) (see [below for nested schema](#nestedblock--user_access))
|
||||
- `weight` (Number) Priority weight of the compute. Higher value means higher priority and later migration.
|
||||
- `without_boot_disk` (Boolean) If True, the imageId, bootDisk, sepId, pool parameters are ignored and the compute is created without a boot disk in the stopped state.
|
||||
- `zone_id` (Number)
|
||||
|
||||
@@ -184,9 +184,9 @@ Required:
|
||||
Optional:
|
||||
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String) Disk block size
|
||||
- `cache` (String) Setting the disk caching mode
|
||||
- `desc` (String) Optional description
|
||||
- `disk_type` (String) The type of disk in terms of its role in compute: 'B=Boot, D=Data'
|
||||
- `image_id` (Number) Specify image id for create disk from template
|
||||
- `iotune` (Block List, Max: 1) (see [below for nested schema](#nestedblock--disks--iotune))
|
||||
- `node_ids` (Set of Number)
|
||||
@@ -196,13 +196,17 @@ Optional:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `bus_number` (Number) Bus number of the disk on virtual bus (6 = boot disk)
|
||||
- `create_by` (String)
|
||||
- `create_time` (Number)
|
||||
- `delete_by` (String)
|
||||
- `delete_time` (Number)
|
||||
- `devicename` (String)
|
||||
- `disk_id` (Number) Disk ID
|
||||
- `independent` (Boolean)
|
||||
- `pci_slot` (Number) PCI slot number of the disk
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `shareable` (Boolean)
|
||||
- `size_max` (Number)
|
||||
- `size_used` (Number)
|
||||
@@ -261,7 +265,7 @@ Optional:
|
||||
- `enabled` (Boolean) network enable flag
|
||||
- `ip_address` (String) Optional IP address to assign to this connection. This IP should belong to the selected network and free for use.
|
||||
- `mac` (String) MAC address associated with this connection. MAC address is assigned automatically.
|
||||
- `mtu` (Number) Maximum transmission unit, used only for DPDK type, must be 1-9216
|
||||
- `mtu` (Number) Maximum transmission unit, used only for DPDK type, must be 1500-9216
|
||||
- `net_mask` (Number) Subnet mask, used only for DPDK and VFNIC network types
|
||||
- `sdn_interface_id` (String) unique_identifier of LogicalPort on SDN side
|
||||
- `weight` (Number) weight the network if you need to sort network list, the smallest attach first. zero or null weight attach last
|
||||
|
||||
104
docs/resources/cb_multi_image.md
Normal file
104
docs/resources/cb_multi_image.md
Normal file
@@ -0,0 +1,104 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "decort_cb_multi_image Resource - terraform-provider-decort"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
|
||||
---
|
||||
|
||||
# decort_cb_multi_image (Resource)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `name` (String) Name of the multi image
|
||||
- `target_ids` (List of Number) IDs of real images to link this multi image to
|
||||
|
||||
### Optional
|
||||
|
||||
- `account_id` (Number) Account id to make the image exclusive
|
||||
- `bootable` (Boolean) Does this image boot OS
|
||||
- `computeci_id` (Number)
|
||||
- `enabled` (Boolean)
|
||||
- `hot_resize` (Boolean) Does this machine supports hot resize
|
||||
- `password` (String) Optional password for the image
|
||||
- `shared_with` (List of Number)
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
- `username` (String) Optional username for the image
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `acl` (List of Object) (see [below for nested schema](#nestedatt--acl))
|
||||
- `architecture` (String)
|
||||
- `boot_type` (String)
|
||||
- `deleted_time` (Number)
|
||||
- `desc` (String)
|
||||
- `drivers` (List of String)
|
||||
- `gid` (Number)
|
||||
- `guid` (Number)
|
||||
- `history` (List of Object) (see [below for nested schema](#nestedatt--history))
|
||||
- `id` (String) The ID of this resource.
|
||||
- `image_id` (Number)
|
||||
- `image_type` (String)
|
||||
- `independent` (Boolean)
|
||||
- `last_modified` (Number)
|
||||
- `link_to` (Number)
|
||||
- `links_to` (List of Number)
|
||||
- `milestones` (Number)
|
||||
- `pool_name` (String)
|
||||
- `present_to` (Map of Number)
|
||||
- `provider_name` (String)
|
||||
- `purge_attempts` (Number)
|
||||
- `reference_id` (String)
|
||||
- `res_id` (String)
|
||||
- `res_name` (String)
|
||||
- `rescuecd` (Boolean)
|
||||
- `sep_id` (Number)
|
||||
- `size` (Number)
|
||||
- `snapshot_id` (String)
|
||||
- `status` (String)
|
||||
- `tech_status` (String)
|
||||
- `to_clean` (Boolean)
|
||||
- `unc_path` (String) unc path
|
||||
- `url` (String)
|
||||
- `version` (String)
|
||||
|
||||
<a id="nestedblock--timeouts"></a>
|
||||
### Nested Schema for `timeouts`
|
||||
|
||||
Optional:
|
||||
|
||||
- `create` (String)
|
||||
- `default` (String)
|
||||
- `delete` (String)
|
||||
- `read` (String)
|
||||
- `update` (String)
|
||||
|
||||
|
||||
<a id="nestedatt--acl"></a>
|
||||
### Nested Schema for `acl`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `explicit` (Boolean)
|
||||
- `guid` (String)
|
||||
- `right` (String)
|
||||
- `status` (String)
|
||||
- `type` (String)
|
||||
- `user_group_id` (String)
|
||||
|
||||
|
||||
<a id="nestedatt--history"></a>
|
||||
### Nested Schema for `history`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `guid` (String)
|
||||
- `id` (Number)
|
||||
- `timestamp` (Number)
|
||||
@@ -143,6 +143,7 @@ Optional:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `email` (String)
|
||||
- `explicit` (Boolean)
|
||||
- `guid` (String)
|
||||
- `right` (String)
|
||||
|
||||
@@ -32,7 +32,6 @@ description: |-
|
||||
- `guid` (Number)
|
||||
- `id` (String) The ID of this resource.
|
||||
- `status` (String)
|
||||
- `storage_policy_id` (Number)
|
||||
- `usage` (List of Object) (see [below for nested schema](#nestedatt--usage))
|
||||
|
||||
<a id="nestedblock--access_seps_pools"></a>
|
||||
@@ -46,6 +45,7 @@ Required:
|
||||
Read-Only:
|
||||
|
||||
- `sep_name` (String)
|
||||
- `sep_tech_status` (String)
|
||||
|
||||
|
||||
<a id="nestedblock--timeouts"></a>
|
||||
|
||||
@@ -46,6 +46,7 @@ description: |-
|
||||
- `id` (String) The ID of this resource.
|
||||
- `image_id` (Number) Image id
|
||||
- `image_type` (String) Image type linux, windows or other
|
||||
- `independent` (Boolean)
|
||||
- `last_modified` (Number)
|
||||
- `milestones` (Number)
|
||||
- `pool_name` (String) pool for image create
|
||||
|
||||
@@ -23,16 +23,27 @@ description: |-
|
||||
|
||||
- `auto_start` (Boolean)
|
||||
- `description` (String)
|
||||
- `drs` (Boolean)
|
||||
- `node_ids` (List of Number)
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `app_id` (String)
|
||||
- `broadcast_addr` (String)
|
||||
- `created_time` (Number)
|
||||
- `decort_url` (String)
|
||||
- `deletable` (Boolean)
|
||||
- `domain` (String)
|
||||
- `drs_name` (String)
|
||||
- `drs_uid` (String)
|
||||
- `gid` (Number)
|
||||
- `guid` (Number)
|
||||
- `id` (String) The ID of this resource.
|
||||
- `ping_addr` (String)
|
||||
- `ssl_skip_verify` (Boolean)
|
||||
- `sso_type` (String)
|
||||
- `sso_url` (String)
|
||||
- `status` (String)
|
||||
- `updated_time` (Number)
|
||||
- `zone_id` (Number)
|
||||
|
||||
@@ -38,6 +38,7 @@ description: |-
|
||||
- `account_name` (String) The name of the subscriber '(account') to whom this disk belongs
|
||||
- `acl` (String)
|
||||
- `blk_discard` (Boolean) Flag indicating whether blk-discard is enabled for the disk
|
||||
- `block_size` (String)
|
||||
- `cache` (String)
|
||||
- `computes` (List of Object) (see [below for nested schema](#nestedatt--computes))
|
||||
- `created_by` (String)
|
||||
@@ -51,6 +52,7 @@ description: |-
|
||||
- `id` (String) The ID of this resource.
|
||||
- `image_id` (Number) Image ID
|
||||
- `images` (List of Number) IDs of images using the disk
|
||||
- `independent` (Boolean)
|
||||
- `machine_id` (Number)
|
||||
- `machine_name` (String)
|
||||
- `order` (Number) Disk order
|
||||
@@ -58,6 +60,7 @@ description: |-
|
||||
- `parent_id` (Number) ID of the parent disk
|
||||
- `pci_slot` (Number) ID of the pci slot to which the disk is connected
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `purge_time` (Number) Time of the last deletion attempt
|
||||
- `replication` (List of Object) Replication status (see [below for nested schema](#nestedatt--replication))
|
||||
- `res_id` (String) Resource ID
|
||||
@@ -69,7 +72,6 @@ description: |-
|
||||
- `status` (String) Disk status
|
||||
- `tech_status` (String) Technical status of the disk
|
||||
- `to_clean` (Boolean)
|
||||
- `type` (String) The type of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `vmid` (Number) Virtual Machine ID (Deprecated)
|
||||
|
||||
@@ -54,8 +54,10 @@ description: |-
|
||||
- `history` (List of Object) (see [below for nested schema](#nestedatt--history))
|
||||
- `id` (String) The ID of this resource.
|
||||
- `image_name` (String)
|
||||
- `independent` (Boolean)
|
||||
- `last_modified` (Number)
|
||||
- `link_to` (Number)
|
||||
- `links_to` (List of Number)
|
||||
- `milestones` (Number)
|
||||
- `present_to` (Map of Number)
|
||||
- `provider_name` (String)
|
||||
|
||||
@@ -20,6 +20,7 @@ description: |-
|
||||
- `boot_type` (String) Boot type of image BIOS or UEFI
|
||||
- `compute_id` (Number) Compute Id
|
||||
- `name` (String) Name of the rescue disk
|
||||
- `storage_policy_id` (Number) Storage policy ID
|
||||
- `type` (String) Image type linux, windows or unknown
|
||||
|
||||
### Optional
|
||||
@@ -52,6 +53,7 @@ description: |-
|
||||
- `image_name` (String)
|
||||
- `last_modified` (Number)
|
||||
- `link_to` (Number)
|
||||
- `links_to` (List of Number)
|
||||
- `milestones` (Number)
|
||||
- `network_interface_naming` (String)
|
||||
- `present_to` (Map of Number)
|
||||
|
||||
@@ -52,6 +52,7 @@ description: |-
|
||||
- `image_name` (String)
|
||||
- `last_modified` (Number)
|
||||
- `link_to` (Number)
|
||||
- `links_to` (List of Number)
|
||||
- `milestones` (Number)
|
||||
- `network_interface_naming` (String)
|
||||
- `present_to` (Map of Number)
|
||||
|
||||
@@ -44,7 +44,9 @@ description: |-
|
||||
- `id` (String) The ID of this resource.
|
||||
- `image_id` (Number) Image id
|
||||
- `image_name` (String)
|
||||
- `independent` (Boolean)
|
||||
- `last_modified` (Number)
|
||||
- `links_to` (List of Number)
|
||||
- `milestones` (Number)
|
||||
- `network_interface_naming` (String)
|
||||
- `password` (String)
|
||||
|
||||
@@ -27,6 +27,7 @@ description: |-
|
||||
|
||||
- `affinity_label` (String) Set affinity label for compute
|
||||
- `affinity_rules` (Block List) (see [below for nested schema](#nestedblock--affinity_rules))
|
||||
- `alt_boot_id` (Number) ID of CD-ROM live image to boot
|
||||
- `anti_affinity_rules` (Block List) (see [below for nested schema](#nestedblock--anti_affinity_rules))
|
||||
- `auto_start_w_node` (Boolean) Flag for start compute after node exits from MAINTENANCE state
|
||||
- `boot_disk_size` (Number) This compute instance boot disk size in GB. Make sure it is large enough to accomodate selected OS image.
|
||||
@@ -35,6 +36,7 @@ description: |-
|
||||
- `chipset` (String) Type of the emulated system.
|
||||
- `cloud_init` (String) Optional cloud_init parameters. Applied when creating new compute instance only, ignored in all other cases.
|
||||
- `cpu_pin` (Boolean) Run VM on dedicated CPUs. To use this feature, the system must be pre-configured by allocating CPUs on the physical node.
|
||||
- `create_blank` (Boolean) If True, the compute is created via kvmx86/createBlank endpoint (without OS image). The image_id field is not required in this case.
|
||||
- `custom_fields` (String)
|
||||
- `description` (String) Optional text description of this compute instance.
|
||||
- `detach_disks` (Boolean)
|
||||
@@ -46,8 +48,6 @@ description: |-
|
||||
- `hot_resize` (Boolean) Type of image vm.
|
||||
- `hp_backed` (Boolean) Use Huge Pages to allocate RAM of the virtual machine. The system must be pre-configured by allocating Huge Pages on the physical node.
|
||||
- `image_id` (Number) ID of the OS image to base this compute instance on.
|
||||
- `ipa_type` (String) compute purpose
|
||||
- `is` (String) system name
|
||||
- `loader_type` (String) Type of image vm.
|
||||
- `network` (Block Set) Optional network connection(s) for this compute. You may specify several network blocks, one for each connection. (see [below for nested schema](#nestedblock--network))
|
||||
- `network_interface_naming` (String) Name of netfowrk interface.
|
||||
@@ -132,6 +132,7 @@ description: |-
|
||||
- `virtual_image_id` (Number)
|
||||
- `virtual_image_name` (String)
|
||||
- `vnc_password` (String)
|
||||
- `weight` (Number) Priority weight of the compute. Higher value means higher priority and later migration.
|
||||
|
||||
<a id="nestedblock--affinity_rules"></a>
|
||||
### Nested Schema for `affinity_rules`
|
||||
@@ -177,7 +178,6 @@ Required:
|
||||
Optional:
|
||||
|
||||
- `desc` (String) Optional description
|
||||
- `disk_type` (String) The type of disk in terms of its role in compute: 'B=Boot, D=Data'
|
||||
- `image_id` (Number) Specify image id for create disk from template
|
||||
- `iotune` (Block List, Max: 1) (see [below for nested schema](#nestedblock--disks--iotune))
|
||||
- `permanently` (Boolean) Disk deletion status
|
||||
@@ -187,6 +187,8 @@ Optional:
|
||||
Read-Only:
|
||||
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String)
|
||||
- `bus_number` (Number) Bus number of the disk on virtual bus (6 = boot disk)
|
||||
- `cache` (String)
|
||||
- `created_by` (String)
|
||||
- `created_time` (Number)
|
||||
@@ -194,7 +196,10 @@ Read-Only:
|
||||
- `deleted_time` (Number)
|
||||
- `devicename` (String)
|
||||
- `disk_id` (Number) Disk ID
|
||||
- `independent` (Boolean)
|
||||
- `pci_slot` (Number) PCI slot number of the disk
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `shareable` (Boolean)
|
||||
- `size_max` (Number)
|
||||
- `size_used` (Number)
|
||||
@@ -235,7 +240,7 @@ Optional:
|
||||
- `enabled` (Boolean) network enable flag
|
||||
- `ip_address` (String) Optional IP address to assign to this connection. This IP should belong to the selected network and free for use.
|
||||
- `mac` (String) MAC address associated with this connection. MAC address is assigned automatically.
|
||||
- `mtu` (Number) Maximum transmission unit, used only for DPDK type, must be 1-9216
|
||||
- `mtu` (Number) Maximum transmission unit, used only for DPDK type, must be 1500-9216
|
||||
- `net_mask` (Number) Subnet mask, used only for DPDK and VFNIC network types
|
||||
- `sdn_interface_id` (String) unique_identifier of LogicalPort on SDN side
|
||||
- `weight` (Number) weight the network if you need to sort network list, the smallest attach first. zero or null weight attach last
|
||||
@@ -321,6 +326,8 @@ Required:
|
||||
Read-Only:
|
||||
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String)
|
||||
- `bus_number` (Number)
|
||||
- `cache` (String)
|
||||
- `created_by` (String)
|
||||
- `created_time` (Number)
|
||||
@@ -330,12 +337,14 @@ Read-Only:
|
||||
- `devicename` (String)
|
||||
- `disk_id` (Number)
|
||||
- `disk_name` (String)
|
||||
- `disk_type` (String)
|
||||
- `image_id` (Number)
|
||||
- `independent` (Boolean)
|
||||
- `iotune` (List of Object) (see [below for nested schema](#nestedobjatt--boot_disk--iotune))
|
||||
- `pci_slot` (Number)
|
||||
- `permanently` (Boolean)
|
||||
- `pool` (String)
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `sep_id` (Number)
|
||||
- `shareable` (Boolean)
|
||||
- `size` (Number)
|
||||
|
||||
@@ -135,6 +135,7 @@ Optional:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `email` (String)
|
||||
- `explicit` (Boolean)
|
||||
- `guid` (String)
|
||||
- `right` (String)
|
||||
|
||||
74
docs/resources/sdn_hypervisor.md
Normal file
74
docs/resources/sdn_hypervisor.md
Normal file
@@ -0,0 +1,74 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "decort_sdn_hypervisor Resource - terraform-provider-decort"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
|
||||
---
|
||||
|
||||
# decort_sdn_hypervisor (Resource)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `display_name` (String)
|
||||
- `name` (String)
|
||||
|
||||
### Optional
|
||||
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `created_at` (String)
|
||||
- `hostname` (String)
|
||||
- `id` (String) The ID of this resource.
|
||||
- `ip` (String)
|
||||
- `ports` (List of Object) (see [below for nested schema](#nestedatt--ports))
|
||||
- `status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
<a id="nestedblock--timeouts"></a>
|
||||
### Nested Schema for `timeouts`
|
||||
|
||||
Optional:
|
||||
|
||||
- `create` (String)
|
||||
- `default` (String)
|
||||
- `delete` (String)
|
||||
- `read` (String)
|
||||
- `update` (String)
|
||||
|
||||
|
||||
<a id="nestedatt--ports"></a>
|
||||
### Nested Schema for `ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `data` (List of Object) (see [below for nested schema](#nestedobjatt--ports--data))
|
||||
- `info` (List of Object) (see [below for nested schema](#nestedobjatt--ports--info))
|
||||
|
||||
<a id="nestedobjatt--ports--data"></a>
|
||||
### Nested Schema for `ports.data`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `id` (String)
|
||||
- `unique_identifier` (String)
|
||||
- `up` (Boolean)
|
||||
|
||||
|
||||
<a id="nestedobjatt--ports--info"></a>
|
||||
### Nested Schema for `ports.info`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `active_ports` (Number)
|
||||
- `total_ports` (Number)
|
||||
@@ -22,7 +22,6 @@ description: |-
|
||||
- `display_name` (String) Display Name
|
||||
- `enabled` (Boolean) Whether the logical port should be enabled
|
||||
- `hypervisor` (String) Hypervisor
|
||||
- `is_excluded_from_firewall` (Boolean)
|
||||
- `port_security` (Boolean) Whether the port security is enabled
|
||||
- `segment_id` (String) Segment ID
|
||||
|
||||
@@ -30,7 +29,9 @@ description: |-
|
||||
|
||||
- `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
|
||||
|
||||
@@ -47,6 +48,15 @@ description: |-
|
||||
- `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`
|
||||
|
||||
@@ -82,21 +92,37 @@ Read-Only:
|
||||
- `address_detection` (Boolean)
|
||||
- `created_at` (String)
|
||||
- `id` (String)
|
||||
- `is_excluded_from_firewall` (Boolean)
|
||||
- `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:
|
||||
|
||||
- `common` (String)
|
||||
- `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`
|
||||
@@ -106,5 +132,5 @@ Read-Only:
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `status` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
721
docs/resources/sdn_network_object_group.md
Normal file
721
docs/resources/sdn_network_object_group.md
Normal file
@@ -0,0 +1,721 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "decort_sdn_network_object_group Resource - terraform-provider-decort"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
|
||||
---
|
||||
|
||||
# decort_sdn_network_object_group (Resource)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `description` (String)
|
||||
- `name` (String)
|
||||
|
||||
### Optional
|
||||
|
||||
- `addresses` (Block List) (see [below for nested schema](#nestedblock--addresses))
|
||||
- `l2_connection_ports_bindings` (Block List) (see [below for nested schema](#nestedblock--l2_connection_ports_bindings))
|
||||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `access_group_name` (String)
|
||||
- `counters` (List of Object) (see [below for nested schema](#nestedatt--counters))
|
||||
- `external_network_ports` (List of Object) (see [below for nested schema](#nestedatt--external_network_ports))
|
||||
- `id` (String) The ID of this resource.
|
||||
- `l2_connection_ports` (List of Object) (see [below for nested schema](#nestedatt--l2_connection_ports))
|
||||
- `logical_ports` (List of Object) (see [below for nested schema](#nestedatt--logical_ports))
|
||||
- `purpose` (String)
|
||||
- `security_policies` (List of Object) (see [below for nested schema](#nestedatt--security_policies))
|
||||
- `type` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedblock--addresses"></a>
|
||||
### Nested Schema for `addresses`
|
||||
|
||||
Required:
|
||||
|
||||
- `net_address_type` (String)
|
||||
|
||||
Optional:
|
||||
|
||||
- `ip_addr` (String)
|
||||
- `ip_addr_range_end` (String)
|
||||
- `ip_prefix` (String)
|
||||
- `mac_addr` (String)
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `id` (String)
|
||||
|
||||
|
||||
<a id="nestedblock--l2_connection_ports_bindings"></a>
|
||||
### Nested Schema for `l2_connection_ports_bindings`
|
||||
|
||||
Required:
|
||||
|
||||
- `port_id` (String)
|
||||
- `port_version` (Number)
|
||||
|
||||
|
||||
<a id="nestedblock--timeouts"></a>
|
||||
### Nested Schema for `timeouts`
|
||||
|
||||
Optional:
|
||||
|
||||
- `create` (String)
|
||||
- `default` (String)
|
||||
- `delete` (String)
|
||||
- `read` (String)
|
||||
- `update` (String)
|
||||
|
||||
|
||||
<a id="nestedatt--counters"></a>
|
||||
### Nested Schema for `counters`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `addresses_count` (Number)
|
||||
- `l2_connection_ports_count` (Number)
|
||||
- `logical_ports_count` (Number)
|
||||
- `security_policies_count` (Number)
|
||||
- `security_rules_count` (Number)
|
||||
|
||||
|
||||
<a id="nestedatt--external_network_ports"></a>
|
||||
### Nested Schema for `external_network_ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `bridge_network_name` (String)
|
||||
- `comment` (String)
|
||||
- `created_at` (String)
|
||||
- `default_gateway_ipv4` (String)
|
||||
- `default_gateway_ipv6` (String)
|
||||
- `description` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `external_network_ports` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports))
|
||||
- `hypervisors` (List of String)
|
||||
- `id` (String)
|
||||
- `ipv4` (String)
|
||||
- `mac` (String)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--status))
|
||||
- `subnet_v4` (String)
|
||||
- `subnet_v6` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
- `vlan_tag` (Number)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `comment` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `floating_ip` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip))
|
||||
- `ipv4` (String)
|
||||
- `ipv6` (String)
|
||||
- `ipv6_config` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--ipv6_config))
|
||||
- `mac` (String)
|
||||
- `router_gateaway_port` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--router_gateaway_port))
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `created_at` (String)
|
||||
- `logical_port` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port))
|
||||
- `router` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router))
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.logical_port`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `adapter_mac` (String)
|
||||
- `address_detection` (Boolean)
|
||||
- `bindings` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--bindings))
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `exclude_firewall` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--exclude_firewall))
|
||||
- `external_network_id` (String)
|
||||
- `hypervisor` (String)
|
||||
- `hypervisor_display_name` (String)
|
||||
- `id` (String)
|
||||
- `labels` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--labels))
|
||||
- `live_migration_target_hv` (String)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--status))
|
||||
- `unique_identifier` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--bindings"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.logical_port.bindings`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `address_detection` (Boolean)
|
||||
- `created_at` (String)
|
||||
- `id` (String)
|
||||
- `logical_port_addresses` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--bindings--logical_port_addresses))
|
||||
- `port_security` (Boolean)
|
||||
- `segment_display_name` (String)
|
||||
- `segment_id` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--bindings--logical_port_addresses"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.logical_port.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="nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--exclude_firewall"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.logical_port.exclude_firewall`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `exclusion_reason` (String)
|
||||
- `logical_port_addresses_excluded` (Boolean)
|
||||
- `logical_port_excluded` (Boolean)
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--labels"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.logical_port.labels`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `vm_id` (String)
|
||||
- `vm_name` (String)
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--status"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.logical_port.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--logical_port--status--hypervisors"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.logical_port.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `gateaway_ports` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--gateaway_ports))
|
||||
- `id` (String)
|
||||
- `policies` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--policies))
|
||||
- `ports` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports))
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--status))
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--gateaway_ports"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.gateaway_ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `external_l4_port_max` (Number)
|
||||
- `external_l4_port_min` (Number)
|
||||
- `id` (String)
|
||||
- `snat_enabled` (Boolean)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--gateaway_ports--status))
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--gateaway_ports--status"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.gateaway_ports.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--gateaway_ports--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--gateaway_ports--status--hypervisors"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.gateaway_ports.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--policies"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.policies`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `action` (String)
|
||||
- `created_at` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `id` (String)
|
||||
- `match` (String)
|
||||
- `next_ipv4_address` (List of String)
|
||||
- `next_ipv6_address` (List of String)
|
||||
- `priority` (Number)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `id` (String)
|
||||
- `ipv4_address` (String)
|
||||
- `ipv6_address` (String)
|
||||
- `ipv6_config` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports--ipv6_config))
|
||||
- `mac` (String)
|
||||
- `segment` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports--segment))
|
||||
- `segment_id` (String)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports--status))
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports--ipv6_config"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.ports.ipv6_config`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `address_mode` (String)
|
||||
- `enable_periodic_ra` (Boolean)
|
||||
- `interval_ra` (Number)
|
||||
- `router_preference` (String)
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports--segment"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.ports.segment`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `id` (String)
|
||||
- `subnet_v4` (String)
|
||||
- `subnet_v6` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports--status"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.ports.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--ports--status--hypervisors"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.ports.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--status"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--floating_ip--router--status--hypervisors"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.floating_ip.router.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--ipv6_config"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.ipv6_config`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `address_mode` (String)
|
||||
- `enable_periodic_ra` (Boolean)
|
||||
- `interval_ra` (Number)
|
||||
- `router_preference` (String)
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--external_network_ports--router_gateaway_port"></a>
|
||||
### Nested Schema for `external_network_ports.external_network_ports.router_gateaway_port`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `id` (String)
|
||||
- `router_display_name` (String)
|
||||
- `router_id` (String)
|
||||
- `snat_enabled` (Boolean)
|
||||
- `updated_at` (String)
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--status"></a>
|
||||
### Nested Schema for `external_network_ports.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--external_network_ports--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--external_network_ports--status--hypervisors"></a>
|
||||
### Nested Schema for `external_network_ports.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="nestedatt--l2_connection_ports"></a>
|
||||
### Nested Schema for `l2_connection_ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `created_at` (String)
|
||||
- `id` (String)
|
||||
- `l2_external_network` (List of Object) (see [below for nested schema](#nestedobjatt--l2_connection_ports--l2_external_network))
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--l2_connection_ports--l2_external_network"></a>
|
||||
### Nested Schema for `l2_connection_ports.l2_external_network`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `bridge_network_name` (String)
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `display_name` (String)
|
||||
- `hypervisors` (List of String)
|
||||
- `id` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
- `vlan_tag` (Number)
|
||||
|
||||
|
||||
|
||||
<a id="nestedatt--logical_ports"></a>
|
||||
### Nested Schema for `logical_ports`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `adapter_mac` (String)
|
||||
- `address_detection` (Boolean)
|
||||
- `bindings` (List of Object) (see [below for nested schema](#nestedobjatt--logical_ports--bindings))
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `exclude_firewall` (List of Object) (see [below for nested schema](#nestedobjatt--logical_ports--exclude_firewall))
|
||||
- `external_network_id` (String)
|
||||
- `hypervisor` (String)
|
||||
- `hypervisor_display_name` (String)
|
||||
- `id` (String)
|
||||
- `labels` (List of Object) (see [below for nested schema](#nestedobjatt--logical_ports--labels))
|
||||
- `live_migration_target_hv` (String)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--logical_ports--status))
|
||||
- `unique_identifier` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--logical_ports--bindings"></a>
|
||||
### Nested Schema for `logical_ports.bindings`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `address_detection` (Boolean)
|
||||
- `created_at` (String)
|
||||
- `id` (String)
|
||||
- `logical_port_addresses` (List of Object) (see [below for nested schema](#nestedobjatt--logical_ports--bindings--logical_port_addresses))
|
||||
- `port_security` (Boolean)
|
||||
- `segment_display_name` (String)
|
||||
- `segment_id` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--logical_ports--bindings--logical_port_addresses"></a>
|
||||
### Nested Schema for `logical_ports.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="nestedobjatt--logical_ports--exclude_firewall"></a>
|
||||
### Nested Schema for `logical_ports.exclude_firewall`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `exclusion_reason` (String)
|
||||
- `logical_port_addresses_excluded` (Boolean)
|
||||
- `logical_port_excluded` (Boolean)
|
||||
|
||||
|
||||
<a id="nestedobjatt--logical_ports--labels"></a>
|
||||
### Nested Schema for `logical_ports.labels`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `vm_id` (String)
|
||||
- `vm_name` (String)
|
||||
|
||||
|
||||
<a id="nestedobjatt--logical_ports--status"></a>
|
||||
### Nested Schema for `logical_ports.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--logical_ports--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--logical_ports--status--hypervisors"></a>
|
||||
### Nested Schema for `logical_ports.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="nestedatt--security_policies"></a>
|
||||
### Nested Schema for `security_policies`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `access_group_name` (String)
|
||||
- `applied_net_object_groups` (List of Object) (see [below for nested schema](#nestedobjatt--security_policies--applied_net_object_groups))
|
||||
- `created_at` (String)
|
||||
- `description` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `end_priority` (Number)
|
||||
- `id` (String)
|
||||
- `security_rules` (List of Object) (see [below for nested schema](#nestedobjatt--security_policies--security_rules))
|
||||
- `start_priority` (Number)
|
||||
- `status` (List of Object) (see [below for nested schema](#nestedobjatt--security_policies--status))
|
||||
- `type` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--security_policies--applied_net_object_groups"></a>
|
||||
### Nested Schema for `security_policies.applied_net_object_groups`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `id` (String)
|
||||
- `name` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
|
||||
<a id="nestedobjatt--security_policies--security_rules"></a>
|
||||
### Nested Schema for `security_policies.security_rules`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `access_group_id` (String)
|
||||
- `action` (String)
|
||||
- `description` (String)
|
||||
- `destination_net_object` (List of Object) (see [below for nested schema](#nestedobjatt--security_policies--security_rules--destination_net_object))
|
||||
- `direction` (String)
|
||||
- `display_name` (String)
|
||||
- `enabled` (Boolean)
|
||||
- `filter` (List of Object) (see [below for nested schema](#nestedobjatt--security_policies--security_rules--filter))
|
||||
- `id` (String)
|
||||
- `log_enabled` (Boolean)
|
||||
- `log_name` (String)
|
||||
- `log_severity` (String)
|
||||
- `priority` (Number)
|
||||
- `security_policy_id` (String)
|
||||
- `source_net_object` (List of Object) (see [below for nested schema](#nestedobjatt--security_policies--security_rules--source_net_object))
|
||||
- `statistics_enabled` (Boolean)
|
||||
- `type` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--security_policies--security_rules--destination_net_object"></a>
|
||||
### Nested Schema for `security_policies.security_rules.destination_net_object`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `net_address_pool_id` (String)
|
||||
- `net_object_group_id` (String)
|
||||
|
||||
|
||||
<a id="nestedobjatt--security_policies--security_rules--filter"></a>
|
||||
### Nested Schema for `security_policies.security_rules.filter`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `filters` (List of Object) (see [below for nested schema](#nestedobjatt--security_policies--security_rules--filter--filters))
|
||||
- `name` (String)
|
||||
|
||||
<a id="nestedobjatt--security_policies--security_rules--filter--filters"></a>
|
||||
### Nested Schema for `security_policies.security_rules.filter.filters`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `all` (Boolean)
|
||||
- `arp` (Boolean)
|
||||
- `dhcp` (Boolean)
|
||||
- `expression` (String)
|
||||
- `icmp` (Boolean)
|
||||
- `ip` (Boolean)
|
||||
- `ip_v4` (Boolean)
|
||||
- `ip_v6` (Boolean)
|
||||
- `keep_opened_sessions` (Boolean)
|
||||
- `nd` (Boolean)
|
||||
- `tcp` (Boolean)
|
||||
- `tcp_dst_ports` (List of String)
|
||||
- `udp` (Boolean)
|
||||
- `udp_dst_ports` (List of String)
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--security_policies--security_rules--source_net_object"></a>
|
||||
### Nested Schema for `security_policies.security_rules.source_net_object`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `net_address_pool_id` (String)
|
||||
- `net_object_group_id` (String)
|
||||
|
||||
|
||||
|
||||
<a id="nestedobjatt--security_policies--status"></a>
|
||||
### Nested Schema for `security_policies.status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `hypervisors` (List of Object) (see [below for nested schema](#nestedobjatt--security_policies--status--hypervisors))
|
||||
- `operation_status` (String)
|
||||
|
||||
<a id="nestedobjatt--security_policies--status--hypervisors"></a>
|
||||
### Nested Schema for `security_policies.status.hypervisors`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
@@ -30,12 +30,14 @@ description: |-
|
||||
- `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))
|
||||
@@ -94,6 +96,39 @@ Optional:
|
||||
- `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`
|
||||
|
||||
@@ -117,8 +152,8 @@ Read-Only:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `common` (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`
|
||||
@@ -128,5 +163,5 @@ Read-Only:
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `status` (String)
|
||||
- `operation_status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
@@ -25,6 +25,7 @@ description: |-
|
||||
- `desc` (String) Optional user-defined text description of this ViNS.
|
||||
- `dns` (Set of String)
|
||||
- `enable` (Boolean)
|
||||
- `enable_secgroups` (Boolean) enable security groups
|
||||
- `ext_ip_addr` (String)
|
||||
- `ext_net` (Block List, Max: 1) (see [below for nested schema](#nestedblock--ext_net))
|
||||
- `ext_net_id` (Number)
|
||||
|
||||
2
go.mod
2
go.mod
@@ -9,7 +9,7 @@ require (
|
||||
github.com/hashicorp/terraform-plugin-sdk/v2 v2.38.1
|
||||
github.com/sirupsen/logrus v1.9.0
|
||||
golang.org/x/net v0.44.0
|
||||
repository.basistech.ru/BASIS/decort-golang-sdk v1.13.9
|
||||
repository.basistech.ru/BASIS/decort-golang-sdk v1.14.11
|
||||
)
|
||||
|
||||
require (
|
||||
|
||||
4
go.sum
4
go.sum
@@ -318,5 +318,5 @@ gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
||||
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
||||
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||
repository.basistech.ru/BASIS/decort-golang-sdk v1.13.9 h1:jrfwiJBuHbt3JlVwD6DWF3E/H9pyDOJOvb8F5sQ/mhM=
|
||||
repository.basistech.ru/BASIS/decort-golang-sdk v1.13.9/go.mod h1:S/f7GxwWcE88eFpORV+I9xqEf8zDW5srQHpG2XQCLZM=
|
||||
repository.basistech.ru/BASIS/decort-golang-sdk v1.14.11 h1:lG35W5nKyEgaLMQp6B0Ur1n7bjXDCmB2FHQI/mM59U0=
|
||||
repository.basistech.ru/BASIS/decort-golang-sdk v1.14.11/go.mod h1:S/f7GxwWcE88eFpORV+I9xqEf8zDW5srQHpG2XQCLZM=
|
||||
|
||||
@@ -45,7 +45,9 @@ import (
|
||||
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudapi/zone"
|
||||
accessgroup "repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/sdn/access_group"
|
||||
defaultsecuritypolicy "repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/sdn/default_security_policy"
|
||||
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/sdn/hypervisors"
|
||||
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/sdn/logicalports"
|
||||
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/sdn/netobjgroups"
|
||||
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/sdn/segments"
|
||||
|
||||
cb_account "repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudbroker/account"
|
||||
@@ -71,7 +73,6 @@ import (
|
||||
cb_vfpool "repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudbroker/vfpool"
|
||||
cb_vins "repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudbroker/vins"
|
||||
cb_zone "repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudbroker/zone"
|
||||
// cb_vgpu "repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudbroker/vgpu"
|
||||
)
|
||||
|
||||
func newDataSourcesMap() map[string]*schema.Resource {
|
||||
@@ -119,8 +120,6 @@ func newDataSourcesMap() map[string]*schema.Resource {
|
||||
"decort_rg_list_pfw": rg.DataSourceRgListPfw(),
|
||||
"decort_rg_list_vins": rg.DataSourceRgListVins(),
|
||||
"decort_rg_usage": rg.DataSourceRgUsage(),
|
||||
"decort_disk_list_types_detailed": disks.DataSourceDiskListTypesDetailed(),
|
||||
"decort_disk_list_types": disks.DataSourceDiskListTypes(),
|
||||
"decort_disk_list_deleted": disks.DataSourceDiskListDeleted(),
|
||||
"decort_disk_list_unattached": disks.DataSourceDiskListUnattached(),
|
||||
"decort_disk_snapshot": disks.DataSourceDiskSnapshot(),
|
||||
@@ -235,8 +234,6 @@ func newDataSourcesMap() map[string]*schema.Resource {
|
||||
"decort_cb_disk": cb_disks.DataSourceDisk(),
|
||||
"decort_cb_disk_list": cb_disks.DataSourceDiskList(),
|
||||
"decort_cb_disk_list_deleted": cb_disks.DataSourceDiskListDeleted(),
|
||||
"decort_cb_disk_list_types": cb_disks.DataSourceDiskListTypes(),
|
||||
"decort_cb_disk_list_types_detailed": cb_disks.DataSourceDiskListTypesDetailed(),
|
||||
"decort_cb_disk_list_unattached": cb_disks.DataSourceDiskListUnattached(),
|
||||
"decort_cb_disk_snapshot": cb_disks.DataSourceDiskSnapshot(),
|
||||
"decort_cb_disk_snapshot_list": cb_disks.DataSourceDiskSnapshotList(),
|
||||
@@ -309,10 +306,15 @@ func newDataSourcesMap() map[string]*schema.Resource {
|
||||
"decort_sdn_default_security_policy_list": defaultsecuritypolicy.DataSourceDefaultSecurityPolicyList(),
|
||||
"decort_sdn_segment": segments.DataSourceSegment(),
|
||||
"decort_sdn_segment_list": segments.DataSourceSegmentList(),
|
||||
"decort_sdn_segment_get_status": segments.DataSourceSegmentGetStatus(),
|
||||
|
||||
"decort_sdn_hypervisor": hypervisors.DataSourceHypervisor(),
|
||||
"decort_sdn_hypervisor_list": hypervisors.DataSourceHypervisorList(),
|
||||
|
||||
"decort_sdn_logical_port": logicalports.DataSourceLogicalPort(),
|
||||
"decort_sdn_logical_port_get_by_unique_identifier": logicalports.DataSourceLogicalPortByUniqueID(),
|
||||
"decort_sdn_logical_port_list": logicalports.DataSourceLogicalPortList(),
|
||||
|
||||
"decort_sdn_network_object_group": netobjgroups.DataSourceNetworkObjectGroup(),
|
||||
"decort_sdn_network_object_group_list": netobjgroups.DataSourceNetworkObjectGroupList(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,7 +36,9 @@ import (
|
||||
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudapi/snapshot"
|
||||
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudapi/vins"
|
||||
accessgroup "repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/sdn/access_group"
|
||||
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/sdn/hypervisors"
|
||||
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/sdn/logicalports"
|
||||
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/sdn/netobjgroups"
|
||||
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/sdn/segments"
|
||||
|
||||
cb_account "repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudbroker/account"
|
||||
@@ -102,6 +104,7 @@ func newResourcesMap() map[string]*schema.Resource {
|
||||
"decort_cb_image_from_platform_disk": cb_image.ResourceImageFromPlatformDisk(),
|
||||
"decort_cb_virtual_image": cb_image.ResourceVirtualImage(),
|
||||
"decort_cb_cdrom_image": cb_image.ResourceCDROMImage(),
|
||||
"decort_cb_multi_image": cb_image.ResourceMultiImage(),
|
||||
"decort_cb_pcidevice": cb_pcidevice.ResourcePcidevice(),
|
||||
"decort_cb_sep": cb_sep.ResourceSep(),
|
||||
"decort_cb_sep_config": cb_sep.ResourceSepConfig(),
|
||||
@@ -125,8 +128,10 @@ func newResourcesMap() map[string]*schema.Resource {
|
||||
"decort_cb_vfpool": cb_vfpool.ResourceVFPool(),
|
||||
"decort_cb_zone": cb_zone.ResourceZone(),
|
||||
|
||||
"decort_sdn_segment": segments.ResourceSegment(),
|
||||
"decort_sdn_access_group": accessgroup.ResourceAccessGroup(),
|
||||
"decort_sdn_logical_port": logicalports.ResourceLogicalPort(),
|
||||
"decort_sdn_segment": segments.ResourceSegment(),
|
||||
"decort_sdn_access_group": accessgroup.ResourceAccessGroup(),
|
||||
"decort_sdn_hypervisor": hypervisors.ResourceHypervisor(),
|
||||
"decort_sdn_logical_port": logicalports.ResourceLogicalPort(),
|
||||
"decort_sdn_network_object_group": netobjgroups.ResourceNetworkObjectGroup(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -307,6 +307,10 @@ func dataSourceAccountSchemaMake() map[string]*schema.Schema {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
"updated_by": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
"updated_time": {
|
||||
Type: schema.TypeInt,
|
||||
Computed: true,
|
||||
|
||||
@@ -51,10 +51,12 @@ func flattenAccountList(al *account.ListAccounts) []map[string]interface{} {
|
||||
"created_time": acc.CreatedTime,
|
||||
"desc": acc.Description,
|
||||
"deleted_time": acc.DeletedTime,
|
||||
"deleted_by": acc.DeletedBy,
|
||||
"account_id": acc.ID,
|
||||
"account_name": acc.Name,
|
||||
"status": acc.Status,
|
||||
"updated_time": acc.UpdatedTime,
|
||||
"updated_by": acc.UpdatedBy,
|
||||
"zone_ids": acc.ZoneIDs,
|
||||
}
|
||||
res = append(res, temp)
|
||||
@@ -191,6 +193,10 @@ func dataSourceAccountListSchemaMake() map[string]*schema.Schema {
|
||||
Type: schema.TypeInt,
|
||||
Computed: true,
|
||||
},
|
||||
"deleted_by": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
"account_id": {
|
||||
Type: schema.TypeInt,
|
||||
Computed: true,
|
||||
@@ -207,6 +213,10 @@ func dataSourceAccountListSchemaMake() map[string]*schema.Schema {
|
||||
Type: schema.TypeInt,
|
||||
Computed: true,
|
||||
},
|
||||
"updated_by": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
"zone_ids": {
|
||||
Type: schema.TypeList,
|
||||
Computed: true,
|
||||
|
||||
@@ -26,6 +26,7 @@ func flattenAccount(d *schema.ResourceData, acc account.RecordAccount) error {
|
||||
d.Set("resource_limits", flattenAccResourceLimits(acc.ResourceLimits))
|
||||
d.Set("send_access_emails", acc.SendAccessEmails)
|
||||
d.Set("status", acc.Status)
|
||||
d.Set("updated_by", acc.UpdatedBy)
|
||||
d.Set("updated_time", acc.UpdatedTime)
|
||||
d.Set("version", acc.Version)
|
||||
d.Set("vins", acc.VINS)
|
||||
@@ -68,6 +69,7 @@ func flattenAccountResource(d *schema.ResourceData, acc account.RecordAccount) e
|
||||
d.Set("resource_limits", flattenAccResourceLimits(acc.ResourceLimits))
|
||||
d.Set("send_access_emails", acc.SendAccessEmails)
|
||||
d.Set("status", acc.Status)
|
||||
d.Set("updated_by", acc.UpdatedBy)
|
||||
d.Set("updated_time", acc.UpdatedTime)
|
||||
d.Set("version", acc.Version)
|
||||
d.Set("vins", acc.VINS)
|
||||
|
||||
@@ -625,6 +625,10 @@ func resourceAccountSchemaMake() map[string]*schema.Schema {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
"updated_by": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
"updated_time": {
|
||||
Type: schema.TypeInt,
|
||||
Computed: true,
|
||||
|
||||
@@ -84,6 +84,10 @@ func dataSourceDiskSchemaMake() map[string]*schema.Schema {
|
||||
Type: schema.TypeBool,
|
||||
Computed: true,
|
||||
},
|
||||
"block_size": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
// "boot_partition": {
|
||||
// Type: schema.TypeInt,
|
||||
// Computed: true,
|
||||
@@ -166,6 +170,10 @@ func dataSourceDiskSchemaMake() map[string]*schema.Schema {
|
||||
},
|
||||
Description: "IDs of images using the disk",
|
||||
},
|
||||
"independent": {
|
||||
Type: schema.TypeBool,
|
||||
Computed: true,
|
||||
},
|
||||
"iotune": {
|
||||
Type: schema.TypeList,
|
||||
Computed: true,
|
||||
@@ -304,6 +312,10 @@ func dataSourceDiskSchemaMake() map[string]*schema.Schema {
|
||||
Type: schema.TypeInt,
|
||||
},
|
||||
},
|
||||
"provision": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
// "purge_attempts": {
|
||||
// Type: schema.TypeInt,
|
||||
// Computed: true,
|
||||
@@ -457,11 +469,6 @@ func dataSourceDiskSchemaMake() map[string]*schema.Schema {
|
||||
Computed: true,
|
||||
Description: "Technical status of the disk",
|
||||
},
|
||||
"type": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
Description: "The type of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'",
|
||||
},
|
||||
"vmid": {
|
||||
Type: schema.TypeInt,
|
||||
Computed: true,
|
||||
|
||||
@@ -93,11 +93,6 @@ func dataSourceDiskListSchemaMake() map[string]*schema.Schema {
|
||||
Optional: true,
|
||||
Description: "ID of the account the disks belong to",
|
||||
},
|
||||
"type": {
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
Description: "type of the disks",
|
||||
},
|
||||
"sep_id": {
|
||||
Type: schema.TypeInt,
|
||||
Optional: true,
|
||||
@@ -128,6 +123,16 @@ func dataSourceDiskListSchemaMake() map[string]*schema.Schema {
|
||||
Optional: true,
|
||||
Description: "storage policy ID ",
|
||||
},
|
||||
"compute_id": {
|
||||
Type: schema.TypeInt,
|
||||
Optional: true,
|
||||
Description: "Find by compute ID",
|
||||
},
|
||||
"rg_id": {
|
||||
Type: schema.TypeInt,
|
||||
Optional: true,
|
||||
Description: "Find by rg ID",
|
||||
},
|
||||
"items": {
|
||||
Type: schema.TypeList,
|
||||
Computed: true,
|
||||
@@ -151,6 +156,10 @@ func dataSourceDiskListSchemaMake() map[string]*schema.Schema {
|
||||
Type: schema.TypeBool,
|
||||
Computed: true,
|
||||
},
|
||||
"block_size": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
// "boot_partition": {
|
||||
// Type: schema.TypeInt,
|
||||
// Computed: true,
|
||||
@@ -234,6 +243,10 @@ func dataSourceDiskListSchemaMake() map[string]*schema.Schema {
|
||||
},
|
||||
Description: "IDs of images using the disk",
|
||||
},
|
||||
"independent": {
|
||||
Type: schema.TypeBool,
|
||||
Computed: true,
|
||||
},
|
||||
"iotune": {
|
||||
Type: schema.TypeList,
|
||||
Computed: true,
|
||||
@@ -378,6 +391,10 @@ func dataSourceDiskListSchemaMake() map[string]*schema.Schema {
|
||||
Type: schema.TypeInt,
|
||||
},
|
||||
},
|
||||
"provision": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
// "purge_attempts": {
|
||||
// Type: schema.TypeInt,
|
||||
// Computed: true,
|
||||
@@ -531,11 +548,6 @@ func dataSourceDiskListSchemaMake() map[string]*schema.Schema {
|
||||
Computed: true,
|
||||
Description: "Technical status of the disk",
|
||||
},
|
||||
"type": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
Description: "The type of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'",
|
||||
},
|
||||
"vmid": {
|
||||
Type: schema.TypeInt,
|
||||
Computed: true,
|
||||
|
||||
@@ -1,103 +0,0 @@
|
||||
/*
|
||||
Copyright (c) 2019-2022 Digital Energy Cloud Solutions LLC. All Rights Reserved.
|
||||
Authors:
|
||||
Petr Krutov, <petr.krutov@digitalenergy.online>
|
||||
Stanislav Solovev, <spsolovev@digitalenergy.online>
|
||||
Kasim Baybikov, <kmbaybikov@basistech.ru>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
Terraform DECORT provider - manage resources provided by DECORT (Digital Energy Cloud
|
||||
Orchestration Technology) with Terraform by Hashicorp.
|
||||
|
||||
Source code: https://repository.basistech.ru/BASIS/terraform-provider-decort
|
||||
|
||||
Please see README.md to learn where to place source code so that it
|
||||
builds seamlessly.
|
||||
|
||||
Documentation: https://repository.basistech.ru/BASIS/terraform-provider-decort/wiki
|
||||
*/
|
||||
|
||||
package disks
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/google/uuid"
|
||||
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
|
||||
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
|
||||
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/constants"
|
||||
)
|
||||
|
||||
func dataSourceDiskListTypesRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics {
|
||||
listTypes, err := utilityDiskListTypesCheckPresence(ctx, d, m)
|
||||
if err != nil {
|
||||
d.SetId("")
|
||||
return diag.FromErr(err)
|
||||
}
|
||||
|
||||
id := uuid.New()
|
||||
d.SetId(id.String())
|
||||
d.Set("types", listTypes.Data)
|
||||
d.Set("entry_count", listTypes.EntryCount)
|
||||
return nil
|
||||
}
|
||||
|
||||
func dataSourceDiskListTypesSchemaMake() map[string]*schema.Schema {
|
||||
res := map[string]*schema.Schema{
|
||||
"sort_by": {
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
Description: "sort by one of supported fields, format +|-(field)",
|
||||
},
|
||||
"page": {
|
||||
Type: schema.TypeInt,
|
||||
Optional: true,
|
||||
Description: "Page number",
|
||||
},
|
||||
"size": {
|
||||
Type: schema.TypeInt,
|
||||
Optional: true,
|
||||
Description: "Page size",
|
||||
},
|
||||
"types": {
|
||||
Type: schema.TypeList,
|
||||
Computed: true,
|
||||
Elem: &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
},
|
||||
Description: "The types of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'",
|
||||
},
|
||||
"entry_count": {
|
||||
Type: schema.TypeInt,
|
||||
Computed: true,
|
||||
},
|
||||
}
|
||||
return res
|
||||
}
|
||||
|
||||
func DataSourceDiskListTypes() *schema.Resource {
|
||||
return &schema.Resource{
|
||||
SchemaVersion: 1,
|
||||
ReadContext: dataSourceDiskListTypesRead,
|
||||
|
||||
Timeouts: &schema.ResourceTimeout{
|
||||
Read: &constants.Timeout30s,
|
||||
Default: &constants.Timeout60s,
|
||||
},
|
||||
|
||||
Schema: dataSourceDiskListTypesSchemaMake(),
|
||||
}
|
||||
}
|
||||
@@ -1,167 +0,0 @@
|
||||
/*
|
||||
Copyright (c) 2019-2022 Digital Energy Cloud Solutions LLC. All Rights Reserved.
|
||||
Authors:
|
||||
Petr Krutov, <petr.krutov@digitalenergy.online>
|
||||
Stanislav Solovev, <spsolovev@digitalenergy.online>
|
||||
Kasim Baybikov, <kmbaybikov@basistech.ru>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
Terraform DECORT provider - manage resources provided by DECORT (Digital Energy Cloud
|
||||
Orchestration Technology) with Terraform by Hashicorp.
|
||||
|
||||
Source code: https://repository.basistech.ru/BASIS/terraform-provider-decort
|
||||
|
||||
Please see README.md to learn where to place source code so that it
|
||||
builds seamlessly.
|
||||
|
||||
Documentation: https://repository.basistech.ru/BASIS/terraform-provider-decort/wiki
|
||||
*/
|
||||
|
||||
package disks
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/google/uuid"
|
||||
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
|
||||
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
|
||||
"repository.basistech.ru/BASIS/decort-golang-sdk/pkg/cloudapi/disks"
|
||||
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/constants"
|
||||
)
|
||||
|
||||
func flattenDiskListTypesDetailed(tld *disks.ListTypes) []map[string]interface{} {
|
||||
res := make([]map[string]interface{}, 0)
|
||||
for _, typeListDetailed := range tld.Data {
|
||||
toMap := typeListDetailed.(map[string]interface{})
|
||||
temp := map[string]interface{}{
|
||||
"pools": flattenListTypesDetailedPools(toMap["pools"].([]interface{})),
|
||||
"sep_id": toMap["sepId"].(float64),
|
||||
"sep_name": toMap["sepName"].(string),
|
||||
}
|
||||
res = append(res, temp)
|
||||
}
|
||||
return res
|
||||
}
|
||||
|
||||
func flattenListTypesDetailedPools(pools []interface{}) []interface{} {
|
||||
res := make([]interface{}, 0)
|
||||
for _, pool := range pools {
|
||||
toMap := pool.(map[string]interface{})
|
||||
temp := map[string]interface{}{
|
||||
"name": toMap["name"].(string),
|
||||
"system": toMap["system"].(string),
|
||||
"types": toMap["types"].([]interface{}),
|
||||
}
|
||||
res = append(res, temp)
|
||||
}
|
||||
|
||||
return res
|
||||
}
|
||||
|
||||
func dataSourceDiskListTypesDetailedRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics {
|
||||
listTypesDetailed, err := utilityDiskListTypesDetailedCheckPresence(ctx, d, m)
|
||||
if err != nil {
|
||||
d.SetId("")
|
||||
return diag.FromErr(err)
|
||||
}
|
||||
|
||||
id := uuid.New()
|
||||
d.SetId(id.String())
|
||||
d.Set("items", flattenDiskListTypesDetailed(listTypesDetailed))
|
||||
d.Set("entry_count", listTypesDetailed.EntryCount)
|
||||
return nil
|
||||
}
|
||||
|
||||
func dataSourceDiskListTypesDetailedSchemaMake() map[string]*schema.Schema {
|
||||
res := map[string]*schema.Schema{
|
||||
"sort_by": {
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
Description: "sort by one of supported fields, format +|-(field)",
|
||||
},
|
||||
"page": {
|
||||
Type: schema.TypeInt,
|
||||
Optional: true,
|
||||
Description: "Page number",
|
||||
},
|
||||
"size": {
|
||||
Type: schema.TypeInt,
|
||||
Optional: true,
|
||||
Description: "Page size",
|
||||
},
|
||||
"items": {
|
||||
Type: schema.TypeList,
|
||||
Computed: true,
|
||||
Elem: &schema.Resource{
|
||||
Schema: map[string]*schema.Schema{
|
||||
"pools": {
|
||||
Type: schema.TypeList,
|
||||
Computed: true,
|
||||
Elem: &schema.Resource{
|
||||
Schema: map[string]*schema.Schema{
|
||||
"name": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
Description: "Pool name",
|
||||
},
|
||||
"system": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
"types": {
|
||||
Type: schema.TypeList,
|
||||
Computed: true,
|
||||
Elem: &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
},
|
||||
Description: "The types of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
"sep_id": {
|
||||
Type: schema.TypeInt,
|
||||
Computed: true,
|
||||
Description: "Storage endpoint provider ID to create disk",
|
||||
},
|
||||
"sep_name": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
"entry_count": {
|
||||
Type: schema.TypeInt,
|
||||
Computed: true,
|
||||
},
|
||||
}
|
||||
return res
|
||||
}
|
||||
|
||||
func DataSourceDiskListTypesDetailed() *schema.Resource {
|
||||
return &schema.Resource{
|
||||
SchemaVersion: 1,
|
||||
ReadContext: dataSourceDiskListTypesDetailedRead,
|
||||
|
||||
Timeouts: &schema.ResourceTimeout{
|
||||
Read: &constants.Timeout30s,
|
||||
Default: &constants.Timeout60s,
|
||||
},
|
||||
|
||||
Schema: dataSourceDiskListTypesDetailedSchemaMake(),
|
||||
}
|
||||
}
|
||||
@@ -108,11 +108,6 @@ func dataSourceDiskListUnattachedSchemaMake() map[string]*schema.Schema {
|
||||
Optional: true,
|
||||
Description: "find by pool name",
|
||||
},
|
||||
"type": {
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
Description: "type of the disks",
|
||||
},
|
||||
"sort_by": {
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
@@ -164,6 +159,10 @@ func dataSourceDiskListUnattachedSchemaMake() map[string]*schema.Schema {
|
||||
Type: schema.TypeBool,
|
||||
Computed: true,
|
||||
},
|
||||
"block_size": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
"boot_partition": {
|
||||
Type: schema.TypeInt,
|
||||
Computed: true,
|
||||
@@ -330,6 +329,17 @@ func dataSourceDiskListUnattachedSchemaMake() map[string]*schema.Schema {
|
||||
Computed: true,
|
||||
Description: "ID of the parent disk",
|
||||
},
|
||||
"present_to": {
|
||||
Type: schema.TypeMap,
|
||||
Computed: true,
|
||||
Elem: &schema.Schema{
|
||||
Type: schema.TypeInt,
|
||||
},
|
||||
},
|
||||
"provision": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
"passwd": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
@@ -453,10 +463,9 @@ func dataSourceDiskListUnattachedSchemaMake() map[string]*schema.Schema {
|
||||
Computed: true,
|
||||
Description: "Technical status of the disk",
|
||||
},
|
||||
"type": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
Description: "The type of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'",
|
||||
"to_clean": {
|
||||
Type: schema.TypeBool,
|
||||
Computed: true,
|
||||
},
|
||||
"vmid": {
|
||||
Type: schema.TypeInt,
|
||||
|
||||
@@ -449,11 +449,6 @@ func dataSourceDiskReplicationSchemaMake() map[string]*schema.Schema {
|
||||
Computed: true,
|
||||
Description: "Technical status of the disk",
|
||||
},
|
||||
"type": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
Description: "The type of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'",
|
||||
},
|
||||
"vmid": {
|
||||
Type: schema.TypeInt,
|
||||
Computed: true,
|
||||
|
||||
@@ -89,11 +89,6 @@ func dataSourceDiskDeletedListSchemaMake() map[string]*schema.Schema {
|
||||
Optional: true,
|
||||
Description: "ID of the account the disks belong to",
|
||||
},
|
||||
"type": {
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
Description: "type of the disks",
|
||||
},
|
||||
"sort_by": {
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
@@ -132,6 +127,10 @@ func dataSourceDiskDeletedListSchemaMake() map[string]*schema.Schema {
|
||||
Type: schema.TypeBool,
|
||||
Computed: true,
|
||||
},
|
||||
"block_size": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
// "boot_partition": {
|
||||
// Type: schema.TypeInt,
|
||||
// Computed: true,
|
||||
@@ -219,6 +218,10 @@ func dataSourceDiskDeletedListSchemaMake() map[string]*schema.Schema {
|
||||
},
|
||||
Description: "IDs of images using the disk",
|
||||
},
|
||||
"independent": {
|
||||
Type: schema.TypeBool,
|
||||
Computed: true,
|
||||
},
|
||||
"iotune": {
|
||||
Type: schema.TypeList,
|
||||
Computed: true,
|
||||
@@ -359,6 +362,10 @@ func dataSourceDiskDeletedListSchemaMake() map[string]*schema.Schema {
|
||||
Type: schema.TypeInt,
|
||||
},
|
||||
},
|
||||
"provision": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
// "purge_attempts": {
|
||||
// Type: schema.TypeInt,
|
||||
// Computed: true,
|
||||
@@ -512,11 +519,6 @@ func dataSourceDiskDeletedListSchemaMake() map[string]*schema.Schema {
|
||||
Computed: true,
|
||||
Description: "Technical status of the disk",
|
||||
},
|
||||
"type": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
Description: "The type of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'",
|
||||
},
|
||||
"vmid": {
|
||||
Type: schema.TypeInt,
|
||||
Computed: true,
|
||||
|
||||
@@ -26,6 +26,7 @@ func flattenDiskListUnattached(ul *disks.ListDisksUnattached) []map[string]inter
|
||||
"account_name": unattachedDisk.AccountName,
|
||||
"acl": string(unattachedDiskAcl),
|
||||
"blk_discard": unattachedDisk.BLKDiscard,
|
||||
"block_size": unattachedDisk.BlockSize,
|
||||
"boot_partition": unattachedDisk.BootPartition,
|
||||
"created_time": unattachedDisk.CreatedTime,
|
||||
"deleted_time": unattachedDisk.DeletedTime,
|
||||
@@ -48,6 +49,8 @@ func flattenDiskListUnattached(ul *disks.ListDisksUnattached) []map[string]inter
|
||||
"passwd": unattachedDisk.Password,
|
||||
"pci_slot": unattachedDisk.PCISlot,
|
||||
"pool": unattachedDisk.Pool,
|
||||
"present_to": unattachedDisk.PresentTo,
|
||||
"provision": unattachedDisk.Provision,
|
||||
"purge_attempts": unattachedDisk.PurgeAttempts,
|
||||
"purge_time": unattachedDisk.PurgeTime,
|
||||
"reality_device_number": unattachedDisk.RealityDeviceNumber,
|
||||
@@ -62,8 +65,8 @@ func flattenDiskListUnattached(ul *disks.ListDisksUnattached) []map[string]inter
|
||||
"size_used": unattachedDisk.SizeUsed,
|
||||
"snapshots": flattenDiskSnapshotList(unattachedDisk.Snapshots),
|
||||
"status": unattachedDisk.Status,
|
||||
"to_clean": unattachedDisk.ToClean,
|
||||
"tech_status": unattachedDisk.TechStatus,
|
||||
"type": unattachedDisk.Type,
|
||||
"vmid": unattachedDisk.VMID,
|
||||
}
|
||||
res = append(res, tmp)
|
||||
@@ -77,6 +80,7 @@ func flattenDisk(d *schema.ResourceData, disk *disks.RecordDisk) {
|
||||
d.Set("account_name", disk.AccountName)
|
||||
d.Set("acl", string(diskAcl))
|
||||
d.Set("blk_discard", disk.BLKDiscard)
|
||||
d.Set("block_size", disk.BlockSize)
|
||||
// d.Set("boot_partition", disk.BootPartition)
|
||||
d.Set("computes", flattenDiskComputes(disk.Computes))
|
||||
d.Set("created_by", disk.CreatedBy)
|
||||
@@ -95,6 +99,7 @@ func flattenDisk(d *schema.ResourceData, disk *disks.RecordDisk) {
|
||||
d.Set("iotune", flattenIOTune(disk.IOTune))
|
||||
// d.Set("iqn", disk.IQN)
|
||||
// d.Set("login", disk.Login)
|
||||
d.Set("independent", disk.Independent)
|
||||
d.Set("machine_id", disk.MachineID)
|
||||
d.Set("machine_name", disk.MachineName)
|
||||
d.Set("disk_name", disk.Name)
|
||||
@@ -105,6 +110,7 @@ func flattenDisk(d *schema.ResourceData, disk *disks.RecordDisk) {
|
||||
d.Set("pci_slot", disk.PCISlot)
|
||||
d.Set("pool", disk.Pool)
|
||||
d.Set("present_to", disk.PresentTo)
|
||||
d.Set("provision", disk.Provision)
|
||||
// d.Set("purge_attempts", disk.PurgeAttempts)
|
||||
d.Set("purge_time", disk.PurgeTime)
|
||||
d.Set("replication", flattenDiskReplication(disk.Replication))
|
||||
@@ -123,7 +129,6 @@ func flattenDisk(d *schema.ResourceData, disk *disks.RecordDisk) {
|
||||
d.Set("status", disk.Status)
|
||||
d.Set("storage_policy_id", disk.StoragePolicyID)
|
||||
d.Set("tech_status", disk.TechStatus)
|
||||
d.Set("type", disk.Type)
|
||||
d.Set("vmid", disk.VMID)
|
||||
d.Set("updated_by", disk.UpdatedBy)
|
||||
d.Set("updated_time", disk.UpdatedTime)
|
||||
@@ -192,7 +197,6 @@ func flattenDiskReplica(d *schema.ResourceData, disk *disks.RecordDisk, statusRe
|
||||
d.Set("status", disk.Status)
|
||||
d.Set("status_replication", statusReplication)
|
||||
d.Set("tech_status", disk.TechStatus)
|
||||
d.Set("type", disk.Type)
|
||||
d.Set("vmid", disk.VMID)
|
||||
}
|
||||
|
||||
@@ -222,6 +226,7 @@ func flattenDiskList(dl *disks.ListDisks) []map[string]interface{} {
|
||||
"account_name": disk.AccountName,
|
||||
"acl": string(diskAcl),
|
||||
"blk_discard": disk.BLKDiscard,
|
||||
"block_size": disk.BlockSize,
|
||||
"computes": flattenDiskComputes(disk.Computes),
|
||||
"created_by": disk.CreatedBy,
|
||||
"created_time": disk.CreatedTime,
|
||||
@@ -234,6 +239,7 @@ func flattenDiskList(dl *disks.ListDisks) []map[string]interface{} {
|
||||
"disk_id": disk.ID,
|
||||
"image_id": disk.ImageID,
|
||||
"images": disk.Images,
|
||||
"independent": disk.Independent,
|
||||
"iotune": flattenIOTune(disk.IOTune),
|
||||
"machine_id": disk.MachineID,
|
||||
"machine_name": disk.MachineName,
|
||||
@@ -245,6 +251,7 @@ func flattenDiskList(dl *disks.ListDisks) []map[string]interface{} {
|
||||
"pci_slot": disk.PCISlot,
|
||||
"pool": disk.Pool,
|
||||
"present_to": disk.PresentTo,
|
||||
"provision": disk.Provision,
|
||||
"purge_time": disk.PurgeTime,
|
||||
"replication": flattenDiskReplication(disk.Replication),
|
||||
"res_id": disk.ResID,
|
||||
@@ -261,7 +268,6 @@ func flattenDiskList(dl *disks.ListDisks) []map[string]interface{} {
|
||||
"status": disk.Status,
|
||||
"storage_policy_id": disk.StoragePolicyID,
|
||||
"tech_status": disk.TechStatus,
|
||||
"type": disk.Type,
|
||||
"vmid": disk.VMID,
|
||||
"updated_by": disk.UpdatedBy,
|
||||
"updated_time": disk.UpdatedTime,
|
||||
|
||||
@@ -606,6 +606,10 @@ func resourceDiskSchemaMake() map[string]*schema.Schema {
|
||||
},
|
||||
Description: "IDs of images using the disk",
|
||||
},
|
||||
"independent": {
|
||||
Type: schema.TypeBool,
|
||||
Computed: true,
|
||||
},
|
||||
// "iqn": {
|
||||
// Type: schema.TypeString,
|
||||
// Computed: true,
|
||||
@@ -644,11 +648,6 @@ func resourceDiskSchemaMake() map[string]*schema.Schema {
|
||||
Computed: true,
|
||||
Description: "ID of the parent disk",
|
||||
},
|
||||
"type": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
Description: "The type of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'",
|
||||
},
|
||||
// "passwd": {
|
||||
// Type: schema.TypeString,
|
||||
// Computed: true,
|
||||
@@ -664,6 +663,10 @@ func resourceDiskSchemaMake() map[string]*schema.Schema {
|
||||
// Computed: true,
|
||||
// Description: "Number of deletion attempts",
|
||||
// },
|
||||
"provision": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
"purge_time": {
|
||||
Type: schema.TypeInt,
|
||||
Computed: true,
|
||||
@@ -807,6 +810,10 @@ func resourceDiskSchemaMake() map[string]*schema.Schema {
|
||||
Computed: true,
|
||||
Description: "Flag indicating whether blk-discard is enabled for the disk",
|
||||
},
|
||||
"block_size": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
}
|
||||
|
||||
return rets
|
||||
|
||||
@@ -595,11 +595,6 @@ func resourceDiskReplicationSchemaMake() map[string]*schema.Schema {
|
||||
Computed: true,
|
||||
Description: "Technical status of the disk",
|
||||
},
|
||||
"type": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
Description: "The type of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'",
|
||||
},
|
||||
"vmid": {
|
||||
Type: schema.TypeInt,
|
||||
Computed: true,
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user