Compare commits

...

7 Commits
4.7.5 ... main

3
.gitignore vendored

@ -4,4 +4,5 @@ url_scrapping/
terraform-provider-decort* terraform-provider-decort*
.vscode/ .vscode/
.DS_Store .DS_Store
vendor/
.idea/

@ -1,16 +1,23 @@
## Version 4.7.3 ## Version 4.9.2
### Добавлено ### Добавлено
### Исправлено
#### image
| Идентификатор<br>задачи | Описание |
| --- | --- |
| BATF-999 | Изменен тип поля `url` с optional на required в resource `decort_cb_image` в cloudbroker/image |
#### kvmvm #### kvmvm
| Идентификатор<br>задачи | Описание | | Идентификатор<br>задачи | Описание |
| --- | --- | | --- | --- |
| BATF-648 | Обязательные поля `net_type, net_id` в опциональный блок `libvirt_settings` в resource `decort_cb_kvmvm` в cloudbroker/kvmvm | | BATF-1002 | Ошибка при смене `ip_address` в блоке `network` приводящаяя к смене MAC адрес сети в resource `decort_compute` и `decort_cb_compute` в cloupapi/kvmvm и cloudbroker/kvmvm |
| BATF-648 | Опциональное поле `mtu` в опциональный блок `network` в resources `decort_cb_kvmvm, decort_kvmvm` в cloudbroker/kvmvm и cloudapi/kvmvm |
### Удалено ### Удалено
#### kvmvm #### image
| Идентификатор<br>задачи | Описание | | Идентификатор<br>задачи | Описание |
| --- | --- | | --- | --- |
| BATF-648 | Обязательное поле `mac` в опциональном блок `libvirt_settings` в resource `decort_cb_kvmvm` в cloudbroker/kvmvm | | BATF-999 | Опциональное поле `file_path` в resource `decort_cb_image` в cloudbroker/image |

@ -7,7 +7,7 @@ ZIPDIR = ./zip
BINARY=${NAME} BINARY=${NAME}
WORKPATH= ./examples/terraform.d/plugins/${HOSTNAME}/${NAMESPACE}/${NAMESPACE}/${VERSION}/${OS_ARCH} WORKPATH= ./examples/terraform.d/plugins/${HOSTNAME}/${NAMESPACE}/${NAMESPACE}/${VERSION}/${OS_ARCH}
MAINPATH = ./cmd/decort/ MAINPATH = ./cmd/decort/
VERSION=4.7.3 VERSION=4.9.2
OS_ARCH=$(shell go env GOHOSTOS)_$(shell go env GOHOSTARCH) OS_ARCH=$(shell go env GOHOSTOS)_$(shell go env GOHOSTARCH)
FILES = ${BINARY}_${VERSION}_darwin_amd64\ FILES = ${BINARY}_${VERSION}_darwin_amd64\

@ -6,6 +6,8 @@ Terraform provider для платформы Digital Energy Cloud Orchestration
| Версия DECORT API | Версия провайдера Terraform | | Версия DECORT API | Версия провайдера Terraform |
| ------ | ------ | | ------ | ------ |
| 4.3.0 | 4.9.x |
| 4.2.0 | 4.8.x |
| 4.1.0 | 4.7.x | | 4.1.0 | 4.7.x |
| 4.0.0 | 4.6.x | | 4.0.0 | 4.6.x |
| 3.8.9 | 4.5.x | | 3.8.9 | 4.5.x |
@ -46,7 +48,8 @@ Terraform provider для платформы Digital Energy Cloud Orchestration
- Работа с resource groups, - Работа с resource groups,
- Работа с snapshots, - Работа с snapshots,
- Работа с stacks, - Работа с stacks,
- Работа с VINS. - Работа с VINS,
- Работа с SEPs.
- Режим администратора: - Режим администратора:
- Работа с accounts, - Работа с accounts,

@ -40,6 +40,7 @@ description: |-
- `deactivation_time` (Number) - `deactivation_time` (Number)
- `deleted_by` (String) - `deleted_by` (String)
- `deleted_time` (Number) - `deleted_time` (Number)
- `desc` (String)
- `displayname` (String) - `displayname` (String)
- `guid` (Number) - `guid` (Number)
- `id` (String) The ID of this resource. - `id` (String) The ID of this resource.

@ -51,6 +51,7 @@ Read-Only:
- `compute_features` (List of String) - `compute_features` (List of String)
- `created_time` (Number) - `created_time` (Number)
- `deleted_time` (Number) - `deleted_time` (Number)
- `desc` (String)
- `status` (String) - `status` (String)
- `updated_time` (Number) - `updated_time` (Number)

@ -52,6 +52,7 @@ Read-Only:
- `compute_features` (List of String) - `compute_features` (List of String)
- `created_time` (Number) - `created_time` (Number)
- `deleted_time` (Number) - `deleted_time` (Number)
- `desc` (String)
- `status` (String) - `status` (String)
- `updated_time` (Number) - `updated_time` (Number)

@ -56,6 +56,7 @@ Read-Only:
- `created_time` (Number) - `created_time` (Number)
- `deleted_by` (String) - `deleted_by` (String)
- `deleted_time` (Number) - `deleted_time` (Number)
- `desc` (String)
- `milestones` (Number) - `milestones` (Number)
- `resources` (List of Object) (see [below for nested schema](#nestedobjatt--items--resources)) - `resources` (List of Object) (see [below for nested schema](#nestedobjatt--items--resources))
- `rg_id` (Number) - `rg_id` (Number)

@ -72,6 +72,7 @@ Optional:
Read-Only: Read-Only:
- `chipset` (String)
- `id` (Number) - `id` (Number)
- `ip_addresses` (List of String) - `ip_addresses` (List of String)
- `name` (String) - `name` (String)

@ -39,6 +39,7 @@ description: |-
- `deactivation_time` (Number) - `deactivation_time` (Number)
- `deleted_by` (String) - `deleted_by` (String)
- `deleted_time` (Number) - `deleted_time` (Number)
- `desc` (String)
- `displayname` (String) - `displayname` (String)
- `guid` (Number) - `guid` (Number)
- `id` (String) The ID of this resource. - `id` (String) The ID of this resource.

@ -61,6 +61,7 @@ Read-Only:
- `deactivation_time` (Number) - `deactivation_time` (Number)
- `deleted_by` (String) - `deleted_by` (String)
- `deleted_time` (Number) - `deleted_time` (Number)
- `desc` (String)
- `displayname` (String) - `displayname` (String)
- `guid` (Number) - `guid` (Number)
- `meta` (List of String) - `meta` (List of String)

@ -60,6 +60,7 @@ Read-Only:
- `deactivation_time` (Number) - `deactivation_time` (Number)
- `deleted_by` (String) - `deleted_by` (String)
- `deleted_time` (Number) - `deleted_time` (Number)
- `desc` (String)
- `displayname` (String) - `displayname` (String)
- `guid` (Number) - `guid` (Number)
- `meta` (List of String) - `meta` (List of String)

@ -56,6 +56,7 @@ Read-Only:
- `created_time` (Number) - `created_time` (Number)
- `deleted_by` (String) - `deleted_by` (String)
- `deleted_time` (Number) - `deleted_time` (Number)
- `desc` (String)
- `milestones` (Number) - `milestones` (Number)
- `resources` (List of Object) (see [below for nested schema](#nestedobjatt--items--resources)) - `resources` (List of Object) (see [below for nested schema](#nestedobjatt--items--resources))
- `rg_id` (Number) - `rg_id` (Number)

@ -37,6 +37,7 @@ description: |-
- `tags` (String) - `tags` (String)
- `timestamp` (Number) - `timestamp` (Number)
- `timestamp_end` (Number) - `timestamp_end` (Number)
- `ttl` (String)
- `user` (String) - `user` (String)
<a id="nestedblock--timeouts"></a> <a id="nestedblock--timeouts"></a>

@ -45,6 +45,7 @@ Read-Only:
- `cmd` (String) - `cmd` (String)
- `guid` (String) - `guid` (String)
- `nid` (Number) - `nid` (Number)
- `physical_node` (Boolean)
- `state` (String) - `state` (String)
- `time_create` (Number) - `time_create` (Number)
- `time_start` (Number) - `time_start` (Number)

@ -21,6 +21,7 @@ description: |-
- `max_status_code` (Number) find by HTTP max status code - `max_status_code` (Number) find by HTTP max status code
- `min_status_code` (Number) find by HTTP min status code - `min_status_code` (Number) find by HTTP min status code
- `page` (Number) page number - `page` (Number) page number
- `request_id` (String) request id
- `size` (Number) page size - `size` (Number) page size
- `sort_by` (String) sort by one of supported fields, format +|-(field) - `sort_by` (String) sort by one of supported fields, format +|-(field)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
@ -48,9 +49,16 @@ Optional:
Read-Only: Read-Only:
- `args` (String)
- `call` (String) - `call` (String)
- `guid` (String) - `guid` (String)
- `kwargs` (String)
- `remote_addr` (String)
- `responsetime` (Number) - `responsetime` (Number)
- `result` (String)
- `status_code` (Number) - `status_code` (Number)
- `tags` (String)
- `timestamp` (Number) - `timestamp` (Number)
- `timestamp_end` (Number)
- `ttl` (String)
- `user` (String) - `user` (String)

@ -30,7 +30,9 @@ description: |-
- `acl` (String) - `acl` (String)
- `boot_partition` (Number) - `boot_partition` (Number)
- `computes` (List of Object) (see [below for nested schema](#nestedatt--computes)) - `computes` (List of Object) (see [below for nested schema](#nestedatt--computes))
- `created_by` (String)
- `created_time` (Number) - `created_time` (Number)
- `deleted_by` (String)
- `deleted_time` (Number) - `deleted_time` (Number)
- `desc` (String) - `desc` (String)
- `destruction_time` (Number) - `destruction_time` (Number)
@ -45,6 +47,8 @@ description: |-
- `iotune` (List of Object) (see [below for nested schema](#nestedatt--iotune)) - `iotune` (List of Object) (see [below for nested schema](#nestedatt--iotune))
- `iqn` (String) - `iqn` (String)
- `login` (String) - `login` (String)
- `machine_id` (Number)
- `machine_name` (String)
- `milestones` (Number) - `milestones` (Number)
- `order` (Number) - `order` (Number)
- `params` (String) - `params` (String)
@ -52,7 +56,7 @@ description: |-
- `passwd` (String) - `passwd` (String)
- `pci_slot` (Number) - `pci_slot` (Number)
- `pool` (String) - `pool` (String)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `purge_attempts` (Number) - `purge_attempts` (Number)
- `purge_time` (Number) - `purge_time` (Number)
- `reality_device_number` (Number) - `reality_device_number` (Number)
@ -64,12 +68,15 @@ description: |-
- `sep_id` (Number) - `sep_id` (Number)
- `sep_type` (String) - `sep_type` (String)
- `shareable` (Boolean) - `shareable` (Boolean)
- `size_available` (Number)
- `size_max` (Number) - `size_max` (Number)
- `size_used` (Number) - `size_used` (Number)
- `snapshots` (List of Object) (see [below for nested schema](#nestedatt--snapshots)) - `snapshots` (List of Object) (see [below for nested schema](#nestedatt--snapshots))
- `status` (String) - `status` (String)
- `tech_status` (String) - `tech_status` (String)
- `type` (String) - `type` (String)
- `updated_by` (String)
- `updated_time` (Number)
- `vmid` (Number) - `vmid` (Number)
<a id="nestedblock--timeouts"></a> <a id="nestedblock--timeouts"></a>

@ -57,7 +57,9 @@ Read-Only:
- `acl` (String) - `acl` (String)
- `boot_partition` (Number) - `boot_partition` (Number)
- `computes` (List of Object) (see [below for nested schema](#nestedobjatt--items--computes)) - `computes` (List of Object) (see [below for nested schema](#nestedobjatt--items--computes))
- `created_by` (String)
- `created_time` (Number) - `created_time` (Number)
- `deleted_by` (String)
- `deleted_time` (Number) - `deleted_time` (Number)
- `desc` (String) - `desc` (String)
- `destruction_time` (Number) - `destruction_time` (Number)
@ -81,7 +83,7 @@ Read-Only:
- `passwd` (String) - `passwd` (String)
- `pci_slot` (Number) - `pci_slot` (Number)
- `pool` (String) - `pool` (String)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `purge_attempts` (Number) - `purge_attempts` (Number)
- `purge_time` (Number) - `purge_time` (Number)
- `reality_device_number` (Number) - `reality_device_number` (Number)
@ -93,12 +95,15 @@ Read-Only:
- `sep_id` (Number) - `sep_id` (Number)
- `sep_type` (String) - `sep_type` (String)
- `shareable` (Boolean) - `shareable` (Boolean)
- `size_available` (Number)
- `size_max` (Number) - `size_max` (Number)
- `size_used` (Number) - `size_used` (Number)
- `snapshots` (List of Object) (see [below for nested schema](#nestedobjatt--items--snapshots)) - `snapshots` (List of Object) (see [below for nested schema](#nestedobjatt--items--snapshots))
- `status` (String) - `status` (String)
- `tech_status` (String) - `tech_status` (String)
- `type` (String) - `type` (String)
- `updated_by` (String)
- `updated_time` (Number)
- `vmid` (Number) - `vmid` (Number)
<a id="nestedobjatt--items--computes"></a> <a id="nestedobjatt--items--computes"></a>

@ -54,7 +54,9 @@ Read-Only:
- `acl` (String) - `acl` (String)
- `boot_partition` (Number) - `boot_partition` (Number)
- `computes` (List of Object) (see [below for nested schema](#nestedobjatt--items--computes)) - `computes` (List of Object) (see [below for nested schema](#nestedobjatt--items--computes))
- `created_by` (String)
- `created_time` (Number) - `created_time` (Number)
- `deleted_by` (String)
- `deleted_time` (Number) - `deleted_time` (Number)
- `desc` (String) - `desc` (String)
- `destruction_time` (Number) - `destruction_time` (Number)
@ -78,7 +80,7 @@ Read-Only:
- `passwd` (String) - `passwd` (String)
- `pci_slot` (Number) - `pci_slot` (Number)
- `pool` (String) - `pool` (String)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `purge_attempts` (Number) - `purge_attempts` (Number)
- `purge_time` (Number) - `purge_time` (Number)
- `reality_device_number` (Number) - `reality_device_number` (Number)
@ -90,12 +92,15 @@ Read-Only:
- `sep_id` (Number) - `sep_id` (Number)
- `sep_type` (String) - `sep_type` (String)
- `shareable` (Boolean) - `shareable` (Boolean)
- `size_available` (Number)
- `size_max` (Number) - `size_max` (Number)
- `size_used` (Number) - `size_used` (Number)
- `snapshots` (List of Object) (see [below for nested schema](#nestedobjatt--items--snapshots)) - `snapshots` (List of Object) (see [below for nested schema](#nestedobjatt--items--snapshots))
- `status` (String) - `status` (String)
- `tech_status` (String) - `tech_status` (String)
- `type` (String) - `type` (String)
- `updated_by` (String)
- `updated_time` (Number)
- `vmid` (Number) - `vmid` (Number)
<a id="nestedobjatt--items--computes"></a> <a id="nestedobjatt--items--computes"></a>

@ -77,7 +77,7 @@ Read-Only:
- `passwd` (String) - `passwd` (String)
- `pci_slot` (Number) - `pci_slot` (Number)
- `pool` (String) - `pool` (String)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `purge_attempts` (Number) - `purge_attempts` (Number)
- `purge_time` (Number) - `purge_time` (Number)
- `reality_device_number` (Number) - `reality_device_number` (Number)

@ -53,7 +53,7 @@ description: |-
- `passwd` (String) - `passwd` (String)
- `pci_slot` (Number) - `pci_slot` (Number)
- `pool` (String) - `pool` (String)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `purge_attempts` (Number) - `purge_attempts` (Number)
- `purge_time` (Number) - `purge_time` (Number)
- `reality_device_number` (Number) - `reality_device_number` (Number)

@ -43,6 +43,7 @@ description: |-
- `name` (String) - `name` (String)
- `network` (String) - `network` (String)
- `network_id` (Number) - `network_id` (Number)
- `ntp` (List of String)
- `ovs_bridge` (String) - `ovs_bridge` (String)
- `pre_reservations_num` (Number) - `pre_reservations_num` (Number)
- `prefix` (Number) - `prefix` (Number)
@ -93,6 +94,7 @@ Read-Only:
Read-Only: Read-Only:
- `account_id` (Number)
- `client_type` (String) - `client_type` (String)
- `desc` (String) - `desc` (String)
- `domain_name` (String) - `domain_name` (String)

@ -0,0 +1,61 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_extnet_reserved_ip_list Data Source - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_extnet_reserved_ip_list (Data Source)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `account_id` (Number)
### Optional
- `extnet_id` (Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `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:
- `extnet_id` (Number)
- `reservations` (List of Object) (see [below for nested schema](#nestedobjatt--items--reservations))
<a id="nestedobjatt--items--reservations"></a>
### Nested Schema for `items.reservations`
Read-Only:
- `account_id` (Number)
- `client_type` (String)
- `domain_name` (String)
- `hostname` (String)
- `ip` (String)
- `mac` (String)
- `type` (String)
- `vm_id` (Number)

@ -17,6 +17,7 @@ description: |-
### Required ### Required
- `file_path` (String)
- `gid` (Number) - `gid` (Number)
### Optional ### Optional
@ -25,7 +26,6 @@ description: |-
### Read-Only ### Read-Only
- `diagnosis` (String)
- `id` (String) The ID of this resource. - `id` (String) The ID of this resource.
<a id="nestedblock--timeouts"></a> <a id="nestedblock--timeouts"></a>

@ -50,7 +50,7 @@ description: |-
- `network_interface_naming` (String) - `network_interface_naming` (String)
- `password` (String) Optional password for the image - `password` (String) Optional password for the image
- `pool_name` (String) pool for image create - `pool_name` (String) pool for image create
- `present_to` (List of Number) - `present_to` (Map of Number)
- `provider_name` (String) - `provider_name` (String)
- `purge_attempts` (Number) - `purge_attempts` (Number)
- `reference_id` (String) - `reference_id` (String)
@ -59,6 +59,7 @@ description: |-
- `rescuecd` (Boolean) - `rescuecd` (Boolean)
- `sep_id` (Number) storage endpoint provider ID - `sep_id` (Number) storage endpoint provider ID
- `size` (Number) image size - `size` (Number) image size
- `snapshot_id` (String) snapshot id
- `status` (String) status - `status` (String) status
- `tech_status` (String) tech atatus - `tech_status` (String) tech atatus
- `unc_path` (String) unc path - `unc_path` (String) unc path

@ -79,7 +79,7 @@ Read-Only:
- `network_interface_naming` (String) - `network_interface_naming` (String)
- `password` (String) - `password` (String)
- `pool_name` (String) - `pool_name` (String)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `provider_name` (String) - `provider_name` (String)
- `purge_attempts` (Number) - `purge_attempts` (Number)
- `reference_id` (String) - `reference_id` (String)
@ -89,6 +89,7 @@ Read-Only:
- `sep_id` (Number) - `sep_id` (Number)
- `shared_with` (List of Number) - `shared_with` (List of Number)
- `size` (Number) - `size` (Number)
- `snapshot_id` (String)
- `status` (String) - `status` (String)
- `tech_status` (String) - `tech_status` (String)
- `unc_path` (String) - `unc_path` (String)

@ -65,7 +65,6 @@ Read-Only:
- `images` (List of Number) - `images` (List of Number)
- `login` (String) - `login` (String)
- `mem_allocation_ratio` (Number) - `mem_allocation_ratio` (Number)
- `meta` (List of String)
- `name` (String) - `name` (String)
- `packages` (List of Object) (see [below for nested schema](#nestedobjatt--items--packages)) - `packages` (List of Object) (see [below for nested schema](#nestedobjatt--items--packages))
- `passwd` (String) - `passwd` (String)

@ -33,9 +33,11 @@ description: |-
- `affinity_weight` (Number) - `affinity_weight` (Number)
- `anti_affinity_rules` (List of Object) (see [below for nested schema](#nestedatt--anti_affinity_rules)) - `anti_affinity_rules` (List of Object) (see [below for nested schema](#nestedatt--anti_affinity_rules))
- `arch` (String) - `arch` (String)
- `auto_start_w_node` (Boolean)
- `boot_disk_id` (Number) - `boot_disk_id` (Number)
- `boot_disk_size` (Number) - `boot_disk_size` (Number)
- `boot_order` (List of String) - `boot_order` (List of String)
- `boot_type` (String)
- `cd_image_id` (Number) - `cd_image_id` (Number)
- `chipset` (String) - `chipset` (String)
- `clone_reference` (Number) - `clone_reference` (Number)
@ -54,11 +56,13 @@ description: |-
- `driver` (String) - `driver` (String)
- `gid` (Number) - `gid` (Number)
- `guid` (Number) - `guid` (Number)
- `hot_resize` (Boolean)
- `hp_backed` (Boolean) - `hp_backed` (Boolean)
- `id` (String) The ID of this resource. - `id` (String) The ID of this resource.
- `image_id` (Number) - `image_id` (Number)
- `image_name` (String) - `image_name` (String)
- `interfaces` (List of Object) (see [below for nested schema](#nestedatt--interfaces)) - `interfaces` (List of Object) (see [below for nested schema](#nestedatt--interfaces))
- `loader_type` (String)
- `lock_status` (String) - `lock_status` (String)
- `manager_id` (Number) - `manager_id` (Number)
- `manager_type` (String) - `manager_type` (String)
@ -71,12 +75,14 @@ description: |-
- `natable_vins_network` (String) - `natable_vins_network` (String)
- `natable_vins_network_name` (String) - `natable_vins_network_name` (String)
- `need_reboot` (Boolean) - `need_reboot` (Boolean)
- `network_interface_naming` (String)
- `numa_affinity` (String) - `numa_affinity` (String)
- `numa_node_id` (Number) - `numa_node_id` (Number)
- `os_users` (List of Object) (see [below for nested schema](#nestedatt--os_users)) - `os_users` (List of Object) (see [below for nested schema](#nestedatt--os_users))
- `pci_devices` (List of Number) - `pci_devices` (List of Number)
- `pinned` (Boolean) - `pinned` (Number)
- `pool` (String) - `pool` (String)
- `preferred_cpu` (List of Number)
- `ram` (Number) - `ram` (Number)
- `reference_id` (String) - `reference_id` (String)
- `registered` (Boolean) - `registered` (Boolean)
@ -97,9 +103,10 @@ description: |-
- `updated_time` (Number) - `updated_time` (Number)
- `user_data` (String) - `user_data` (String)
- `user_managed` (Boolean) - `user_managed` (Boolean)
- `vgpus` (List of Number) - `vgpus` (List of Object) List of virtual GPUs (see [below for nested schema](#nestedatt--vgpus))
- `virtual_image_id` (Number) - `virtual_image_id` (Number)
- `virtual_image_name` (String) - `virtual_image_name` (String)
- `vnc_password` (String)
<a id="nestedblock--timeouts"></a> <a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts` ### Nested Schema for `timeouts`
@ -180,7 +187,7 @@ Read-Only:
- `passwd` (String) - `passwd` (String)
- `pci_slot` (Number) - `pci_slot` (Number)
- `pool` (String) - `pool` (String)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `purge_attempts` (Number) - `purge_attempts` (Number)
- `purge_time` (Number) - `purge_time` (Number)
- `reality_device_number` (Number) - `reality_device_number` (Number)
@ -191,6 +198,7 @@ Read-Only:
- `role` (String) - `role` (String)
- `sep_id` (Number) - `sep_id` (Number)
- `shareable` (Boolean) - `shareable` (Boolean)
- `size_available` (Number)
- `size_max` (Number) - `size_max` (Number)
- `size_used` (Number) - `size_used` (Number)
- `snapshots` (List of Object) (see [below for nested schema](#nestedobjatt--disks--snapshots)) - `snapshots` (List of Object) (see [below for nested schema](#nestedobjatt--disks--snapshots))
@ -329,3 +337,29 @@ Read-Only:
- `key` (String) - `key` (String)
- `val` (String) - `val` (String)
<a id="nestedatt--vgpus"></a>
### Nested Schema for `vgpus`
Read-Only:
- `account_id` (Number)
- `bus_number` (Number)
- `created_time` (Number)
- `deleted_time` (Number)
- `gid` (Number)
- `guid` (Number)
- `id` (Number)
- `last_claimed_by` (Number)
- `last_update_time` (Number)
- `mode` (String)
- `pci_slot` (Number)
- `pgpuid` (Number)
- `profile_id` (Number)
- `ram` (Number)
- `reference_id` (String)
- `rg_id` (Number)
- `status` (String)
- `type` (String)
- `vmid` (Number)

@ -19,6 +19,7 @@ description: |-
- `account_id` (Number) Find by AccountID - `account_id` (Number) Find by AccountID
- `by_id` (Number) Find by ID - `by_id` (Number) Find by ID
- `cd_image_id` (Number) Find by CD image ID
- `extnet_id` (Number) Find by Extnet ID - `extnet_id` (Number) Find by Extnet ID
- `extnet_name` (String) Find by Extnet name - `extnet_name` (String) Find by Extnet name
- `ignore_k8s` (Boolean) If set to true, ignores any VMs associated with any k8s cluster - `ignore_k8s` (Boolean) If set to true, ignores any VMs associated with any k8s cluster
@ -32,6 +33,7 @@ description: |-
- `size` (Number) - `size` (Number)
- `sort_by` (String) sort by one of supported fields, format +|-(field) - `sort_by` (String) sort by one of supported fields, format +|-(field)
- `stack_id` (Number) Find by stack ID - `stack_id` (Number) Find by stack ID
- `stack_name` (String) Find by node name.
- `status` (String) Find by status - `status` (String) Find by status
- `tech_status` (String) Find by tech status - `tech_status` (String) Find by tech status
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
@ -64,7 +66,9 @@ Read-Only:
- `affinity_weight` (Number) - `affinity_weight` (Number)
- `anti_affinity_rules` (List of Object) (see [below for nested schema](#nestedobjatt--items--anti_affinity_rules)) - `anti_affinity_rules` (List of Object) (see [below for nested schema](#nestedobjatt--items--anti_affinity_rules))
- `arch` (String) - `arch` (String)
- `auto_start_w_node` (Boolean)
- `boot_order` (List of String) - `boot_order` (List of String)
- `boot_type` (String)
- `bootdisk_size` (Number) - `bootdisk_size` (Number)
- `cd_image_id` (Number) - `cd_image_id` (Number)
- `chipset` (String) - `chipset` (String)
@ -85,9 +89,11 @@ Read-Only:
- `driver` (String) - `driver` (String)
- `gid` (Number) - `gid` (Number)
- `guid` (Number) - `guid` (Number)
- `hot_resize` (Boolean)
- `hp_backed` (Boolean) - `hp_backed` (Boolean)
- `image_id` (Number) - `image_id` (Number)
- `interfaces` (List of Object) (see [below for nested schema](#nestedobjatt--items--interfaces)) - `interfaces` (List of Object) (see [below for nested schema](#nestedobjatt--items--interfaces))
- `loader_type` (String)
- `lock_status` (String) - `lock_status` (String)
- `manager_id` (Number) - `manager_id` (Number)
- `manager_type` (String) - `manager_type` (String)
@ -95,10 +101,13 @@ Read-Only:
- `milestones` (Number) - `milestones` (Number)
- `name` (String) - `name` (String)
- `need_reboot` (Boolean) - `need_reboot` (Boolean)
- `network_interface_naming` (String)
- `nid` (Number)
- `numa_affinity` (String) - `numa_affinity` (String)
- `numa_node_id` (Number) - `numa_node_id` (Number)
- `os_users` (List of Object) (see [below for nested schema](#nestedobjatt--items--os_users)) - `os_users` (List of Object) (see [below for nested schema](#nestedobjatt--items--os_users))
- `pinned` (Boolean) - `pinned` (Number)
- `preferred_cpu` (List of Number)
- `ram` (Number) - `ram` (Number)
- `reference_id` (String) - `reference_id` (String)
- `registered` (Boolean) - `registered` (Boolean)
@ -108,6 +117,7 @@ Read-Only:
- `rg_name` (String) - `rg_name` (String)
- `snap_sets` (List of Object) (see [below for nested schema](#nestedobjatt--items--snap_sets)) - `snap_sets` (List of Object) (see [below for nested schema](#nestedobjatt--items--snap_sets))
- `stack_id` (Number) - `stack_id` (Number)
- `stack_name` (String)
- `stateless_sep_id` (Number) - `stateless_sep_id` (Number)
- `stateless_sep_type` (String) - `stateless_sep_type` (String)
- `status` (String) - `status` (String)

@ -60,9 +60,12 @@ Read-Only:
- `affinity_weight` (Number) - `affinity_weight` (Number)
- `anti_affinity_rules` (List of Object) (see [below for nested schema](#nestedobjatt--items--anti_affinity_rules)) - `anti_affinity_rules` (List of Object) (see [below for nested schema](#nestedobjatt--items--anti_affinity_rules))
- `arch` (String) - `arch` (String)
- `auto_start_w_node` (Boolean)
- `boot_order` (List of String) - `boot_order` (List of String)
- `boot_type` (String)
- `bootdisk_size` (Number) - `bootdisk_size` (Number)
- `cd_image_id` (Number) - `cd_image_id` (Number)
- `chipset` (String)
- `clone_reference` (Number) - `clone_reference` (Number)
- `clones` (List of Number) - `clones` (List of Number)
- `compute_id` (Number) - `compute_id` (Number)
@ -80,9 +83,11 @@ Read-Only:
- `driver` (String) - `driver` (String)
- `gid` (Number) - `gid` (Number)
- `guid` (Number) - `guid` (Number)
- `hot_resize` (Boolean)
- `hp_backed` (Boolean) - `hp_backed` (Boolean)
- `image_id` (Number) - `image_id` (Number)
- `interfaces` (List of Object) (see [below for nested schema](#nestedobjatt--items--interfaces)) - `interfaces` (List of Object) (see [below for nested schema](#nestedobjatt--items--interfaces))
- `loader_type` (String)
- `lock_status` (String) - `lock_status` (String)
- `manager_id` (Number) - `manager_id` (Number)
- `manager_type` (String) - `manager_type` (String)
@ -90,10 +95,12 @@ Read-Only:
- `milestones` (Number) - `milestones` (Number)
- `name` (String) - `name` (String)
- `need_reboot` (Boolean) - `need_reboot` (Boolean)
- `network_interface_naming` (String)
- `numa_affinity` (String) - `numa_affinity` (String)
- `numa_node_id` (Number) - `numa_node_id` (Number)
- `os_users` (List of Object) (see [below for nested schema](#nestedobjatt--items--os_users)) - `os_users` (List of Object) (see [below for nested schema](#nestedobjatt--items--os_users))
- `pinned` (Boolean) - `pinned` (Number)
- `preferred_cpu` (List of Number)
- `ram` (Number) - `ram` (Number)
- `reference_id` (String) - `reference_id` (String)
- `registered` (Boolean) - `registered` (Boolean)
@ -103,6 +110,7 @@ Read-Only:
- `rg_name` (String) - `rg_name` (String)
- `snap_sets` (List of Object) (see [below for nested schema](#nestedobjatt--items--snap_sets)) - `snap_sets` (List of Object) (see [below for nested schema](#nestedobjatt--items--snap_sets))
- `stack_id` (Number) - `stack_id` (Number)
- `stack_name` (String)
- `stateless_sep_id` (Number) - `stateless_sep_id` (Number)
- `stateless_sep_type` (String) - `stateless_sep_type` (String)
- `status` (String) - `status` (String)
@ -170,6 +178,7 @@ Read-Only:
Read-Only: Read-Only:
- `bus_number` (Number)
- `conn_id` (Number) - `conn_id` (Number)
- `conn_type` (String) - `conn_type` (String)
- `def_gw` (String) - `def_gw` (String)
@ -177,8 +186,10 @@ Read-Only:
- `flip_group_id` (Number) - `flip_group_id` (Number)
- `guid` (String) - `guid` (String)
- `ip_address` (String) - `ip_address` (String)
- `libvirt_settings` (List of Object) (see [below for nested schema](#nestedobjatt--items--interfaces--libvirt_settings))
- `listen_ssh` (Boolean) - `listen_ssh` (Boolean)
- `mac` (String) - `mac` (String)
- `mtu` (Number)
- `name` (String) - `name` (String)
- `net_id` (Number) - `net_id` (Number)
- `net_type` (String) - `net_type` (String)
@ -190,6 +201,20 @@ Read-Only:
- `type` (String) - `type` (String)
- `vnfs` (List of Number) - `vnfs` (List of Number)
<a id="nestedobjatt--items--interfaces--libvirt_settings"></a>
### Nested Schema for `items.interfaces.libvirt_settings`
Read-Only:
- `event_idx` (String)
- `guid` (String)
- `ioeventfd` (String)
- `queues` (Number)
- `rx_queue_size` (Number)
- `tx_queue_size` (Number)
- `txmode` (String)
<a id="nestedobjatt--items--interfaces--qos"></a> <a id="nestedobjatt--items--interfaces--qos"></a>
### Nested Schema for `items.interfaces.qos` ### Nested Schema for `items.interfaces.qos`

@ -28,12 +28,15 @@ description: |-
- `consumption` (List of Object) (see [below for nested schema](#nestedatt--consumption)) - `consumption` (List of Object) (see [below for nested schema](#nestedatt--consumption))
- `cpu_allocation_ratio` (Number) - `cpu_allocation_ratio` (Number)
- `cpu_info` (List of Object) (see [below for nested schema](#nestedatt--cpu_info)) - `cpu_info` (List of Object) (see [below for nested schema](#nestedatt--cpu_info))
- `dpdk` (List of Object) (see [below for nested schema](#nestedatt--dpdk))
- `gid` (Number) - `gid` (Number)
- `id` (String) The ID of this resource. - `id` (String) The ID of this resource.
- `ipaddr` (List of String) - `ipaddr` (List of String)
- `isolated_cpus` (List of String) - `isolated_cpus` (List of String)
- `name` (String) - `name` (String)
- `need_reboot` (Boolean) - `need_reboot` (Boolean)
- `net_addr` (List of Object) (see [below for nested schema](#nestedatt--net_addr))
- `network_mode` (String)
- `nic_info` (List of Object) (see [below for nested schema](#nestedatt--nic_info)) - `nic_info` (List of Object) (see [below for nested schema](#nestedatt--nic_info))
- `numa_topology` (List of Object) (see [below for nested schema](#nestedatt--numa_topology)) - `numa_topology` (List of Object) (see [below for nested schema](#nestedatt--numa_topology))
- `reserved_cpus` (List of String) - `reserved_cpus` (List of String)
@ -41,6 +44,10 @@ description: |-
- `sriov_enabled` (Boolean) - `sriov_enabled` (Boolean)
- `stack_id` (Number) - `stack_id` (Number)
- `status` (String) - `status` (String)
- `to_active` (List of Object) (see [below for nested schema](#nestedatt--to_active))
- `to_installing` (List of Object) (see [below for nested schema](#nestedatt--to_installing))
- `to_maintenance` (List of Object) (see [below for nested schema](#nestedatt--to_maintenance))
- `to_restricted` (List of Object) (see [below for nested schema](#nestedatt--to_restricted))
- `version` (String) - `version` (String)
<a id="nestedblock--timeouts"></a> <a id="nestedblock--timeouts"></a>
@ -109,6 +116,42 @@ Read-Only:
- `phys_count` (Number) - `phys_count` (Number)
<a id="nestedatt--dpdk"></a>
### Nested Schema for `dpdk`
Read-Only:
- `bridges` (List of Object) (see [below for nested schema](#nestedobjatt--dpdk--bridges))
- `hp_memory` (Map of Number)
- `pmd_cpu` (List of Number)
<a id="nestedobjatt--dpdk--bridges"></a>
### Nested Schema for `dpdk.bridges`
Read-Only:
- `backplane1` (List of Object) (see [below for nested schema](#nestedobjatt--dpdk--bridges--backplane1))
<a id="nestedobjatt--dpdk--bridges--backplane1"></a>
### Nested Schema for `dpdk.bridges.backplane1`
Read-Only:
- `interfaces` (List of String)
- `numa_node` (Number)
<a id="nestedatt--net_addr"></a>
### Nested Schema for `net_addr`
Read-Only:
- `ip` (List of String)
- `name` (String)
<a id="nestedatt--nic_info"></a> <a id="nestedatt--nic_info"></a>
### Nested Schema for `nic_info` ### Nested Schema for `nic_info`
@ -156,3 +199,45 @@ Read-Only:
- `one_g` (Number) - `one_g` (Number)
- `total` (Number) - `total` (Number)
- `two_m` (Number) - `two_m` (Number)
<a id="nestedatt--to_active"></a>
### Nested Schema for `to_active`
Read-Only:
- `actor` (String)
- `reason` (String)
- `time` (Number)
<a id="nestedatt--to_installing"></a>
### Nested Schema for `to_installing`
Read-Only:
- `actor` (String)
- `reason` (String)
- `time` (Number)
<a id="nestedatt--to_maintenance"></a>
### Nested Schema for `to_maintenance`
Read-Only:
- `actor` (String)
- `reason` (String)
- `time` (Number)
<a id="nestedatt--to_restricted"></a>
### Nested Schema for `to_restricted`
Read-Only:
- `actor` (String)
- `reason` (String)
- `time` (Number)

@ -52,6 +52,7 @@ Read-Only:
- `additional_pkgs` (List of String) - `additional_pkgs` (List of String)
- `cpu_info` (List of Object) (see [below for nested schema](#nestedobjatt--items--cpu_info)) - `cpu_info` (List of Object) (see [below for nested schema](#nestedobjatt--items--cpu_info))
- `description` (String) - `description` (String)
- `dpdk` (List of Object) (see [below for nested schema](#nestedobjatt--items--dpdk))
- `gid` (Number) - `gid` (Number)
- `guid` (String) - `guid` (String)
- `hostkey` (String) - `hostkey` (String)
@ -86,6 +87,7 @@ Read-Only:
- `status` (String) - `status` (String)
- `tags` (List of String) - `tags` (List of String)
- `type` (String) - `type` (String)
- `uefi_firmware_file` (String)
- `version` (String) - `version` (String)
<a id="nestedobjatt--items--cpu_info"></a> <a id="nestedobjatt--items--cpu_info"></a>
@ -98,6 +100,33 @@ Read-Only:
- `phys_count` (Number) - `phys_count` (Number)
<a id="nestedobjatt--items--dpdk"></a>
### Nested Schema for `items.dpdk`
Read-Only:
- `bridges` (List of Object) (see [below for nested schema](#nestedobjatt--items--dpdk--bridges))
- `hp_memory` (Map of Number)
- `pmd_cpu` (List of Number)
<a id="nestedobjatt--items--dpdk--bridges"></a>
### Nested Schema for `items.dpdk.bridges`
Read-Only:
- `backplane1` (List of Object) (see [below for nested schema](#nestedobjatt--items--dpdk--bridges--backplane1))
<a id="nestedobjatt--items--dpdk--bridges--backplane1"></a>
### Nested Schema for `items.dpdk.bridges.backplane1`
Read-Only:
- `interfaces` (List of String)
- `numa_node` (Number)
<a id="nestedobjatt--items--net_addr"></a> <a id="nestedobjatt--items--net_addr"></a>
### Nested Schema for `items.net_addr` ### Nested Schema for `items.net_addr`

@ -46,7 +46,6 @@ description: |-
- `lock_status` (String) - `lock_status` (String)
- `milestones` (Number) - `milestones` (Number)
- `name` (String) - `name` (String)
- `register_computes` (Boolean)
- `resource_limits` (List of Object) (see [below for nested schema](#nestedatt--resource_limits)) - `resource_limits` (List of Object) (see [below for nested schema](#nestedatt--resource_limits))
- `resource_types` (List of String) - `resource_types` (List of String)
- `secret` (String) - `secret` (String)

@ -70,7 +70,6 @@ Read-Only:
- `lock_status` (String) - `lock_status` (String)
- `milestones` (Number) - `milestones` (Number)
- `name` (String) - `name` (String)
- `register_computes` (Boolean)
- `resource_limits` (List of Object) (see [below for nested schema](#nestedobjatt--items--resource_limits)) - `resource_limits` (List of Object) (see [below for nested schema](#nestedobjatt--items--resource_limits))
- `resource_types` (List of String) - `resource_types` (List of String)
- `rg_id` (Number) - `rg_id` (Number)

@ -68,7 +68,6 @@ Read-Only:
- `lock_status` (String) - `lock_status` (String)
- `milestones` (Number) - `milestones` (Number)
- `name` (String) - `name` (String)
- `register_computes` (Boolean)
- `resource_limits` (List of Object) (see [below for nested schema](#nestedobjatt--items--resource_limits)) - `resource_limits` (List of Object) (see [below for nested schema](#nestedobjatt--items--resource_limits))
- `resource_types` (List of String) - `resource_types` (List of String)
- `rg_id` (Number) - `rg_id` (Number)

@ -25,15 +25,14 @@ description: |-
### Read-Only ### Read-Only
- `ckey` (String) ckey
- `config` (String) config - `config` (String) config
- `consumed_by` (Set of Number) consumed by - `consumed_by` (Set of Number) consumed by
- `desc` (String) description - `desc` (String) description
- `gid` (Number) gid - `gid` (Number) gid
- `guid` (Number) guid - `guid` (Number) guid
- `id` (String) The ID of this resource. - `id` (String) The ID of this resource.
- `meta` (List of String) meta
- `milestones` (Number) milestones - `milestones` (Number) milestones
- `multipath_num` (Number) multipath_num
- `name` (String) name - `name` (String) name
- `obj_status` (String) object status - `obj_status` (String) object status
- `provided_by` (List of Number) provided by - `provided_by` (List of Number) provided by

@ -0,0 +1,59 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_sep_and_pools_available_list Data Source - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_sep_and_pools_available_list (Data Source)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `account_id` (Number) Account ID
### Optional
- `rg_id` (Number) Resource group ID
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `entry_count` (Number) Number of available SEP entries
- `id` (String) The ID of this resource.
- `items` (List of Object) List of available SEPs (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)
- `sep_type` (String)
<a id="nestedobjatt--items--pools"></a>
### Nested Schema for `items.pools`
Read-Only:
- `name` (String)
- `system` (Boolean)
- `types` (List of String)

@ -49,14 +49,13 @@ Optional:
Read-Only: Read-Only:
- `ckey` (String)
- `config` (String) - `config` (String)
- `consumed_by` (Set of Number) - `consumed_by` (Set of Number)
- `desc` (String) - `desc` (String)
- `gid` (Number) - `gid` (Number)
- `guid` (Number) - `guid` (Number)
- `meta` (List of String)
- `milestones` (Number) - `milestones` (Number)
- `multipath_num` (Number)
- `name` (String) - `name` (String)
- `obj_status` (String) - `obj_status` (String)
- `provided_by` (List of Number) - `provided_by` (List of Number)

@ -1,12 +1,12 @@
--- ---
# generated by https://github.com/hashicorp/terraform-plugin-docs # generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_grid_post_diagnosis Data Source - terraform-provider-decort" page_title: "decort_cb_sep_template Data Source - terraform-provider-decort"
subcategory: "" subcategory: ""
description: |- description: |-
--- ---
# decort_cb_grid_post_diagnosis (Data Source) # decort_cb_sep_template (Data Source)
@ -17,7 +17,8 @@ description: |-
### Required ### Required
- `gid` (Number) - `lang` (String) language
- `sep_type` (String) type of sep
### Optional ### Optional
@ -25,8 +26,8 @@ description: |-
### Read-Only ### Read-Only
- `diagnosis` (String)
- `id` (String) The ID of this resource. - `id` (String) The ID of this resource.
- `sep_template` (String)
<a id="nestedblock--timeouts"></a> <a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts` ### Nested Schema for `timeouts`

@ -101,6 +101,7 @@ Read-Only:
- `tech_status` (String) - `tech_status` (String)
- `type` (String) - `type` (String)
- `vins` (List of Number) - `vins` (List of Number)
- `vnc_password` (String)
<a id="nestedobjatt--vnf_dev--config"></a> <a id="nestedobjatt--vnf_dev--config"></a>
### Nested Schema for `vnf_dev.config` ### Nested Schema for `vnf_dev.config`
@ -240,10 +241,7 @@ Read-Only:
Read-Only: Read-Only:
- `client_type` (String) - `account_id` (Number)
- `description` (String)
- `domain_name` (String)
- `host_name` (String)
- `ip` (String) - `ip` (String)
- `mac` (String) - `mac` (String)
- `type` (String) - `type` (String)

@ -27,6 +27,7 @@ description: |-
- `rg_id` (Number) Find by rg id - `rg_id` (Number) Find by rg id
- `size` (Number) Page size - `size` (Number) Page size
- `sort_by` (String) sort by one of supported fields, format +|-(field) - `sort_by` (String) sort by one of supported fields, format +|-(field)
- `status` (String) sort by status
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `vnfdev_id` (Number) find by VNF Device id - `vnfdev_id` (Number) find by VNF Device id

@ -29,7 +29,9 @@ description: |-
- `account_name` (String) The name of the subscriber '(account') to whom this disk belongs - `account_name` (String) The name of the subscriber '(account') to whom this disk belongs
- `acl` (String) - `acl` (String)
- `computes` (List of Object) (see [below for nested schema](#nestedatt--computes)) - `computes` (List of Object) (see [below for nested schema](#nestedatt--computes))
- `created_by` (String)
- `created_time` (Number) Created time - `created_time` (Number) Created time
- `deleted_by` (String)
- `deleted_time` (Number) Deleted time - `deleted_time` (Number) Deleted time
- `desc` (String) Description of disk - `desc` (String) Description of disk
- `destruction_time` (Number) Time of final deletion - `destruction_time` (Number) Time of final deletion
@ -40,12 +42,15 @@ description: |-
- `image_id` (Number) Image ID - `image_id` (Number) Image ID
- `images` (List of String) IDs of images using the disk - `images` (List of String) IDs of images using the disk
- `iotune` (List of Object) (see [below for nested schema](#nestedatt--iotune)) - `iotune` (List of Object) (see [below for nested schema](#nestedatt--iotune))
- `machine_id` (Number)
- `machine_name` (String)
- `milestones` (Number) Milestones
- `order` (Number) Disk order - `order` (Number) Disk order
- `params` (String) Disk params - `params` (String) Disk params
- `parent_id` (Number) ID of the parent disk - `parent_id` (Number) ID of the parent disk
- `pci_slot` (Number) ID of the pci slot to which the disk is connected - `pci_slot` (Number) ID of the pci slot to which the disk is connected
- `pool` (String) Pool for disk location - `pool` (String) Pool for disk location
- `present_to` (List of Number) - `present_to` (Map of Number)
- `purge_time` (Number) Time of the last deletion attempt - `purge_time` (Number) Time of the last deletion attempt
- `replication` (List of Object) Replication status (see [below for nested schema](#nestedatt--replication)) - `replication` (List of Object) Replication status (see [below for nested schema](#nestedatt--replication))
- `res_id` (String) Resource ID - `res_id` (String) Resource ID
@ -54,12 +59,15 @@ description: |-
- `sep_id` (Number) Storage endpoint provider ID to create disk - `sep_id` (Number) Storage endpoint provider ID to create disk
- `sep_type` (String) Type SEP. Defines the type of storage system and contains one of the values set in the cloud platform - `sep_type` (String) Type SEP. Defines the type of storage system and contains one of the values set in the cloud platform
- `shareable` (Boolean) - `shareable` (Boolean)
- `size_available` (Number)
- `size_max` (Number) Size in GB - `size_max` (Number) Size in GB
- `size_used` (Number) Number of used space, in GB - `size_used` (Number) Number of used space, in GB
- `snapshots` (List of Object) (see [below for nested schema](#nestedatt--snapshots)) - `snapshots` (List of Object) (see [below for nested schema](#nestedatt--snapshots))
- `status` (String) Disk status - `status` (String) Disk status
- `tech_status` (String) Technical status of the disk - `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' - `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) - `vmid` (Number) Virtual Machine ID (Deprecated)
<a id="nestedblock--timeouts"></a> <a id="nestedblock--timeouts"></a>

@ -56,7 +56,9 @@ Read-Only:
- `account_name` (String) - `account_name` (String)
- `acl` (String) - `acl` (String)
- `computes` (List of Object) (see [below for nested schema](#nestedobjatt--items--computes)) - `computes` (List of Object) (see [below for nested schema](#nestedobjatt--items--computes))
- `created_by` (String)
- `created_time` (Number) - `created_time` (Number)
- `deleted_by` (String)
- `deleted_time` (Number) - `deleted_time` (Number)
- `desc` (String) - `desc` (String)
- `destruction_time` (Number) - `destruction_time` (Number)
@ -69,12 +71,13 @@ Read-Only:
- `iotune` (List of Object) (see [below for nested schema](#nestedobjatt--items--iotune)) - `iotune` (List of Object) (see [below for nested schema](#nestedobjatt--items--iotune))
- `machine_id` (Number) - `machine_id` (Number)
- `machine_name` (String) - `machine_name` (String)
- `milestones` (Number)
- `order` (Number) - `order` (Number)
- `params` (String) - `params` (String)
- `parent_id` (Number) - `parent_id` (Number)
- `pci_slot` (Number) - `pci_slot` (Number)
- `pool` (String) - `pool` (String)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `purge_time` (Number) - `purge_time` (Number)
- `replication` (List of Object) (see [below for nested schema](#nestedobjatt--items--replication)) - `replication` (List of Object) (see [below for nested schema](#nestedobjatt--items--replication))
- `res_id` (String) - `res_id` (String)
@ -83,12 +86,15 @@ Read-Only:
- `sep_id` (Number) - `sep_id` (Number)
- `sep_type` (String) - `sep_type` (String)
- `shareable` (Boolean) - `shareable` (Boolean)
- `size_available` (Number)
- `size_max` (Number) - `size_max` (Number)
- `size_used` (Number) - `size_used` (Number)
- `snapshots` (List of Object) (see [below for nested schema](#nestedobjatt--items--snapshots)) - `snapshots` (List of Object) (see [below for nested schema](#nestedobjatt--items--snapshots))
- `status` (String) - `status` (String)
- `tech_status` (String) - `tech_status` (String)
- `type` (String) - `type` (String)
- `updated_by` (String)
- `updated_time` (Number)
- `vmid` (Number) - `vmid` (Number)
<a id="nestedobjatt--items--computes"></a> <a id="nestedobjatt--items--computes"></a>

@ -53,7 +53,9 @@ Read-Only:
- `account_name` (String) - `account_name` (String)
- `acl` (String) - `acl` (String)
- `computes` (List of Object) (see [below for nested schema](#nestedobjatt--items--computes)) - `computes` (List of Object) (see [below for nested schema](#nestedobjatt--items--computes))
- `created_by` (String)
- `created_time` (Number) - `created_time` (Number)
- `deleted_by` (String)
- `deleted_time` (Number) - `deleted_time` (Number)
- `desc` (String) - `desc` (String)
- `destruction_time` (Number) - `destruction_time` (Number)
@ -66,12 +68,13 @@ Read-Only:
- `iotune` (List of Object) (see [below for nested schema](#nestedobjatt--items--iotune)) - `iotune` (List of Object) (see [below for nested schema](#nestedobjatt--items--iotune))
- `machine_id` (Number) - `machine_id` (Number)
- `machine_name` (String) - `machine_name` (String)
- `milestones` (Number)
- `order` (Number) - `order` (Number)
- `params` (String) - `params` (String)
- `parent_id` (Number) - `parent_id` (Number)
- `pci_slot` (Number) - `pci_slot` (Number)
- `pool` (String) - `pool` (String)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `purge_time` (Number) - `purge_time` (Number)
- `replication` (List of Object) (see [below for nested schema](#nestedobjatt--items--replication)) - `replication` (List of Object) (see [below for nested schema](#nestedobjatt--items--replication))
- `res_id` (String) - `res_id` (String)
@ -80,12 +83,15 @@ Read-Only:
- `sep_id` (Number) - `sep_id` (Number)
- `sep_type` (String) - `sep_type` (String)
- `shareable` (Boolean) - `shareable` (Boolean)
- `size_available` (Number)
- `size_max` (Number) - `size_max` (Number)
- `size_used` (Number) - `size_used` (Number)
- `snapshots` (List of Object) (see [below for nested schema](#nestedobjatt--items--snapshots)) - `snapshots` (List of Object) (see [below for nested schema](#nestedobjatt--items--snapshots))
- `status` (String) - `status` (String)
- `tech_status` (String) - `tech_status` (String)
- `type` (String) - `type` (String)
- `updated_by` (String)
- `updated_time` (Number)
- `vmid` (Number) - `vmid` (Number)
<a id="nestedobjatt--items--computes"></a> <a id="nestedobjatt--items--computes"></a>

@ -46,7 +46,7 @@ description: |-
- `parent_id` (Number) ID of the parent disk - `parent_id` (Number) ID of the parent disk
- `pci_slot` (Number) ID of the pci slot to which the disk is connected - `pci_slot` (Number) ID of the pci slot to which the disk is connected
- `pool` (String) Pool for disk location - `pool` (String) Pool for disk location
- `present_to` (List of Number) - `present_to` (Map of Number)
- `purge_time` (Number) Time of the last deletion attempt - `purge_time` (Number) Time of the last deletion attempt
- `replication` (List of Object) Replication status (see [below for nested schema](#nestedatt--replication)) - `replication` (List of Object) Replication status (see [below for nested schema](#nestedatt--replication))
- `res_id` (String) Resource ID - `res_id` (String) Resource ID

@ -43,6 +43,7 @@ description: |-
- `net_name` (String) - `net_name` (String)
- `network` (String) - `network` (String)
- `network_id` (Number) - `network_id` (Number)
- `ntp` (List of String)
- `pre_reservations_num` (Number) - `pre_reservations_num` (Number)
- `prefix` (Number) - `prefix` (Number)
- `pri_vnf_dev_id` (Number) - `pri_vnf_dev_id` (Number)
@ -90,6 +91,7 @@ Read-Only:
Read-Only: Read-Only:
- `account_id` (Number)
- `client_type` (String) - `client_type` (String)
- `desc` (String) - `desc` (String)
- `domainname` (String) - `domainname` (String)

@ -21,6 +21,7 @@ description: |-
- `by_id` (Number) Find by ID - `by_id` (Number) Find by ID
- `name` (String) Find by name - `name` (String) Find by name
- `network` (String) - `network` (String)
- `ovs_bridge` (String) Name of the openVswitch bridge
- `page` (Number) Page number - `page` (Number) Page number
- `size` (Number) Page size - `size` (Number) Page size
- `sort_by` (String) sort by one of supported fields, format +|-(field) - `sort_by` (String) sort by one of supported fields, format +|-(field)

@ -0,0 +1,61 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_extnet_reserved_ip_list Data Source - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_extnet_reserved_ip_list (Data Source)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `account_id` (Number)
### Optional
- `extnet_id` (Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `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:
- `extnet_id` (Number)
- `reservations` (List of Object) (see [below for nested schema](#nestedobjatt--items--reservations))
<a id="nestedobjatt--items--reservations"></a>
### Nested Schema for `items.reservations`
Read-Only:
- `account_id` (Number)
- `client_type` (String)
- `domain_name` (String)
- `hostname` (String)
- `ip` (String)
- `mac` (String)
- `type` (String)
- `vm_id` (Number)

@ -50,7 +50,7 @@ description: |-
- `network_interface_naming` (String) - `network_interface_naming` (String)
- `password` (String) - `password` (String)
- `pool_name` (String) - `pool_name` (String)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `provider_name` (String) - `provider_name` (String)
- `purge_attempts` (Number) - `purge_attempts` (Number)
- `res_id` (String) - `res_id` (String)
@ -58,6 +58,7 @@ description: |-
- `sep_id` (Number) - `sep_id` (Number)
- `shared_with` (List of Number) - `shared_with` (List of Number)
- `size` (Number) - `size` (Number)
- `snapshot_id` (String)
- `status` (String) - `status` (String)
- `tech_status` (String) - `tech_status` (String)
- `type` (String) - `type` (String)

@ -33,6 +33,7 @@ description: |-
- `created_time` (Number) - `created_time` (Number)
- `deleted_by` (String) - `deleted_by` (String)
- `deleted_time` (Number) - `deleted_time` (Number)
- `desc` (String)
- `extnet_id` (Number) ID of the external network to connect workers to. If omitted network will be chosen by the platfom. - `extnet_id` (Number) ID of the external network to connect workers to. If omitted network will be chosen by the platfom.
- `id` (String) The ID of this resource. - `id` (String) The ID of this resource.
- `k8s_ci_name` (String) - `k8s_ci_name` (String)

@ -33,7 +33,9 @@ description: |-
- `affinity_weight` (Number) - `affinity_weight` (Number)
- `anti_affinity_rules` (List of Object) (see [below for nested schema](#nestedatt--anti_affinity_rules)) - `anti_affinity_rules` (List of Object) (see [below for nested schema](#nestedatt--anti_affinity_rules))
- `arch` (String) - `arch` (String)
- `auto_start_w_node` (Boolean)
- `boot_order` (List of String) - `boot_order` (List of String)
- `boot_type` (String)
- `bootdisk_size` (Number) - `bootdisk_size` (Number)
- `cd_image_id` (Number) - `cd_image_id` (Number)
- `chipset` (String) - `chipset` (String)
@ -53,10 +55,12 @@ description: |-
- `driver` (String) - `driver` (String)
- `gid` (Number) - `gid` (Number)
- `guid` (Number) - `guid` (Number)
- `hot_resize` (Boolean)
- `hp_backed` (Boolean) - `hp_backed` (Boolean)
- `id` (String) The ID of this resource. - `id` (String) The ID of this resource.
- `image_id` (Number) - `image_id` (Number)
- `interfaces` (List of Object) (see [below for nested schema](#nestedatt--interfaces)) - `interfaces` (List of Object) (see [below for nested schema](#nestedatt--interfaces))
- `loader_type` (String)
- `lock_status` (String) - `lock_status` (String)
- `manager_id` (Number) - `manager_id` (Number)
- `manager_type` (String) - `manager_type` (String)
@ -69,11 +73,13 @@ description: |-
- `natable_vins_network` (String) - `natable_vins_network` (String)
- `natable_vins_network_name` (String) - `natable_vins_network_name` (String)
- `need_reboot` (Boolean) - `need_reboot` (Boolean)
- `network_interface_naming` (String)
- `numa_affinity` (String) - `numa_affinity` (String)
- `numa_node_id` (Number) - `numa_node_id` (Number)
- `os_users` (List of Object) (see [below for nested schema](#nestedatt--os_users)) - `os_users` (List of Object) (see [below for nested schema](#nestedatt--os_users))
- `pci_devices` (List of Number) - `pci_devices` (List of Number)
- `pinned` (Boolean) - `pinned` (Boolean)
- `preferred_cpu` (List of Number)
- `ram` (Number) - `ram` (Number)
- `reference_id` (String) - `reference_id` (String)
- `registered` (Boolean) - `registered` (Boolean)
@ -91,9 +97,10 @@ description: |-
- `updated_time` (Number) - `updated_time` (Number)
- `user_managed` (Boolean) - `user_managed` (Boolean)
- `userdata` (String) - `userdata` (String)
- `vgpus` (List of Number) - `vgpus` (List of Object) List of virtual GPUs (see [below for nested schema](#nestedatt--vgpus))
- `virtual_image_id` (Number) - `virtual_image_id` (Number)
- `virtual_image_name` (String) - `virtual_image_name` (String)
- `vnc_password` (String)
<a id="nestedblock--timeouts"></a> <a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts` ### Nested Schema for `timeouts`
@ -211,7 +218,7 @@ Read-Only:
- `passwd` (String) - `passwd` (String)
- `pci_slot` (Number) - `pci_slot` (Number)
- `pool` (String) - `pool` (String)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `purge_time` (Number) - `purge_time` (Number)
- `reality_device_number` (Number) - `reality_device_number` (Number)
- `replication` (List of Object) (see [below for nested schema](#nestedobjatt--disks--replication)) - `replication` (List of Object) (see [below for nested schema](#nestedobjatt--disks--replication))
@ -219,6 +226,7 @@ Read-Only:
- `role` (String) - `role` (String)
- `sep_id` (Number) - `sep_id` (Number)
- `shareable` (Boolean) - `shareable` (Boolean)
- `size_available` (Number)
- `size_max` (Number) - `size_max` (Number)
- `size_used` (Number) - `size_used` (Number)
- `snapshots` (List of Object) (see [below for nested schema](#nestedobjatt--disks--snapshots)) - `snapshots` (List of Object) (see [below for nested schema](#nestedobjatt--disks--snapshots))
@ -349,3 +357,29 @@ Read-Only:
- `guid` (String) - `guid` (String)
- `label` (String) - `label` (String)
- `timestamp` (Number) - `timestamp` (Number)
<a id="nestedatt--vgpus"></a>
### Nested Schema for `vgpus`
Read-Only:
- `account_id` (Number)
- `bus_number` (Number)
- `created_time` (Number)
- `deleted_time` (Number)
- `gid` (Number)
- `guid` (Number)
- `id` (Number)
- `last_claimed_by` (Number)
- `last_update_time` (Number)
- `mode` (String)
- `pci_slot` (Number)
- `pgpuid` (Number)
- `profile_id` (Number)
- `ram` (Number)
- `reference_id` (String)
- `rg_id` (Number)
- `status` (String)
- `type` (String)
- `vmid` (Number)

@ -62,7 +62,9 @@ Read-Only:
- `affinity_weight` (Number) - `affinity_weight` (Number)
- `anti_affinity_rules` (List of Object) (see [below for nested schema](#nestedobjatt--items--anti_affinity_rules)) - `anti_affinity_rules` (List of Object) (see [below for nested schema](#nestedobjatt--items--anti_affinity_rules))
- `arch` (String) - `arch` (String)
- `auto_start_w_node` (Boolean)
- `boot_order` (List of String) - `boot_order` (List of String)
- `boot_type` (String)
- `bootdisk_size` (Number) - `bootdisk_size` (Number)
- `cd_image_id` (Number) - `cd_image_id` (Number)
- `chipset` (String) - `chipset` (String)
@ -83,9 +85,11 @@ Read-Only:
- `driver` (String) - `driver` (String)
- `gid` (Number) - `gid` (Number)
- `guid` (Number) - `guid` (Number)
- `hot_resize` (Boolean)
- `hp_backed` (Boolean) - `hp_backed` (Boolean)
- `image_id` (Number) - `image_id` (Number)
- `interfaces` (List of Object) (see [below for nested schema](#nestedobjatt--items--interfaces)) - `interfaces` (List of Object) (see [below for nested schema](#nestedobjatt--items--interfaces))
- `loader_type` (String)
- `lock_status` (String) - `lock_status` (String)
- `manager_id` (Number) - `manager_id` (Number)
- `manager_type` (String) - `manager_type` (String)
@ -93,9 +97,11 @@ Read-Only:
- `milestones` (Number) - `milestones` (Number)
- `name` (String) - `name` (String)
- `need_reboot` (Boolean) - `need_reboot` (Boolean)
- `network_interface_naming` (String)
- `numa_affinity` (String) - `numa_affinity` (String)
- `numa_node_id` (Number) - `numa_node_id` (Number)
- `pinned` (Boolean) - `pinned` (Boolean)
- `preferred_cpu` (List of Number)
- `ram` (Number) - `ram` (Number)
- `reference_id` (String) - `reference_id` (String)
- `registered` (Boolean) - `registered` (Boolean)

@ -60,7 +60,9 @@ Read-Only:
- `affinity_weight` (Number) - `affinity_weight` (Number)
- `anti_affinity_rules` (List of Object) (see [below for nested schema](#nestedobjatt--items--anti_affinity_rules)) - `anti_affinity_rules` (List of Object) (see [below for nested schema](#nestedobjatt--items--anti_affinity_rules))
- `arch` (String) - `arch` (String)
- `auto_start_w_node` (Boolean)
- `boot_order` (List of String) - `boot_order` (List of String)
- `boot_type` (String)
- `bootdisk_size` (Number) - `bootdisk_size` (Number)
- `cd_image_id` (Number) - `cd_image_id` (Number)
- `chipset` (String) - `chipset` (String)
@ -81,9 +83,11 @@ Read-Only:
- `driver` (String) - `driver` (String)
- `gid` (Number) - `gid` (Number)
- `guid` (Number) - `guid` (Number)
- `hot_resize` (Boolean)
- `hp_backed` (Boolean) - `hp_backed` (Boolean)
- `image_id` (Number) - `image_id` (Number)
- `interfaces` (List of Object) (see [below for nested schema](#nestedobjatt--items--interfaces)) - `interfaces` (List of Object) (see [below for nested schema](#nestedobjatt--items--interfaces))
- `loader_type` (String)
- `lock_status` (String) - `lock_status` (String)
- `manager_id` (Number) - `manager_id` (Number)
- `manager_type` (String) - `manager_type` (String)
@ -91,9 +95,11 @@ Read-Only:
- `milestones` (Number) - `milestones` (Number)
- `name` (String) - `name` (String)
- `need_reboot` (Boolean) - `need_reboot` (Boolean)
- `network_interface_naming` (String)
- `numa_affinity` (String) - `numa_affinity` (String)
- `numa_node_id` (Number) - `numa_node_id` (Number)
- `pinned` (Boolean) - `pinned` (Boolean)
- `preferred_cpu` (List of Number)
- `ram` (Number) - `ram` (Number)
- `reference_id` (String) - `reference_id` (String)
- `registered` (Boolean) - `registered` (Boolean)

@ -55,3 +55,4 @@ Read-Only:
- `location_code` (String) - `location_code` (String)
- `meta` (List of String) - `meta` (List of String)
- `name` (String) - `name` (String)
- `sdn_support` (Boolean)

@ -46,7 +46,6 @@ description: |-
- `lock_status` (String) - `lock_status` (String)
- `milestones` (Number) - `milestones` (Number)
- `name` (String) - `name` (String)
- `register_computes` (Boolean)
- `res_types` (List of String) - `res_types` (List of String)
- `resource_limits` (List of Object) (see [below for nested schema](#nestedatt--resource_limits)) - `resource_limits` (List of Object) (see [below for nested schema](#nestedatt--resource_limits))
- `secret` (String) - `secret` (String)

@ -70,7 +70,6 @@ Read-Only:
- `lock_status` (String) - `lock_status` (String)
- `milestones` (Number) - `milestones` (Number)
- `name` (String) - `name` (String)
- `register_computes` (Boolean)
- `resource_limits` (List of Object) (see [below for nested schema](#nestedobjatt--items--resource_limits)) - `resource_limits` (List of Object) (see [below for nested schema](#nestedobjatt--items--resource_limits))
- `resource_types` (List of String) - `resource_types` (List of String)
- `rg_id` (Number) - `rg_id` (Number)

@ -68,7 +68,6 @@ Read-Only:
- `lock_status` (String) - `lock_status` (String)
- `milestones` (Number) - `milestones` (Number)
- `name` (String) - `name` (String)
- `register_computes` (Boolean)
- `resource_limits` (List of Object) (see [below for nested schema](#nestedobjatt--items--resource_limits)) - `resource_limits` (List of Object) (see [below for nested schema](#nestedobjatt--items--resource_limits))
- `resource_types` (List of String) - `resource_types` (List of String)
- `rg_id` (Number) - `rg_id` (Number)

@ -0,0 +1,59 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_sep_and_pools_available_list Data Source - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_sep_and_pools_available_list (Data Source)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `account_id` (Number) Account ID
### Optional
- `rg_id` (Number) Resource group ID
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `entry_count` (Number) Number of available SEP entries
- `id` (String) The ID of this resource.
- `items` (List of Object) List of available SEPs (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)
- `sep_type` (String)
<a id="nestedobjatt--items--pools"></a>
### Nested Schema for `items.pools`
Read-Only:
- `name` (String)
- `system` (Boolean)
- `types` (List of String)

@ -108,6 +108,7 @@ Read-Only:
- `tech_status` (String) - `tech_status` (String)
- `type` (String) - `type` (String)
- `vins` (List of Number) - `vins` (List of Number)
- `vnc_password` (String)
- `vnf_id` (Number) - `vnf_id` (Number)
- `vnf_name` (String) - `vnf_name` (String)
@ -248,10 +249,7 @@ Read-Only:
Read-Only: Read-Only:
- `client_type` (String) - `account_id` (Number)
- `desc` (String)
- `domainname` (String)
- `hostname` (String)
- `ip` (String) - `ip` (String)
- `mac` (String) - `mac` (String)
- `type` (String) - `type` (String)

@ -26,6 +26,7 @@ description: |-
- `rg_id` (Number) Filter by RG ID - `rg_id` (Number) Filter by RG ID
- `size` (Number) Page size - `size` (Number) Page size
- `sort_by` (String) sort by one of supported fields, format +|-(field) - `sort_by` (String) sort by one of supported fields, format +|-(field)
- `status` (String) sort by status
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `vnf_dev_id` (Number) Filter by VNF Device id - `vnf_dev_id` (Number) Filter by VNF Device id

@ -18,13 +18,14 @@ description: |-
### Required ### Required
- `account_name` (String) account name - `account_name` (String) account name
- `username` (String) username of owner the account
### Optional ### Optional
- `desc` (String) description
- `emailaddress` (String) email - `emailaddress` (String) email
- `enable` (Boolean) enable/disable account - `enable` (Boolean) enable/disable account
- `permanently` (Boolean) whether to completely delete the account - `permanently` (Boolean) whether to completely delete the account
- `reason` (String) reason for deactivation
- `resource_limits` (Block List, Max: 1) (see [below for nested schema](#nestedblock--resource_limits)) - `resource_limits` (Block List, Max: 1) (see [below for nested schema](#nestedblock--resource_limits))
- `restore` (Boolean) restore a deleted account - `restore` (Boolean) restore a deleted account
- `send_access_emails` (Boolean) if true send emails when a user is granted access to resources - `send_access_emails` (Boolean) if true send emails when a user is granted access to resources

@ -28,6 +28,7 @@ description: |-
### Optional ### Optional
- `chipset` (String)
- `cloud_init` (String) Optional cloud_init parameters. Applied when creating new compute instance only, ignored in all other cases. - `cloud_init` (String) Optional cloud_init parameters. Applied when creating new compute instance only, ignored in all other cases.
- `compgroup_id` (Number) - `compgroup_id` (Number)
- `extnets` (List of Number) list of external networks to connect computes to - `extnets` (List of Number) list of external networks to connect computes to
@ -83,6 +84,7 @@ Optional:
Read-Only: Read-Only:
- `chipset` (String)
- `id` (Number) - `id` (Number)
- `ip_addresses` (List of String) - `ip_addresses` (List of String)
- `name` (String) - `name` (String)

@ -27,9 +27,11 @@ description: |-
- `compute_features` (Set of String) - `compute_features` (Set of String)
- `cpu_allocation_parameter` (String) set cpu allocation parameter - `cpu_allocation_parameter` (String) set cpu allocation parameter
- `cpu_allocation_ratio` (Number) set cpu allocation ratio - `cpu_allocation_ratio` (Number) set cpu allocation ratio
- `desc` (String) description
- `emailaddress` (String) email - `emailaddress` (String) email
- `enable` (Boolean) enable/disable account - `enable` (Boolean) enable/disable account
- `permanently` (Boolean) whether to completely delete the account - `permanently` (Boolean) whether to completely delete the account
- `reason` (String) reason for restore or deactivation
- `resource_limits` (Block List, Max: 1) (see [below for nested schema](#nestedblock--resource_limits)) - `resource_limits` (Block List, Max: 1) (see [below for nested schema](#nestedblock--resource_limits))
- `restore` (Boolean) restore a deleted account - `restore` (Boolean) restore a deleted account
- `send_access_emails` (Boolean) if true send emails when a user is granted access to resources - `send_access_emails` (Boolean) if true send emails when a user is granted access to resources

@ -17,7 +17,6 @@ description: |-
### Required ### Required
- `gid` (Number) grid (platform) ID where this template should be create in
- `name` (String) Name of the rescue disk - `name` (String) Name of the rescue disk
- `url` (String) URL where to download ISO from - `url` (String) URL where to download ISO from
@ -45,6 +44,7 @@ description: |-
- `ckey` (String) - `ckey` (String)
- `deleted_time` (Number) - `deleted_time` (Number)
- `desc` (String) - `desc` (String)
- `gid` (Number)
- `guid` (Number) - `guid` (Number)
- `history` (List of Object) (see [below for nested schema](#nestedatt--history)) - `history` (List of Object) (see [below for nested schema](#nestedatt--history))
- `id` (String) The ID of this resource. - `id` (String) The ID of this resource.
@ -52,9 +52,8 @@ description: |-
- `image_type` (String) Image type linux, windows or other - `image_type` (String) Image type linux, windows or other
- `last_modified` (Number) - `last_modified` (Number)
- `link_to` (Number) - `link_to` (Number)
- `meta` (List of String) meta
- `milestones` (Number) - `milestones` (Number)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `provider_name` (String) - `provider_name` (String)
- `purge_attempts` (Number) - `purge_attempts` (Number)
- `reference_id` (String) - `reference_id` (String)
@ -62,6 +61,7 @@ description: |-
- `res_name` (String) - `res_name` (String)
- `rescuecd` (Boolean) - `rescuecd` (Boolean)
- `size` (Number) image size - `size` (Number) image size
- `snapshot_id` (String) snapshot id
- `status` (String) status - `status` (String) status
- `tech_status` (String) tech atatus - `tech_status` (String) tech atatus
- `unc_path` (String) unc path - `unc_path` (String) unc path

@ -19,9 +19,7 @@ description: |-
- `account_id` (Number) - `account_id` (Number)
- `disk_name` (String) - `disk_name` (String)
- `gid` (Number)
- `size_max` (Number) - `size_max` (Number)
- `type` (String) The type of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'
### Optional ### Optional
@ -35,7 +33,6 @@ description: |-
- `restore` (Boolean) restore deleting disk - `restore` (Boolean) restore deleting disk
- `sep_id` (Number) - `sep_id` (Number)
- `shareable` (Boolean) - `shareable` (Boolean)
- `ssd_size` (Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only ### Read-Only
@ -44,25 +41,30 @@ description: |-
- `acl` (String) - `acl` (String)
- `boot_partition` (Number) - `boot_partition` (Number)
- `computes` (List of Object) (see [below for nested schema](#nestedatt--computes)) - `computes` (List of Object) (see [below for nested schema](#nestedatt--computes))
- `created_by` (String)
- `created_time` (Number) - `created_time` (Number)
- `deleted_by` (String)
- `deleted_time` (Number) - `deleted_time` (Number)
- `destruction_time` (Number) - `destruction_time` (Number)
- `devicename` (String) - `devicename` (String)
- `disk_id` (Number) - `disk_id` (Number)
- `disk_path` (String) - `disk_path` (String)
- `gid` (Number)
- `guid` (Number) - `guid` (Number)
- `id` (String) The ID of this resource. - `id` (String) The ID of this resource.
- `image_id` (Number) - `image_id` (Number)
- `images` (List of String) - `images` (List of String)
- `iqn` (String) - `iqn` (String)
- `login` (String) - `login` (String)
- `machine_id` (Number)
- `machine_name` (String)
- `milestones` (Number) - `milestones` (Number)
- `order` (Number) - `order` (Number)
- `params` (String) - `params` (String)
- `parent_id` (Number) - `parent_id` (Number)
- `passwd` (String) - `passwd` (String)
- `pci_slot` (Number) - `pci_slot` (Number)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `purge_attempts` (Number) - `purge_attempts` (Number)
- `purge_time` (Number) - `purge_time` (Number)
- `reality_device_number` (Number) - `reality_device_number` (Number)
@ -76,6 +78,9 @@ description: |-
- `snapshots` (List of Object) (see [below for nested schema](#nestedatt--snapshots)) - `snapshots` (List of Object) (see [below for nested schema](#nestedatt--snapshots))
- `status` (String) - `status` (String)
- `tech_status` (String) - `tech_status` (String)
- `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) - `vmid` (Number)
<a id="nestedblock--iotune"></a> <a id="nestedblock--iotune"></a>

@ -37,6 +37,7 @@ description: |-
- `ntp` (List of String) List of NTP addresses - `ntp` (List of String) List of NTP addresses
- `ovs_bridge` (String) OpenvSwith bridge name for ExtNet connection - `ovs_bridge` (String) OpenvSwith bridge name for ExtNet connection
- `pre_reservations_num` (Number) Number of pre created reservations - `pre_reservations_num` (Number) Number of pre created reservations
- `reserved_ip` (Block Set) (see [below for nested schema](#nestedblock--reserved_ip))
- `restart` (Boolean) restart extnet vnf device - `restart` (Boolean) restart extnet vnf device
- `set_default` (Boolean) Set current extnet as default (can not be undone) - `set_default` (Boolean) Set current extnet as default (can not be undone)
- `shared_with` (Set of Number) - `shared_with` (Set of Number)
@ -88,6 +89,19 @@ Required:
- `ip_start` (String) - `ip_start` (String)
<a id="nestedblock--reserved_ip"></a>
### Nested Schema for `reserved_ip`
Required:
- `account_id` (Number)
Optional:
- `ip_count` (Number)
- `ips` (Set of String)
<a id="nestedblock--timeouts"></a> <a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts` ### Nested Schema for `timeouts`
@ -119,6 +133,7 @@ Read-Only:
Read-Only: Read-Only:
- `account_id` (Number)
- `client_type` (String) - `client_type` (String)
- `desc` (String) - `desc` (String)
- `domain_name` (String) - `domain_name` (String)

@ -18,21 +18,19 @@ description: |-
### Required ### Required
- `boot_type` (String) Boot type of image bios or uefi - `boot_type` (String) Boot type of image bios or uefi
- `gid` (Number) grid (platform) ID where this template should be create in
- `image_type` (String) Image type linux, windows or other - `image_type` (String) Image type linux, windows or other
- `name` (String) Name of the rescue disk - `name` (String) Name of the rescue disk
- `url` (String) URL where to download media from
### Optional ### Optional
- `account_id` (Number) AccountId to make the image exclusive - `account_id` (Number) AccountId to make the image exclusive
- `accounts` (List of Number)
- `architecture` (String) binary architecture of this image, one of X86_64 - `architecture` (String) binary architecture of this image, one of X86_64
- `bootable` (Boolean) Does this image boot OS - `bootable` (Boolean) Does this image boot OS
- `computeci_id` (Number) - `computeci_id` (Number)
- `drivers` (List of String) List of types of compute suitable for image. Example: [ "KVM_X86" ] - `drivers` (List of String) List of types of compute suitable for image. Example: [ "KVM_X86" ]
- `enabled` (Boolean) - `enabled` (Boolean)
- `enabled_stacks` (List of Number) - `enabled_stacks` (List of Number)
- `file_path` (String) path to image file
- `hot_resize` (Boolean) Does this machine supports hot resize - `hot_resize` (Boolean) Does this machine supports hot resize
- `network_interface_naming` (String) select a network interface naming pattern for your Linux machine. eth - onboard, ens - pci slot naming - `network_interface_naming` (String) select a network interface naming pattern for your Linux machine. eth - onboard, ens - pci slot naming
- `password` (String) Optional password for the image - `password` (String) Optional password for the image
@ -42,7 +40,6 @@ description: |-
- `shared_with` (List of Number) - `shared_with` (List of Number)
- `sync_mode` (Boolean) Create image from a media identified by URL (in synchronous mode) - `sync_mode` (Boolean) Create image from a media identified by URL (in synchronous mode)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `url` (String) URL where to download media from
- `username` (String) Optional username for the image - `username` (String) Optional username for the image
- `username_dl` (String) username for upload binary media - `username_dl` (String) username for upload binary media
@ -52,6 +49,7 @@ description: |-
- `cd_presented_to` (String) - `cd_presented_to` (String)
- `deleted_time` (Number) - `deleted_time` (Number)
- `desc` (String) - `desc` (String)
- `gid` (Number)
- `guid` (Number) - `guid` (Number)
- `history` (List of Object) (see [below for nested schema](#nestedatt--history)) - `history` (List of Object) (see [below for nested schema](#nestedatt--history))
- `id` (String) The ID of this resource. - `id` (String) The ID of this resource.
@ -59,7 +57,7 @@ description: |-
- `last_modified` (Number) - `last_modified` (Number)
- `link_to` (Number) - `link_to` (Number)
- `milestones` (Number) - `milestones` (Number)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `provider_name` (String) - `provider_name` (String)
- `purge_attempts` (Number) - `purge_attempts` (Number)
- `reference_id` (String) - `reference_id` (String)
@ -67,6 +65,7 @@ description: |-
- `res_name` (String) - `res_name` (String)
- `rescuecd` (Boolean) - `rescuecd` (Boolean)
- `size` (Number) image size - `size` (Number) image size
- `snapshot_id` (String) snapshot id
- `status` (String) status - `status` (String) status
- `tech_status` (String) tech atatus - `tech_status` (String) tech atatus
- `unc_path` (String) unc path - `unc_path` (String) unc path

@ -19,13 +19,12 @@ description: |-
- `boot_type` (String) Boot type of image BIOS or UEFI - `boot_type` (String) Boot type of image BIOS or UEFI
- `compute_id` (Number) Compute Id - `compute_id` (Number) Compute Id
- `image_type` (String) Image type linux, windows or other - `image_type` (String) Image type linux, windows or unknown
- `name` (String) Name of the rescue disk - `name` (String) Name of the rescue disk
### Optional ### Optional
- `account_id` (Number) AccountId to make the image exclusive - `account_id` (Number) AccountId to make the image exclusive
- `accounts` (List of Number)
- `async_mode` (Boolean) create an image in async/sync mode - `async_mode` (Boolean) create an image in async/sync mode
- `bootable` (Boolean) Does this image boot OS - `bootable` (Boolean) Does this image boot OS
- `computeci_id` (Number) - `computeci_id` (Number)
@ -35,7 +34,6 @@ description: |-
- `network_interface_naming` (String) select a network interface naming pattern for your Linux machine. eth - onboard, ens - pci slot naming - `network_interface_naming` (String) select a network interface naming pattern for your Linux machine. eth - onboard, ens - pci slot naming
- `password` (String) Optional password for the image - `password` (String) Optional password for the image
- `pool_name` (String) pool for image create - `pool_name` (String) pool for image create
- `sep_id` (Number) storage endpoint provider ID
- `shared_with` (List of Number) - `shared_with` (List of Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `username` (String) Optional username for the image - `username` (String) Optional username for the image
@ -56,14 +54,16 @@ description: |-
- `last_modified` (Number) - `last_modified` (Number)
- `link_to` (Number) - `link_to` (Number)
- `milestones` (Number) - `milestones` (Number)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `provider_name` (String) - `provider_name` (String)
- `purge_attempts` (Number) - `purge_attempts` (Number)
- `reference_id` (String) - `reference_id` (String)
- `res_id` (String) - `res_id` (String)
- `res_name` (String) - `res_name` (String)
- `rescuecd` (Boolean) - `rescuecd` (Boolean)
- `sep_id` (Number) storage endpoint provider ID
- `size` (Number) - `size` (Number)
- `snapshot_id` (String) snapshot id
- `status` (String) - `status` (String)
- `tech_status` (String) - `tech_status` (String)
- `unc_path` (String) - `unc_path` (String)

@ -21,13 +21,12 @@ description: |-
- `boot_type` (String) Boot type of image BIOS or UEFI - `boot_type` (String) Boot type of image BIOS or UEFI
- `disk_id` (Number) Disk Id - `disk_id` (Number) Disk Id
- `drivers` (List of String) List of types of compute suitable for image. Example: [ "KVM_X86" ] - `drivers` (List of String) List of types of compute suitable for image. Example: [ "KVM_X86" ]
- `image_type` (String) Image type linux, windows or other - `image_type` (String) Image type linux, windows or unknown
- `name` (String) Name of the rescue disk - `name` (String) Name of the rescue disk
### Optional ### Optional
- `account_id` (Number) AccountId to make the image exclusive - `account_id` (Number) AccountId to make the image exclusive
- `accounts` (List of Number)
- `async_mode` (Boolean) create an image in async/sync mode - `async_mode` (Boolean) create an image in async/sync mode
- `bootable` (Boolean) Does this image boot OS - `bootable` (Boolean) Does this image boot OS
- `computeci_id` (Number) - `computeci_id` (Number)
@ -37,7 +36,6 @@ description: |-
- `network_interface_naming` (String) select a network interface naming pattern for your Linux machine. eth - onboard, ens - pci slot naming - `network_interface_naming` (String) select a network interface naming pattern for your Linux machine. eth - onboard, ens - pci slot naming
- `password` (String) Optional password for the image - `password` (String) Optional password for the image
- `pool_name` (String) pool for image create - `pool_name` (String) pool for image create
- `sep_id` (Number) storage endpoint provider ID
- `shared_with` (List of Number) - `shared_with` (List of Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `username` (String) Optional username for the image - `username` (String) Optional username for the image
@ -56,14 +54,16 @@ description: |-
- `last_modified` (Number) - `last_modified` (Number)
- `link_to` (Number) - `link_to` (Number)
- `milestones` (Number) - `milestones` (Number)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `provider_name` (String) - `provider_name` (String)
- `purge_attempts` (Number) - `purge_attempts` (Number)
- `reference_id` (String) - `reference_id` (String)
- `res_id` (String) - `res_id` (String)
- `res_name` (String) - `res_name` (String)
- `rescuecd` (Boolean) - `rescuecd` (Boolean)
- `sep_id` (Number) storage endpoint provider ID
- `size` (Number) - `size` (Number)
- `snapshot_id` (String) snapshot id
- `status` (String) - `status` (String)
- `tech_status` (String) - `tech_status` (String)
- `unc_path` (String) - `unc_path` (String)

@ -29,15 +29,14 @@ description: |-
- `affinity_rules` (Block List) (see [below for nested schema](#nestedblock--affinity_rules)) - `affinity_rules` (Block List) (see [below for nested schema](#nestedblock--affinity_rules))
- `alt_boot_id` (Number) ID of CD-ROM live image to boot - `alt_boot_id` (Number) ID of CD-ROM live image to boot
- `anti_affinity_rules` (Block List) (see [below for nested schema](#nestedblock--anti_affinity_rules)) - `anti_affinity_rules` (Block List) (see [below for nested schema](#nestedblock--anti_affinity_rules))
- `auto_start` (Boolean) Flag for redeploy compute - `auto_start_w_node` (Boolean)
- `boot_disk_size` (Number) This compute instance boot disk size in GB. Make sure it is large enough to accomodate selected OS image. - `boot_disk_size` (Number) This compute instance boot disk size in GB. Make sure it is large enough to accomodate selected OS image.
- `boot_type` (String) Type of image upload.
- `cd` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--cd)) - `cd` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--cd))
- `chipset` (String) Type of the emulated system. - `chipset` (String) Type of the emulated system.
- `cloud_init` (String) Optional cloud_init parameters. Applied when creating new compute instance only, ignored in all other cases. - `cloud_init` (String) Optional cloud_init parameters. Applied when creating new compute instance only, ignored in all other cases.
- `cpu_pin` (Boolean) Run VM on dedicated CPUs. To use this feature, the system must be pre-configured by allocating CPUs on the physical node. - `cpu_pin` (Boolean) Run VM on dedicated CPUs. To use this feature, the system must be pre-configured by allocating CPUs on the physical node.
- `custom_fields` (String) - `custom_fields` (String)
- `data_disks` (String) Flag for redeploy compute
- `depresent` (Boolean) whether to depresent compute disks from node or not
- `description` (String) Optional text description of this compute instance. - `description` (String) Optional text description of this compute instance.
- `detach_disks` (Boolean) - `detach_disks` (Boolean)
- `disks` (Block List) (see [below for nested schema](#nestedblock--disks)) - `disks` (Block List) (see [below for nested schema](#nestedblock--disks))
@ -46,12 +45,15 @@ description: |-
- `force_pin` (Boolean) - `force_pin` (Boolean)
- `force_resize` (Boolean) Flag for resize compute - `force_resize` (Boolean) Flag for resize compute
- `force_stop` (Boolean) Flag for redeploy compute - `force_stop` (Boolean) Flag for redeploy compute
- `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. - `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. - `image_id` (Number) ID of the OS image to base this compute instance on.
- `ipa_type` (String) compute purpose - `ipa_type` (String) compute purpose
- `is` (String) system name - `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)) - `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))
- `network` (Block Set, Max: 8) Optional network connection(s) for this compute. You may specify several network blocks, one for each connection. (see [below for nested schema](#nestedblock--network)) - `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.
- `numa_affinity` (String) Rule for VM placement with NUMA affinity. - `numa_affinity` (String) Rule for VM placement with NUMA affinity.
- `pause` (Boolean) - `pause` (Boolean)
- `pci_devices` (Set of Number) ID of the connected pci devices - `pci_devices` (Set of Number) ID of the connected pci devices
@ -59,6 +61,7 @@ description: |-
- `pin_to_stack` (Boolean) - `pin_to_stack` (Boolean)
- `pool` (String) Pool to use if sepId is set, can be also empty if needed to be chosen by system. - `pool` (String) Pool to use if sepId is set, can be also empty if needed to be chosen by system.
- `port_forwarding` (Block Set) (see [below for nested schema](#nestedblock--port_forwarding)) - `port_forwarding` (Block Set) (see [below for nested schema](#nestedblock--port_forwarding))
- `preferred_cpu` (List of Number) Recommended isolated CPUs. Field is ignored if compute.cpupin=False or compute.pinned=False
- `reset` (Boolean) - `reset` (Boolean)
- `restore` (Boolean) - `restore` (Boolean)
- `rollback` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--rollback)) - `rollback` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--rollback))
@ -67,7 +70,6 @@ description: |-
- `stack_id` (Number) ID of stack to start compute - `stack_id` (Number) ID of stack to start compute
- `started` (Boolean) Is compute started. - `started` (Boolean) Is compute started.
- `tags` (Block Set) (see [below for nested schema](#nestedblock--tags)) - `tags` (Block Set) (see [below for nested schema](#nestedblock--tags))
- `target_stack_id` (Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `user_access` (Block Set) (see [below for nested schema](#nestedblock--user_access)) - `user_access` (Block Set) (see [below for nested schema](#nestedblock--user_access))
- `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. - `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.
@ -110,7 +112,7 @@ description: |-
- `need_reboot` (Boolean) - `need_reboot` (Boolean)
- `numa_node_id` (Number) - `numa_node_id` (Number)
- `os_users` (List of Object) Guest OS users provisioned on this compute instance. (see [below for nested schema](#nestedatt--os_users)) - `os_users` (List of Object) Guest OS users provisioned on this compute instance. (see [below for nested schema](#nestedatt--os_users))
- `pinned` (Boolean) - `pinned` (Number)
- `reference_id` (String) - `reference_id` (String)
- `registered` (Boolean) - `registered` (Boolean)
- `res_name` (String) - `res_name` (String)
@ -125,9 +127,10 @@ description: |-
- `updated_by` (String) - `updated_by` (String)
- `updated_time` (Number) - `updated_time` (Number)
- `user_managed` (Boolean) - `user_managed` (Boolean)
- `vgpus` (List of Number) - `vgpus` (List of Object) List of virtual GPUs (see [below for nested schema](#nestedatt--vgpus))
- `virtual_image_id` (Number) - `virtual_image_id` (Number)
- `virtual_image_name` (String) - `virtual_image_name` (String)
- `vnc_password` (String)
<a id="nestedblock--affinity_rules"></a> <a id="nestedblock--affinity_rules"></a>
### Nested Schema for `affinity_rules` ### Nested Schema for `affinity_rules`
@ -188,6 +191,7 @@ Optional:
Read-Only: Read-Only:
- `disk_id` (Number) Disk ID - `disk_id` (Number) Disk ID
- `present_to` (Map of Number)
- `shareable` (Boolean) - `shareable` (Boolean)
- `size_max` (Number) - `size_max` (Number)
- `size_used` (Number) - `size_used` (Number)
@ -222,13 +226,10 @@ Required:
Optional: Optional:
- `ip_address` (String) Optional IP address to assign to this connection. This IP should belong to the selected network and free for use. - `ip_address` (String) Optional IP address to assign to this connection. This IP should belong to the selected network and free for use.
- `mac` (String) MAC address associated with this connection. MAC address is assigned automatically.
- `mtu` (Number) Maximum transmission unit, used only for DPDK type, must be 1-9216 - `mtu` (Number) Maximum transmission unit, used only for DPDK type, must be 1-9216
- `weight` (Number) weight the network if you need to sort network list, the smallest attach first. zero or null weight attach last - `weight` (Number) weight the network if you need to sort network list, the smallest attach first. zero or null weight attach last
Read-Only:
- `mac` (String) MAC address associated with this connection. MAC address is assigned automatically.
<a id="nestedblock--port_forwarding"></a> <a id="nestedblock--port_forwarding"></a>
### Nested Schema for `port_forwarding` ### Nested Schema for `port_forwarding`
@ -381,3 +382,29 @@ Read-Only:
- `guid` (String) - `guid` (String)
- `label` (String) - `label` (String)
- `timestamp` (Number) - `timestamp` (Number)
<a id="nestedatt--vgpus"></a>
### Nested Schema for `vgpus`
Read-Only:
- `account_id` (Number)
- `bus_number` (Number)
- `created_time` (Number)
- `deleted_time` (Number)
- `gid` (Number)
- `guid` (Number)
- `id` (Number)
- `last_claimed_by` (Number)
- `last_update_time` (Number)
- `mode` (String)
- `pci_slot` (Number)
- `pgpuid` (Number)
- `profile_id` (Number)
- `ram` (Number)
- `reference_id` (String)
- `rg_id` (Number)
- `status` (String)
- `type` (String)
- `vmid` (Number)

@ -37,7 +37,6 @@ description: |-
- `ipcidr` (String) Address of the netowrk inside the private network segment (aka ViNS) if def_net_type=PRIVATE - `ipcidr` (String) Address of the netowrk inside the private network segment (aka ViNS) if def_net_type=PRIVATE
- `owner` (String) username - owner of this RG. Leave blank to set current user as owner - `owner` (String) username - owner of this RG. Leave blank to set current user as owner
- `permanently` (Boolean) flag to permanently delete resource group - `permanently` (Boolean) flag to permanently delete resource group
- `register_computes` (Boolean) Register computes in registration system
- `resource_limits` (Block List, Max: 1) (see [below for nested schema](#nestedblock--resource_limits)) - `resource_limits` (Block List, Max: 1) (see [below for nested schema](#nestedblock--resource_limits))
- `restore` (Boolean) restore deleted rg - `restore` (Boolean) restore deleted rg
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))

@ -37,11 +37,10 @@ description: |-
### Read-Only ### Read-Only
- `ckey` (String) ckey
- `guid` (Number) guid - `guid` (Number) guid
- `id` (String) The ID of this resource. - `id` (String) The ID of this resource.
- `meta` (List of String) meta
- `milestones` (Number) milestones - `milestones` (Number) milestones
- `multipath_num` (Number) multipath_num
- `obj_status` (String) object status - `obj_status` (String) object status
- `tech_status` (String) tech status - `tech_status` (String) tech status

@ -167,6 +167,7 @@ Read-Only:
- `tech_status` (String) - `tech_status` (String)
- `type` (String) - `type` (String)
- `vins` (List of Number) - `vins` (List of Number)
- `vnc_password` (String)
<a id="nestedobjatt--vnf_dev--config"></a> <a id="nestedobjatt--vnf_dev--config"></a>
### Nested Schema for `vnf_dev.config` ### Nested Schema for `vnf_dev.config`
@ -306,10 +307,7 @@ Read-Only:
Read-Only: Read-Only:
- `client_type` (String) - `account_id` (Number)
- `description` (String)
- `domain_name` (String)
- `host_name` (String)
- `ip` (String) - `ip` (String)
- `mac` (String) - `mac` (String)
- `type` (String) - `type` (String)

@ -24,11 +24,11 @@ description: |-
### Optional ### Optional
- `compute_ids` (List of Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only ### Read-Only
- `compute_ids` (List of Number)
- `guid` (String) - `guid` (String)
- `id` (String) The ID of this resource. - `id` (String) The ID of this resource.
- `route_id` (Number) Unique ID of the static route - `route_id` (Number) Unique ID of the static route

@ -49,10 +49,9 @@ description: |-
- `image_id` (Number) Image id - `image_id` (Number) Image id
- `image_type` (String) Image type linux, windows or other - `image_type` (String) Image type linux, windows or other
- `last_modified` (Number) - `last_modified` (Number)
- `meta` (List of String) meta
- `milestones` (Number) - `milestones` (Number)
- `pool_name` (String) pool for image create - `pool_name` (String) pool for image create
- `present_to` (List of Number) - `present_to` (Map of Number)
- `provider_name` (String) - `provider_name` (String)
- `purge_attempts` (Number) - `purge_attempts` (Number)
- `reference_id` (String) - `reference_id` (String)
@ -61,6 +60,7 @@ description: |-
- `rescuecd` (Boolean) - `rescuecd` (Boolean)
- `sep_id` (Number) storage endpoint provider ID - `sep_id` (Number) storage endpoint provider ID
- `size` (Number) image size - `size` (Number) image size
- `snapshot_id` (String) snapshot id
- `status` (String) status - `status` (String) status
- `tech_status` (String) tech atatus - `tech_status` (String) tech atatus
- `unc_path` (String) unc path - `unc_path` (String) unc path

@ -19,7 +19,6 @@ description: |-
- `account_id` (Number) The unique ID of the subscriber-owner of the disk - `account_id` (Number) The unique ID of the subscriber-owner of the disk
- `disk_name` (String) Name of disk - `disk_name` (String) Name of disk
- `gid` (Number) ID of the grid (platform)
- `size_max` (Number) Size in GB - `size_max` (Number) Size in GB
### Optional ### Optional
@ -32,26 +31,30 @@ description: |-
- `sep_id` (Number) Storage endpoint provider ID to create disk - `sep_id` (Number) Storage endpoint provider ID to create disk
- `shareable` (Boolean) - `shareable` (Boolean)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `type` (String) The type of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'
### Read-Only ### Read-Only
- `account_name` (String) The name of the subscriber '(account') to whom this disk belongs - `account_name` (String) The name of the subscriber '(account') to whom this disk belongs
- `acl` (String) - `acl` (String)
- `computes` (List of Object) (see [below for nested schema](#nestedatt--computes)) - `computes` (List of Object) (see [below for nested schema](#nestedatt--computes))
- `created_by` (String)
- `created_time` (Number) Created time - `created_time` (Number) Created time
- `deleted_by` (String)
- `deleted_time` (Number) Deleted time - `deleted_time` (Number) Deleted time
- `destruction_time` (Number) Time of final deletion - `destruction_time` (Number) Time of final deletion
- `devicename` (String) Name of the device - `devicename` (String) Name of the device
- `disk_id` (Number) Disk ID. Duplicates the value of the ID parameter - `disk_id` (Number) Disk ID. Duplicates the value of the ID parameter
- `gid` (Number) ID of the grid (platform)
- `id` (String) The ID of this resource. - `id` (String) The ID of this resource.
- `image_id` (Number) Image ID - `image_id` (Number) Image ID
- `images` (List of String) IDs of images using the disk - `images` (List of String) IDs of images using the disk
- `machine_id` (Number)
- `machine_name` (String)
- `order` (Number) Disk order - `order` (Number) Disk order
- `params` (String) Disk params - `params` (String) Disk params
- `parent_id` (Number) ID of the parent disk - `parent_id` (Number) ID of the parent disk
- `pci_slot` (Number) ID of the pci slot to which the disk is connected - `pci_slot` (Number) ID of the pci slot to which the disk is connected
- `present_to` (List of Number) - `present_to` (Map of Number)
- `purge_time` (Number) Time of the last deletion attempt - `purge_time` (Number) Time of the last deletion attempt
- `replication` (List of Object) Replication status (see [below for nested schema](#nestedatt--replication)) - `replication` (List of Object) Replication status (see [below for nested schema](#nestedatt--replication))
- `res_id` (String) Resource ID - `res_id` (String) Resource ID
@ -62,6 +65,9 @@ description: |-
- `snapshots` (List of Object) (see [below for nested schema](#nestedatt--snapshots)) - `snapshots` (List of Object) (see [below for nested schema](#nestedatt--snapshots))
- `status` (String) Disk status - `status` (String) Disk status
- `tech_status` (String) Technical status of the disk - `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'
- `updated_by` (String)
- `updated_time` (Number)
- `vmid` (Number) Virtual Machine ID (Deprecated) - `vmid` (Number) Virtual Machine ID (Deprecated)
<a id="nestedblock--iotune"></a> <a id="nestedblock--iotune"></a>

@ -21,7 +21,7 @@ description: |-
- `boot_type` (String) Boot type of image bios or uefi - `boot_type` (String) Boot type of image bios or uefi
- `drivers` (List of String) - `drivers` (List of String)
- `name` (String) Name of the rescue disk - `name` (String) Name of the rescue disk
- `type` (String) Image type linux, windows or other - `type` (String) Image type linux, windows or unknown
- `url` (String) URL where to download media from - `url` (String) URL where to download media from
### Optional ### Optional
@ -56,13 +56,14 @@ description: |-
- `last_modified` (Number) - `last_modified` (Number)
- `link_to` (Number) - `link_to` (Number)
- `milestones` (Number) - `milestones` (Number)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `provider_name` (String) - `provider_name` (String)
- `purge_attempts` (Number) - `purge_attempts` (Number)
- `res_id` (String) - `res_id` (String)
- `rescuecd` (Boolean) - `rescuecd` (Boolean)
- `shared_with` (List of Number) - `shared_with` (List of Number)
- `size` (Number) - `size` (Number)
- `snapshot_id` (String)
- `status` (String) - `status` (String)
- `tech_status` (String) - `tech_status` (String)
- `unc_path` (String) - `unc_path` (String)

@ -20,7 +20,7 @@ description: |-
- `boot_type` (String) Boot type of image BIOS or UEFI - `boot_type` (String) Boot type of image BIOS or UEFI
- `compute_id` (Number) Compute Id - `compute_id` (Number) Compute Id
- `name` (String) Name of the rescue disk - `name` (String) Name of the rescue disk
- `type` (String) Image type linux, windows or other - `type` (String) Image type linux, windows or unknown
### Optional ### Optional
@ -29,7 +29,6 @@ description: |-
- `hot_resize` (Boolean) Does this machine supports hot resize - `hot_resize` (Boolean) Does this machine supports hot resize
- `password` (String) Optional password for the image - `password` (String) Optional password for the image
- `pool_name` (String) pool for image create - `pool_name` (String) pool for image create
- `sep_id` (Number) storage endpoint provider ID
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `username` (String) Optional username for the image - `username` (String) Optional username for the image
@ -55,13 +54,15 @@ description: |-
- `link_to` (Number) - `link_to` (Number)
- `milestones` (Number) - `milestones` (Number)
- `network_interface_naming` (String) - `network_interface_naming` (String)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `provider_name` (String) - `provider_name` (String)
- `purge_attempts` (Number) - `purge_attempts` (Number)
- `res_id` (String) - `res_id` (String)
- `rescuecd` (Boolean) - `rescuecd` (Boolean)
- `sep_id` (Number) storage endpoint provider ID
- `shared_with` (List of Number) - `shared_with` (List of Number)
- `size` (Number) - `size` (Number)
- `snapshot_id` (String)
- `status` (String) - `status` (String)
- `tech_status` (String) - `tech_status` (String)
- `unc_path` (String) - `unc_path` (String)

@ -22,7 +22,7 @@ description: |-
- `disk_id` (Number) Disk Id - `disk_id` (Number) Disk Id
- `drivers` (List of String) List of types of compute suitable for image. Example: [ "KVM_X86" ] - `drivers` (List of String) List of types of compute suitable for image. Example: [ "KVM_X86" ]
- `name` (String) Name of the rescue disk - `name` (String) Name of the rescue disk
- `type` (String) Image type linux, windows or other - `type` (String) Image type linux, windows or unknown
### Optional ### Optional
@ -32,7 +32,6 @@ description: |-
- `hot_resize` (Boolean) Does this machine supports hot resize - `hot_resize` (Boolean) Does this machine supports hot resize
- `password` (String) Optional password for the image - `password` (String) Optional password for the image
- `pool_name` (String) pool for image create - `pool_name` (String) pool for image create
- `sep_id` (Number) storage endpoint provider ID
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `username` (String) Optional username for the image - `username` (String) Optional username for the image
@ -55,13 +54,15 @@ description: |-
- `link_to` (Number) - `link_to` (Number)
- `milestones` (Number) - `milestones` (Number)
- `network_interface_naming` (String) - `network_interface_naming` (String)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `provider_name` (String) - `provider_name` (String)
- `purge_attempts` (Number) - `purge_attempts` (Number)
- `res_id` (String) - `res_id` (String)
- `rescuecd` (Boolean) - `rescuecd` (Boolean)
- `sep_id` (Number) storage endpoint provider ID
- `shared_with` (List of Number) - `shared_with` (List of Number)
- `size` (Number) - `size` (Number)
- `snapshot_id` (String)
- `status` (String) - `status` (String)
- `tech_status` (String) - `tech_status` (String)
- `unc_path` (String) - `unc_path` (String)

@ -50,7 +50,7 @@ description: |-
- `network_interface_naming` (String) - `network_interface_naming` (String)
- `password` (String) - `password` (String)
- `pool_name` (String) - `pool_name` (String)
- `present_to` (List of Number) - `present_to` (Map of Number)
- `provider_name` (String) - `provider_name` (String)
- `purge_attempts` (Number) - `purge_attempts` (Number)
- `res_id` (String) - `res_id` (String)
@ -58,6 +58,7 @@ description: |-
- `sep_id` (Number) - `sep_id` (Number)
- `shared_with` (List of Number) - `shared_with` (List of Number)
- `size` (Number) - `size` (Number)
- `snapshot_id` (String)
- `status` (String) - `status` (String)
- `tech_status` (String) - `tech_status` (String)
- `type` (String) - `type` (String)

@ -28,14 +28,14 @@ description: |-
- `affinity_label` (String) Set affinity label for compute - `affinity_label` (String) Set affinity label for compute
- `affinity_rules` (Block List) (see [below for nested schema](#nestedblock--affinity_rules)) - `affinity_rules` (Block List) (see [below for nested schema](#nestedblock--affinity_rules))
- `anti_affinity_rules` (Block List) (see [below for nested schema](#nestedblock--anti_affinity_rules)) - `anti_affinity_rules` (Block List) (see [below for nested schema](#nestedblock--anti_affinity_rules))
- `auto_start` (Boolean) Flag for redeploy compute - `auto_start_w_node` (Boolean) Flag for start compute after node exits from MAINTENANCE state
- `boot_disk_size` (Number) This compute instance boot disk size in GB. Make sure it is large enough to accomodate selected OS image. - `boot_disk_size` (Number) This compute instance boot disk size in GB. Make sure it is large enough to accomodate selected OS image.
- `boot_type` (String) Type of image upload.
- `cd` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--cd)) - `cd` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--cd))
- `chipset` (String) Type of the emulated system. - `chipset` (String) Type of the emulated system.
- `cloud_init` (String) Optional cloud_init parameters. Applied when creating new compute instance only, ignored in all other cases. - `cloud_init` (String) Optional cloud_init parameters. Applied when creating new compute instance only, ignored in all other cases.
- `cpu_pin` (Boolean) Run VM on dedicated CPUs. To use this feature, the system must be pre-configured by allocating CPUs on the physical node. - `cpu_pin` (Boolean) Run VM on dedicated CPUs. To use this feature, the system must be pre-configured by allocating CPUs on the physical node.
- `custom_fields` (String) - `custom_fields` (String)
- `data_disks` (String) Flag for redeploy compute
- `description` (String) Optional text description of this compute instance. - `description` (String) Optional text description of this compute instance.
- `detach_disks` (Boolean) - `detach_disks` (Boolean)
- `disks` (Block List) (see [below for nested schema](#nestedblock--disks)) - `disks` (Block List) (see [below for nested schema](#nestedblock--disks))
@ -43,11 +43,14 @@ description: |-
- `extra_disks` (Set of Number) Optional list of IDs of extra disks to attach to this compute. You may specify several extra disks. - `extra_disks` (Set of Number) Optional list of IDs of extra disks to attach to this compute. You may specify several extra disks.
- `force_resize` (Boolean) Flag for resize compute - `force_resize` (Boolean) Flag for resize compute
- `force_stop` (Boolean) Flag for redeploy compute - `force_stop` (Boolean) Flag for redeploy compute
- `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. - `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. - `image_id` (Number) ID of the OS image to base this compute instance on.
- `ipa_type` (String) compute purpose - `ipa_type` (String) compute purpose
- `is` (String) system name - `is` (String) system name
- `network` (Block Set, Max: 8) Optional network connection(s) for this compute. You may specify several network blocks, one for each connection. (see [below for nested schema](#nestedblock--network)) - `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.
- `numa_affinity` (String) Rule for VM placement with NUMA affinity. - `numa_affinity` (String) Rule for VM placement with NUMA affinity.
- `pause` (Boolean) - `pause` (Boolean)
- `pci_devices` (Set of Number) ID of the connected pci devices - `pci_devices` (Set of Number) ID of the connected pci devices
@ -55,6 +58,7 @@ description: |-
- `pin_to_stack` (Boolean) - `pin_to_stack` (Boolean)
- `pool` (String) Pool to use if sepId is set, can be also empty if needed to be chosen by system. - `pool` (String) Pool to use if sepId is set, can be also empty if needed to be chosen by system.
- `port_forwarding` (Block Set) (see [below for nested schema](#nestedblock--port_forwarding)) - `port_forwarding` (Block Set) (see [below for nested schema](#nestedblock--port_forwarding))
- `preferred_cpu` (List of Number) Recommended isolated CPUs. Field is ignored if compute.cpupin=False or compute.pinned=False
- `reset` (Boolean) - `reset` (Boolean)
- `restore` (Boolean) - `restore` (Boolean)
- `rollback` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--rollback)) - `rollback` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--rollback))
@ -62,7 +66,6 @@ description: |-
- `snapshot` (Block Set) (see [below for nested schema](#nestedblock--snapshot)) - `snapshot` (Block Set) (see [below for nested schema](#nestedblock--snapshot))
- `snapshot_delete_async` (Boolean) - `snapshot_delete_async` (Boolean)
- `started` (Boolean) Is compute started. - `started` (Boolean) Is compute started.
- `stateless` (Boolean) Compute will be stateless (SVA_KVM_X86) if set to True
- `tags` (Block Set) (see [below for nested schema](#nestedblock--tags)) - `tags` (Block Set) (see [below for nested schema](#nestedblock--tags))
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `user_access` (Block Set) (see [below for nested schema](#nestedblock--user_access)) - `user_access` (Block Set) (see [below for nested schema](#nestedblock--user_access))
@ -118,9 +121,10 @@ description: |-
- `updated_by` (String) - `updated_by` (String)
- `updated_time` (Number) - `updated_time` (Number)
- `user_managed` (Boolean) - `user_managed` (Boolean)
- `vgpus` (List of Number) - `vgpus` (List of Object) List of virtual GPUs (see [below for nested schema](#nestedatt--vgpus))
- `virtual_image_id` (Number) - `virtual_image_id` (Number)
- `virtual_image_name` (String) - `virtual_image_name` (String)
- `vnc_password` (String)
<a id="nestedblock--affinity_rules"></a> <a id="nestedblock--affinity_rules"></a>
### Nested Schema for `affinity_rules` ### Nested Schema for `affinity_rules`
@ -180,6 +184,7 @@ Optional:
Read-Only: Read-Only:
- `disk_id` (Number) Disk ID - `disk_id` (Number) Disk ID
- `present_to` (Map of Number)
- `shareable` (Boolean) - `shareable` (Boolean)
- `size_max` (Number) - `size_max` (Number)
- `size_used` (Number) - `size_used` (Number)
@ -196,13 +201,10 @@ Required:
Optional: Optional:
- `ip_address` (String) Optional IP address to assign to this connection. This IP should belong to the selected network and free for use. - `ip_address` (String) Optional IP address to assign to this connection. This IP should belong to the selected network and free for use.
- `mac` (String) MAC address associated with this connection. MAC address is assigned automatically.
- `mtu` (Number) Maximum transmission unit, used only for DPDK type, must be 1-9216 - `mtu` (Number) Maximum transmission unit, used only for DPDK type, must be 1-9216
- `weight` (Number) weight the network if you need to sort network list, the smallest attach first. zero or null weight attach last - `weight` (Number) weight the network if you need to sort network list, the smallest attach first. zero or null weight attach last
Read-Only:
- `mac` (String) MAC address associated with this connection. MAC address is assigned automatically.
<a id="nestedblock--port_forwarding"></a> <a id="nestedblock--port_forwarding"></a>
### Nested Schema for `port_forwarding` ### Nested Schema for `port_forwarding`
@ -276,6 +278,7 @@ Read-Only:
- `image_id` (Number) - `image_id` (Number)
- `permanently` (Boolean) - `permanently` (Boolean)
- `pool` (String) - `pool` (String)
- `present_to` (Map of Number)
- `sep_id` (Number) - `sep_id` (Number)
- `shareable` (Boolean) - `shareable` (Boolean)
- `size` (Number) - `size` (Number)
@ -357,3 +360,29 @@ Read-Only:
- `guid` (String) - `guid` (String)
- `label` (String) - `label` (String)
- `timestamp` (Number) - `timestamp` (Number)
<a id="nestedatt--vgpus"></a>
### Nested Schema for `vgpus`
Read-Only:
- `account_id` (Number)
- `bus_number` (Number)
- `created_time` (Number)
- `deleted_time` (Number)
- `gid` (Number)
- `guid` (Number)
- `id` (Number)
- `last_claimed_by` (Number)
- `last_update_time` (Number)
- `mode` (String)
- `pci_slot` (Number)
- `pgpuid` (Number)
- `profile_id` (Number)
- `ram` (Number)
- `reference_id` (String)
- `rg_id` (Number)
- `status` (String)
- `type` (String)
- `vmid` (Number)

@ -35,7 +35,6 @@ description: |-
- `owner` (String) - `owner` (String)
- `permanently` (Boolean) Set to True if you want force delete non-empty RG - `permanently` (Boolean) Set to True if you want force delete non-empty RG
- `quota` (Block List, Max: 1) Quota settings for this resource group. (see [below for nested schema](#nestedblock--quota)) - `quota` (Block List, Max: 1) Quota settings for this resource group. (see [below for nested schema](#nestedblock--quota))
- `register_computes` (Boolean) Register computes in registration system
- `restore` (Boolean) - `restore` (Boolean)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `uniq_pools` (List of String) - `uniq_pools` (List of String)

@ -77,7 +77,7 @@ description: |-
Optional: Optional:
- `ext_net_id` (Number) - `ext_net_id` (Number)
- `ext_net_ip` (Number) - `ext_net_ip` (String)
<a id="nestedblock--ip"></a> <a id="nestedblock--ip"></a>
@ -163,6 +163,7 @@ Read-Only:
- `tech_status` (String) - `tech_status` (String)
- `type` (String) - `type` (String)
- `vins` (List of Number) - `vins` (List of Number)
- `vnc_password` (String)
- `vnf_id` (Number) - `vnf_id` (Number)
- `vnf_name` (String) - `vnf_name` (String)
@ -303,10 +304,7 @@ Read-Only:
Read-Only: Read-Only:
- `client_type` (String) - `account_id` (Number)
- `desc` (String)
- `domainname` (String)
- `hostname` (String)
- `ip` (String) - `ip` (String)
- `mac` (String) - `mac` (String)
- `type` (String) - `type` (String)

@ -24,12 +24,12 @@ description: |-
### Optional ### Optional
- `compute_ids` (List of Number)
- `route_id` (Number) - `route_id` (Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only ### Read-Only
- `compute_ids` (List of Number)
- `guid` (String) - `guid` (String)
- `id` (String) The ID of this resource. - `id` (String) The ID of this resource.

@ -8,7 +8,7 @@ require (
github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0
github.com/sirupsen/logrus v1.9.0 github.com/sirupsen/logrus v1.9.0
golang.org/x/net v0.23.0 golang.org/x/net v0.23.0
repository.basistech.ru/BASIS/decort-golang-sdk v1.9.2 repository.basistech.ru/BASIS/decort-golang-sdk v1.11.6
) )
require ( require (

@ -273,5 +273,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.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 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
repository.basistech.ru/BASIS/decort-golang-sdk v1.9.2 h1:MPH1tMQrDN1Gri4FrQP3cx60uR3uZioEDb707D88/7c= repository.basistech.ru/BASIS/decort-golang-sdk v1.11.6 h1:CTcMkUJgwDsUA+Az8FI5iLpZDk4ubOO4JnAfbOwDnM0=
repository.basistech.ru/BASIS/decort-golang-sdk v1.9.2/go.mod h1:OaUynHHuSjWMzpfyoL4au6oLcUogqUkPPBKA15pbHWo= repository.basistech.ru/BASIS/decort-golang-sdk v1.11.6/go.mod h1:OaUynHHuSjWMzpfyoL4au6oLcUogqUkPPBKA15pbHWo=

@ -35,6 +35,7 @@ import (
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudapi/lb" "repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudapi/lb"
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudapi/locations" "repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudapi/locations"
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudapi/rg" "repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudapi/rg"
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudapi/sep"
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudapi/snapshot" "repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudapi/snapshot"
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudapi/stack" "repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudapi/stack"
"repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudapi/vfpool" "repository.basistech.ru/BASIS/terraform-provider-decort/internal/service/cloudapi/vfpool"
@ -137,6 +138,7 @@ func newDataSourcesMap() map[string]*schema.Resource {
"decort_extnet_computes_list": extnet.DataSourceExtnetComputesList(), "decort_extnet_computes_list": extnet.DataSourceExtnetComputesList(),
"decort_extnet": extnet.DataSourceExtnet(), "decort_extnet": extnet.DataSourceExtnet(),
"decort_extnet_default": extnet.DataSourceExtnetDefault(), "decort_extnet_default": extnet.DataSourceExtnetDefault(),
"decort_extnet_reserved_ip_list": extnet.DataSourceExtnetReservedIp(),
"decort_locations_list": locations.DataSourceLocationsList(), "decort_locations_list": locations.DataSourceLocationsList(),
"decort_location_url": locations.DataSourceLocationUrl(), "decort_location_url": locations.DataSourceLocationUrl(),
"decort_image_list": image.DataSourceImageList(), "decort_image_list": image.DataSourceImageList(),
@ -158,6 +160,7 @@ func newDataSourcesMap() map[string]*schema.Resource {
"decort_k8s_wg_cloud_init": k8s.DataSourceK8sWgCloudInit(), "decort_k8s_wg_cloud_init": k8s.DataSourceK8sWgCloudInit(),
"decort_rg_resource_consumption_list": rg.DataSourceRGResourceConsumptionList(), "decort_rg_resource_consumption_list": rg.DataSourceRGResourceConsumptionList(),
"decort_rg_resource_consumption_get": rg.DataSourceRGResourceConsumptionGet(), "decort_rg_resource_consumption_get": rg.DataSourceRGResourceConsumptionGet(),
"decort_sep_and_pools_available_list": sep.DataSourceAvailableSEPAndPoolsList(),
"decort_cb_account": cb_account.DataSourceAccount(), "decort_cb_account": cb_account.DataSourceAccount(),
"decort_cb_account_list": cb_account.DataSourceAccountList(), "decort_cb_account_list": cb_account.DataSourceAccountList(),
@ -180,6 +183,7 @@ func newDataSourcesMap() map[string]*schema.Resource {
"decort_cb_extnet": cb_extnet.DataSourceExtnetCB(), "decort_cb_extnet": cb_extnet.DataSourceExtnetCB(),
"decort_cb_extnet_list": cb_extnet.DataSourceExtnetListCB(), "decort_cb_extnet_list": cb_extnet.DataSourceExtnetListCB(),
"decort_cb_extnet_default": cb_extnet.DataSourceExtnetDefaultCB(), "decort_cb_extnet_default": cb_extnet.DataSourceExtnetDefaultCB(),
"decort_cb_extnet_reserved_ip_list": cb_extnet.DataSourceExtnetReservedIp(),
"decort_cb_extnet_static_route_list": cb_extnet.DataSourceStaticRouteList(), "decort_cb_extnet_static_route_list": cb_extnet.DataSourceStaticRouteList(),
"decort_cb_extnet_static_route": cb_extnet.DataSourceStaticRoute(), "decort_cb_extnet_static_route": cb_extnet.DataSourceStaticRoute(),
"decort_cb_image": cb_image.DataSourceImage(), "decort_cb_image": cb_image.DataSourceImage(),
@ -187,7 +191,6 @@ func newDataSourcesMap() map[string]*schema.Resource {
"decort_cb_grid_get_status": cb_grid.DataSourceGridGetStatus(), "decort_cb_grid_get_status": cb_grid.DataSourceGridGetStatus(),
"decort_cb_grid_post_status": cb_grid.DataSourceGridPostStatus(), "decort_cb_grid_post_status": cb_grid.DataSourceGridPostStatus(),
"decort_cb_grid_get_diagnosis": cb_grid.DataSourceGridGetDiagnosis(), "decort_cb_grid_get_diagnosis": cb_grid.DataSourceGridGetDiagnosis(),
"decort_cb_grid_post_diagnosis": cb_grid.DataSourceGridPostDiagnosis(),
"decort_cb_grid_get_settings": cb_grid.DataSourceGridGetSettings(), "decort_cb_grid_get_settings": cb_grid.DataSourceGridGetSettings(),
"decort_cb_grid_list": cb_grid.DataSourceGridList(), "decort_cb_grid_list": cb_grid.DataSourceGridList(),
"decort_cb_grid_list_emails": cb_grid.DataSourceGridListEmails(), "decort_cb_grid_list_emails": cb_grid.DataSourceGridListEmails(),
@ -240,10 +243,12 @@ func newDataSourcesMap() map[string]*schema.Resource {
"decort_cb_rg_usage": cb_rg.DataSourceRgUsage(), "decort_cb_rg_usage": cb_rg.DataSourceRgUsage(),
"decort_cb_sep_list": cb_sep.DataSourceSepList(), "decort_cb_sep_list": cb_sep.DataSourceSepList(),
"decort_cb_sep": cb_sep.DataSourceSep(), "decort_cb_sep": cb_sep.DataSourceSep(),
"decort_cb_sep_and_pools_available_list": cb_sep.DataSourceAvailableSEPAndPoolsList(),
"decort_cb_sep_consumption": cb_sep.DataSourceSepConsumption(), "decort_cb_sep_consumption": cb_sep.DataSourceSepConsumption(),
"decort_cb_sep_disk_list": cb_sep.DataSourceSepDiskList(), "decort_cb_sep_disk_list": cb_sep.DataSourceSepDiskList(),
"decort_cb_sep_config": cb_sep.DataSourceSepConfig(), "decort_cb_sep_config": cb_sep.DataSourceSepConfig(),
"decort_cb_sep_pool": cb_sep.DataSourceSepPool(), "decort_cb_sep_pool": cb_sep.DataSourceSepPool(),
"decort_cb_sep_template": cb_sep.DataSourceSepTemplate(),
"decort_cb_lb": cb_lb.DataSourceLB(), "decort_cb_lb": cb_lb.DataSourceLB(),
"decort_cb_lb_list": cb_lb.DataSourceLBList(), "decort_cb_lb_list": cb_lb.DataSourceLBList(),
"decort_cb_lb_list_deleted": cb_lb.DataSourceLBListDeleted(), "decort_cb_lb_list_deleted": cb_lb.DataSourceLBListDeleted(),

@ -326,6 +326,10 @@ func dataSourceAccountSchemaMake() map[string]*schema.Schema {
Type: schema.TypeFloat, Type: schema.TypeFloat,
Computed: true, Computed: true,
}, },
"desc": {
Type: schema.TypeString,
Computed: true,
},
"deleted_by": { "deleted_by": {
Type: schema.TypeString, Type: schema.TypeString,
Computed: true, Computed: true,

@ -49,6 +49,7 @@ func flattenAccountList(al *account.ListAccounts) []map[string]interface{} {
"acl": flattenRgAcl(acc.ACL), "acl": flattenRgAcl(acc.ACL),
"compute_features": acc.ComputeFeatures, "compute_features": acc.ComputeFeatures,
"created_time": acc.CreatedTime, "created_time": acc.CreatedTime,
"desc": acc.Description,
"deleted_time": acc.DeletedTime, "deleted_time": acc.DeletedTime,
"account_id": acc.ID, "account_id": acc.ID,
"account_name": acc.Name, "account_name": acc.Name,
@ -176,6 +177,10 @@ func dataSourceAccountListSchemaMake() map[string]*schema.Schema {
Type: schema.TypeInt, Type: schema.TypeInt,
Computed: true, Computed: true,
}, },
"desc": {
Type: schema.TypeString,
Computed: true,
},
"deleted_time": { "deleted_time": {
Type: schema.TypeInt, Type: schema.TypeInt,
Computed: true, Computed: true,

@ -50,6 +50,7 @@ func flattenAccountRGList(argl *account.ListRG) []map[string]interface{} {
"resources": flattenAccRGResources(arg.Resources), "resources": flattenAccRGResources(arg.Resources),
"created_by": arg.CreatedBy, "created_by": arg.CreatedBy,
"created_time": arg.CreatedTime, "created_time": arg.CreatedTime,
"desc": arg.Description,
"deleted_by": arg.DeletedBy, "deleted_by": arg.DeletedBy,
"deleted_time": arg.DeletedTime, "deleted_time": arg.DeletedTime,
"rg_id": arg.RGID, "rg_id": arg.RGID,
@ -314,6 +315,10 @@ func dataSourceAccountRGListSchemaMake() map[string]*schema.Schema {
Type: schema.TypeInt, Type: schema.TypeInt,
Computed: true, Computed: true,
}, },
"desc": {
Type: schema.TypeString,
Computed: true,
},
"deleted_by": { "deleted_by": {
Type: schema.TypeString, Type: schema.TypeString,
Computed: true, Computed: true,

@ -7,6 +7,7 @@ import (
func flattenAccount(d *schema.ResourceData, acc account.RecordAccount) error { func flattenAccount(d *schema.ResourceData, acc account.RecordAccount) error {
d.Set("dc_location", acc.DCLocation) d.Set("dc_location", acc.DCLocation)
d.Set("desc", acc.Description)
// d.Set("resources", flattenAccResources(acc.Resources)) // d.Set("resources", flattenAccResources(acc.Resources))
d.Set("ckey", acc.CKey) d.Set("ckey", acc.CKey)
d.Set("acl", flattenAccAcl(acc.ACL)) d.Set("acl", flattenAccAcl(acc.ACL))
@ -16,9 +17,11 @@ func flattenAccount(d *schema.ResourceData, acc account.RecordAccount) error {
d.Set("created_by", acc.CreatedBy) d.Set("created_by", acc.CreatedBy)
d.Set("created_time", acc.CreatedTime) d.Set("created_time", acc.CreatedTime)
d.Set("deactivation_time", acc.DeactivationTime) d.Set("deactivation_time", acc.DeactivationTime)
d.Set("desc", acc.Description)
d.Set("deleted_by", acc.DeletedBy) d.Set("deleted_by", acc.DeletedBy)
d.Set("deleted_time", acc.DeletedTime) d.Set("deleted_time", acc.DeletedTime)
d.Set("displayname", acc.DisplayName) d.Set("displayname", acc.DisplayName)
d.Set("enable", flattenEnabled(acc.Status))
d.Set("guid", acc.GUID) d.Set("guid", acc.GUID)
d.Set("account_id", acc.ID) d.Set("account_id", acc.ID)
d.Set("account_name", acc.Name) d.Set("account_name", acc.Name)
@ -43,6 +46,10 @@ func flattenAccount(d *schema.ResourceData, acc account.RecordAccount) error {
return nil return nil
} }
func flattenEnabled(status string) bool {
return status == "CONFIRMED"
}
func flattenAccComputes(acs account.Computes) []map[string]interface{} { func flattenAccComputes(acs account.Computes) []map[string]interface{} {
res := make([]map[string]interface{}, 0) res := make([]map[string]interface{}, 0)
temp := map[string]interface{}{ temp := map[string]interface{}{

@ -176,6 +176,7 @@ func resourceAccountUpdate(ctx context.Context, d *schema.ResourceData, m interf
if d.HasChange("enable") { if d.HasChange("enable") {
reqSwitch := account.DisableEnableRequest{ reqSwitch := account.DisableEnableRequest{
AccountID: accountId, AccountID: accountId,
Reason: d.Get("reason").(string),
} }
enable := d.Get("enable").(bool) enable := d.Get("enable").(bool)
@ -207,6 +208,11 @@ func resourceAccountUpdate(ctx context.Context, d *schema.ResourceData, m interf
updated = true updated = true
} }
if d.HasChange("desc") {
req.Description = d.Get("desc").(string)
updated = true
}
if d.HasChange("resource_limits") { if d.HasChange("resource_limits") {
resLimit := d.Get("resource_limits").([]interface{})[0] resLimit := d.Get("resource_limits").([]interface{})[0]
resLimitConv := resLimit.(map[string]interface{}) resLimitConv := resLimit.(map[string]interface{})
@ -394,10 +400,10 @@ func resourceAccountSchemaMake() map[string]*schema.Schema {
Required: true, Required: true,
Description: "account name", Description: "account name",
}, },
"username": { "desc": {
Type: schema.TypeString, Type: schema.TypeString,
Required: true, Optional: true,
Description: "username of owner the account", Description: "description",
}, },
"emailaddress": { "emailaddress": {
Type: schema.TypeString, Type: schema.TypeString,
@ -425,6 +431,11 @@ func resourceAccountSchemaMake() map[string]*schema.Schema {
}, },
}, },
}, },
"reason": {
Type: schema.TypeString,
Optional: true,
Description: "reason for deactivation",
},
"restore": { "restore": {
Type: schema.TypeBool, Type: schema.TypeBool,
Optional: true, Optional: true,
@ -439,6 +450,7 @@ func resourceAccountSchemaMake() map[string]*schema.Schema {
"enable": { "enable": {
Type: schema.TypeBool, Type: schema.TypeBool,
Optional: true, Optional: true,
Computed: true,
Description: "enable/disable account", Description: "enable/disable account",
}, },
"resource_limits": { "resource_limits": {

@ -105,6 +105,7 @@ func flattenBSGroupComputes(bsgcs bservice.ListGroupComputes) []map[string]inter
"ip_addresses": bsgc.IPAddresses, "ip_addresses": bsgc.IPAddresses,
"name": bsgc.Name, "name": bsgc.Name,
"os_users": flattenBSGroupOSUsers(bsgc.OSUsers), "os_users": flattenBSGroupOSUsers(bsgc.OSUsers),
"chipset": bsgc.Chipset,
} }
res = append(res, temp) res = append(res, temp)
} }
@ -149,6 +150,10 @@ func dataSourceBasicServiceGroupSchemaMake() map[string]*schema.Schema {
Type: schema.TypeString, Type: schema.TypeString,
Computed: true, Computed: true,
}, },
"chipset": {
Type: schema.TypeString,
Computed: true,
},
"os_users": { "os_users": {
Type: schema.TypeList, Type: schema.TypeList,
Computed: true, Computed: true,

@ -100,6 +100,10 @@ func resourceBasicServiceGroupCreate(ctx context.Context, d *schema.ResourceData
req.ExtNets = res req.ExtNets = res
} }
if chipset, ok := d.GetOk("chipset"); ok {
req.Chipset = chipset.(string)
}
compgroupId, err := c.CloudAPI().BService().GroupAdd(ctx, req) compgroupId, err := c.CloudAPI().BService().GroupAdd(ctx, req)
if err != nil { if err != nil {
return diag.FromErr(err) return diag.FromErr(err)
@ -172,6 +176,7 @@ func resourceBasicServiceGroupUpdate(ctx context.Context, d *schema.ResourceData
ServiceID: uint64(d.Get("service_id").(int)), ServiceID: uint64(d.Get("service_id").(int)),
CompGroupID: uint64(d.Get("compgroup_id").(int)), CompGroupID: uint64(d.Get("compgroup_id").(int)),
Count: int64(d.Get("comp_count").(int)), Count: int64(d.Get("comp_count").(int)),
Chipset: d.Get("chipset").(string),
Mode: d.Get("mode").(string), Mode: d.Get("mode").(string),
} }
@ -414,6 +419,12 @@ func resourceBasicServiceGroupSchemaMake() map[string]*schema.Schema {
Optional: true, Optional: true,
Description: "Optional cloud_init parameters. Applied when creating new compute instance only, ignored in all other cases.", Description: "Optional cloud_init parameters. Applied when creating new compute instance only, ignored in all other cases.",
}, },
"chipset": {
Type: schema.TypeString,
Optional: true,
ValidateFunc: validation.StringInSlice([]string{"i440fx", "Q35"}, false),
Default: "i440fx",
},
/// ///
"role": { "role": {
Type: schema.TypeString, Type: schema.TypeString,
@ -503,6 +514,10 @@ func resourceBasicServiceGroupSchemaMake() map[string]*schema.Schema {
Computed: true, Computed: true,
Elem: &schema.Resource{ Elem: &schema.Resource{
Schema: map[string]*schema.Schema{ Schema: map[string]*schema.Schema{
"chipset": {
Type: schema.TypeString,
Computed: true,
},
"id": { "id": {
Type: schema.TypeInt, Type: schema.TypeInt,
Computed: true, Computed: true,

@ -101,11 +101,19 @@ func dataSourceDiskSchemaMake() map[string]*schema.Schema {
}, },
}, },
}, },
"created_by": {
Type: schema.TypeString,
Computed: true,
},
"created_time": { "created_time": {
Type: schema.TypeInt, Type: schema.TypeInt,
Computed: true, Computed: true,
Description: "Created time", Description: "Created time",
}, },
"deleted_by": {
Type: schema.TypeString,
Computed: true,
},
"deleted_time": { "deleted_time": {
Type: schema.TypeInt, Type: schema.TypeInt,
Computed: true, Computed: true,
@ -237,16 +245,24 @@ func dataSourceDiskSchemaMake() map[string]*schema.Schema {
// Computed: true, // Computed: true,
// Description: "Login to access the disk", // Description: "Login to access the disk",
// }, // },
// "milestones": { "milestones": {
// Type: schema.TypeInt, Type: schema.TypeInt,
// Computed: true, Computed: true,
// Description: "Milestones", Description: "Milestones",
// }, },
"disk_name": { "disk_name": {
Type: schema.TypeString, Type: schema.TypeString,
Computed: true, Computed: true,
Description: "Name of disk", Description: "Name of disk",
}, },
"machine_id": {
Type: schema.TypeInt,
Computed: true,
},
"machine_name": {
Type: schema.TypeString,
Computed: true,
},
"order": { "order": {
Type: schema.TypeInt, Type: schema.TypeInt,
Computed: true, Computed: true,
@ -278,7 +294,7 @@ func dataSourceDiskSchemaMake() map[string]*schema.Schema {
Description: "Pool for disk location", Description: "Pool for disk location",
}, },
"present_to": { "present_to": {
Type: schema.TypeList, Type: schema.TypeMap,
Computed: true, Computed: true,
Elem: &schema.Schema{ Elem: &schema.Schema{
Type: schema.TypeInt, Type: schema.TypeInt,
@ -366,6 +382,10 @@ func dataSourceDiskSchemaMake() map[string]*schema.Schema {
Type: schema.TypeBool, Type: schema.TypeBool,
Computed: true, Computed: true,
}, },
"size_available": {
Type: schema.TypeFloat,
Computed: true,
},
"size_max": { "size_max": {
Type: schema.TypeInt, Type: schema.TypeInt,
Computed: true, Computed: true,
@ -434,6 +454,14 @@ func dataSourceDiskSchemaMake() map[string]*schema.Schema {
Computed: true, Computed: true,
Description: "Virtual Machine ID (Deprecated)", Description: "Virtual Machine ID (Deprecated)",
}, },
"updated_by": {
Type: schema.TypeString,
Computed: true,
},
"updated_time": {
Type: schema.TypeInt,
Computed: true,
},
} }
return rets return rets

@ -163,6 +163,10 @@ func dataSourceDiskListSchemaMake() map[string]*schema.Schema {
}, },
}, },
}, },
"created_by": {
Type: schema.TypeString,
Computed: true,
},
"created_time": { "created_time": {
Type: schema.TypeInt, Type: schema.TypeInt,
Computed: true, Computed: true,
@ -314,11 +318,15 @@ func dataSourceDiskListSchemaMake() map[string]*schema.Schema {
Computed: true, Computed: true,
Description: "Machine name", Description: "Machine name",
}, },
// "milestones": { "deleted_by": {
// Type: schema.TypeInt, Type: schema.TypeString,
// Computed: true, Computed: true,
// Description: "Milestones", },
// }, "milestones": {
Type: schema.TypeInt,
Computed: true,
Description: "Milestones",
},
"disk_name": { "disk_name": {
Type: schema.TypeString, Type: schema.TypeString,
Computed: true, Computed: true,
@ -355,7 +363,7 @@ func dataSourceDiskListSchemaMake() map[string]*schema.Schema {
Description: "Pool for disk location", Description: "Pool for disk location",
}, },
"present_to": { "present_to": {
Type: schema.TypeList, Type: schema.TypeMap,
Computed: true, Computed: true,
Elem: &schema.Schema{ Elem: &schema.Schema{
Type: schema.TypeInt, Type: schema.TypeInt,
@ -443,6 +451,10 @@ func dataSourceDiskListSchemaMake() map[string]*schema.Schema {
Type: schema.TypeBool, Type: schema.TypeBool,
Computed: true, Computed: true,
}, },
"size_available": {
Type: schema.TypeFloat,
Computed: true,
},
"size_max": { "size_max": {
Type: schema.TypeInt, Type: schema.TypeInt,
Computed: true, Computed: true,
@ -511,6 +523,14 @@ func dataSourceDiskListSchemaMake() map[string]*schema.Schema {
Computed: true, Computed: true,
Description: "Virtual Machine ID (Deprecated)", Description: "Virtual Machine ID (Deprecated)",
}, },
"updated_by": {
Type: schema.TypeString,
Computed: true,
},
"updated_time": {
Type: schema.TypeInt,
Computed: true,
},
}, },
}, },
}, },

@ -303,7 +303,7 @@ func dataSourceDiskReplicationSchemaMake() map[string]*schema.Schema {
Description: "Pool for disk location", Description: "Pool for disk location",
}, },
"present_to": { "present_to": {
Type: schema.TypeList, Type: schema.TypeMap,
Computed: true, Computed: true,
Elem: &schema.Schema{ Elem: &schema.Schema{
Type: schema.TypeInt, Type: schema.TypeInt,

@ -149,11 +149,19 @@ func dataSourceDiskDeletedListSchemaMake() map[string]*schema.Schema {
}, },
}, },
}, },
"created_by": {
Type: schema.TypeString,
Computed: true,
},
"created_time": { "created_time": {
Type: schema.TypeInt, Type: schema.TypeInt,
Computed: true, Computed: true,
Description: "Created time", Description: "Created time",
}, },
"deleted_by": {
Type: schema.TypeString,
Computed: true,
},
"deleted_time": { "deleted_time": {
Type: schema.TypeInt, Type: schema.TypeInt,
Computed: true, Computed: true,
@ -300,11 +308,11 @@ func dataSourceDiskDeletedListSchemaMake() map[string]*schema.Schema {
Computed: true, Computed: true,
Description: "Machine name", Description: "Machine name",
}, },
// "milestones": { "milestones": {
// Type: schema.TypeInt, Type: schema.TypeInt,
// Computed: true, Computed: true,
// Description: "Milestones", Description: "Milestones",
// }, },
"disk_name": { "disk_name": {
Type: schema.TypeString, Type: schema.TypeString,
Computed: true, Computed: true,
@ -341,7 +349,7 @@ func dataSourceDiskDeletedListSchemaMake() map[string]*schema.Schema {
Description: "Pool for disk location", Description: "Pool for disk location",
}, },
"present_to": { "present_to": {
Type: schema.TypeList, Type: schema.TypeMap,
Computed: true, Computed: true,
Elem: &schema.Schema{ Elem: &schema.Schema{
Type: schema.TypeInt, Type: schema.TypeInt,
@ -429,6 +437,10 @@ func dataSourceDiskDeletedListSchemaMake() map[string]*schema.Schema {
Type: schema.TypeBool, Type: schema.TypeBool,
Computed: true, Computed: true,
}, },
"size_available": {
Type: schema.TypeFloat,
Computed: true,
},
"size_max": { "size_max": {
Type: schema.TypeInt, Type: schema.TypeInt,
Computed: true, Computed: true,
@ -497,6 +509,14 @@ func dataSourceDiskDeletedListSchemaMake() map[string]*schema.Schema {
Computed: true, Computed: true,
Description: "Virtual Machine ID (Deprecated)", Description: "Virtual Machine ID (Deprecated)",
}, },
"updated_by": {
Type: schema.TypeString,
Computed: true,
},
"updated_time": {
Type: schema.TypeInt,
Computed: true,
},
}, },
}, },
}, },

@ -77,7 +77,9 @@ func flattenDisk(d *schema.ResourceData, disk *disks.RecordDisk) {
d.Set("acl", string(diskAcl)) d.Set("acl", string(diskAcl))
// d.Set("boot_partition", disk.BootPartition) // d.Set("boot_partition", disk.BootPartition)
d.Set("computes", flattenDiskComputes(disk.Computes)) d.Set("computes", flattenDiskComputes(disk.Computes))
d.Set("created_by", disk.CreatedBy)
d.Set("created_time", disk.CreatedTime) d.Set("created_time", disk.CreatedTime)
d.Set("deleted_by", disk.DeletedBy)
d.Set("deleted_time", disk.DeletedTime) d.Set("deleted_time", disk.DeletedTime)
d.Set("desc", disk.Description) d.Set("desc", disk.Description)
d.Set("destruction_time", disk.DestructionTime) d.Set("destruction_time", disk.DestructionTime)
@ -91,7 +93,9 @@ func flattenDisk(d *schema.ResourceData, disk *disks.RecordDisk) {
d.Set("iotune", flattenIOTune(disk.IOTune)) d.Set("iotune", flattenIOTune(disk.IOTune))
// d.Set("iqn", disk.IQN) // d.Set("iqn", disk.IQN)
// d.Set("login", disk.Login) // d.Set("login", disk.Login)
// d.Set("milestones", disk.Milestones) d.Set("machine_id", disk.MachineID)
d.Set("machine_name", disk.MachineName)
d.Set("milestones", disk.Milestones)
d.Set("disk_name", disk.Name) d.Set("disk_name", disk.Name)
d.Set("order", disk.Order) d.Set("order", disk.Order)
d.Set("params", disk.Params) d.Set("params", disk.Params)
@ -110,6 +114,7 @@ func flattenDisk(d *schema.ResourceData, disk *disks.RecordDisk) {
d.Set("role", disk.Role) d.Set("role", disk.Role)
d.Set("sep_id", disk.SepID) d.Set("sep_id", disk.SepID)
d.Set("sep_type", disk.SepType) d.Set("sep_type", disk.SepType)
d.Set("size_available", disk.SizeAvailable)
d.Set("size_max", disk.SizeMax) d.Set("size_max", disk.SizeMax)
d.Set("size_used", disk.SizeUsed) d.Set("size_used", disk.SizeUsed)
d.Set("shareable", disk.Shareable) d.Set("shareable", disk.Shareable)
@ -118,6 +123,8 @@ func flattenDisk(d *schema.ResourceData, disk *disks.RecordDisk) {
d.Set("tech_status", disk.TechStatus) d.Set("tech_status", disk.TechStatus)
d.Set("type", disk.Type) d.Set("type", disk.Type)
d.Set("vmid", disk.VMID) d.Set("vmid", disk.VMID)
d.Set("updated_by", disk.UpdatedBy)
d.Set("updated_time", disk.UpdatedTime)
} }
func flattenDiskReplication(rep disks.ItemReplication) []map[string]interface{} { func flattenDiskReplication(rep disks.ItemReplication) []map[string]interface{} {
@ -211,7 +218,9 @@ func flattenDiskList(dl *disks.ListDisks) []map[string]interface{} {
"account_name": disk.AccountName, "account_name": disk.AccountName,
"acl": string(diskAcl), "acl": string(diskAcl),
"computes": flattenDiskComputes(disk.Computes), "computes": flattenDiskComputes(disk.Computes),
"created_by": disk.CreatedBy,
"created_time": disk.CreatedTime, "created_time": disk.CreatedTime,
"deleted_by": disk.DeletedBy,
"deleted_time": disk.DeletedTime, "deleted_time": disk.DeletedTime,
"desc": disk.Description, "desc": disk.Description,
"destruction_time": disk.DestructionTime, "destruction_time": disk.DestructionTime,
@ -223,6 +232,7 @@ func flattenDiskList(dl *disks.ListDisks) []map[string]interface{} {
"iotune": flattenIOTune(disk.IOTune), "iotune": flattenIOTune(disk.IOTune),
"machine_id": disk.MachineID, "machine_id": disk.MachineID,
"machine_name": disk.MachineName, "machine_name": disk.MachineName,
"milestones": disk.Milestones,
"disk_name": disk.Name, "disk_name": disk.Name,
"order": disk.Order, "order": disk.Order,
"params": disk.Params, "params": disk.Params,
@ -238,6 +248,7 @@ func flattenDiskList(dl *disks.ListDisks) []map[string]interface{} {
"sep_id": disk.SepID, "sep_id": disk.SepID,
"sep_type": disk.SepType, "sep_type": disk.SepType,
"shareable": disk.Shareable, "shareable": disk.Shareable,
"size_available": disk.SizeAvailable,
"size_max": disk.SizeMax, "size_max": disk.SizeMax,
"size_used": disk.SizeUsed, "size_used": disk.SizeUsed,
"snapshots": flattenDiskSnapshotList(disk.Snapshots), "snapshots": flattenDiskSnapshotList(disk.Snapshots),
@ -245,6 +256,8 @@ func flattenDiskList(dl *disks.ListDisks) []map[string]interface{} {
"tech_status": disk.TechStatus, "tech_status": disk.TechStatus,
"type": disk.Type, "type": disk.Type,
"vmid": disk.VMID, "vmid": disk.VMID,
"updated_by": disk.UpdatedBy,
"updated_time": disk.UpdatedTime,
} }
res = append(res, temp) res = append(res, temp)
} }

@ -36,7 +36,6 @@ import (
"context" "context"
"fmt" "fmt"
"strconv" "strconv"
"strings"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"repository.basistech.ru/BASIS/decort-golang-sdk/pkg/cloudapi/disks" "repository.basistech.ru/BASIS/decort-golang-sdk/pkg/cloudapi/disks"
@ -47,7 +46,6 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
) )
func resourceDiskCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics { func resourceDiskCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics {
@ -62,23 +60,9 @@ func resourceDiskCreate(ctx context.Context, d *schema.ResourceData, m interface
return diag.Errorf("resourceDiskCreate: can't create Disk because AccountID %d is not allowed or does not exist", d.Get("account_id").(int)) return diag.Errorf("resourceDiskCreate: can't create Disk because AccountID %d is not allowed or does not exist", d.Get("account_id").(int))
} }
haveGID, err := existGID(ctx, d, m)
if err != nil {
return diag.FromErr(err)
}
if !haveGID {
return diag.Errorf("resourceDiskCreate: can't create Disk because GID %d is not allowed or does not exist", d.Get("gid").(int))
}
req.AccountID = uint64(d.Get("account_id").(int)) req.AccountID = uint64(d.Get("account_id").(int))
req.GID = uint64(d.Get("gid").(int))
req.Name = d.Get("disk_name").(string) req.Name = d.Get("disk_name").(string)
req.Size = uint64(d.Get("size_max").(int)) req.Size = uint64(d.Get("size_max").(int))
if typeRaw, ok := d.GetOk("type"); ok {
req.Type = strings.ToUpper(typeRaw.(string))
} else {
req.Type = "D"
}
if sepId, ok := d.GetOk("sep_id"); ok { if sepId, ok := d.GetOk("sep_id"); ok {
req.SEPID = uint64(sepId.(int)) req.SEPID = uint64(sepId.(int))
@ -210,14 +194,6 @@ func resourceDiskUpdate(ctx context.Context, d *schema.ResourceData, m interface
return diag.Errorf("resourceDiskUpdate: can't update Disk because AccountID %d is not allowed or does not exist", d.Get("account_id").(int)) return diag.Errorf("resourceDiskUpdate: can't update Disk because AccountID %d is not allowed or does not exist", d.Get("account_id").(int))
} }
haveGID, err := existGID(ctx, d, m)
if err != nil {
return diag.FromErr(err)
}
if !haveGID {
return diag.Errorf("resourceDiskUpdate: can't update Disk because GID %d is not allowed or does not exist", d.Get("gid").(int))
}
disk, err := utilityDiskCheckPresence(ctx, d, m) disk, err := utilityDiskCheckPresence(ctx, d, m)
if err != nil { if err != nil {
d.SetId("") d.SetId("")
@ -377,6 +353,14 @@ func resourceDiskSchemaMake() map[string]*schema.Schema {
//ForceNew: true, //ForceNew: true,
Description: "The unique ID of the subscriber-owner of the disk", Description: "The unique ID of the subscriber-owner of the disk",
}, },
"created_by": {
Type: schema.TypeString,
Computed: true,
},
"deleted_by": {
Type: schema.TypeString,
Computed: true,
},
"disk_name": { "disk_name": {
Type: schema.TypeString, Type: schema.TypeString,
Required: true, Required: true,
@ -387,12 +371,6 @@ func resourceDiskSchemaMake() map[string]*schema.Schema {
Required: true, Required: true,
Description: "Size in GB", Description: "Size in GB",
}, },
"gid": {
Type: schema.TypeInt,
Required: true,
//ForceNew: true,
Description: "ID of the grid (platform)",
},
"pool": { "pool": {
Type: schema.TypeString, Type: schema.TypeString,
Optional: true, Optional: true,
@ -411,13 +389,6 @@ func resourceDiskSchemaMake() map[string]*schema.Schema {
Computed: true, Computed: true,
Description: "Description of disk", Description: "Description of disk",
}, },
"type": {
Type: schema.TypeString,
Optional: true,
Computed: true,
ValidateFunc: validation.StringInSlice([]string{"D", "B", "T"}, false),
Description: "The type of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'",
},
"detach": { "detach": {
Type: schema.TypeBool, Type: schema.TypeBool,
Optional: true, Optional: true,
@ -524,7 +495,7 @@ func resourceDiskSchemaMake() map[string]*schema.Schema {
}, },
}, },
"present_to": { "present_to": {
Type: schema.TypeList, Type: schema.TypeMap,
Computed: true, Computed: true,
Elem: &schema.Schema{ Elem: &schema.Schema{
Type: schema.TypeInt, Type: schema.TypeInt,
@ -585,6 +556,11 @@ func resourceDiskSchemaMake() map[string]*schema.Schema {
Computed: true, Computed: true,
Description: "Name of the device", Description: "Name of the device",
}, },
"gid": {
Type: schema.TypeInt,
Computed: true,
Description: "ID of the grid (platform)",
},
// "disk_path": { // "disk_path": {
// Type: schema.TypeString, // Type: schema.TypeString,
// Computed: true, // Computed: true,
@ -623,6 +599,14 @@ func resourceDiskSchemaMake() map[string]*schema.Schema {
// Computed: true, // Computed: true,
// Description: "Milestones", // Description: "Milestones",
// }, // },
"machine_id": {
Type: schema.TypeInt,
Computed: true,
},
"machine_name": {
Type: schema.TypeString,
Computed: true,
},
"order": { "order": {
Type: schema.TypeInt, Type: schema.TypeInt,
Computed: true, Computed: true,
@ -638,6 +622,11 @@ func resourceDiskSchemaMake() map[string]*schema.Schema {
Computed: true, Computed: true,
Description: "ID of the parent disk", 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": { // "passwd": {
// Type: schema.TypeString, // Type: schema.TypeString,
// Computed: true, // Computed: true,
@ -779,6 +768,14 @@ func resourceDiskSchemaMake() map[string]*schema.Schema {
Computed: true, Computed: true,
Description: "Virtual Machine ID (Deprecated)", Description: "Virtual Machine ID (Deprecated)",
}, },
"updated_by": {
Type: schema.TypeString,
Computed: true,
},
"updated_time": {
Type: schema.TypeInt,
Computed: true,
},
} }
return rets return rets

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save