Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| db8d13d403 |
91
CHANGELOG.md
91
CHANGELOG.md
@@ -1,93 +1,38 @@
|
||||
## Version 4.13.0
|
||||
## Version 4.11.3
|
||||
|
||||
### Добавлено
|
||||
|
||||
#### grid
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1311 | Вычисляемые поля `cpu_allocation_ratio_vm`, `cpu_allocation_ratio`, `custom_backup_path`, `interface_generation_scheme`, `mac_address_prefix`, `node_self_stop_timer_uptime_monitor` и `node_self_stop_uptime_monitor` в datasource `decort_cb_grid_get_settings` в cloudbroker/grid |
|
||||
| BATF-1311 | Вычисляемое поле `zero_access_enabled` в datasource `decort_cb_grid` в cloudbroker/grid |
|
||||
| BATF-1311 | Вычисляемое поле `policies` в datasource `decort_cb_grid_get_consumption` в cloudbroker/grid |
|
||||
|
||||
#### extnet
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1302 | Вычисляемое поле `free_ips` в datasource `decort_extnet_list` в cloudapi/extnet |
|
||||
|
||||
#### node
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1306 | Вычисляемое поле `pci_devices` в datasource `decort_cb_node_list` в cloudbroker/node |
|
||||
| BATF-1294 | Вычисляемые поля `one_g_free`, `one_g_reserved`, `one_g_available`, `one_g_used`, `one_g_dpdk_reserved`, `two_m_free`, `two_m_reserved`, `two_m_available` и `two_m_used` в блоке `memory` в datasources `decort_cb_node` и `decort_cb_node_list` в cloudbroker/node |
|
||||
| BATF-1305 | Datasources `decort_cb_node_network_info` и `decort_cb_node_pci_devices` в cloudbroker/node |
|
||||
|
||||
#### kvmvm
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1303 | Опциональное поле `clock` в resource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
| BATF-1303 | Опциональное поле `clock` в resource `decort_kvmvm` в cloudapi/kvmvm |
|
||||
| BATF-1303 | Вычисляемое поле `clock` в datasources `decort_cb_kvmvm`, `decort_cb_kvmvm_list` и `decort_cb_kvmvm_list_deleted` в cloudbroker/kvmvm |
|
||||
| BATF-1303 | Вычисляемое поле `clock` в datasources `decort_kvmvm`, `decort_kvmvm_list` и `decort_kvmvm_list_deleted` в cloudapi/kvmvm |
|
||||
| BATF-1297 | Datasource `decort_cb_kvmvm_cpu_alignment_profile` в cloudbroker/kvmvm |
|
||||
| BATF-1297 | Datasource `decort_kvmvm_cpu_alignment_profile` в cloudapi/kvmvm |
|
||||
| BATF-1297 | Опциональное поле `cpu_alignment_profile` в resource `decort_cb_kvmvm` в cloudbroker/kvmvm и |
|
||||
| BATF-1297 | Опциональное поле `cpu_alignment_profile` в resource `decort_kvmvm` в cloudapi/kvmvm |
|
||||
| BATF-1297 | Вычисляемое поле `cpu_alignment_profiles` в datasources `decort_cb_kvmvm`, `decort_cb_kvmvm_list` и `decort_cb_kvmvm_list_deleted` в cloudbroker/kvmvm |
|
||||
| BATF-1297 | Вычисляемое поле `cpu_alignment_profiles` в datasources `decort_kvmvm`, `decort_kvmvm_list` и `decort_kvmvm_list_deleted` в cloudapi/kvmvm |
|
||||
|
||||
#### zone
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1295 | Опциональное поле `hypervisor_similarity_in_percentage` и вычисляемое поле `cpu_alignment_profiles` в resource `decort_cb_zone` в cloudbroker/zone |
|
||||
| BATF-1295 | Datasources `decort_cb_zone_cpu_alignment_profile`, `decort_cb_zone_cpu_alignment_profile_list` и `decort_cb_zone_cpu_alignment_profile_test` в cloudbroker/zone |
|
||||
| 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 |
|
||||
|
||||
### Изменено
|
||||
|
||||
#### image
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1304 | Тип опционального поля `type_image` с `string` на `[]string` в datasource `decort_image_list` в cloudapi/image |
|
||||
| BATF-1304 | Тип опционального поля `type_image` с `string` на `[]string` в datasource `decort_cb_image_list` в cloudbroker/image |
|
||||
|
||||
#### kvmvm
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1300 | Тип вычисляемого поля `blk_discard` с `bool` на `string` и переименование в `discard` в блоке `disks` в resource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
| BATF-1300 | Тип опционального поля `blk_discard` с `bool` на `string` и переименование в `discard` в блоке `disks` в resource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
| BATF-1300 | Тип опционального поля `boot_disk_blk_discard` с `bool` на `string` и переименование в `boot_disk_discard` в resource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
| BATF-1300 | Тип вычисляемого поля `blk_discard` с `bool` на `string` и переименование в `discard` в блоке `disks` в datasource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
| BATF-1300 | Тип вычисляемого поля `blk_discard` с `bool` на `string` и переименование в `discard` в блоке `disks` в resource `decort_kvmvm` и datasource `decort_kvmvm` в cloudapi/kvmvm |
|
||||
|
||||
#### disks
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1300 | Тип опционального поля `blk_discard` с `bool` на `string` и переименование в `discard` в resource `decort_cb_disk` в cloudbroker/disks |
|
||||
| BATF-1300 | Тип вычисляемого поля `blk_discard` с `bool` на `string` и переименование в `discard` в datasources `decort_cb_disk`, `decort_cb_disk_list`, `decort_cb_disk_list_unattached` и `decort_cb_disk_list_deleted` в cloudbroker/disks |
|
||||
| BATF-1300 | Тип вычисляемого поля `blk_discard` с `bool` на `string` и переименование в `discard` в resource `decort_disk` и datasources `decort_disk`, `decort_disk_list`, `decort_disk_list_unattached` и `decort_disk_list_deleted` в cloudapi/disks |
|
||||
|
||||
#### user
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1293 | Тип поля `password` с опционального на обязательный в resource `decort_cb_user` в cloudbroker/user |
|
||||
|
||||
#### image
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1299 | Тип поля `account_id` c опционального на обязательное в resource `decort_image_virtual` в cloudapi/image |
|
||||
|
||||
| BATF-1276 | Тип поля `disk_type` с опционального на вычисляемый в resource `decort_kvmvm` в cloudapi/kvmvm и в resource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
|
||||
### Исправлено
|
||||
|
||||
|
||||
### Удалено
|
||||
|
||||
#### grid
|
||||
#### flipgroup
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1311 | Вычисляемые поля `ckey` и `meta` в datasource `decort_cb_grid` в cloudbroker/grid |
|
||||
| BATF-1283 | Установка поля `desc` с платформы в ресурсе `decort_cb_flipgroup` в cloudbroker/flipgroup |
|
||||
|
||||
#### user
|
||||
#### kvmvm
|
||||
| Идентификатор<br>задачи | Описание |
|
||||
| --- | --- |
|
||||
| BATF-1293 | Вычисляемое поле `password` в datasources `decort_cb_user` и `decort_cb_user_list` в cloudbroker/user |
|
||||
| BATF-1276 | Ошибка при старте ВМ с указанием поля `alt_boot_id` в resource `decort_cb_kvmvm` в cloudbroker/kvmvm |
|
||||
|
||||
#### 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 |
|
||||
|
||||
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.13.0
|
||||
VERSION=4.11.3
|
||||
OS_ARCH=$(shell go env GOHOSTOS)_$(shell go env GOHOSTARCH)
|
||||
|
||||
FILES = ${BINARY}_${VERSION}_darwin_amd64\
|
||||
|
||||
15
README.md
15
README.md
@@ -6,7 +6,6 @@ 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 |
|
||||
@@ -83,9 +82,7 @@ Terraform provider для платформы Digital Energy Cloud Orchestration
|
||||
- Режим SDN:
|
||||
- Работа с access groups,
|
||||
- Работа с default security policies,
|
||||
- Работа с hypervisors,
|
||||
- Работа с segments,
|
||||
- Работа с network object groups
|
||||
- Работа с segments
|
||||
|
||||
Со списком и описанием функционала всех групп можно ознамоиться на Вики проекта: https://repository.basistech.ru/BASIS/terraform-provider-decort/wiki
|
||||
|
||||
@@ -103,13 +100,13 @@ chmod u+x install.sh
|
||||
```
|
||||
6. Дождаться сообщения об успешной установке. Установщик выведет актуальный блок конфигурации провайдера, скопируйте его
|
||||
```bash
|
||||
DECORT provider version 4.12.0 has been successfully installed
|
||||
DECORT provider version 4.11.0 has been successfully installed
|
||||
|
||||
Copy this provider configuration to main.tf file:
|
||||
terraform {
|
||||
required_providers {
|
||||
decort = {
|
||||
version = "4.12.0"
|
||||
version = "4.11.0"
|
||||
source = "basis/decort/decort"
|
||||
}
|
||||
}
|
||||
@@ -168,13 +165,13 @@ Windows:
|
||||
- host_name - имя хоста, держателя провайдера, например, basis
|
||||
- namespace - пространство имен хоста, например decort
|
||||
- type - тип провайдера, может совпадать с пространством имен, например, decort
|
||||
- version - версия провайдера, например 4.12.0
|
||||
- version - версия провайдера, например 4.11.0
|
||||
- target - архитектура операционной системы, например windows_amd64
|
||||
|
||||
В примере ниже используется путь до провайдера на машине с ОС Linux:
|
||||
|
||||
```bash
|
||||
~/.terraform.d/plugins/basis/decort/decort/4.12.0/linux_amd64/tf-provider
|
||||
~/.terraform.d/plugins/basis/decort/decort/4.11.0/linux_amd64/tf-provider
|
||||
^ ^ ^ ^ ^ ^
|
||||
host_name | | | | | |
|
||||
| | | | |
|
||||
@@ -199,7 +196,7 @@ Windows:
|
||||
terraform {
|
||||
required_providers {
|
||||
decort = {
|
||||
version = "4.12.0"
|
||||
version = "4.11.0"
|
||||
source = "basis/decort/decort"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,7 +49,6 @@ 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,11 +51,9 @@ 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,11 +52,9 @@ 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,7 +49,6 @@ 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,7 +71,6 @@ 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,7 +69,6 @@ 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,7 +29,6 @@ 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))
|
||||
@@ -47,7 +46,6 @@ 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)
|
||||
@@ -61,7 +59,6 @@ description: |-
|
||||
- `pci_slot` (Number)
|
||||
- `pool` (String)
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `purge_attempts` (Number)
|
||||
- `purge_time` (Number)
|
||||
- `reality_device_number` (Number)
|
||||
@@ -81,6 +78,7 @@ 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,12 +20,10 @@ 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
|
||||
@@ -33,6 +31,7 @@ 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
|
||||
|
||||
@@ -58,7 +57,6 @@ 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))
|
||||
@@ -76,7 +74,6 @@ 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)
|
||||
@@ -90,7 +87,6 @@ Read-Only:
|
||||
- `pci_slot` (Number)
|
||||
- `pool` (String)
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `purge_attempts` (Number)
|
||||
- `purge_time` (Number)
|
||||
- `reality_device_number` (Number)
|
||||
@@ -110,6 +106,7 @@ Read-Only:
|
||||
- `storage_policy_id` (Number)
|
||||
- `tech_status` (String)
|
||||
- `to_clean` (Boolean)
|
||||
- `type` (String)
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `vmid` (Number)
|
||||
|
||||
@@ -27,6 +27,7 @@ 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
|
||||
|
||||
@@ -52,7 +53,6 @@ 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,7 +70,6 @@ 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)
|
||||
@@ -84,7 +83,6 @@ Read-Only:
|
||||
- `pci_slot` (Number)
|
||||
- `pool` (String)
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `purge_attempts` (Number)
|
||||
- `purge_time` (Number)
|
||||
- `reality_device_number` (Number)
|
||||
@@ -104,6 +102,7 @@ Read-Only:
|
||||
- `storage_policy_id` (Number)
|
||||
- `tech_status` (String)
|
||||
- `to_clean` (Boolean)
|
||||
- `type` (String)
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `vmid` (Number)
|
||||
|
||||
37
docs/data-sources/cb_disk_list_types.md
Normal file
37
docs/data-sources/cb_disk_list_types.md
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
# 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)
|
||||
56
docs/data-sources/cb_disk_list_types_detailed.md
Normal file
56
docs/data-sources/cb_disk_list_types_detailed.md
Normal file
@@ -0,0 +1,56 @@
|
||||
---
|
||||
# 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,6 +29,7 @@ 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
|
||||
|
||||
@@ -55,7 +56,6 @@ Read-Only:
|
||||
- `account_name` (String)
|
||||
- `acl` (String)
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String)
|
||||
- `boot_partition` (Number)
|
||||
- `cache` (String)
|
||||
- `created_time` (Number)
|
||||
@@ -80,7 +80,6 @@ Read-Only:
|
||||
- `pci_slot` (Number)
|
||||
- `pool` (String)
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `purge_attempts` (Number)
|
||||
- `purge_time` (Number)
|
||||
- `reality_device_number` (Number)
|
||||
@@ -95,7 +94,7 @@ Read-Only:
|
||||
- `snapshots` (List of Object) (see [below for nested schema](#nestedobjatt--items--snapshots))
|
||||
- `status` (String)
|
||||
- `tech_status` (String)
|
||||
- `to_clean` (Boolean)
|
||||
- `type` (String)
|
||||
- `vmid` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--iotune"></a>
|
||||
|
||||
@@ -54,7 +54,6 @@ 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,10 +43,8 @@ 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,10 +73,8 @@ 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,7 +62,6 @@ 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))
|
||||
@@ -112,7 +111,6 @@ 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>
|
||||
@@ -170,7 +168,6 @@ Read-Only:
|
||||
|
||||
- `account_id` (Number)
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String)
|
||||
- `boot_partition` (Number)
|
||||
- `bus_number` (Number)
|
||||
- `cache` (String)
|
||||
@@ -188,7 +185,6 @@ 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)
|
||||
@@ -201,7 +197,6 @@ 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,7 +134,6 @@ Read-Only:
|
||||
- `user_managed` (Boolean)
|
||||
- `vgpus` (List of Number)
|
||||
- `vins_connected` (Number)
|
||||
- `weight` (Number)
|
||||
- `zone_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--acl"></a>
|
||||
|
||||
@@ -124,7 +124,6 @@ Read-Only:
|
||||
- `user_managed` (Boolean)
|
||||
- `vgpus` (List of Number)
|
||||
- `vins_connected` (Number)
|
||||
- `weight` (Number)
|
||||
- `zone_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--acl"></a>
|
||||
@@ -173,7 +172,6 @@ Read-Only:
|
||||
|
||||
- `disk_id` (Number)
|
||||
- `pci_slot` (Number)
|
||||
- `sep_id` (Number)
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--interfaces"></a>
|
||||
|
||||
@@ -124,7 +124,6 @@ Read-Only:
|
||||
- `flags` (List of String)
|
||||
- `model_name` (String)
|
||||
- `phys_count` (Number)
|
||||
- `thread_count` (Number)
|
||||
|
||||
|
||||
<a id="nestedatt--dpdk"></a>
|
||||
|
||||
@@ -28,7 +28,6 @@ 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
|
||||
|
||||
@@ -112,7 +111,6 @@ Read-Only:
|
||||
- `flags` (List of String)
|
||||
- `model_name` (String)
|
||||
- `phys_count` (Number)
|
||||
- `thread_count` (Number)
|
||||
|
||||
|
||||
<a id="nestedobjatt--items--dpdk"></a>
|
||||
|
||||
@@ -71,7 +71,6 @@ Optional:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `email` (String)
|
||||
- `explicit` (Boolean)
|
||||
- `guid` (String)
|
||||
- `right` (String)
|
||||
|
||||
@@ -51,7 +51,6 @@ Read-Only:
|
||||
- `pool_names` (List of String)
|
||||
- `sep_id` (Number)
|
||||
- `sep_name` (String)
|
||||
- `sep_tech_status` (String)
|
||||
|
||||
|
||||
<a id="nestedatt--usage"></a>
|
||||
|
||||
@@ -26,19 +26,12 @@ 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)
|
||||
@@ -47,10 +40,6 @@ 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,25 +49,14 @@ 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,7 +29,6 @@ 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)
|
||||
@@ -44,7 +43,6 @@ 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)
|
||||
@@ -55,7 +53,6 @@ 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
|
||||
@@ -72,6 +69,7 @@ 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,12 +20,10 @@ 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
|
||||
@@ -33,6 +31,7 @@ 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
|
||||
|
||||
@@ -58,7 +57,6 @@ 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)
|
||||
@@ -73,7 +71,6 @@ 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)
|
||||
@@ -84,7 +81,6 @@ 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)
|
||||
@@ -101,6 +97,7 @@ Read-Only:
|
||||
- `storage_policy_id` (Number)
|
||||
- `tech_status` (String)
|
||||
- `to_clean` (Boolean)
|
||||
- `type` (String)
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `vmid` (Number)
|
||||
|
||||
@@ -27,6 +27,7 @@ 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
|
||||
|
||||
@@ -52,7 +53,6 @@ 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,7 +67,6 @@ 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)
|
||||
@@ -78,7 +77,6 @@ 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)
|
||||
@@ -95,6 +93,7 @@ Read-Only:
|
||||
- `storage_policy_id` (Number)
|
||||
- `tech_status` (String)
|
||||
- `to_clean` (Boolean)
|
||||
- `type` (String)
|
||||
- `updated_by` (String)
|
||||
- `updated_time` (Number)
|
||||
- `vmid` (Number)
|
||||
|
||||
37
docs/data-sources/disk_list_types.md
Normal file
37
docs/data-sources/disk_list_types.md
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
# 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)
|
||||
56
docs/data-sources/disk_list_types_detailed.md
Normal file
56
docs/data-sources/disk_list_types_detailed.md
Normal file
@@ -0,0 +1,56 @@
|
||||
---
|
||||
# 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,6 +29,7 @@ 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
|
||||
|
||||
@@ -55,7 +56,6 @@ Read-Only:
|
||||
- `account_name` (String)
|
||||
- `acl` (String)
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String)
|
||||
- `boot_partition` (Number)
|
||||
- `cache` (String)
|
||||
- `created_time` (Number)
|
||||
@@ -79,8 +79,6 @@ 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)
|
||||
@@ -95,7 +93,7 @@ Read-Only:
|
||||
- `snapshots` (List of Object) (see [below for nested schema](#nestedobjatt--items--snapshots))
|
||||
- `status` (String)
|
||||
- `tech_status` (String)
|
||||
- `to_clean` (Boolean)
|
||||
- `type` (String)
|
||||
- `vmid` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--iotune"></a>
|
||||
|
||||
@@ -61,6 +61,7 @@ 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,10 +43,8 @@ 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,7 +67,6 @@ 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,7 +105,6 @@ 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>
|
||||
@@ -201,7 +200,6 @@ Read-Only:
|
||||
- `account_id` (Number)
|
||||
- `acl` (String)
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String)
|
||||
- `boot_partition` (Number)
|
||||
- `bus_number` (Number)
|
||||
- `cache` (String)
|
||||
@@ -219,7 +217,6 @@ 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)
|
||||
@@ -231,7 +228,6 @@ 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))
|
||||
@@ -247,6 +243,7 @@ Read-Only:
|
||||
- `storage_policy_id` (Number)
|
||||
- `tech_status` (String)
|
||||
- `to_clean` (Boolean)
|
||||
- `type` (String)
|
||||
- `updated_time` (Number)
|
||||
|
||||
<a id="nestedobjatt--disks--iotune"></a>
|
||||
|
||||
@@ -126,7 +126,6 @@ Read-Only:
|
||||
- `user_managed` (Boolean)
|
||||
- `vgpus` (List of Number)
|
||||
- `vins_connected` (Number)
|
||||
- `weight` (Number)
|
||||
- `zone_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--acl"></a>
|
||||
|
||||
@@ -123,7 +123,6 @@ Read-Only:
|
||||
- `user_managed` (Boolean)
|
||||
- `vgpus` (List of Number)
|
||||
- `vins_connected` (Number)
|
||||
- `weight` (Number)
|
||||
- `zone_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--items--acl"></a>
|
||||
|
||||
@@ -47,7 +47,6 @@ Optional:
|
||||
Read-Only:
|
||||
|
||||
- `auth_broker` (List of String)
|
||||
- `bro_enabled` (Boolean)
|
||||
- `ckey` (String)
|
||||
- `flag` (String)
|
||||
- `gid` (Number)
|
||||
@@ -58,4 +57,3 @@ Read-Only:
|
||||
- `name` (String)
|
||||
- `network_modes` (List of String)
|
||||
- `sdn_support` (Boolean)
|
||||
- `zero_access_enabled` (Boolean)
|
||||
|
||||
@@ -71,7 +71,6 @@ Optional:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `email` (String)
|
||||
- `explicit` (Boolean)
|
||||
- `guid` (String)
|
||||
- `right` (String)
|
||||
|
||||
@@ -88,7 +88,6 @@ Read-Only:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `email` (String)
|
||||
- `explicit` (Boolean)
|
||||
- `guid` (String)
|
||||
- `right` (String)
|
||||
|
||||
@@ -86,7 +86,6 @@ Read-Only:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `email` (String)
|
||||
- `explicit` (Boolean)
|
||||
- `guid` (String)
|
||||
- `right` (String)
|
||||
|
||||
@@ -85,7 +85,6 @@ Read-Only:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `email` (String)
|
||||
- `explicit` (Boolean)
|
||||
- `guid` (String)
|
||||
- `right` (String)
|
||||
|
||||
@@ -22,7 +22,6 @@ 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
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
---
|
||||
# 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)
|
||||
@@ -1,87 +0,0 @@
|
||||
---
|
||||
# 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,11 +34,9 @@ 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
|
||||
@@ -62,46 +60,21 @@ Read-Only:
|
||||
- `address_detection` (Boolean)
|
||||
- `created_at` (String)
|
||||
- `id` (String)
|
||||
- `logical_port_addresses` (List of Object) (see [below for nested schema](#nestedobjatt--bindings--logical_port_addresses))
|
||||
- `is_excluded_from_firewall` (Boolean)
|
||||
- `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:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `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`
|
||||
@@ -111,5 +84,5 @@ Read-Only:
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
@@ -34,11 +34,9 @@ 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
|
||||
@@ -61,46 +59,21 @@ Read-Only:
|
||||
- `address_detection` (Boolean)
|
||||
- `created_at` (String)
|
||||
- `id` (String)
|
||||
- `logical_port_addresses` (List of Object) (see [below for nested schema](#nestedobjatt--bindings--logical_port_addresses))
|
||||
- `is_excluded_from_firewall` (Boolean)
|
||||
- `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:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `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`
|
||||
@@ -110,5 +83,5 @@ Read-Only:
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
@@ -27,9 +27,7 @@ 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)
|
||||
@@ -68,11 +66,9 @@ 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)
|
||||
@@ -87,46 +83,21 @@ Read-Only:
|
||||
- `address_detection` (Boolean)
|
||||
- `created_at` (String)
|
||||
- `id` (String)
|
||||
- `logical_port_addresses` (List of Object) (see [below for nested schema](#nestedobjatt--items--bindings--logical_port_addresses))
|
||||
- `is_excluded_from_firewall` (Boolean)
|
||||
- `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:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `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`
|
||||
@@ -136,5 +107,5 @@ Read-Only:
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
@@ -1,705 +0,0 @@
|
||||
---
|
||||
# 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)
|
||||
@@ -1,720 +0,0 @@
|
||||
---
|
||||
# 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,13 +34,11 @@ 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)
|
||||
|
||||
@@ -81,39 +79,6 @@ 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`
|
||||
|
||||
@@ -137,8 +102,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`
|
||||
@@ -148,5 +113,5 @@ Read-Only:
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
39
docs/data-sources/sdn_segment_get_status.md
Normal file
39
docs/data-sources/sdn_segment_get_status.md
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
# 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,7 +23,6 @@ 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
|
||||
@@ -62,13 +61,11 @@ 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)
|
||||
|
||||
@@ -100,39 +97,6 @@ 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`
|
||||
|
||||
@@ -156,8 +120,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`
|
||||
@@ -167,5 +131,5 @@ Read-Only:
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
@@ -51,7 +51,6 @@ Read-Only:
|
||||
- `pool_names` (List of String)
|
||||
- `sep_id` (Number)
|
||||
- `sep_name` (String)
|
||||
- `sep_tech_status` (String)
|
||||
|
||||
|
||||
<a id="nestedatt--usage"></a>
|
||||
|
||||
@@ -26,31 +26,20 @@ 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)
|
||||
- `lbs_ids` (List of Number)
|
||||
- `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,25 +49,14 @@ 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,7 +54,6 @@ 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,7 +57,6 @@ 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,7 +25,6 @@ description: |-
|
||||
### Optional
|
||||
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String)
|
||||
- `cache` (String) Cache mode for the disk
|
||||
- `desc` (String)
|
||||
- `detach` (Boolean) detach disk from machine first
|
||||
@@ -57,7 +56,6 @@ description: |-
|
||||
- `id` (String) The ID of this resource.
|
||||
- `image_id` (Number)
|
||||
- `images` (List of Number)
|
||||
- `independent` (Boolean)
|
||||
- `iqn` (String)
|
||||
- `login` (String)
|
||||
- `machine_id` (Number)
|
||||
@@ -69,7 +67,6 @@ description: |-
|
||||
- `passwd` (String)
|
||||
- `pci_slot` (Number)
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `purge_attempts` (Number)
|
||||
- `purge_time` (Number)
|
||||
- `reality_device_number` (Number)
|
||||
@@ -84,6 +81,7 @@ 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,10 +54,8 @@ 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,7 +21,6 @@ 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
|
||||
|
||||
@@ -53,7 +52,6 @@ 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,7 +52,6 @@ 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)
|
||||
|
||||
@@ -51,6 +51,8 @@ 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))
|
||||
@@ -76,7 +78,6 @@ 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,7 +185,6 @@ Required:
|
||||
Optional:
|
||||
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String) Disk block size
|
||||
- `cache` (String) Setting the disk caching mode
|
||||
- `desc` (String) Optional description
|
||||
- `image_id` (Number) Specify image id for create disk from template
|
||||
@@ -196,17 +196,14 @@ 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
|
||||
- `disk_type` (String) The type of disk in terms of its role in compute: 'B=Boot, D=Data'
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `shareable` (Boolean)
|
||||
- `size_max` (Number)
|
||||
- `size_used` (Number)
|
||||
@@ -265,7 +262,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 1500-9216
|
||||
- `mtu` (Number) Maximum transmission unit, used only for DPDK type, must be 1-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
|
||||
|
||||
@@ -1,104 +0,0 @@
|
||||
---
|
||||
# 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,7 +143,6 @@ Optional:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `email` (String)
|
||||
- `explicit` (Boolean)
|
||||
- `guid` (String)
|
||||
- `right` (String)
|
||||
|
||||
@@ -32,6 +32,7 @@ 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>
|
||||
@@ -45,7 +46,6 @@ Required:
|
||||
Read-Only:
|
||||
|
||||
- `sep_name` (String)
|
||||
- `sep_tech_status` (String)
|
||||
|
||||
|
||||
<a id="nestedblock--timeouts"></a>
|
||||
|
||||
@@ -46,7 +46,6 @@ 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,27 +23,16 @@ 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,7 +38,6 @@ 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)
|
||||
@@ -52,7 +51,6 @@ 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
|
||||
@@ -60,7 +58,6 @@ 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
|
||||
@@ -72,6 +69,7 @@ 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,10 +54,8 @@ 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,7 +20,6 @@ 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
|
||||
@@ -53,7 +52,6 @@ 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,7 +52,6 @@ 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,9 +44,7 @@ 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)
|
||||
|
||||
@@ -48,6 +48,8 @@ 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,7 +134,6 @@ 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`
|
||||
@@ -187,8 +188,6 @@ 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)
|
||||
@@ -196,10 +195,8 @@ Read-Only:
|
||||
- `deleted_time` (Number)
|
||||
- `devicename` (String)
|
||||
- `disk_id` (Number) Disk ID
|
||||
- `independent` (Boolean)
|
||||
- `pci_slot` (Number) PCI slot number of the disk
|
||||
- `disk_type` (String) The type of disk in terms of its role in compute: 'B=Boot, D=Data'
|
||||
- `present_to` (Map of Number)
|
||||
- `provision` (String)
|
||||
- `shareable` (Boolean)
|
||||
- `size_max` (Number)
|
||||
- `size_used` (Number)
|
||||
@@ -240,7 +237,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 1500-9216
|
||||
- `mtu` (Number) Maximum transmission unit, used only for DPDK type, must be 1-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
|
||||
@@ -326,8 +323,6 @@ Required:
|
||||
Read-Only:
|
||||
|
||||
- `blk_discard` (Boolean)
|
||||
- `block_size` (String)
|
||||
- `bus_number` (Number)
|
||||
- `cache` (String)
|
||||
- `created_by` (String)
|
||||
- `created_time` (Number)
|
||||
@@ -337,14 +332,12 @@ 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,7 +135,6 @@ Optional:
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `email` (String)
|
||||
- `explicit` (Boolean)
|
||||
- `guid` (String)
|
||||
- `right` (String)
|
||||
|
||||
@@ -1,74 +0,0 @@
|
||||
---
|
||||
# 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,6 +22,7 @@ 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
|
||||
|
||||
@@ -29,9 +30,7 @@ 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
|
||||
|
||||
@@ -48,15 +47,6 @@ 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`
|
||||
|
||||
@@ -92,37 +82,21 @@ Read-Only:
|
||||
- `address_detection` (Boolean)
|
||||
- `created_at` (String)
|
||||
- `id` (String)
|
||||
- `logical_port_addresses` (List of Object) (see [below for nested schema](#nestedobjatt--bindings--logical_port_addresses))
|
||||
- `is_excluded_from_firewall` (Boolean)
|
||||
- `port_security` (Boolean)
|
||||
- `segment_display_name` (String)
|
||||
- `segment_id` (String)
|
||||
- `updated_at` (String)
|
||||
- `version_id` (Number)
|
||||
|
||||
<a id="nestedobjatt--bindings--logical_port_addresses"></a>
|
||||
### Nested Schema for `bindings.logical_port_addresses`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `assigned_at` (String)
|
||||
- `id` (String)
|
||||
- `ip` (String)
|
||||
- `ip_type` (String)
|
||||
- `is_discovered` (Boolean)
|
||||
- `is_primary` (Boolean)
|
||||
- `logical_port_id` (String)
|
||||
- `mac` (String)
|
||||
|
||||
|
||||
|
||||
<a id="nestedatt--status"></a>
|
||||
### Nested Schema for `status`
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `hypervisor_status` (String)
|
||||
- `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`
|
||||
@@ -132,5 +106,5 @@ Read-Only:
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
@@ -1,721 +0,0 @@
|
||||
---
|
||||
# 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,14 +30,12 @@ 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))
|
||||
@@ -96,39 +94,6 @@ 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`
|
||||
|
||||
@@ -152,8 +117,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`
|
||||
@@ -163,5 +128,5 @@ Read-Only:
|
||||
- `display_name` (String)
|
||||
- `hypervisor_status` (String)
|
||||
- `name` (String)
|
||||
- `operation_status` (String)
|
||||
- `status` (String)
|
||||
- `synced_at` (String)
|
||||
|
||||
@@ -25,7 +25,6 @@ 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)
|
||||
|
||||
4
go.mod
4
go.mod
@@ -9,11 +9,9 @@ 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.15.1
|
||||
repository.basistech.ru/BASIS/decort-golang-sdk v1.13.10
|
||||
)
|
||||
|
||||
replace repository.basistech.ru/BASIS/decort-golang-sdk => ../decort-sdk-local
|
||||
|
||||
require (
|
||||
github.com/BurntSushi/toml v1.2.1 // indirect
|
||||
github.com/Kunde21/markdownfmt/v3 v3.1.0 // indirect
|
||||
|
||||
2
go.sum
2
go.sum
@@ -318,3 +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.10 h1:aRKyTH3/NSrpCLyLuTwCMtzOBoQ+hQ5EC4emQSnya5k=
|
||||
repository.basistech.ru/BASIS/decort-golang-sdk v1.13.10/go.mod h1:S/f7GxwWcE88eFpORV+I9xqEf8zDW5srQHpG2XQCLZM=
|
||||
|
||||
@@ -45,9 +45,7 @@ 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"
|
||||
@@ -73,6 +71,7 @@ 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 {
|
||||
@@ -120,6 +119,8 @@ 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(),
|
||||
@@ -165,7 +166,6 @@ func newDataSourcesMap() map[string]*schema.Resource {
|
||||
"decort_kvmvm_list_deleted": kvmvm.DataSourceComputeListDeleted(),
|
||||
"decort_kvmvm_vgpu_list": kvmvm.DataSourceComputeVGPUList(),
|
||||
"decort_kvmvm_pci_device_list": kvmvm.DataSourceComputePCIDeviceList(),
|
||||
"decort_kvmvm_cpu_alignment_profile": kvmvm.DataSourceComputeCPUAlignmentProfile(),
|
||||
"decort_k8s_wg_cloud_init": k8s.DataSourceK8sWgCloudInit(),
|
||||
"decort_rg_resource_consumption_list": rg.DataSourceRGResourceConsumptionList(),
|
||||
"decort_rg_resource_consumption_get": rg.DataSourceRGResourceConsumptionGet(),
|
||||
@@ -230,14 +230,13 @@ func newDataSourcesMap() map[string]*schema.Resource {
|
||||
"decort_cb_kvmvm_snapshot_usage": cb_kvmvm.DataSourceComputeSnapshotUsage(),
|
||||
"decort_cb_kvmvm_user_list": cb_kvmvm.DataSourceComputeUserList(),
|
||||
"decort_cb_kvmvm_vgpu_list": cb_kvmvm.DataSourceComputeVGPUList(),
|
||||
"decort_cb_kvmvm_cpu_alignment_profile": cb_kvmvm.DataSourceComputeCPUAlignmentProfile(),
|
||||
"decort_cb_node": cb_node.DataSourceNode(),
|
||||
"decort_cb_node_list": cb_node.DataSourceNodeList(),
|
||||
"decort_cb_node_network_info": cb_node.DataSourceNodeNetworkInfo(),
|
||||
"decort_cb_node_pci_devices": cb_node.DataSourceNodePCIDevices(),
|
||||
"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(),
|
||||
@@ -303,9 +302,6 @@ func newDataSourcesMap() map[string]*schema.Resource {
|
||||
"decort_cb_k8s_computes": cb_k8s.DataSourceK8sComputes(),
|
||||
"decort_cb_zone": cb_zone.DataSourceZone(),
|
||||
"decort_cb_zone_list": cb_zone.DataSourceZoneList(),
|
||||
"decort_cb_zone_cpu_alignment_profile": cb_zone.DataSourceZoneCPUAlignmentProfile(),
|
||||
"decort_cb_zone_cpu_alignment_profile_list": cb_zone.DataSourceZoneCPUAlignmentProfileList(),
|
||||
"decort_cb_zone_cpu_alignment_profile_test": cb_zone.DataSourceZoneCPUAlignmentProfileTest(),
|
||||
|
||||
"decort_sdn_access_group": accessgroup.DataSourceAccessGroup(),
|
||||
"decort_sdn_access_group_list": accessgroup.DataSourceAccessGroupList(),
|
||||
@@ -313,15 +309,10 @@ 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_hypervisor": hypervisors.DataSourceHypervisor(),
|
||||
"decort_sdn_hypervisor_list": hypervisors.DataSourceHypervisorList(),
|
||||
"decort_sdn_segment_get_status": segments.DataSourceSegmentGetStatus(),
|
||||
|
||||
"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,9 +36,7 @@ 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"
|
||||
@@ -104,7 +102,6 @@ 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(),
|
||||
@@ -130,8 +127,6 @@ func newResourcesMap() map[string]*schema.Resource {
|
||||
|
||||
"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,10 +307,6 @@ 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,12 +51,10 @@ 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)
|
||||
@@ -193,10 +191,6 @@ 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,
|
||||
@@ -213,10 +207,6 @@ 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,7 +26,6 @@ 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)
|
||||
@@ -69,7 +68,6 @@ 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,10 +625,6 @@ 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,
|
||||
|
||||
@@ -80,12 +80,8 @@ func dataSourceDiskSchemaMake() map[string]*schema.Schema {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
"discard": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
"block_size": {
|
||||
Type: schema.TypeString,
|
||||
"blk_discard": {
|
||||
Type: schema.TypeBool,
|
||||
Computed: true,
|
||||
},
|
||||
// "boot_partition": {
|
||||
@@ -170,10 +166,6 @@ 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,
|
||||
@@ -312,10 +304,6 @@ func dataSourceDiskSchemaMake() map[string]*schema.Schema {
|
||||
Type: schema.TypeInt,
|
||||
},
|
||||
},
|
||||
"provision": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
// "purge_attempts": {
|
||||
// Type: schema.TypeInt,
|
||||
// Computed: true,
|
||||
@@ -469,6 +457,11 @@ 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,6 +93,11 @@ 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,
|
||||
@@ -123,16 +128,6 @@ 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,
|
||||
@@ -152,12 +147,8 @@ func dataSourceDiskListSchemaMake() map[string]*schema.Schema {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
"discard": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
"block_size": {
|
||||
Type: schema.TypeString,
|
||||
"blk_discard": {
|
||||
Type: schema.TypeBool,
|
||||
Computed: true,
|
||||
},
|
||||
// "boot_partition": {
|
||||
@@ -243,10 +234,6 @@ 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,
|
||||
@@ -391,10 +378,6 @@ func dataSourceDiskListSchemaMake() map[string]*schema.Schema {
|
||||
Type: schema.TypeInt,
|
||||
},
|
||||
},
|
||||
"provision": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
// "purge_attempts": {
|
||||
// Type: schema.TypeInt,
|
||||
// Computed: true,
|
||||
@@ -548,6 +531,11 @@ 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,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2019-2023 Digital Energy Cloud Solutions LLC. All Rights Reserved.
|
||||
Copyright (c) 2019-2022 Digital Energy Cloud Solutions LLC. All Rights Reserved.
|
||||
Authors:
|
||||
Petr Krutov, <petr.krutov@digitalenergy.online>
|
||||
Stanislav Solovev, <spsolovev@digitalenergy.online>
|
||||
@@ -30,7 +30,7 @@ builds seamlessly.
|
||||
Documentation: https://repository.basistech.ru/BASIS/terraform-provider-decort/wiki
|
||||
*/
|
||||
|
||||
package kvmvm
|
||||
package disks
|
||||
|
||||
import (
|
||||
"context"
|
||||
@@ -41,8 +41,8 @@ import (
|
||||
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/constants"
|
||||
)
|
||||
|
||||
func dataSourceComputeCPUAlignmentProfileRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics {
|
||||
profile, err := utilityComputeGetCPUAlignmentProfile(ctx, d, m)
|
||||
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)
|
||||
@@ -50,49 +50,54 @@ func dataSourceComputeCPUAlignmentProfileRead(ctx context.Context, d *schema.Res
|
||||
|
||||
id := uuid.New()
|
||||
d.SetId(id.String())
|
||||
d.Set("model", profile.Model)
|
||||
d.Set("name", profile.Name)
|
||||
d.Set("vendor", profile.Vendor)
|
||||
|
||||
d.Set("types", listTypes.Data)
|
||||
d.Set("entry_count", listTypes.EntryCount)
|
||||
return nil
|
||||
}
|
||||
|
||||
func dataSourceComputeCPUAlignmentProfileSchemaMake() map[string]*schema.Schema {
|
||||
return map[string]*schema.Schema{
|
||||
"compute_id": {
|
||||
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,
|
||||
Required: true,
|
||||
Description: "ID of the compute instance",
|
||||
Optional: true,
|
||||
Description: "Page number",
|
||||
},
|
||||
"model": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
Description: "CPU model of the alignment profile",
|
||||
"size": {
|
||||
Type: schema.TypeInt,
|
||||
Optional: true,
|
||||
Description: "Page size",
|
||||
},
|
||||
"name": {
|
||||
Type: schema.TypeString,
|
||||
"types": {
|
||||
Type: schema.TypeList,
|
||||
Computed: true,
|
||||
Description: "Name of the CPU alignment profile",
|
||||
Elem: &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
},
|
||||
"vendor": {
|
||||
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,
|
||||
Description: "CPU vendor of the alignment profile",
|
||||
},
|
||||
}
|
||||
return res
|
||||
}
|
||||
|
||||
func DataSourceComputeCPUAlignmentProfile() *schema.Resource {
|
||||
func DataSourceDiskListTypes() *schema.Resource {
|
||||
return &schema.Resource{
|
||||
SchemaVersion: 1,
|
||||
|
||||
ReadContext: dataSourceComputeCPUAlignmentProfileRead,
|
||||
ReadContext: dataSourceDiskListTypesRead,
|
||||
|
||||
Timeouts: &schema.ResourceTimeout{
|
||||
Read: &constants.Timeout30s,
|
||||
Default: &constants.Timeout60s,
|
||||
},
|
||||
|
||||
Schema: dataSourceComputeCPUAlignmentProfileSchemaMake(),
|
||||
Schema: dataSourceDiskListTypesSchemaMake(),
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,167 @@
|
||||
/*
|
||||
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,6 +108,11 @@ 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,
|
||||
@@ -155,12 +160,8 @@ func dataSourceDiskListUnattachedSchemaMake() map[string]*schema.Schema {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
"discard": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
"block_size": {
|
||||
Type: schema.TypeString,
|
||||
"blk_discard": {
|
||||
Type: schema.TypeBool,
|
||||
Computed: true,
|
||||
},
|
||||
"boot_partition": {
|
||||
@@ -329,17 +330,6 @@ 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,
|
||||
@@ -463,9 +453,10 @@ func dataSourceDiskListUnattachedSchemaMake() map[string]*schema.Schema {
|
||||
Computed: true,
|
||||
Description: "Technical status of the disk",
|
||||
},
|
||||
"to_clean": {
|
||||
Type: schema.TypeBool,
|
||||
"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,
|
||||
|
||||
@@ -449,6 +449,11 @@ 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,6 +89,11 @@ 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,
|
||||
@@ -123,12 +128,8 @@ func dataSourceDiskDeletedListSchemaMake() map[string]*schema.Schema {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
"discard": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
"block_size": {
|
||||
Type: schema.TypeString,
|
||||
"blk_discard": {
|
||||
Type: schema.TypeBool,
|
||||
Computed: true,
|
||||
},
|
||||
// "boot_partition": {
|
||||
@@ -218,10 +219,6 @@ 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,
|
||||
@@ -362,10 +359,6 @@ func dataSourceDiskDeletedListSchemaMake() map[string]*schema.Schema {
|
||||
Type: schema.TypeInt,
|
||||
},
|
||||
},
|
||||
"provision": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
},
|
||||
// "purge_attempts": {
|
||||
// Type: schema.TypeInt,
|
||||
// Computed: true,
|
||||
@@ -519,6 +512,11 @@ 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,
|
||||
|
||||
@@ -25,8 +25,7 @@ func flattenDiskListUnattached(ul *disks.ListDisksUnattached) []map[string]inter
|
||||
"account_id": unattachedDisk.AccountID,
|
||||
"account_name": unattachedDisk.AccountName,
|
||||
"acl": string(unattachedDiskAcl),
|
||||
"discard": unattachedDisk.Discard,
|
||||
"block_size": unattachedDisk.BlockSize,
|
||||
"blk_discard": unattachedDisk.BLKDiscard,
|
||||
"boot_partition": unattachedDisk.BootPartition,
|
||||
"created_time": unattachedDisk.CreatedTime,
|
||||
"deleted_time": unattachedDisk.DeletedTime,
|
||||
@@ -49,8 +48,6 @@ 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,
|
||||
@@ -65,8 +62,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)
|
||||
@@ -79,8 +76,7 @@ func flattenDisk(d *schema.ResourceData, disk *disks.RecordDisk) {
|
||||
d.Set("account_id", disk.AccountID)
|
||||
d.Set("account_name", disk.AccountName)
|
||||
d.Set("acl", string(diskAcl))
|
||||
d.Set("discard", disk.Discard)
|
||||
d.Set("block_size", disk.BlockSize)
|
||||
d.Set("blk_discard", disk.BLKDiscard)
|
||||
// d.Set("boot_partition", disk.BootPartition)
|
||||
d.Set("computes", flattenDiskComputes(disk.Computes))
|
||||
d.Set("created_by", disk.CreatedBy)
|
||||
@@ -99,7 +95,6 @@ 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)
|
||||
@@ -110,7 +105,6 @@ 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))
|
||||
@@ -129,6 +123,7 @@ 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)
|
||||
@@ -197,6 +192,7 @@ 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)
|
||||
}
|
||||
|
||||
@@ -225,8 +221,7 @@ func flattenDiskList(dl *disks.ListDisks) []map[string]interface{} {
|
||||
"account_id": disk.AccountID,
|
||||
"account_name": disk.AccountName,
|
||||
"acl": string(diskAcl),
|
||||
"discard": disk.Discard,
|
||||
"block_size": disk.BlockSize,
|
||||
"blk_discard": disk.BLKDiscard,
|
||||
"computes": flattenDiskComputes(disk.Computes),
|
||||
"created_by": disk.CreatedBy,
|
||||
"created_time": disk.CreatedTime,
|
||||
@@ -239,7 +234,6 @@ 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,
|
||||
@@ -251,7 +245,6 @@ 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,
|
||||
@@ -268,6 +261,7 @@ 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,
|
||||
|
||||
@@ -419,12 +419,3 @@ func resourceDiskV1() *schema.Resource {
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
func resourceDiskV2() *schema.Resource {
|
||||
s := resourceDiskSchemaMake()
|
||||
s["blk_discard"] = &schema.Schema{
|
||||
Type: schema.TypeBool,
|
||||
Computed: true,
|
||||
}
|
||||
return &schema.Resource{Schema: s}
|
||||
}
|
||||
|
||||
@@ -606,10 +606,6 @@ 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,
|
||||
@@ -648,6 +644,11 @@ 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,
|
||||
@@ -663,10 +664,6 @@ 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,
|
||||
@@ -805,14 +802,10 @@ func resourceDiskSchemaMake() map[string]*schema.Schema {
|
||||
Type: schema.TypeBool,
|
||||
Computed: true,
|
||||
},
|
||||
"discard": {
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
Description: "Discard mode of the disk",
|
||||
},
|
||||
"block_size": {
|
||||
Type: schema.TypeString,
|
||||
"blk_discard": {
|
||||
Type: schema.TypeBool,
|
||||
Computed: true,
|
||||
Description: "Flag indicating whether blk-discard is enabled for the disk",
|
||||
},
|
||||
}
|
||||
|
||||
@@ -821,7 +814,7 @@ func resourceDiskSchemaMake() map[string]*schema.Schema {
|
||||
|
||||
func ResourceDisk() *schema.Resource {
|
||||
return &schema.Resource{
|
||||
SchemaVersion: 3,
|
||||
SchemaVersion: 2,
|
||||
|
||||
CreateContext: resourceDiskCreate,
|
||||
ReadContext: resourceDiskRead,
|
||||
@@ -847,11 +840,6 @@ func ResourceDisk() *schema.Resource {
|
||||
Upgrade: resourceDiskUpgradeV1,
|
||||
Version: 1,
|
||||
},
|
||||
{
|
||||
Type: resourceDiskV2().CoreConfigSchema().ImpliedType(),
|
||||
Upgrade: resourceDiskUpgradeV2,
|
||||
Version: 2,
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user