This commit is contained in:
2024-08-26 18:22:06 +03:00
parent 6876b25f0e
commit 8ad6811e88
597 changed files with 52808 additions and 2129 deletions

View File

@@ -1,6 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_account Resource - decort"
page_title: "decort_account Resource - terraform-provider-decort"
subcategory: ""
description: |-
@@ -22,7 +22,6 @@ description: |-
### Optional
- `account_id` (Number)
- `emailaddress` (String) email
- `enable` (Boolean) enable/disable account
- `permanently` (Boolean) whether to completely delete the account
@@ -34,11 +33,15 @@ description: |-
### Read-Only
- `account_id` (Number)
- `acl` (List of Object) (see [below for nested schema](#nestedatt--acl))
- `ckey` (String)
- `company` (String)
- `companyurl` (String)
- `compute_features` (List of String)
- `computes` (List of Object) (see [below for nested schema](#nestedatt--computes))
- `cpu_allocation_parameter` (String)
- `cpu_allocation_ratio` (Number)
- `created_by` (String)
- `created_time` (Number)
- `dc_location` (String)
@@ -49,8 +52,6 @@ description: |-
- `guid` (Number)
- `id` (String) The ID of this resource.
- `machines` (List of Object) (see [below for nested schema](#nestedatt--machines))
- `meta` (List of String)
- `resources` (List of Object) (see [below for nested schema](#nestedatt--resources))
- `service_account` (Boolean)
- `status` (String)
- `updated_time` (Number)
@@ -126,39 +127,3 @@ Read-Only:
- `halted` (Number)
- `running` (Number)
<a id="nestedatt--resources"></a>
### Nested Schema for `resources`
Read-Only:
- `current` (List of Object) (see [below for nested schema](#nestedobjatt--resources--current))
- `reserved` (List of Object) (see [below for nested schema](#nestedobjatt--resources--reserved))
<a id="nestedobjatt--resources--current"></a>
### Nested Schema for `resources.current`
Read-Only:
- `cpu` (Number)
- `disksize` (Number)
- `extips` (Number)
- `exttraffic` (Number)
- `gpu` (Number)
- `ram` (Number)
<a id="nestedobjatt--resources--reserved"></a>
### Nested Schema for `resources.reserved`
Read-Only:
- `cpu` (Number)
- `disksize` (Number)
- `extips` (Number)
- `exttraffic` (Number)
- `gpu` (Number)
- `ram` (Number)

View File

@@ -1,6 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_bservice Resource - decort"
page_title: "decort_bservice Resource - terraform-provider-decort"
subcategory: ""
description: |-
@@ -22,7 +22,7 @@ description: |-
### Optional
- `enable` (Boolean) if set to False, Basic service will be deleted to recycle bin. Otherwise destroyed immediately
- `enable` (Boolean) Enable service. Enabling a service technically means setting model status of all computes and service itself to ENABLED. It does not start computes.
- `permanently` (Boolean) if set to False, Basic service will be deleted to recycle bin. Otherwise destroyed immediately
- `restore` (Boolean) Restores BasicService instance
- `service_id` (Number)
@@ -43,10 +43,9 @@ description: |-
- `created_time` (Number)
- `deleted_by` (String)
- `deleted_time` (Number)
- `disk_total` (String)
- `disk_total` (Number)
- `gid` (Number)
- `groups` (List of Number)
- `groups_name` (List of String)
- `groups` (List of Object) (see [below for nested schema](#nestedatt--groups))
- `guid` (Number)
- `id` (String) The ID of this resource.
- `milestones` (Number)
@@ -92,10 +91,27 @@ Optional:
Read-Only:
- `account_id` (Number)
- `architecture` (String)
- `compgroup_id` (Number)
- `compgroup_name` (String)
- `compgroup_role` (String)
- `id` (Number)
- `name` (String)
- `rg_id` (Number)
- `stack_id` (Number)
- `status` (String)
- `tech_status` (String)
<a id="nestedatt--groups"></a>
### Nested Schema for `groups`
Read-Only:
- `computes` (Number)
- `consistency` (Boolean)
- `id` (Number)
- `name` (String)
- `status` (String)
- `tech_status` (String)

View File

@@ -1,6 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_bservice_group Resource - decort"
page_title: "decort_bservice_group Resource - terraform-provider-decort"
subcategory: ""
description: |-
@@ -28,6 +28,7 @@ description: |-
### Optional
- `cloud_init` (String) Optional cloud_init parameters. Applied when creating new compute instance only, ignored in all other cases.
- `compgroup_id` (Number)
- `extnets` (List of Number) list of external networks to connect computes to
- `force_stop` (Boolean) force stop Compute Group
@@ -36,6 +37,8 @@ description: |-
- `parents` (List of Number)
- `remove_computes` (List of Number)
- `role` (String) group role tag. Can be empty string, does not have to be unique
- `sep_id` (Number) storage endpoint provider ID
- `sep_pool` (String) pool to use if sepId is set, can be also empty if needed to be chosen by system
- `start` (Boolean) Start the specified Compute Group within BasicService
- `timeout_start` (Number) time of Compute Group readiness
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
@@ -57,7 +60,6 @@ description: |-
- `milestones` (Number)
- `rg_id` (Number)
- `rg_name` (String)
- `sep_id` (Number)
- `seq_no` (Number)
- `status` (String)
- `tech_status` (String)
@@ -93,5 +95,3 @@ Read-Only:
- `login` (String)
- `password` (String)

View File

@@ -0,0 +1,113 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_account Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_account (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `account_name` (String) account name
- `username` (String) username of owner the account
### Optional
- `account_id` (Number)
- `available_templates` (Set of Number) Share images with account
- `compute_features` (Set of String)
- `cpu_allocation_parameter` (String) set cpu allocation parameter
- `cpu_allocation_ratio` (Number) set cpu allocation ratio
- `emailaddress` (String) email
- `enable` (Boolean) enable/disable account
- `permanently` (Boolean) whether to completely delete the account
- `resource_limits` (Block List, Max: 1) (see [below for nested schema](#nestedblock--resource_limits))
- `restore` (Boolean) restore a deleted account
- `send_access_emails` (Boolean) if true send emails when a user is granted access to resources
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `uniq_pools` (List of String)
- `users` (Block List) (see [below for nested schema](#nestedblock--users))
### Read-Only
- `acl` (List of Object) (see [below for nested schema](#nestedatt--acl))
- `ckey` (String)
- `company` (String)
- `companyurl` (String)
- `created_by` (String)
- `created_time` (Number)
- `dc_location` (String)
- `deactivation_time` (Number)
- `deleted_by` (String)
- `deleted_time` (Number)
- `displayname` (String)
- `guid` (Number)
- `id` (String) The ID of this resource.
- `resource_types` (List of String)
- `status` (String)
- `updated_time` (Number)
- `version` (Number)
- `vins` (List of Number)
<a id="nestedblock--resource_limits"></a>
### Nested Schema for `resource_limits`
Optional:
- `cu_c` (Number)
- `cu_dm` (Number)
- `cu_i` (Number)
- `cu_m` (Number)
- `cu_np` (Number)
- `gpu_units` (Number)
Read-Only:
- `cu_d` (Number)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedblock--users"></a>
### Nested Schema for `users`
Required:
- `access_type` (String)
- `user_id` (String)
Optional:
- `recursive_delete` (Boolean)
<a id="nestedatt--acl"></a>
### Nested Schema for `acl`
Read-Only:
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)

View File

@@ -1,12 +1,12 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cdrom_image Resource - decort"
page_title: "decort_cb_cdrom_image Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cdrom_image (Resource)
# decort_cb_cdrom_image (Resource)
@@ -29,30 +29,33 @@ description: |-
- `bootable` (Boolean) Does this image boot OS
- `computeci_id` (Number)
- `enabled` (Boolean)
- `enabled_stacks` (List of String)
- `enabled_stacks` (List of Number)
- `hot_resize` (Boolean) Does this machine supports hot resize
- `password` (String) Optional password for the image
- `password_dl` (String) password for upload binary media
- `permanently` (Boolean) Whether to completely delete the image
- `pool_name` (String) pool for image create
- `sep_id` (Number) storage endpoint provider ID
- `shared_with` (List of Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `username` (String) Optional username for the image
- `username_dl` (String) username for upload binary media
### Read-Only
- `acl` (List of Object) (see [below for nested schema](#nestedatt--acl))
- `boot_type` (String) Boot type of image bios or uefi
- `ckey` (String)
- `deleted_time` (Number)
- `desc` (String)
- `guid` (Number)
- `history` (List of Object) (see [below for nested schema](#nestedatt--history))
- `id` (String) The ID of this resource.
- `image_id` (Number) image id
- `image_type` (String) Image type linux, windows or other
- `last_modified` (Number)
- `link_to` (Number)
- `meta` (List of String) meta
- `milestones` (Number)
- `present_to` (List of Number)
- `provider_name` (String)
- `purge_attempts` (Number)
- `reference_id` (String)
@@ -77,6 +80,19 @@ Optional:
- `update` (String)
<a id="nestedatt--acl"></a>
### Nested Schema for `acl`
Read-Only:
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)
<a id="nestedatt--history"></a>
### Nested Schema for `history`
@@ -85,5 +101,3 @@ Read-Only:
- `guid` (String)
- `id` (Number)
- `timestamp` (Number)

147
docs/resources/cb_disk.md Normal file
View File

@@ -0,0 +1,147 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_disk Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_disk (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `account_id` (Number)
- `disk_name` (String)
- `gid` (Number)
- `size_max` (Number)
- `type` (String) The type of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'
### Optional
- `desc` (String)
- `detach` (Boolean) detach disk from machine first
- `iops` (Number) max IOPS disk can perform
- `iotune` (Block List, Max: 1) (see [below for nested schema](#nestedblock--iotune))
- `node_ids` (Set of Number)
- `permanently` (Boolean) whether to completely delete the disk, works only with non attached disks
- `pool` (String)
- `reason` (String) reason for an action
- `restore` (Boolean) restore deleting disk
- `sep_id` (Number)
- `shareable` (Boolean)
- `ssd_size` (Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `account_name` (String)
- `acl` (String)
- `boot_partition` (Number)
- `computes` (List of Object) (see [below for nested schema](#nestedatt--computes))
- `created_time` (Number)
- `deleted_time` (Number)
- `destruction_time` (Number)
- `devicename` (String)
- `disk_id` (Number)
- `disk_path` (String)
- `guid` (Number)
- `id` (String) The ID of this resource.
- `image_id` (Number)
- `images` (List of String)
- `iqn` (String)
- `login` (String)
- `milestones` (Number)
- `order` (Number)
- `params` (String)
- `parent_id` (Number)
- `passwd` (String)
- `pci_slot` (Number)
- `present_to` (List of Number)
- `purge_attempts` (Number)
- `purge_time` (Number)
- `reality_device_number` (Number)
- `reference_id` (String)
- `replication` (List of Object) Replication status (see [below for nested schema](#nestedatt--replication))
- `res_id` (String)
- `res_name` (String)
- `role` (String)
- `sep_type` (String)
- `size_used` (Number)
- `snapshots` (List of Object) (see [below for nested schema](#nestedatt--snapshots))
- `status` (String)
- `tech_status` (String)
- `vmid` (Number)
<a id="nestedblock--iotune"></a>
### Nested Schema for `iotune`
Optional:
- `read_bytes_sec` (Number)
- `read_bytes_sec_max` (Number)
- `read_iops_sec` (Number)
- `read_iops_sec_max` (Number)
- `size_iops_sec` (Number)
- `total_bytes_sec` (Number)
- `total_bytes_sec_max` (Number)
- `total_iops_sec` (Number)
- `total_iops_sec_max` (Number)
- `write_bytes_sec` (Number)
- `write_bytes_sec_max` (Number)
- `write_iops_sec` (Number)
- `write_iops_sec_max` (Number)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedatt--computes"></a>
### Nested Schema for `computes`
Read-Only:
- `compute_id` (String)
- `compute_name` (String)
<a id="nestedatt--replication"></a>
### Nested Schema for `replication`
Read-Only:
- `disk_id` (Number)
- `pool_id` (String)
- `role` (String)
- `self_volume_id` (String)
- `storage_id` (String)
- `volume_id` (String)
<a id="nestedatt--snapshots"></a>
### Nested Schema for `snapshots`
Read-Only:
- `guid` (String)
- `label` (String)
- `reference_id` (String)
- `res_id` (String)
- `snap_set_guid` (String)
- `snap_set_time` (Number)
- `timestamp` (Number)

View File

@@ -0,0 +1,148 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_disk_replication Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_disk_replication (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `disk_id` (Number) Id of primary disk
- `disk_name` (String) Name of disk replica
- `pool_name` (String) Pool for disk location
- `sep_id` (Number) Storage endpoint provider ID to create disk replica
### Optional
- `detach` (Boolean) Detach disk from machine first
- `pause` (Boolean) Resume replication
- `permanently` (Boolean) Delete disk permanently
- `reason` (String) Reason for disk deletion
- `reverse` (Boolean) Reverse replication
- `start` (Boolean) Start/Stop replication
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `account_id` (Number)
- `account_name` (String)
- `acl` (String)
- `boot_partition` (Number)
- `computes` (List of Object) (see [below for nested schema](#nestedatt--computes))
- `created_time` (Number)
- `deleted_time` (Number)
- `desc` (String)
- `destruction_time` (Number)
- `devicename` (String)
- `disk_path` (String)
- `gid` (Number)
- `guid` (Number)
- `id` (String) The ID of this resource.
- `image_id` (Number)
- `images` (List of Number)
- `iotune` (List of Object) (see [below for nested schema](#nestedatt--iotune))
- `iqn` (String)
- `login` (String)
- `milestones` (Number)
- `order` (Number)
- `params` (String)
- `parent_id` (Number)
- `passwd` (String)
- `pci_slot` (Number)
- `present_to` (List of Number)
- `purge_attempts` (Number)
- `purge_time` (Number)
- `reality_device_number` (Number)
- `reference_id` (String)
- `replica_disk_id` (Number) Id of replica disk
- `replication` (List of Object) Replication status (see [below for nested schema](#nestedatt--replication))
- `res_id` (String)
- `res_name` (String)
- `role` (String)
- `sep_type` (String)
- `shareable` (Boolean)
- `size_max` (Number)
- `size_used` (Number)
- `snapshots` (List of Object) (see [below for nested schema](#nestedatt--snapshots))
- `status` (String)
- `status_replication` (String) Status of replication
- `tech_status` (String)
- `type` (String)
- `vmid` (Number)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedatt--computes"></a>
### Nested Schema for `computes`
Read-Only:
- `compute_id` (String)
- `compute_name` (String)
<a id="nestedatt--iotune"></a>
### Nested Schema for `iotune`
Read-Only:
- `read_bytes_sec` (Number)
- `read_bytes_sec_max` (Number)
- `read_iops_sec` (Number)
- `read_iops_sec_max` (Number)
- `size_iops_sec` (Number)
- `total_bytes_sec` (Number)
- `total_bytes_sec_max` (Number)
- `total_iops_sec` (Number)
- `total_iops_sec_max` (Number)
- `write_bytes_sec` (Number)
- `write_bytes_sec_max` (Number)
- `write_iops_sec` (Number)
- `write_iops_sec_max` (Number)
<a id="nestedatt--replication"></a>
### Nested Schema for `replication`
Read-Only:
- `disk_id` (Number)
- `pool_id` (String)
- `role` (String)
- `self_volume_id` (String)
- `storage_id` (String)
- `volume_id` (String)
<a id="nestedatt--snapshots"></a>
### Nested Schema for `snapshots`
Read-Only:
- `guid` (String)
- `label` (String)
- `reference_id` (String)
- `res_id` (String)
- `snap_set_guid` (String)
- `snap_set_time` (Number)
- `timestamp` (Number)

View File

@@ -0,0 +1,47 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_disk_snapshot Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_disk_snapshot (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `disk_id` (Number) The unique ID of the subscriber-owner of the disk
- `label` (String) Name of the snapshot
### Optional
- `rollback` (Boolean) Needed in order to make a snapshot rollback
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `timestamp` (Number) Snapshot time
### Read-Only
- `guid` (String) ID of the snapshot
- `id` (String) The ID of this resource.
- `reference_id` (String)
- `res_id` (String) Reference to the snapshot
- `snap_set_guid` (String) The set snapshot ID
- `snap_set_time` (Number) The set time of the snapshot
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)

150
docs/resources/cb_extnet.md Normal file
View File

@@ -0,0 +1,150 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_extnet Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_extnet (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `gid` (Number) Grid (platform) ID
- `ipcidr` (String) IP network CIDR
- `name` (String) External network name
- `vlan_id` (Number) VLAN ID
### Optional
- `check_ips` (List of String) IPs to check network availability
- `default_qos` (Block List, Max: 1) (see [below for nested schema](#nestedblock--default_qos))
- `desc` (String) Optional description
- `dns` (List of String) List of DNS addresses
- `enable` (Boolean) Disable/Enable extnet
- `end_ip` (String) End of IP range to be explicitly included
- `excluded_ips` (Set of String) IPs to exclude in current extnet pool
- `excluded_ips_range` (Block Set) Range of IPs to exclude in current extnet pool (see [below for nested schema](#nestedblock--excluded_ips_range))
- `gateway` (String) External network gateway IP address
- `migrate` (Number)
- `ntp` (List of String) List of NTP addresses
- `ovs_bridge` (String) OpenvSwith bridge name for ExtNet connection
- `pre_reservations_num` (Number) Number of pre created reservations
- `restart` (Boolean) restart extnet vnf device
- `set_default` (Boolean) Set current extnet as default (can not be undone)
- `shared_with` (Set of Number)
- `start_ip` (String) Start of IP range to be explicitly included
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `virtual` (Boolean) If true - platform DHCP server will not be created
- `vnfdev_ip` (String) IP to create VNFDev with
### Read-Only
- `ckey` (String)
- `default` (Boolean)
- `excluded` (List of Object) (see [below for nested schema](#nestedatt--excluded))
- `extnet_id` (Number)
- `free_ips` (Number)
- `guid` (Number)
- `id` (String) The ID of this resource.
- `meta` (List of String) meta
- `milestones` (Number)
- `network` (String)
- `network_id` (Number)
- `prefix` (Number)
- `pri_vnfdev_id` (Number)
- `reservations` (List of Object) (see [below for nested schema](#nestedatt--reservations))
- `routes` (List of Object) (see [below for nested schema](#nestedatt--routes))
- `status` (String)
- `vnfs` (List of Object) (see [below for nested schema](#nestedatt--vnfs))
<a id="nestedblock--default_qos"></a>
### Nested Schema for `default_qos`
Optional:
- `e_rate` (Number)
- `in_burst` (Number)
- `in_rate` (Number)
Read-Only:
- `guid` (String)
<a id="nestedblock--excluded_ips_range"></a>
### Nested Schema for `excluded_ips_range`
Required:
- `ip_end` (String)
- `ip_start` (String)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedatt--excluded"></a>
### Nested Schema for `excluded`
Read-Only:
- `client_type` (String)
- `domain_name` (String)
- `hostname` (String)
- `ip` (String)
- `mac` (String)
- `type` (String)
- `vm_id` (Number)
<a id="nestedatt--reservations"></a>
### Nested Schema for `reservations`
Read-Only:
- `client_type` (String)
- `desc` (String)
- `domain_name` (String)
- `hostname` (String)
- `ip` (String)
- `mac` (String)
- `type` (String)
- `vm_id` (Number)
<a id="nestedatt--routes"></a>
### Nested Schema for `routes`
Read-Only:
- `compute_ids` (List of Number)
- `destination` (String)
- `gateway` (String)
- `guid` (String)
- `netmask` (String)
- `route_id` (Number)
<a id="nestedatt--vnfs"></a>
### Nested Schema for `vnfs`
Read-Only:
- `dhcp` (Number)

View File

@@ -1,12 +1,12 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_k8s_wg Resource - decort"
page_title: "decort_cb_extnet_static_route Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_k8s_wg (Resource)
# decort_cb_extnet_static_route (Resource)
@@ -17,20 +17,21 @@ description: |-
### Required
- `k8s_id` (Number) ID of k8s instance.
- `name` (String) Name of the worker group.
- `destination` (String)
- `extnet_id` (Number) Unique ID of the ExtNet
- `gateway` (String)
- `netmask` (String)
### Optional
- `cpu` (Number) Worker node CPU count.
- `disk` (Number) Worker node boot disk size. If unspecified or 0, size is defined by OS image size.
- `num` (Number) Number of worker nodes to create.
- `ram` (Number) Worker node RAM in MB.
- `compute_ids` (Set of Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `guid` (String)
- `id` (String) The ID of this resource.
- `route_id` (Number) Unique ID of the static route
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
@@ -42,5 +43,3 @@ Optional:
- `delete` (String)
- `read` (String)
- `update` (String)

View File

@@ -0,0 +1,67 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_flipgroup Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_flipgroup (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `account_id` (Number) Account ID
- `client_type` (String) Type of client, 'compute' ('vins' will be later)
- `name` (String) Flipgroup name
- `net_id` (Number) EXTNET or ViNS ID
- `net_type` (String) Network type, EXTNET or VINS
### Optional
- `client_ids` (List of Number) List of clients attached to this Flipgroup instance
- `desc` (String) Text description of this Flipgroup instance
- `ip` (String) IP address to associate with this group. If empty, the platform will autoselect IP address
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `account_name` (String) account_name
- `ckey` (String)
- `client_names` (List of String) client_names
- `conn_id` (Number)
- `conn_type` (String)
- `created_by` (String) created_by
- `created_time` (Number) created_time
- `default_gw` (String)
- `deleted_by` (String) deleted_by
- `deleted_time` (Number) deleted_time
- `flipgroup_id` (Number)
- `gid` (Number) gid
- `guid` (Number) guid
- `id` (String) The ID of this resource.
- `milestones` (Number) milestones
- `net_mask` (Number)
- `network` (String) network
- `rg_id` (Number) rg_id
- `rg_name` (String) rg_name
- `status` (String)
- `updated_by` (String) updated_by
- `updated_time` (Number) updated_time
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)

109
docs/resources/cb_image.md Normal file
View File

@@ -0,0 +1,109 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_image Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_image (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `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
- `name` (String) Name of the rescue disk
### Optional
- `account_id` (Number) AccountId to make the image exclusive
- `accounts` (List of Number)
- `architecture` (String) binary architecture of this image, one of X86_64 of PPC64_LE
- `bootable` (Boolean) Does this image boot OS
- `computeci_id` (Number)
- `drivers` (List of String) List of types of compute suitable for image. Example: [ "KVM_X86" ]
- `enabled` (Boolean)
- `enabled_stacks` (List of Number)
- `file_path` (String) path to image file
- `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
- `password` (String) Optional password for the image
- `password_dl` (String) password for upload binary media
- `permanently` (Boolean) Whether to completely delete the image
- `pool_name` (String) pool for image create
- `reason` (String)
- `sep_id` (Number) storage endpoint provider ID
- `shared_with` (List of Number)
- `sync_mode` (Boolean) Create image from a media identified by URL (in synchronous mode)
- `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_dl` (String) username for upload binary media
### Read-Only
- `acl` (List of Object) (see [below for nested schema](#nestedatt--acl))
- `cd_presented_to` (String)
- `deleted_time` (Number)
- `desc` (String)
- `guid` (Number)
- `history` (List of Object) (see [below for nested schema](#nestedatt--history))
- `id` (String) The ID of this resource.
- `image_id` (Number) image id
- `last_modified` (Number)
- `link_to` (Number)
- `milestones` (Number)
- `present_to` (List of Number)
- `provider_name` (String)
- `purge_attempts` (Number)
- `reference_id` (String)
- `res_id` (String)
- `res_name` (String)
- `rescuecd` (Boolean)
- `size` (Number) image size
- `status` (String) status
- `tech_status` (String) tech atatus
- `unc_path` (String) unc path
- `version` (String) version
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedatt--acl"></a>
### Nested Schema for `acl`
Read-Only:
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)
<a id="nestedatt--history"></a>
### Nested Schema for `history`
Read-Only:
- `guid` (String)
- `id` (Number)
- `timestamp` (Number)

View File

@@ -0,0 +1,107 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_image_from_blank_compute Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_image_from_blank_compute (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `boot_type` (String) Boot type of image BIOS or UEFI
- `compute_id` (Number) Compute Id
- `image_type` (String) Image type linux, windows or other
- `name` (String) Name of the rescue disk
### Optional
- `account_id` (Number) AccountId to make the image exclusive
- `accounts` (List of Number)
- `async_mode` (Boolean) create an image in async/sync mode
- `bootable` (Boolean) Does this image boot OS
- `computeci_id` (Number)
- `enabled` (Boolean)
- `enabled_stacks` (List of Number)
- `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
- `password` (String) Optional password for the image
- `permanently` (Boolean) whether to completely delete the image
- `pool_name` (String) pool for image create
- `reason` (String)
- `sep_id` (Number) storage endpoint provider ID
- `shared_with` (List of Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `username` (String) Optional username for the image
### Read-Only
- `acl` (List of Object) (see [below for nested schema](#nestedatt--acl))
- `architecture` (String)
- `cd_presented_to` (String)
- `deleted_time` (Number)
- `desc` (String)
- `drivers` (List of String)
- `gid` (Number)
- `guid` (Number)
- `history` (List of Object) (see [below for nested schema](#nestedatt--history))
- `id` (String) The ID of this resource.
- `image_id` (Number)
- `last_modified` (Number)
- `link_to` (Number)
- `milestones` (Number)
- `present_to` (List of Number)
- `provider_name` (String)
- `purge_attempts` (Number)
- `reference_id` (String)
- `res_id` (String)
- `res_name` (String)
- `rescuecd` (Boolean)
- `size` (Number)
- `status` (String)
- `tech_status` (String)
- `unc_path` (String)
- `url` (String)
- `version` (String)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedatt--acl"></a>
### Nested Schema for `acl`
Read-Only:
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)
<a id="nestedatt--history"></a>
### Nested Schema for `history`
Read-Only:
- `guid` (String)
- `id` (Number)
- `timestamp` (Number)

View File

@@ -0,0 +1,107 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_image_from_platform_disk Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_image_from_platform_disk (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `architecture` (String) Image type linux, windows or other
- `boot_type` (String) Boot type of image BIOS or UEFI
- `disk_id` (Number) Disk Id
- `image_type` (String) Image type linux, windows or other
- `name` (String) Name of the rescue disk
### Optional
- `account_id` (Number) AccountId to make the image exclusive
- `accounts` (List of Number)
- `async_mode` (Boolean) create an image in async/sync mode
- `bootable` (Boolean) Does this image boot OS
- `computeci_id` (Number)
- `drivers` (List of String) List of types of compute suitable for image. Example: [ "KVM_X86" ]
- `enabled` (Boolean)
- `enabled_stacks` (List of Number)
- `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
- `password` (String) Optional password for the image
- `permanently` (Boolean) whether to completely delete the image
- `pool_name` (String) pool for image create
- `reason` (String)
- `sep_id` (Number) storage endpoint provider ID
- `shared_with` (List of Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `username` (String) Optional username for the image
### Read-Only
- `acl` (List of Object) (see [below for nested schema](#nestedatt--acl))
- `cd_presented_to` (String)
- `deleted_time` (Number)
- `desc` (String)
- `gid` (Number)
- `guid` (Number)
- `history` (List of Object) (see [below for nested schema](#nestedatt--history))
- `id` (String) The ID of this resource.
- `image_id` (Number)
- `last_modified` (Number)
- `link_to` (Number)
- `milestones` (Number)
- `present_to` (List of Number)
- `provider_name` (String)
- `purge_attempts` (Number)
- `reference_id` (String)
- `res_id` (String)
- `res_name` (String)
- `rescuecd` (Boolean)
- `size` (Number)
- `status` (String)
- `tech_status` (String)
- `unc_path` (String)
- `url` (String)
- `version` (String)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedatt--acl"></a>
### Nested Schema for `acl`
Read-Only:
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)
<a id="nestedatt--history"></a>
### Nested Schema for `history`
Read-Only:
- `guid` (String)
- `id` (Number)
- `timestamp` (Number)

57
docs/resources/cb_k8ci.md Normal file
View File

@@ -0,0 +1,57 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_k8ci Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_k8ci (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `master_driver` (String)
- `master_image_id` (Number)
- `max_master_count` (Number)
- `max_worker_count` (Number)
- `name` (String) K8CI name
- `network_plugins` (List of String)
- `version` (String)
- `worker_driver` (String)
- `worker_image_id` (Number)
### Optional
- `desc` (String)
- `enabled` (Boolean)
- `permanently` (Boolean)
- `shared_with` (Set of Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `gid` (Number) gid
- `guid` (Number) guid
- `id` (String) The ID of this resource.
- `k8ci_id` (Number) K8CI ID
- `lb_image_id` (Number) LB Image ID
- `milestones` (Number)
- `status` (String) K8CI Status
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)

161
docs/resources/cb_k8s_cp.md Normal file
View File

@@ -0,0 +1,161 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_k8s_cp Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_k8s_cp (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `k8sci_id` (Number) ID of the k8s catalog item to base this instance on.
- `name` (String) Name of the cluster.
- `network_plugin` (String) Network plugin to be used
- `rg_id` (Number) Resource group ID that this instance belongs to.
### Optional
- `additional_sans` (List of String) Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names
- `cluster_config` (String) is used to define global settings and configurations for the entire cluster. It includes parameters such as cluster name, DNS settings, authentication methods, and other cluster-wide configurations. insert a valid JSON string with all levels of nesting.
- `cpu` (Number) Node CPU count.
- `desc` (String) Text description of this instance.
- `disk` (Number) Node boot disk size in GB.
- `enabled` (Boolean) Enable k8s cluster
- `extnet_id` (Number) ID of the external network to connect workers to. If omitted network will be chosen by the platfom.
- `extnet_only` (Boolean) Use only selected ExtNet for infrastructure connections
- `ha_mode` (Boolean) Use Highly Available schema for LB deploy
- `init_config` (String) is used to define settings and actions that should be performed before any other component in the cluster starts. It allows you to configure things like node registration, network setup, and other initialization tasks. insert a valid JSON string with all levels of nesting.
- `join_config` (String) is used to configure the behavior and settings for joining a node to a cluster. It includes parameters such as the cluster's control plane endpoint, token, and certificate key. insert a valid JSON string with all levels of nesting.
- `kube_proxy_config` (String) is used to configure the behavior and settings of the Kube-proxy, which is responsible for network proxying and load balancing within the cluster. It includes parameters such as proxy mode, cluster IP ranges, and other Kube-proxy specific configurations. insert a valid JSON string with all levels of nesting.
- `kubelet_config` (String) is used to configure the behavior and settings of the Kubelet, which is the primary node agent that runs on each node in the cluster. It includes parameters such as node IP address, resource allocation, pod eviction policies, and other Kubelet-specific configurations. insert a valid JSON string with all levels of nesting.
- `lb_sysctl_params` (List of Map of String) Custom sysctl values for Load Balancer instance. Applied on boot.
- `num` (Number) Number of VMs to create. Can be either 1 or 3 or 5
- `oidc_cert` (String) insert ssl certificate in x509 pem format
- `permanently` (Boolean) whether to completely delete the account
- `ram` (Number) Node RAM in MB.
- `restore` (Boolean)
- `sep_id` (Number) Storage Endpoint ID
- `sep_pool` (String) Storage Endpoint Pool
- `start` (Boolean) Start k8s cluster.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `vins_id` (Number) ID of default vins for this instace.
- `with_lb` (Boolean) Create k8s with load balancer if true.
### Read-Only
- `account_id` (Number)
- `account_name` (String)
- `acl` (List of Object) (see [below for nested schema](#nestedatt--acl))
- `bservice_id` (Number)
- `created_by` (String)
- `created_time` (Number)
- `default_wg_id` (Number) ID of default workers group for this instace.
- `deleted_by` (String)
- `deleted_time` (Number)
- `detailed_info` (List of Object) (see [below for nested schema](#nestedatt--detailed_info))
- `gid` (Number)
- `guid` (Number)
- `id` (String) The ID of this resource.
- `k8s_ci_name` (String)
- `k8s_id` (Number)
- `kubeconfig` (String) Kubeconfig for cluster access.
- `lb_id` (Number)
- `lb_ip` (String) IP address of default load balancer.
- `master_id` (Number) Master group ID.
- `master_name` (String) Master group name.
- `milestones` (Number)
- `rg_name` (String)
- `ssh_key` (String)
- `status` (String)
- `tech_status` (String)
- `updated_by` (String)
- `updated_time` (Number)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedatt--acl"></a>
### Nested Schema for `acl`
Read-Only:
- `account_acl` (List of Object) (see [below for nested schema](#nestedobjatt--acl--account_acl))
- `k8s_acl` (List of Object) (see [below for nested schema](#nestedobjatt--acl--k8s_acl))
- `rg_acl` (List of Object) (see [below for nested schema](#nestedobjatt--acl--rg_acl))
<a id="nestedobjatt--acl--account_acl"></a>
### Nested Schema for `acl.account_acl`
Read-Only:
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)
<a id="nestedobjatt--acl--k8s_acl"></a>
### Nested Schema for `acl.k8s_acl`
Read-Only:
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)
<a id="nestedobjatt--acl--rg_acl"></a>
### Nested Schema for `acl.rg_acl`
Read-Only:
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)
<a id="nestedatt--detailed_info"></a>
### Nested Schema for `detailed_info`
Read-Only:
- `compute_id` (Number)
- `interfaces` (List of Object) (see [below for nested schema](#nestedobjatt--detailed_info--interfaces))
- `name` (String)
- `status` (String)
- `tech_status` (String)
<a id="nestedobjatt--detailed_info--interfaces"></a>
### Nested Schema for `detailed_info.interfaces`
Read-Only:
- `def_gw` (String)
- `ip_address` (String)

View File

@@ -0,0 +1,73 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_k8s_wg Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_k8s_wg (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `k8s_id` (Number) ID of k8s instance.
- `name` (String) Name of the worker group.
### Optional
- `annotations` (List of String)
- `cloud_init` (String)
- `cpu` (Number) Worker node CPU count.
- `disk` (Number) Worker node boot disk size. If unspecified or 0, size is defined by OS image size.
- `labels` (List of String)
- `num` (Number) Number of worker nodes to create.
- `ram` (Number) Node RAM in MB.
- `taints` (List of String)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `worker_sep_id` (Number)
- `worker_sep_pool` (String)
### Read-Only
- `detailed_info` (List of Object) (see [below for nested schema](#nestedatt--detailed_info))
- `guid` (String)
- `id` (String) The ID of this resource.
- `wg_id` (Number) ID of k8s worker Group.
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedatt--detailed_info"></a>
### Nested Schema for `detailed_info`
Read-Only:
- `compute_id` (Number)
- `interfaces` (List of Object) (see [below for nested schema](#nestedobjatt--detailed_info--interfaces))
- `name` (String)
- `status` (String)
- `tech_status` (String)
<a id="nestedobjatt--detailed_info--interfaces"></a>
### Nested Schema for `detailed_info.interfaces`
Read-Only:
- `def_gw` (String)
- `ip_address` (String)

349
docs/resources/cb_kvmvm.md Normal file
View File

@@ -0,0 +1,349 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_kvmvm Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_kvmvm (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `cpu` (Number) Number of CPUs to allocate to this compute instance.
- `driver` (String) Hardware architecture of this compute instance.
- `name` (String) Name of this compute. Compute names are case sensitive and must be unique in the resource group.
- `ram` (Number) Amount of RAM in MB to allocate to this compute instance.
- `rg_id` (Number) ID of the resource group where this compute should be deployed.
### Optional
- `affinity_label` (String) Set affinity label for compute
- `affinity_rules` (Block List) (see [below for nested schema](#nestedblock--affinity_rules))
- `alt_boot_id` (Number) ID of CD-ROM live image to boot
- `anti_affinity_rules` (Block List) (see [below for nested schema](#nestedblock--anti_affinity_rules))
- `auto_start` (Boolean) Flag for redeploy compute
- `boot_disk_size` (Number) This compute instance boot disk size in GB. Make sure it is large enough to accomodate selected OS image.
- `cd` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--cd))
- `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.
- `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.
- `detach_disks` (Boolean)
- `disks` (Block List) (see [below for nested schema](#nestedblock--disks))
- `enabled` (Boolean) If true - enable compute, else - disable
- `extra_disks` (Set of Number) Optional list of IDs of extra disks to attach to this compute. You may specify several extra disks.
- `force_pin` (Boolean)
- `force_resize` (Boolean) Flag for resize compute
- `force_stop` (Boolean) Flag for redeploy compute
- `hp_backed` (Boolean) Use Huge Pages to allocate RAM of the virtual machine. The system must be pre-configured by allocating Huge Pages on the physical node.
- `image_id` (Number) ID of the OS image to base this compute instance on.
- `ipa_type` (String) compute purpose
- `is` (String) system name
- `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))
- `numa_affinity` (String) Rule for VM placement with NUMA affinity.
- `pause` (Boolean)
- `permanently` (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.
- `port_forwarding` (Block Set) (see [below for nested schema](#nestedblock--port_forwarding))
- `reason` (String) reason for action
- `reset` (Boolean)
- `restore` (Boolean)
- `rollback` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--rollback))
- `sep_id` (Number) ID of SEP to create bootDisk on. Uses image's sepId if not set.
- `snapshot` (Block Set) (see [below for nested schema](#nestedblock--snapshot))
- `stack_id` (Number) ID of stack to start compute
- `started` (Boolean) Is compute started.
- `tags` (Block Set) (see [below for nested schema](#nestedblock--tags))
- `target_stack_id` (Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `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.
### Read-Only
- `account_id` (Number) ID of the account this compute instance belongs to.
- `account_name` (String) Name of the account this compute instance belongs to.
- `acl` (List of Object) (see [below for nested schema](#nestedatt--acl))
- `affinity_weight` (Number)
- `arch` (String)
- `boot_disk_id` (Number) This compute instance boot disk ID.
- `boot_order` (List of String)
- `cd_image_id` (Number)
- `clone_reference` (Number)
- `clones` (List of Number)
- `compute_id` (Number)
- `computeci_id` (Number)
- `created_by` (String)
- `created_time` (Number)
- `deleted_by` (String)
- `deleted_time` (Number)
- `devices` (String)
- `gid` (Number)
- `guid` (Number)
- `id` (String) The ID of this resource.
- `image_name` (String)
- `interfaces` (List of Object) (see [below for nested schema](#nestedatt--interfaces))
- `lock_status` (String)
- `manager_id` (Number)
- `manager_type` (String)
- `migrationjob` (Number)
- `milestones` (Number)
- `natable_vins_id` (Number)
- `natable_vins_ip` (String)
- `natable_vins_name` (String)
- `natable_vins_network` (String)
- `natable_vins_network_name` (String)
- `need_reboot` (Boolean)
- `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))
- `pinned` (Boolean)
- `reference_id` (String)
- `registered` (Boolean)
- `res_name` (String)
- `reserved_node_cpus` (List of Number)
- `rg_name` (String) Name of the resource group where this compute instance is located.
- `snap_sets` (List of Object) (see [below for nested schema](#nestedatt--snap_sets))
- `stack_name` (String) Name of the stack, on which VM started
- `stateless_sep_id` (Number)
- `stateless_sep_type` (String)
- `status` (String)
- `tech_status` (String)
- `updated_by` (String)
- `updated_time` (Number)
- `user_managed` (Boolean)
- `vgpus` (List of Number)
- `virtual_image_id` (Number)
- `virtual_image_name` (String)
<a id="nestedblock--affinity_rules"></a>
### Nested Schema for `affinity_rules`
Required:
- `key` (String) key that are taken into account when analyzing this rule will be identified
- `mode` (String) EQ or NE or ANY - the comparison mode is 'value', recorded by the specified 'key'
- `policy` (String) RECOMMENDED or REQUIRED, the degree of 'strictness' of this rule
- `topology` (String) compute or node, for whom rule applies
Optional:
- `value` (String) value that must match the key to be taken into account when analyzing this rule
<a id="nestedblock--anti_affinity_rules"></a>
### Nested Schema for `anti_affinity_rules`
Required:
- `key` (String) key that are taken into account when analyzing this rule will be identified
- `mode` (String) EQ or NE or ANY - the comparison mode is 'value', recorded by the specified 'key'
- `policy` (String) RECOMMENDED or REQUIRED, the degree of 'strictness' of this rule
- `topology` (String) compute or node, for whom rule applies
Optional:
- `value` (String) value that must match the key to be taken into account when analyzing this rule
<a id="nestedblock--cd"></a>
### Nested Schema for `cd`
Required:
- `cdrom_id` (Number)
Optional:
- `reason` (String) reason for action
<a id="nestedblock--disks"></a>
### Nested Schema for `disks`
Required:
- `disk_name` (String) Name for disk
- `size` (Number) Disk size in GiB
Optional:
- `desc` (String) Optional description
- `disk_type` (String) The type of disk in terms of its role in compute: 'B=Boot, D=Data'
- `image_id` (Number) Specify image id for create disk from template
- `node_ids` (Set of Number)
- `permanently` (Boolean) Disk deletion status
- `pool` (String) Pool name; by default will be chosen automatically
- `reason` (String) reason for action
- `sep_id` (Number) Storage endpoint provider ID; by default the same with boot disk
Read-Only:
- `disk_id` (Number) Disk ID
- `shareable` (Boolean)
- `size_max` (Number)
- `size_used` (Number)
<a id="nestedblock--network"></a>
### Nested Schema for `network`
Required:
- `net_id` (Number) ID of the network for this connection.
- `net_type` (String) Type of the network for this connection, either EXTNET or VINS.
Optional:
- `ip_address` (String) Optional IP address to assign to this connection. This IP should belong to the selected network and free for use.
Read-Only:
- `mac` (String) MAC address associated with this connection. MAC address is assigned automatically.
<a id="nestedblock--port_forwarding"></a>
### Nested Schema for `port_forwarding`
Required:
- `proto` (String)
- `public_port_start` (Number)
Optional:
- `local_port` (Number)
- `public_port_end` (Number)
- `reason` (String) reason for action
Read-Only:
- `rule_id` (Number)
<a id="nestedblock--rollback"></a>
### Nested Schema for `rollback`
Required:
- `label` (String)
<a id="nestedblock--snapshot"></a>
### Nested Schema for `snapshot`
Required:
- `label` (String)
<a id="nestedblock--tags"></a>
### Nested Schema for `tags`
Required:
- `key` (String)
- `value` (String)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedblock--user_access"></a>
### Nested Schema for `user_access`
Required:
- `access_type` (String)
- `username` (String)
<a id="nestedatt--acl"></a>
### Nested Schema for `acl`
Read-Only:
- `explicit` (String)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)
<a id="nestedatt--interfaces"></a>
### Nested Schema for `interfaces`
Read-Only:
- `conn_id` (Number)
- `conn_type` (String)
- `def_gw` (String)
- `enabled` (Boolean)
- `flip_group_id` (Number)
- `guid` (String)
- `ip_address` (String)
- `listen_ssh` (Boolean)
- `mac` (String)
- `name` (String)
- `net_id` (Number)
- `net_type` (String)
- `netmask` (Number)
- `node_id` (Number)
- `pci_slot` (Number)
- `qos` (List of Object) (see [below for nested schema](#nestedobjatt--interfaces--qos))
- `target` (String)
- `type` (String)
- `vnfs` (List of Number)
<a id="nestedobjatt--interfaces--qos"></a>
### Nested Schema for `interfaces.qos`
Read-Only:
- `e_rate` (Number)
- `guid` (String)
- `in_brust` (Number)
- `in_rate` (Number)
<a id="nestedatt--os_users"></a>
### Nested Schema for `os_users`
Read-Only:
- `guid` (String)
- `login` (String)
- `password` (String)
- `public_key` (String)
<a id="nestedatt--snap_sets"></a>
### Nested Schema for `snap_sets`
Read-Only:
- `disks` (List of Number)
- `guid` (String)
- `label` (String)
- `timestamp` (Number)

179
docs/resources/cb_lb.md Normal file
View File

@@ -0,0 +1,179 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_lb Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_lb (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `name` (String)
- `rg_id` (Number)
### Optional
- `config_reset` (Boolean)
- `desc` (String)
- `enable` (Boolean)
- `extnet_id` (Number)
- `ha_mode` (Boolean)
- `permanently` (Boolean)
- `restart` (Boolean)
- `restore` (Boolean)
- `safe` (Boolean)
- `start` (Boolean)
- `sysctl_params` (List of Map of String) Custom sysctl values for Load Balancer instance. Applied on boot
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `vins_id` (Number)
### Read-Only
- `acl` (String)
- `backend_haip` (String)
- `backends` (List of Object) (see [below for nested schema](#nestedatt--backends))
- `ckey` (String)
- `dp_api_password` (String)
- `dp_api_user` (String)
- `frontend_haip` (String)
- `frontends` (List of Object) (see [below for nested schema](#nestedatt--frontends))
- `gid` (Number)
- `guid` (Number)
- `id` (String) The ID of this resource.
- `image_id` (Number)
- `lb_id` (Number)
- `manager_id` (Number)
- `manager_type` (String)
- `meta` (List of String)
- `milestones` (Number)
- `part_k8s` (Boolean)
- `primary_node` (List of Object) (see [below for nested schema](#nestedatt--primary_node))
- `secondary_node` (List of Object) (see [below for nested schema](#nestedatt--secondary_node))
- `status` (String)
- `tech_status` (String)
- `user_managed` (Boolean)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedatt--backends"></a>
### Nested Schema for `backends`
Read-Only:
- `algorithm` (String)
- `guid` (String)
- `name` (String)
- `server_default_settings` (List of Object) (see [below for nested schema](#nestedobjatt--backends--server_default_settings))
- `servers` (List of Object) (see [below for nested schema](#nestedobjatt--backends--servers))
<a id="nestedobjatt--backends--server_default_settings"></a>
### Nested Schema for `backends.server_default_settings`
Read-Only:
- `downinter` (Number)
- `fall` (Number)
- `guid` (String)
- `inter` (Number)
- `maxconn` (Number)
- `maxqueue` (Number)
- `rise` (Number)
- `slowstart` (Number)
- `weight` (Number)
<a id="nestedobjatt--backends--servers"></a>
### Nested Schema for `backends.servers`
Read-Only:
- `address` (String)
- `check` (String)
- `guid` (String)
- `name` (String)
- `port` (Number)
- `server_settings` (List of Object) (see [below for nested schema](#nestedobjatt--backends--servers--server_settings))
<a id="nestedobjatt--backends--servers--server_settings"></a>
### Nested Schema for `backends.servers.server_settings`
Read-Only:
- `downinter` (Number)
- `fall` (Number)
- `guid` (String)
- `inter` (Number)
- `maxconn` (Number)
- `maxqueue` (Number)
- `rise` (Number)
- `slowstart` (Number)
- `weight` (Number)
<a id="nestedatt--frontends"></a>
### Nested Schema for `frontends`
Read-Only:
- `backend` (String)
- `bindings` (List of Object) (see [below for nested schema](#nestedobjatt--frontends--bindings))
- `guid` (String)
- `name` (String)
<a id="nestedobjatt--frontends--bindings"></a>
### Nested Schema for `frontends.bindings`
Read-Only:
- `address` (String)
- `guid` (String)
- `name` (String)
- `port` (Number)
<a id="nestedatt--primary_node"></a>
### Nested Schema for `primary_node`
Read-Only:
- `backend_ip` (String)
- `compute_id` (Number)
- `frontend_ip` (String)
- `guid` (String)
- `mgmt_ip` (String)
- `network_id` (Number)
<a id="nestedatt--secondary_node"></a>
### Nested Schema for `secondary_node`
Read-Only:
- `backend_ip` (String)
- `compute_id` (Number)
- `frontend_ip` (String)
- `guid` (String)
- `mgmt_ip` (String)
- `network_id` (Number)

View File

@@ -0,0 +1,86 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_lb_backend Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_lb_backend (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `lb_id` (Number) ID of the LB instance to backendCreate
- `name` (String) Must be unique among all backends of this LB - name of the new backend to create
### Optional
- `algorithm` (String)
- `downinter` (Number)
- `fall` (Number)
- `inter` (Number)
- `maxconn` (Number)
- `maxqueue` (Number)
- `rise` (Number)
- `servers` (Block List) (see [below for nested schema](#nestedblock--servers))
- `slowstart` (Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `weight` (Number)
### Read-Only
- `guid` (String)
- `id` (String) The ID of this resource.
<a id="nestedblock--servers"></a>
### Nested Schema for `servers`
Optional:
- `address` (String)
- `check` (String)
- `name` (String)
- `port` (Number)
- `server_settings` (Block List) (see [below for nested schema](#nestedblock--servers--server_settings))
Read-Only:
- `guid` (String)
<a id="nestedblock--servers--server_settings"></a>
### Nested Schema for `servers.server_settings`
Optional:
- `downinter` (Number)
- `fall` (Number)
- `inter` (Number)
- `maxconn` (Number)
- `maxqueue` (Number)
- `rise` (Number)
- `slowstart` (Number)
- `weight` (Number)
Read-Only:
- `guid` (String)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)

View File

@@ -0,0 +1,53 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_lb_backend_server Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_lb_backend_server (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `address` (String) IP address of the server.
- `backend_name` (String) Must be unique among all backends of this LB - name of the new backend to create
- `lb_id` (Number) ID of the LB instance to backendCreate
- `name` (String) Must be unique among all servers defined for this backend - name of the server definition to add.
- `port` (Number) Port number on the server
### Optional
- `check` (String) set to disabled if this server should be used regardless of its state.
- `downinter` (Number)
- `fall` (Number)
- `inter` (Number)
- `maxconn` (Number)
- `maxqueue` (Number)
- `rise` (Number)
- `slowstart` (Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `weight` (Number)
### Read-Only
- `guid` (String)
- `id` (String) The ID of this resource.
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)

View File

@@ -0,0 +1,54 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_lb_frontend Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_lb_frontend (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `backend_name` (String)
- `lb_id` (Number) ID of the LB instance to backendCreate
- `name` (String)
### Optional
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `bindings` (List of Object) (see [below for nested schema](#nestedatt--bindings))
- `guid` (String)
- `id` (String) The ID of this resource.
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedatt--bindings"></a>
### Nested Schema for `bindings`
Read-Only:
- `address` (String)
- `guid` (String)
- `name` (String)
- `port` (Number)

View File

@@ -0,0 +1,44 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_lb_frontend_bind Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_lb_frontend_bind (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `address` (String)
- `frontend_name` (String) Must be unique among all backends of this LB - name of the new backend to create
- `lb_id` (Number) ID of the LB instance to backendCreate
- `name` (String)
- `port` (Number)
### Optional
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `guid` (String)
- `id` (String) The ID of this resource.
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)

View File

@@ -1,12 +1,12 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_pcidevice Resource - decort"
page_title: "decort_cb_pcidevice Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_pcidevice (Resource)
# decort_cb_pcidevice (Resource)
@@ -27,7 +27,8 @@ description: |-
- `description` (String) description, just for information
- `device_id` (Number)
- `enable` (Boolean) Enable pci device
- `force` (Boolean) Force delete
- `force_delete` (Boolean) Force delete
- `force_disable` (Boolean) Force disable
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
@@ -50,5 +51,3 @@ Optional:
- `delete` (String)
- `read` (String)
- `update` (String)

134
docs/resources/cb_rg.md Normal file
View File

@@ -0,0 +1,134 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_rg Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_rg (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `account_id` (Number) Unique ID of the account, which this resource group belongs to.
- `gid` (Number) Unique ID of the grid, where this resource group is deployed.
- `rg_name` (String) Name of this resource group. Names are case sensitive and unique within the context of a account.
### Optional
- `access` (Block Set) (see [below for nested schema](#nestedblock--access))
- `compute_features` (Set of String)
- `cpu_allocation_parameter` (String) set cpu allocation parameter
- `cpu_allocation_ratio` (Number) set cpu allocation ratio
- `def_net` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--def_net))
- `def_net_type` (String) Type of the network, which this resource group will use as default for its computes - PRIVATE or PUBLIC or NONE.
- `description` (String) User-defined text description of this resource group.
- `enable` (Boolean) enable/disable rg
- `ext_ip` (String) IP address on the external netowrk to request when def_net_type=PRIVATE and ext_net_id is not 0
- `ext_net_id` (Number) ID of the external network for default ViNS. Pass 0 if def_net_type=PUBLIC or no external connection required for the defult ViNS when def_net_type=PRIVATE
- `force` (Boolean) flag to force deleting resource group
- `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
- `permanently` (Boolean) flag to permanently delete resource group
- `reason` (String)
- `register_computes` (Boolean) Register computes in registration system
- `resource_limits` (Block List, Max: 1) (see [below for nested schema](#nestedblock--resource_limits))
- `restore` (Boolean) restore deleted rg
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `uniq_pools` (List of String)
### Read-Only
- `account_name` (String) Name of the account, which this resource group belongs to.
- `acl` (List of Object) (see [below for nested schema](#nestedatt--acl))
- `created_by` (String)
- `created_time` (Number)
- `def_net_id` (Number) ID of the default network for this resource group (if any).
- `deleted_by` (String)
- `deleted_time` (Number)
- `guid` (Number)
- `id` (String) The ID of this resource.
- `lock_status` (String)
- `milestones` (Number)
- `resource_types` (List of String)
- `rg_id` (Number)
- `secret` (String)
- `status` (String) Current status of this resource group.
- `updated_by` (String)
- `updated_time` (Number)
- `vins` (List of Number) List of VINs deployed in this resource group.
- `vms` (List of Number) List of VM ids in this resource group.
<a id="nestedblock--access"></a>
### Nested Schema for `access`
Required:
- `right` (String) Access rights to set, one of 'R', 'RCX' or 'ARCXDU'
- `user` (String) User or group name to grant access
Optional:
- `reason` (String) Reason for action
<a id="nestedblock--def_net"></a>
### Nested Schema for `def_net`
Required:
- `net_type` (String) Network type to set. Must be on of 'PRIVATE' or 'PUBLIC'.
Optional:
- `net_id` (Number) Network segment ID. If netType is PUBLIC and netId is 0 then default external network segment will be selected. If netType is PRIVATE and netId=0, the first ViNS defined for this RG will be selected. Otherwise, netId identifies either existing external network segment or ViNS.
- `reason` (String) Reason for action
<a id="nestedblock--resource_limits"></a>
### Nested Schema for `resource_limits`
Optional:
- `cu_c` (Number) MaxCPUCapacity
- `cu_dm` (Number) MaxVDiskCapacity
- `cu_i` (Number) MaxNumPublicIP
- `cu_m` (Number) MaxMemoryCapacity
- `cu_np` (Number) MaxNetworkPeerTransfer
Read-Only:
- `cu_d` (Number)
- `gpu_units` (Number)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedatt--acl"></a>
### Nested Schema for `acl`
Read-Only:
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)

95
docs/resources/cb_sep.md Normal file
View File

@@ -0,0 +1,95 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_sep Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_sep (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `config` (String) sep config string
- `gid` (Number) grid (platform) ID
- `name` (String) SEP name
- `type` (String) type of storage
### Optional
- `access_to_pool` (Block Set, Max: 1) grant or revoke access to pool (see [below for nested schema](#nestedblock--access_to_pool))
- `account_ids` (Set of Number) lift of account ids to have access to sep
- `consumed_by` (Set of Number) list of consumer nodes IDs
- `desc` (String) sep description
- `enable` (Boolean) enable SEP after creation
- `pools` (Block Set) add/delete pools to/from sep (see [below for nested schema](#nestedblock--pools))
- `provided_by` (List of Number) list of provider nodes IDs
- `sep_id` (Number) sep type des id
- `shared_with` (List of Number) list of shared with ids
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `ckey` (String) ckey
- `guid` (Number) guid
- `id` (String) The ID of this resource.
- `meta` (List of String) meta
- `milestones` (Number) milestones
- `obj_status` (String) object status
- `tech_status` (String) tech status
<a id="nestedblock--access_to_pool"></a>
### Nested Schema for `access_to_pool`
Required:
- `pool_name` (String) pool name
- `rg_id` (Number) resource group id to grant/revoke access to the specified pool sep
Optional:
- `account_id_pool` (Number) account id to grant/revoke access to the specified pool sep
<a id="nestedblock--pools"></a>
### Nested Schema for `pools`
Required:
- `access_account_ids` (List of Number) access account ids
- `access_res_group_ids` (List of Number) access res group ids
- `usage_limit` (Number) usage limit
Optional:
- `name` (String) name
- `types` (List of String) types
- `uris` (Block Set) uris (see [below for nested schema](#nestedblock--pools--uris))
<a id="nestedblock--pools--uris"></a>
### Nested Schema for `pools.uris`
Required:
- `ip` (String) ip
- `port` (Number) port
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)

View File

@@ -1,12 +1,12 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_sep_config Resource - decort"
page_title: "decort_cb_sep_config Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_sep_config (Resource)
# decort_cb_sep_config (Resource)
@@ -17,11 +17,11 @@ description: |-
### Required
- `sep_id` (Number)
- `sep_id` (Number) sep id
### Optional
- `config` (String)
- `config` (String) config json string
- `field_edit` (Block List, Max: 1) (see [below for nested schema](#nestedblock--field_edit))
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
@@ -34,9 +34,9 @@ description: |-
Required:
- `field_name` (String)
- `field_type` (String)
- `field_value` (String)
- `field_name` (String) field name
- `field_type` (String) field type
- `field_value` (String) field value
<a id="nestedblock--timeouts"></a>
@@ -49,5 +49,3 @@ Optional:
- `delete` (String)
- `read` (String)
- `update` (String)

59
docs/resources/cb_user.md Normal file
View File

@@ -0,0 +1,59 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_user Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_user (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `emailaddress` (List of String) email addresses of the user
- `username` (String) ID of user
### Optional
- `apiaccess` (Set of Number) list of apiaccess groups this user belongs to
- `groups` (List of String) list of groups this user belongs to
- `password` (String) password of user
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `active` (Boolean) active
- `auth_keys` (List of String) authkeys
- `authkey` (String) authkey
- `ckey` (String) ckey
- `data` (String) data
- `description` (String) description
- `domain` (String) domain
- `gid` (Number) gid
- `guid` (String) guid
- `id` (String) The ID of this resource.
- `last_check` (Number) last_check
- `meta` (List of String) meta
- `mobile` (List of String) mobile
- `protected` (Boolean) protected
- `roles` (List of String) roles
- `service_account` (Boolean) service_account
- `xmpp` (List of String) xmpp
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)

View File

@@ -0,0 +1,87 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_vfpool Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_vfpool (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `name` (String) Name of device
### Optional
- `account_access` (Set of Number) List of account IDs
- `config` (Block Set) List of dict describing configuration data (see [below for nested schema](#nestedblock--config))
- `description` (String) Description
- `enable` (Boolean)
- `rg_access` (Set of Number) List of RG IDs
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `created_time` (Number)
- `gid` (Number)
- `guid` (Number)
- `id` (String) The ID of this resource.
- `status` (String)
- `updated_time` (Number)
- `vfpool_id` (Number)
- `vfs` (List of Object) (see [below for nested schema](#nestedatt--vfs))
<a id="nestedblock--config"></a>
### Nested Schema for `config`
Required:
- `nic_name` (String)
- `node_id` (Number)
- `vf_ids` (List of Number)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedatt--vfs"></a>
### Nested Schema for `vfs`
Read-Only:
- `node_id` (Number)
- `vf_list` (List of Object) (see [below for nested schema](#nestedobjatt--vfs--vf_list))
<a id="nestedobjatt--vfs--vf_list"></a>
### Nested Schema for `vfs.vf_list`
Read-Only:
- `nic_name` (String)
- `vfs_info` (List of Object) (see [below for nested schema](#nestedobjatt--vfs--vf_list--vfs_info))
<a id="nestedobjatt--vfs--vf_list--vfs_info"></a>
### Nested Schema for `vfs.vf_list.vfs_info`
Read-Only:
- `claimed` (Boolean)
- `id` (Number)
- `vm_id` (Number)

493
docs/resources/cb_vins.md Normal file
View File

@@ -0,0 +1,493 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_vins Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_vins (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `name` (String) name
### Optional
- `account_id` (Number)
- `default_qos` (Block List) default qoa (see [below for nested schema](#nestedblock--default_qos))
- `description` (String) Optional user-defined text description of this ViNS.
- `dns` (Set of String)
- `enable` (Boolean) enable for enable/disable requests
- `ext_ip` (String)
- `ext_net_id` (Number)
- `force` (Boolean) force for delete request
- `gid` (Number)
- `ip` (Block List) (see [below for nested schema](#nestedblock--ip))
- `ipcidr` (String)
- `nat_rule` (Block List) (see [below for nested schema](#nestedblock--nat_rule))
- `permanently` (Boolean) permanently for delete request
- `pre_reservations_num` (Number)
- `reason` (String)
- `rg_id` (Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `vins_id` (Number) vins id
- `vnfdev_redeploy` (Boolean)
- `vnfdev_reset` (Boolean)
- `vnfdev_restart` (Boolean)
- `vnfdev_start` (Boolean) true to start vnfdev, false to stop vnfdev
### Read-Only
- `account_name` (String) account name
- `created_by` (String) created by
- `created_time` (Number) created time
- `default_gw` (String) default gw
- `deleted_by` (String) deleted by
- `deleted_time` (Number) deleted time
- `guid` (Number) guid
- `id` (String) The ID of this resource.
- `lock_status` (String) lock status
- `manager_id` (Number) manager id
- `manager_type` (String) manager type
- `milestones` (Number) milestones
- `netmask` (Number) net mask
- `network` (String) network
- `redundant` (Boolean) redundant
- `rg_name` (String) resource group name
- `routes` (Block List) (see [below for nested schema](#nestedblock--routes))
- `sec_vnf_dev_id` (Number)
- `status` (String) status
- `updated_by` (String) updated by
- `updated_time` (Number) updated time
- `user_managed` (Boolean) user managed
- `vnf_dev` (List of Object) vnf dev (see [below for nested schema](#nestedatt--vnf_dev))
- `vnfs` (List of Object) vnfs (see [below for nested schema](#nestedatt--vnfs))
- `vxlan_id` (Number) vxlan id
<a id="nestedblock--default_qos"></a>
### Nested Schema for `default_qos`
Optional:
- `e_rate` (Number)
- `in_burst` (Number)
- `in_rate` (Number)
Read-Only:
- `guid` (String)
<a id="nestedblock--ip"></a>
### Nested Schema for `ip`
Required:
- `type` (String)
Optional:
- `compute_id` (Number)
- `ip_addr` (String)
- `mac` (String)
- `reason` (String)
<a id="nestedblock--nat_rule"></a>
### Nested Schema for `nat_rule`
Required:
- `ext_port_start` (Number)
- `int_ip` (String)
Optional:
- `ext_port_end` (Number)
- `int_port` (Number)
- `proto` (String)
Read-Only:
- `rule_id` (Number)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedblock--routes"></a>
### Nested Schema for `routes`
Read-Only:
- `compute_ids` (List of Number)
- `destination` (String)
- `gateway` (String)
- `guid` (String)
- `netmask` (String)
- `route_id` (Number)
<a id="nestedatt--vnf_dev"></a>
### Nested Schema for `vnf_dev`
Read-Only:
- `account_id` (Number)
- `capabilities` (List of String)
- `ckey` (String)
- `config` (List of Object) (see [below for nested schema](#nestedobjatt--vnf_dev--config))
- `config_saved` (Boolean)
- `custom_precfg` (Boolean)
- `description` (String)
- `gid` (Number)
- `guid` (Number)
- `id` (Number)
- `interfaces` (List of Object) (see [below for nested schema](#nestedobjatt--vnf_dev--interfaces))
- `lock_status` (String)
- `meta` (List of String)
- `milestones` (Number)
- `name` (String)
- `status` (String)
- `tech_status` (String)
- `type` (String)
- `vins` (List of Number)
<a id="nestedobjatt--vnf_dev--config"></a>
### Nested Schema for `vnf_dev.config`
Read-Only:
- `mgmt` (List of Object) (see [below for nested schema](#nestedobjatt--vnf_dev--config--mgmt))
- `resources` (List of Object) (see [below for nested schema](#nestedobjatt--vnf_dev--config--resources))
<a id="nestedobjatt--vnf_dev--config--mgmt"></a>
### Nested Schema for `vnf_dev.config.mgmt`
Read-Only:
- `ip_addr` (String)
- `password` (String)
- `ssh_key` (String)
- `user` (String)
<a id="nestedobjatt--vnf_dev--config--resources"></a>
### Nested Schema for `vnf_dev.config.resources`
Read-Only:
- `cpu` (Number)
- `ram` (Number)
- `stack_id` (Number)
- `uuid` (String)
<a id="nestedobjatt--vnf_dev--interfaces"></a>
### Nested Schema for `vnf_dev.interfaces`
Read-Only:
- `conn_id` (Number)
- `conn_type` (String)
- `def_gw` (String)
- `enabled` (Boolean)
- `flipgroup_id` (Number)
- `guid` (String)
- `ip_address` (String)
- `listen_ssh` (Boolean)
- `mac` (String)
- `name` (String)
- `net_id` (Number)
- `net_mask` (Number)
- `net_type` (String)
- `node_id` (Number)
- `pci_slot` (Number)
- `qos` (List of Object) (see [below for nested schema](#nestedobjatt--vnf_dev--interfaces--qos))
- `target` (String)
- `type` (String)
- `vnfs` (List of Number)
<a id="nestedobjatt--vnf_dev--interfaces--qos"></a>
### Nested Schema for `vnf_dev.interfaces.qos`
Read-Only:
- `e_rate` (Number)
- `guid` (String)
- `in_burst` (Number)
- `in_rate` (Number)
<a id="nestedatt--vnfs"></a>
### Nested Schema for `vnfs`
Read-Only:
- `dhcp` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--dhcp))
- `gw` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--gw))
- `nat` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--nat))
<a id="nestedobjatt--vnfs--dhcp"></a>
### Nested Schema for `vnfs.dhcp`
Read-Only:
- `account_id` (Number)
- `ckey` (String)
- `config` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--dhcp--config))
- `created_time` (Number)
- `devices` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--dhcp--devices))
- `gid` (Number)
- `guid` (Number)
- `id` (Number)
- `lock_status` (String)
- `meta` (List of String)
- `milestones` (Number)
- `owner_id` (Number)
- `owner_type` (String)
- `pure_virtual` (Boolean)
- `routes` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--dhcp--routes))
- `status` (String)
- `tech_status` (String)
- `type` (String)
<a id="nestedobjatt--vnfs--dhcp--config"></a>
### Nested Schema for `vnfs.dhcp.config`
Read-Only:
- `default_gw` (String)
- `dns` (List of String)
- `ip_end` (String)
- `ip_start` (String)
- `lease` (Number)
- `net_mask` (Number)
- `network` (String)
- `reservations` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--dhcp--config--reservations))
<a id="nestedobjatt--vnfs--dhcp--config--reservations"></a>
### Nested Schema for `vnfs.dhcp.config.reservations`
Read-Only:
- `client_type` (String)
- `description` (String)
- `domain_name` (String)
- `host_name` (String)
- `ip` (String)
- `mac` (String)
- `type` (String)
- `vm_id` (Number)
<a id="nestedobjatt--vnfs--dhcp--devices"></a>
### Nested Schema for `vnfs.dhcp.devices`
Read-Only:
- `primary` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--dhcp--devices--primary))
<a id="nestedobjatt--vnfs--dhcp--devices--primary"></a>
### Nested Schema for `vnfs.dhcp.devices.primary`
Read-Only:
- `dev_id` (Number)
- `iface01` (String)
- `iface02` (String)
<a id="nestedobjatt--vnfs--dhcp--routes"></a>
### Nested Schema for `vnfs.dhcp.routes`
Read-Only:
- `compute_ids` (List of Number)
- `destination` (String)
- `gateway` (String)
- `guid` (String)
- `netmask` (String)
- `route_id` (Number)
<a id="nestedobjatt--vnfs--gw"></a>
### Nested Schema for `vnfs.gw`
Read-Only:
- `account_id` (Number)
- `ckey` (String)
- `config` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--gw--config))
- `created_time` (Number)
- `devices` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--gw--devices))
- `gid` (Number)
- `guid` (Number)
- `id` (Number)
- `lock_status` (String)
- `meta` (List of String)
- `milestones` (Number)
- `owner_id` (Number)
- `owner_type` (String)
- `pure_virtual` (Boolean)
- `routes` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--gw--routes))
- `status` (String)
- `tech_status` (String)
- `type` (String)
<a id="nestedobjatt--vnfs--gw--config"></a>
### Nested Schema for `vnfs.gw.config`
Read-Only:
- `default_gw` (String)
- `ext_net_id` (Number)
- `ext_net_ip` (String)
- `ext_netmask` (Number)
- `qos` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--gw--config--qos))
<a id="nestedobjatt--vnfs--gw--config--qos"></a>
### Nested Schema for `vnfs.gw.config.qos`
Read-Only:
- `e_rate` (Number)
- `guid` (String)
- `in_burst` (Number)
- `in_rate` (Number)
<a id="nestedobjatt--vnfs--gw--devices"></a>
### Nested Schema for `vnfs.gw.devices`
Read-Only:
- `primary` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--gw--devices--primary))
<a id="nestedobjatt--vnfs--gw--devices--primary"></a>
### Nested Schema for `vnfs.gw.devices.primary`
Read-Only:
- `dev_id` (Number)
- `iface01` (String)
- `iface02` (String)
<a id="nestedobjatt--vnfs--gw--routes"></a>
### Nested Schema for `vnfs.gw.routes`
Read-Only:
- `compute_ids` (List of Number)
- `destination` (String)
- `gateway` (String)
- `guid` (String)
- `netmask` (String)
- `route_id` (Number)
<a id="nestedobjatt--vnfs--nat"></a>
### Nested Schema for `vnfs.nat`
Read-Only:
- `account_id` (Number)
- `ckey` (String)
- `config` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--nat--config))
- `created_time` (Number)
- `devices` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--nat--devices))
- `gid` (Number)
- `guid` (Number)
- `id` (Number)
- `lock_status` (String)
- `meta` (List of String)
- `milestones` (Number)
- `owner_id` (Number)
- `owner_type` (String)
- `pure_virtual` (Boolean)
- `routes` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--nat--routes))
- `status` (String)
- `tech_status` (String)
- `type` (String)
<a id="nestedobjatt--vnfs--nat--config"></a>
### Nested Schema for `vnfs.nat.config`
Read-Only:
- `net_mask` (Number)
- `network` (String)
- `rules` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--nat--config--rules))
<a id="nestedobjatt--vnfs--nat--config--rules"></a>
### Nested Schema for `vnfs.nat.config.rules`
Read-Only:
- `local_ip` (String)
- `local_port` (Number)
- `protocol` (String)
- `public_port_end` (Number)
- `public_port_start` (Number)
- `rule_id` (Number)
- `vm_id` (Number)
- `vm_name` (String)
<a id="nestedobjatt--vnfs--nat--devices"></a>
### Nested Schema for `vnfs.nat.devices`
Read-Only:
- `primary` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--nat--devices--primary))
<a id="nestedobjatt--vnfs--nat--devices--primary"></a>
### Nested Schema for `vnfs.nat.devices.primary`
Read-Only:
- `dev_id` (Number)
- `iface01` (String)
- `iface02` (String)
<a id="nestedobjatt--vnfs--nat--routes"></a>
### Nested Schema for `vnfs.nat.routes`
Read-Only:
- `compute_ids` (List of Number)
- `destination` (String)
- `gateway` (String)
- `guid` (String)
- `netmask` (String)
- `route_id` (Number)

View File

@@ -0,0 +1,45 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cb_vins_static_route Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cb_vins_static_route (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `destination` (String)
- `gateway` (String)
- `netmask` (String)
- `vins_id` (Number) Unique ID of the ViNS
### Optional
- `compute_ids` (List of Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `guid` (String)
- `id` (String) The ID of this resource.
- `route_id` (Number) Unique ID of the static route
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)

View File

@@ -1,12 +1,12 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_virtual_image Resource - decort"
page_title: "decort_cb_virtual_image Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_virtual_image (Resource)
# decort_cb_virtual_image (Resource)
@@ -17,50 +17,51 @@ description: |-
### Required
- `name` (String) name of the virtual image to create
- `target_id` (Number) ID of real image to link this virtual image to upon creation
- `link_to` (Number) ID of real image to link this virtual image to upon creation
- `name` (String) Name of the rescue disk
### Optional
- `account_id` (Number) AccountId to make the image exclusive
- `architecture` (String) binary architecture of this image, one of X86_64 of PPC64_LE
- `bootable` (Boolean) Does this image boot OS
- `computeci_id` (Number)
- `enabled` (Boolean)
- `enabled_stacks` (List of String)
- `enabled_stacks` (List of Number)
- `hot_resize` (Boolean) Does this machine supports hot resize
- `link_to` (Number)
- `password` (String) Optional password for the image
- `password_dl` (String) password for upload binary media
- `permanently` (Boolean) Whether to completely delete the image
- `pool_name` (String) pool for image create
- `reason` (String)
- `sep_id` (Number) storage endpoint provider ID
- `shared_with` (List of Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `username` (String) Optional username for the image
- `username_dl` (String) username for upload binary media
### Read-Only
- `acl` (List of Object) (see [below for nested schema](#nestedatt--acl))
- `architecture` (String) binary architecture of this image, one of X86_64 of PPC64_LE
- `boot_type` (String) Boot type of image bios or uefi
- `ckey` (String)
- `deleted_time` (Number)
- `desc` (String)
- `drivers` (List of String) List of types of compute suitable for image. Example: [ "KVM_X86" ]
- `gid` (Number) grid (platform) ID where this template should be create in
- `guid` (Number)
- `history` (List of Object) (see [below for nested schema](#nestedatt--history))
- `id` (String) The ID of this resource.
- `image_id` (Number) image id
- `image_id` (Number) Image id
- `image_type` (String) Image type linux, windows or other
- `last_modified` (Number)
- `meta` (List of String) meta
- `milestones` (Number)
- `pool_name` (String) pool for image create
- `present_to` (List of Number)
- `provider_name` (String)
- `purge_attempts` (Number)
- `reference_id` (String)
- `res_id` (String)
- `res_name` (String)
- `rescuecd` (Boolean)
- `sep_id` (Number) storage endpoint provider ID
- `size` (Number) image size
- `status` (String) status
- `tech_status` (String) tech atatus
@@ -80,6 +81,19 @@ Optional:
- `update` (String)
<a id="nestedatt--acl"></a>
### Nested Schema for `acl`
Read-Only:
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)
<a id="nestedatt--history"></a>
### Nested Schema for `history`
@@ -88,5 +102,3 @@ Read-Only:
- `guid` (String)
- `id` (Number)
- `timestamp` (Number)

View File

@@ -1,6 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_disk Resource - decort"
page_title: "decort_disk Resource - terraform-provider-decort"
subcategory: ""
description: |-
@@ -17,81 +17,72 @@ description: |-
### Required
- `account_id` (Number)
- `disk_name` (String)
- `gid` (Number)
- `size_max` (Number)
- `account_id` (Number) The unique ID of the subscriber-owner of the disk
- `disk_name` (String) Name of disk
- `gid` (Number) ID of the grid (platform)
- `size_max` (Number) Size in GB
### Optional
- `desc` (String)
- `detach` (Boolean) detach disk from machine first
- `desc` (String) Description of disk
- `detach` (Boolean) Detaching the disk from compute
- `iotune` (Block List, Max: 1) (see [below for nested schema](#nestedblock--iotune))
- `permanently` (Boolean) whether to completely delete the disk, works only with non attached disks
- `pool` (String)
- `reason` (String) reason for an action
- `restore` (Boolean) restore deleting disk
- `sep_id` (Number)
- `permanently` (Boolean) Whether to completely delete the disk, works only with non attached disks
- `pool` (String) Pool for disk location
- `reason` (String) Reason for deletion
- `sep_id` (Number) Storage endpoint provider ID to create disk
- `shareable` (Boolean)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `type` (String)
- `type` (String) The type of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'
### Read-Only
- `account_name` (String)
- `account_name` (String) The name of the subscriber '(account') to whom this disk belongs
- `acl` (String)
- `boot_partition` (Number)
- `compute_id` (Number)
- `compute_name` (String)
- `created_time` (Number)
- `deleted_time` (Number)
- `destruction_time` (Number)
- `devicename` (String)
- `disk_id` (Number)
- `disk_path` (String)
- `guid` (Number)
- `computes` (List of Object) (see [below for nested schema](#nestedatt--computes))
- `created_time` (Number) Created time
- `deleted_time` (Number) Deleted time
- `destruction_time` (Number) Time of final deletion
- `devicename` (String) Name of the device
- `disk_id` (Number) Disk ID. Duplicates the value of the ID parameter
- `id` (String) The ID of this resource.
- `image_id` (Number)
- `images` (List of String)
- `iqn` (String)
- `login` (String)
- `milestones` (Number)
- `order` (Number)
- `params` (String)
- `parent_id` (Number)
- `passwd` (String)
- `pci_slot` (Number)
- `purge_attempts` (Number)
- `purge_time` (Number)
- `reality_device_number` (Number)
- `reference_id` (String)
- `res_id` (String)
- `res_name` (String)
- `role` (String)
- `sep_type` (String)
- `size_used` (Number)
- `image_id` (Number) Image ID
- `images` (List of String) IDs of images using the disk
- `order` (Number) Disk order
- `params` (String) Disk params
- `parent_id` (Number) ID of the parent disk
- `pci_slot` (Number) ID of the pci slot to which the disk is connected
- `present_to` (List of Number)
- `purge_time` (Number) Time of the last deletion attempt
- `replication` (List of Object) Replication status (see [below for nested schema](#nestedatt--replication))
- `res_id` (String) Resource ID
- `res_name` (String) Name of the resource
- `role` (String) Disk role
- `sep_type` (String) Type SEP. Defines the type of storage system and contains one of the values set in the cloud platform
- `size_used` (Number) Number of used space, in GB
- `snapshots` (List of Object) (see [below for nested schema](#nestedatt--snapshots))
- `status` (String)
- `tech_status` (String)
- `vmid` (Number)
- `status` (String) Disk status
- `tech_status` (String) Technical status of the disk
- `vmid` (Number) Virtual Machine ID (Deprecated)
<a id="nestedblock--iotune"></a>
### Nested Schema for `iotune`
Optional:
- `read_bytes_sec` (Number)
- `read_bytes_sec_max` (Number)
- `read_iops_sec` (Number)
- `read_iops_sec_max` (Number)
- `size_iops_sec` (Number)
- `total_bytes_sec` (Number)
- `total_bytes_sec_max` (Number)
- `total_iops_sec` (Number)
- `total_iops_sec_max` (Number)
- `write_bytes_sec` (Number)
- `write_bytes_sec_max` (Number)
- `write_iops_sec` (Number)
- `write_iops_sec_max` (Number)
- `read_bytes_sec` (Number) Number of bytes to read per second
- `read_bytes_sec_max` (Number) Maximum number of bytes to read
- `read_iops_sec` (Number) Number of io read operations per second
- `read_iops_sec_max` (Number) Maximum number of io read operations
- `size_iops_sec` (Number) Size of io operations
- `total_bytes_sec` (Number) Total size bytes per second
- `total_bytes_sec_max` (Number) Maximum total size of bytes per second
- `total_iops_sec` (Number) Total number of io operations per second
- `total_iops_sec_max` (Number) Maximum total number of io operations per second
- `write_bytes_sec` (Number) Number of bytes to write per second
- `write_bytes_sec_max` (Number) Maximum number of bytes to write per second
- `write_iops_sec` (Number) Number of write operations per second
- `write_iops_sec_max` (Number) Maximum number of write operations per second
<a id="nestedblock--timeouts"></a>
@@ -106,6 +97,28 @@ Optional:
- `update` (String)
<a id="nestedatt--computes"></a>
### Nested Schema for `computes`
Read-Only:
- `compute_id` (String)
- `compute_name` (String)
<a id="nestedatt--replication"></a>
### Nested Schema for `replication`
Read-Only:
- `disk_id` (Number)
- `pool_id` (String)
- `role` (String)
- `self_volume_id` (String)
- `storage_id` (String)
- `volume_id` (String)
<a id="nestedatt--snapshots"></a>
### Nested Schema for `snapshots`
@@ -117,5 +130,3 @@ Read-Only:
- `snap_set_guid` (String)
- `snap_set_time` (Number)
- `timestamp` (Number)

View File

@@ -0,0 +1,137 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_disk_replication Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_disk_replication (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `disk_id` (Number) Id of primary disk
- `disk_name` (String) Name of disk replica
- `pool_name` (String) Pool for disk location
- `sep_id` (Number) Storage endpoint provider ID to create disk replica
### Optional
- `detach` (Boolean) Detach disk from machine first
- `pause` (Boolean) Resume replication
- `permanently` (Boolean) Delete disk permanently
- `reason` (String) Reason for disk deletion
- `reverse` (Boolean) Reverse replication
- `start` (Boolean) Start/Stop replication
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `account_id` (Number) The unique ID of the subscriber-owner of the disk
- `account_name` (String) The name of the subscriber '(account') to whom this disk belongs
- `acl` (String)
- `computes` (List of Object) (see [below for nested schema](#nestedatt--computes))
- `created_time` (Number) Created time
- `deleted_time` (Number) Deleted time
- `desc` (String) Description of disk
- `destruction_time` (Number) Time of final deletion
- `devicename` (String) Name of the device
- `gid` (Number) ID of the grid (platform)
- `id` (String) The ID of this resource.
- `image_id` (Number) Image ID
- `images` (List of String) IDs of images using the disk
- `iotune` (List of Object) (see [below for nested schema](#nestedatt--iotune))
- `order` (Number) Disk order
- `params` (String) Disk params
- `parent_id` (Number) ID of the parent disk
- `pci_slot` (Number) ID of the pci slot to which the disk is connected
- `present_to` (List of Number)
- `purge_time` (Number) Time of the last deletion attempt
- `replica_disk_id` (Number) Id of replica disk
- `replication` (List of Object) Replication status (see [below for nested schema](#nestedatt--replication))
- `res_id` (String) Resource ID
- `res_name` (String) Name of the resource
- `role` (String) Disk role
- `sep_type` (String) Type SEP. Defines the type of storage system and contains one of the values set in the cloud platform
- `shareable` (Boolean)
- `size_max` (Number) Size in GB
- `size_used` (Number) Number of used space, in GB
- `snapshots` (List of Object) (see [below for nested schema](#nestedatt--snapshots))
- `status` (String) Disk status
- `status_replication` (String) Status of replication
- `tech_status` (String) Technical status of the disk
- `type` (String) The type of disk in terms of its role in compute: 'B=Boot, D=Data, T=Temp'
- `vmid` (Number) Virtual Machine ID (Deprecated)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedatt--computes"></a>
### Nested Schema for `computes`
Read-Only:
- `compute_id` (String)
- `compute_name` (String)
<a id="nestedatt--iotune"></a>
### Nested Schema for `iotune`
Read-Only:
- `read_bytes_sec` (Number)
- `read_bytes_sec_max` (Number)
- `read_iops_sec` (Number)
- `read_iops_sec_max` (Number)
- `size_iops_sec` (Number)
- `total_bytes_sec` (Number)
- `total_bytes_sec_max` (Number)
- `total_iops_sec` (Number)
- `total_iops_sec_max` (Number)
- `write_bytes_sec` (Number)
- `write_bytes_sec_max` (Number)
- `write_iops_sec` (Number)
- `write_iops_sec_max` (Number)
<a id="nestedatt--replication"></a>
### Nested Schema for `replication`
Read-Only:
- `disk_id` (Number)
- `pool_id` (String)
- `role` (String)
- `self_volume_id` (String)
- `storage_id` (String)
- `volume_id` (String)
<a id="nestedatt--snapshots"></a>
### Nested Schema for `snapshots`
Read-Only:
- `guid` (String)
- `label` (String)
- `res_id` (String)
- `snap_set_guid` (String)
- `snap_set_time` (Number)
- `timestamp` (Number)

View File

@@ -0,0 +1,46 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_disk_snapshot Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_disk_snapshot (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `disk_id` (Number) The unique ID of the subscriber-owner of the disk
- `label` (String) Name of the snapshot
### Optional
- `rollback` (Boolean) Needed in order to make a snapshot rollback
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `timestamp` (Number) Snapshot time
### Read-Only
- `guid` (String) ID of the snapshot
- `id` (String) The ID of this resource.
- `res_id` (String) Reference to the snapshot
- `snap_set_guid` (String) The set snapshot ID
- `snap_set_time` (Number) The set time of the snapshot
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)

View File

@@ -0,0 +1,64 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_flipgroup Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_flipgroup (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `account_id` (Number) Account ID
- `client_type` (String) Type of client, 'compute' ('vins' will be later)
- `name` (String) Flipgroup name
- `net_id` (Number) EXTNET or ViNS ID
- `net_type` (String) Network type, EXTNET or VINS
### Optional
- `client_ids` (List of Number) List of clients attached to this Flipgroup instance
- `desc` (String) Text description of this Flipgroup instance
- `ip` (String) IP address to associate with this group. If empty, the platform will autoselect IP address
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `account_name` (String)
- `conn_id` (Number)
- `conn_type` (String)
- `created_by` (String)
- `created_time` (Number)
- `default_gw` (String)
- `deleted_by` (String)
- `deleted_time` (Number)
- `flipgroup_id` (Number)
- `gid` (Number)
- `guid` (Number)
- `id` (String) The ID of this resource.
- `milestones` (Number)
- `network` (String)
- `rg_id` (Number)
- `rg_name` (String)
- `status` (String)
- `updated_by` (String)
- `updated_time` (Number)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)

View File

@@ -1,6 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_image Resource - decort"
page_title: "decort_image Resource - terraform-provider-decort"
subcategory: ""
description: |-
@@ -17,19 +17,19 @@ description: |-
### Required
- `account_id` (Number) AccountId to make the image exclusive
- `boot_type` (String) Boot type of image bios or uefi
- `drivers` (List of String)
- `gid` (Number) grid (platform) ID where this template should be create in
- `name` (String) Name of the rescue disk
- `type` (String) Image type linux, windows or other
- `url` (String) URL where to download media from
### Optional
- `account_id` (Number) AccountId to make the image exclusive
- `architecture` (String) binary architecture of this image, one of X86_64 of PPC64_LE
- `hot_resize` (Boolean) Does this machine supports hot resize
- `image_id` (Number) image id
- `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_dl` (String) password for upload binary media
- `permanently` (Boolean) whether to completely delete the image
@@ -43,11 +43,13 @@ description: |-
- `acl` (String)
- `bootable` (Boolean)
- `cd_presented_to` (String)
- `ckey` (String)
- `compute_ci_id` (Number)
- `deleted_time` (String)
- `deleted_time` (Number)
- `desc` (String)
- `enabled` (Boolean)
- `gid` (Number)
- `guid` (Number)
- `history` (List of Object) (see [below for nested schema](#nestedatt--history))
- `id` (String) The ID of this resource.
@@ -55,6 +57,7 @@ description: |-
- `last_modified` (Number)
- `link_to` (Number)
- `milestones` (Number)
- `present_to` (List of Number)
- `provider_name` (String)
- `purge_attempts` (Number)
- `res_id` (String)
@@ -86,5 +89,3 @@ Read-Only:
- `guid` (String)
- `id` (Number)
- `timestamp` (Number)

View File

@@ -0,0 +1,90 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_image_from_blank_compute Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_image_from_blank_compute (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `boot_type` (String) Boot type of image BIOS or UEFI
- `compute_id` (Number) Compute Id
- `name` (String) Name of the rescue disk
- `type` (String) Image type linux, windows or other
### Optional
- `account_id` (Number) AccountId to make the image exclusive
- `async_mode` (Boolean) create an image in async/sync mode
- `hot_resize` (Boolean) Does this machine supports hot resize
- `password` (String) Optional password for the image
- `permanently` (Boolean) whether to completely delete the image
- `pool_name` (String) pool for image create
- `sep_id` (Number) storage endpoint provider ID
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `username` (String) Optional username for the image
### Read-Only
- `acl` (String)
- `architecture` (String)
- `bootable` (Boolean)
- `cd_presented_to` (String)
- `ckey` (String)
- `compute_ci_id` (Number)
- `deleted_time` (Number)
- `desc` (String)
- `drivers` (List of String)
- `enabled` (Boolean)
- `gid` (Number)
- `guid` (Number)
- `history` (List of Object) (see [below for nested schema](#nestedatt--history))
- `id` (String) The ID of this resource.
- `image_id` (Number)
- `image_name` (String)
- `last_modified` (Number)
- `link_to` (Number)
- `milestones` (Number)
- `network_interface_naming` (String)
- `present_to` (List of Number)
- `provider_name` (String)
- `purge_attempts` (Number)
- `res_id` (String)
- `rescuecd` (Boolean)
- `shared_with` (List of Number)
- `size` (Number)
- `status` (String)
- `tech_status` (String)
- `unc_path` (String)
- `version` (String)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedatt--history"></a>
### Nested Schema for `history`
Read-Only:
- `guid` (String)
- `id` (Number)
- `timestamp` (Number)

View File

@@ -0,0 +1,90 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_image_from_platform_disk Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_image_from_platform_disk (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `architecture` (String) binary architecture of this image, one of X86_64 of PPC64_LE
- `boot_type` (String) Boot type of image BIOS or UEFI
- `disk_id` (Number) Disk Id
- `name` (String) Name of the rescue disk
- `type` (String) Image type linux, windows or other
### Optional
- `account_id` (Number) AccountId to make the image exclusive
- `async_mode` (Boolean) create an image in async/sync mode
- `bootable` (Boolean) bootable image
- `drivers` (List of String) List of types of compute suitable for image. Example: [ "KVM_X86" ]
- `hot_resize` (Boolean) Does this machine supports hot resize
- `password` (String) Optional password for the image
- `permanently` (Boolean) whether to completely delete the image
- `pool_name` (String) pool for image create
- `sep_id` (Number) storage endpoint provider ID
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `username` (String) Optional username for the image
### Read-Only
- `acl` (String)
- `cd_presented_to` (String)
- `ckey` (String)
- `compute_ci_id` (Number)
- `deleted_time` (Number)
- `desc` (String)
- `enabled` (Boolean)
- `gid` (Number)
- `guid` (Number)
- `history` (List of Object) (see [below for nested schema](#nestedatt--history))
- `id` (String) The ID of this resource.
- `image_id` (Number)
- `image_name` (String)
- `last_modified` (Number)
- `link_to` (Number)
- `milestones` (Number)
- `network_interface_naming` (String)
- `present_to` (List of Number)
- `provider_name` (String)
- `purge_attempts` (Number)
- `res_id` (String)
- `rescuecd` (Boolean)
- `shared_with` (List of Number)
- `size` (Number)
- `status` (String)
- `tech_status` (String)
- `unc_path` (String)
- `version` (String)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedatt--history"></a>
### Nested Schema for `history`
Read-Only:
- `guid` (String)
- `id` (Number)
- `timestamp` (Number)

View File

@@ -1,6 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_image_virtual Resource - decort"
page_title: "decort_image_virtual Resource - terraform-provider-decort"
subcategory: ""
description: |-
@@ -32,9 +32,10 @@ description: |-
- `architecture` (String)
- `boot_type` (String)
- `bootable` (Boolean)
- `cd_presented_to` (String)
- `ckey` (String)
- `compute_ci_id` (Number)
- `deleted_time` (String)
- `deleted_time` (Number)
- `desc` (String)
- `drivers` (List of String)
- `enabled` (Boolean)
@@ -47,8 +48,10 @@ description: |-
- `image_name` (String)
- `last_modified` (Number)
- `milestones` (Number)
- `network_interface_naming` (String)
- `password` (String)
- `pool_name` (String)
- `present_to` (List of Number)
- `provider_name` (String)
- `purge_attempts` (Number)
- `res_id` (String)
@@ -83,5 +86,3 @@ Read-Only:
- `guid` (String)
- `id` (Number)
- `timestamp` (Number)

225
docs/resources/k8s.md Normal file
View File

@@ -0,0 +1,225 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_k8s Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_k8s (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `k8sci_id` (Number) ID of the k8s catalog item to base this instance on.
- `name` (String) Name of the cluster.
- `network_plugin` (String) Network plugin to be used
- `rg_id` (Number) Resource group ID that this instance belongs to.
- `wg_name` (String) Name for first worker group created with cluster.
### Optional
- `additional_sans` (List of String) Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names
- `annotations` (List of String)
- `cloud_init` (String) Meta data for working group computes, format YAML 'user_data': 1111
- `cluster_config` (String) is used to define global settings and configurations for the entire cluster. It includes parameters such as cluster name, DNS settings, authentication methods, and other cluster-wide configurations. insert a valid JSON string with all levels of nesting.
- `desc` (String) Text description of this instance.
- `extnet_id` (Number) ID of the external network to connect workers to. If omitted network will be chosen by the platfom.
- `extnet_only` (Boolean) Use only selected ExtNet for infrastructure connections
- `ha_mode` (Boolean) Use Highly Available schema for LB deploy
- `init_config` (String) is used to define settings and actions that should be performed before any other component in the cluster starts. It allows you to configure things like node registration, network setup, and other initialization tasks. insert a valid JSON string with all levels of nesting.
- `join_config` (String) is used to configure the behavior and settings for joining a node to a cluster. It includes parameters such as the cluster's control plane endpoint, token, and certificate key. insert a valid JSON string with all levels of nesting.
- `kube_proxy_config` (String) is used to configure the behavior and settings of the Kube-proxy, which is responsible for network proxying and load balancing within the cluster. It includes parameters such as proxy mode, cluster IP ranges, and other Kube-proxy specific configurations. insert a valid JSON string with all levels of nesting.
- `kubelet_config` (String) is used to configure the behavior and settings of the Kubelet, which is the primary node agent that runs on each node in the cluster. It includes parameters such as node IP address, resource allocation, pod eviction policies, and other Kubelet-specific configurations. insert a valid JSON string with all levels of nesting.
- `labels` (List of String)
- `lb_sysctl_params` (List of Map of String) Custom sysctl values for Load Balancer instance. Applied on boot.
- `masters` (Block List, Max: 1) Master node(s) configuration. (see [below for nested schema](#nestedblock--masters))
- `oidc_cert` (String) insert ssl certificate in x509 pem format
- `permanently` (Boolean) Determines if cluster should be destroyed
- `start` (Boolean) Start k8s cluster
- `taints` (List of String)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `vins_id` (Number) ID of default vins for this instace.
- `with_lb` (Boolean) Create k8s with load balancer if true.
- `workers` (Block List) Worker node(s) configuration. (see [below for nested schema](#nestedblock--workers))
### Read-Only
- `account_id` (Number)
- `account_name` (String)
- `acl` (List of Object) (see [below for nested schema](#nestedatt--acl))
- `bservice_id` (Number)
- `created_by` (String)
- `created_time` (Number)
- `default_wg_id` (Number) ID of default workers group for this instace.
- `deleted_by` (String)
- `deleted_time` (Number)
- `id` (String) The ID of this resource.
- `k8s_ci_name` (String)
- `kubeconfig` (String) Kubeconfig for cluster access.
- `lb_id` (Number)
- `lb_ip` (String) IP address of default load balancer.
- `rg_name` (String)
- `status` (String)
- `tech_status` (String)
- `updated_by` (String)
- `updated_time` (Number)
<a id="nestedblock--masters"></a>
### Nested Schema for `masters`
Required:
- `cpu` (Number) Node CPU count.
- `disk` (Number) Node boot disk size in GB.
- `num` (Number) Number of nodes to create. Can be either 1, 3 or 5
- `ram` (Number) Node RAM in MB.
Optional:
- `sep_id` (Number)
- `sep_pool` (String)
Read-Only:
- `detailed_info` (List of Object) (see [below for nested schema](#nestedatt--masters--detailed_info))
- `master_id` (Number)
- `name` (String)
<a id="nestedatt--masters--detailed_info"></a>
### Nested Schema for `masters.detailed_info`
Read-Only:
- `compute_id` (Number)
- `interfaces` (List of Object) (see [below for nested schema](#nestedobjatt--masters--detailed_info--interfaces))
- `name` (String)
- `natable_vins_ip` (String)
- `natable_vins_network` (String)
- `status` (String)
- `tech_status` (String)
<a id="nestedobjatt--masters--detailed_info--interfaces"></a>
### Nested Schema for `masters.detailed_info.interfaces`
Read-Only:
- `def_gw` (String)
- `ip_address` (String)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedblock--workers"></a>
### Nested Schema for `workers`
Required:
- `cpu` (Number)
- `disk` (Number)
- `name` (String)
- `num` (Number)
- `ram` (Number)
Optional:
- `annotations` (List of String)
- `labels` (List of String)
- `sep_id` (Number)
- `sep_pool` (String)
- `taints` (List of String)
Read-Only:
- `detailed_info` (List of Object) (see [below for nested schema](#nestedatt--workers--detailed_info))
- `guid` (String)
- `id` (Number)
<a id="nestedatt--workers--detailed_info"></a>
### Nested Schema for `workers.detailed_info`
Read-Only:
- `compute_id` (Number)
- `interfaces` (List of Object) (see [below for nested schema](#nestedobjatt--workers--detailed_info--interfaces))
- `name` (String)
- `natable_vins_ip` (String)
- `natable_vins_network` (String)
- `status` (String)
- `tech_status` (String)
<a id="nestedobjatt--workers--detailed_info--interfaces"></a>
### Nested Schema for `workers.detailed_info.interfaces`
Read-Only:
- `def_gw` (String)
- `ip_address` (String)
<a id="nestedatt--acl"></a>
### Nested Schema for `acl`
Read-Only:
- `account_acl` (List of Object) (see [below for nested schema](#nestedobjatt--acl--account_acl))
- `k8s_acl` (List of Object) (see [below for nested schema](#nestedobjatt--acl--k8s_acl))
- `rg_acl` (List of Object) (see [below for nested schema](#nestedobjatt--acl--rg_acl))
<a id="nestedobjatt--acl--account_acl"></a>
### Nested Schema for `acl.account_acl`
Read-Only:
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)
<a id="nestedobjatt--acl--k8s_acl"></a>
### Nested Schema for `acl.k8s_acl`
Read-Only:
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)
<a id="nestedobjatt--acl--rg_acl"></a>
### Nested Schema for `acl.rg_acl`
Read-Only:
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)

156
docs/resources/k8s_cp.md Normal file
View File

@@ -0,0 +1,156 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_k8s_cp Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_k8s_cp (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `k8sci_id` (Number) ID of the k8s catalog item to base this instance on.
- `name` (String) Name of the cluster.
- `network_plugin` (String) Network plugin to be used
- `rg_id` (Number) Resource group ID that this instance belongs to.
### Optional
- `additional_sans` (List of String) Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names
- `cluster_config` (String) is used to define global settings and configurations for the entire cluster. It includes parameters such as cluster name, DNS settings, authentication methods, and other cluster-wide configurations. insert a valid JSON string with all levels of nesting.
- `cpu` (Number) Node CPU count.
- `desc` (String) Text description of this instance.
- `disk` (Number) Node boot disk size in GB.
- `extnet_id` (Number) ID of the external network to connect workers to. If omitted network will be chosen by the platfom.
- `extnet_only` (Boolean) Use only selected ExtNet for infrastructure connections
- `ha_mode` (Boolean) Use Highly Available schema for LB deploy
- `init_config` (String) is used to define settings and actions that should be performed before any other component in the cluster starts. It allows you to configure things like node registration, network setup, and other initialization tasks. insert a valid JSON string with all levels of nesting.
- `join_config` (String) is used to configure the behavior and settings for joining a node to a cluster. It includes parameters such as the cluster's control plane endpoint, token, and certificate key. insert a valid JSON string with all levels of nesting.
- `kube_proxy_config` (String) is used to configure the behavior and settings of the Kube-proxy, which is responsible for network proxying and load balancing within the cluster. It includes parameters such as proxy mode, cluster IP ranges, and other Kube-proxy specific configurations. insert a valid JSON string with all levels of nesting.
- `kubelet_config` (String) is used to configure the behavior and settings of the Kubelet, which is the primary node agent that runs on each node in the cluster. It includes parameters such as node IP address, resource allocation, pod eviction policies, and other Kubelet-specific configurations. insert a valid JSON string with all levels of nesting.
- `lb_sysctl_params` (List of Map of String) Custom sysctl values for Load Balancer instance. Applied on boot.
- `num` (Number) Number of VMs to create. Can be either 1, 3 or 5
- `oidc_cert` (String) insert ssl certificate in x509 pem format
- `permanently` (Boolean) Determines if cluster should be destroyed
- `ram` (Number) Node RAM in MB.
- `sep_id` (Number) Storage Endpoint ID
- `sep_pool` (String) Storage Endpoint Pool
- `start` (Boolean) Start k8s cluster.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `vins_id` (Number) ID of default vins for this instace.
- `with_lb` (Boolean) Create k8s with load balancer if true.
### Read-Only
- `account_id` (Number)
- `account_name` (String)
- `acl` (List of Object) (see [below for nested schema](#nestedatt--acl))
- `bservice_id` (Number)
- `created_by` (String)
- `created_time` (Number)
- `deleted_by` (String)
- `deleted_time` (Number)
- `detailed_info` (List of Object) (see [below for nested schema](#nestedatt--detailed_info))
- `id` (String) The ID of this resource.
- `k8s_ci_name` (String)
- `k8s_id` (Number)
- `kubeconfig` (String) Kubeconfig for cluster access.
- `lb_id` (Number)
- `lb_ip` (String) IP address of default load balancer.
- `master_id` (Number) Master group ID.
- `master_name` (String) Master group name.
- `rg_name` (String)
- `status` (String)
- `tech_status` (String)
- `updated_by` (String)
- `updated_time` (Number)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedatt--acl"></a>
### Nested Schema for `acl`
Read-Only:
- `account_acl` (List of Object) (see [below for nested schema](#nestedobjatt--acl--account_acl))
- `k8s_acl` (List of Object) (see [below for nested schema](#nestedobjatt--acl--k8s_acl))
- `rg_acl` (List of Object) (see [below for nested schema](#nestedobjatt--acl--rg_acl))
<a id="nestedobjatt--acl--account_acl"></a>
### Nested Schema for `acl.account_acl`
Read-Only:
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)
<a id="nestedobjatt--acl--k8s_acl"></a>
### Nested Schema for `acl.k8s_acl`
Read-Only:
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)
<a id="nestedobjatt--acl--rg_acl"></a>
### Nested Schema for `acl.rg_acl`
Read-Only:
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)
<a id="nestedatt--detailed_info"></a>
### Nested Schema for `detailed_info`
Read-Only:
- `compute_id` (Number)
- `interfaces` (List of Object) (see [below for nested schema](#nestedobjatt--detailed_info--interfaces))
- `name` (String)
- `natable_vins_ip` (String)
- `natable_vins_network` (String)
- `status` (String)
- `tech_status` (String)
<a id="nestedobjatt--detailed_info--interfaces"></a>
### Nested Schema for `detailed_info.interfaces`
Read-Only:
- `def_gw` (String)
- `ip_address` (String)

75
docs/resources/k8s_wg.md Normal file
View File

@@ -0,0 +1,75 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_k8s_wg Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_k8s_wg (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `k8s_id` (Number) ID of k8s instance.
- `name` (String) Name of the worker group.
### Optional
- `annotations` (List of String)
- `cloud_init` (String)
- `cpu` (Number) Worker node CPU count.
- `disk` (Number) Worker node boot disk size. If unspecified or 0, size is defined by OS image size.
- `labels` (List of String)
- `num` (Number) Number of worker nodes to create.
- `ram` (Number) Worker node RAM in MB.
- `taints` (List of String)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `worker_sep_id` (Number)
- `worker_sep_pool` (String)
### Read-Only
- `detailed_info` (List of Object) (see [below for nested schema](#nestedatt--detailed_info))
- `guid` (String)
- `id` (String) The ID of this resource.
- `wg_id` (Number) ID of k8s worker Group.
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedatt--detailed_info"></a>
### Nested Schema for `detailed_info`
Read-Only:
- `compute_id` (Number)
- `interfaces` (List of Object) (see [below for nested schema](#nestedobjatt--detailed_info--interfaces))
- `name` (String)
- `natable_vins_ip` (String)
- `natable_vins_network` (String)
- `status` (String)
- `tech_status` (String)
<a id="nestedobjatt--detailed_info--interfaces"></a>
### Nested Schema for `detailed_info.interfaces`
Read-Only:
- `def_gw` (String)
- `ip_address` (String)

View File

@@ -1,72 +0,0 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_k8s Resource - decort"
subcategory: ""
description: |-
---
# decort_k8s (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `k8sci_id` (Number) ID of the k8s catalog item to base this instance on.
- `name` (String) Name of the cluster.
- `rg_id` (Number) Resource group ID that this instance belongs to.
- `wg_name` (String) Name for first worker group created with cluster.
### Optional
- `extnet_id` (Number) ID of the external network to connect workers to. If omitted network will be chosen by the platfom.
- `masters` (Block List, Max: 1) Master node(s) configuration. (see [below for nested schema](#nestedblock--masters))
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `workers` (Block List, Max: 1) Worker node(s) configuration. (see [below for nested schema](#nestedblock--workers))
### Read-Only
- `default_wg_id` (Number) ID of default workers group for this instace.
- `id` (String) The ID of this resource.
- `kubeconfig` (String) Kubeconfig for cluster access.
- `lb_ip` (String) IP address of default load balancer.
<a id="nestedblock--masters"></a>
### Nested Schema for `masters`
Required:
- `cpu` (Number) Node CPU count.
- `disk` (Number) Node boot disk size in GB.
- `num` (Number) Number of nodes to create.
- `ram` (Number) Node RAM in MB.
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)
<a id="nestedblock--workers"></a>
### Nested Schema for `workers`
Required:
- `cpu` (Number) Node CPU count.
- `disk` (Number) Node boot disk size in GB.
- `num` (Number) Number of nodes to create.
- `ram` (Number) Node RAM in MB.

View File

@@ -1,6 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_kvmvm Resource - decort"
page_title: "decort_kvmvm Resource - terraform-provider-decort"
subcategory: ""
description: |-
@@ -17,37 +17,170 @@ description: |-
### Required
- `boot_disk_size` (Number) This compute instance boot disk size in GB. Make sure it is large enough to accomodate selected OS image.
- `cpu` (Number) Number of CPUs to allocate to this compute instance.
- `driver` (String) Hardware architecture of this compute instance.
- `image_id` (Number) ID of the OS image to base this compute instance on.
- `name` (String) Name of this compute. Compute names are case sensitive and must be unique in the resource group.
- `ram` (Number) Amount of RAM in MB to allocate to this compute instance.
- `rg_id` (Number) ID of the resource group where this compute should be deployed.
### Optional
- `affinity_label` (String) Set affinity label for compute
- `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))
- `auto_start` (Boolean) Flag for redeploy compute
- `boot_disk_size` (Number) This compute instance boot disk size in GB. Make sure it is large enough to accomodate selected OS image.
- `cd` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--cd))
- `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.
- `custom_fields` (String)
- `data_disks` (String) Flag for redeploy compute
- `description` (String) Optional text description of this compute instance.
- `detach_disks` (Boolean)
- `disks` (Block List) (see [below for nested schema](#nestedblock--disks))
- `enabled` (Boolean) If true - enable compute, else - disable
- `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_stop` (Boolean) Flag for redeploy compute
- `hp_backed` (Boolean) Use Huge Pages to allocate RAM of the virtual machine. The system must be pre-configured by allocating Huge Pages on the physical node.
- `image_id` (Number) ID of the OS image to base this compute instance on.
- `ipa_type` (String) compute purpose
- `is` (String) system name
- `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))
- `numa_affinity` (String) Rule for VM placement with NUMA affinity.
- `pause` (Boolean)
- `permanently` (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.
- `port_forwarding` (Block Set) (see [below for nested schema](#nestedblock--port_forwarding))
- `reset` (Boolean)
- `restore` (Boolean)
- `rollback` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--rollback))
- `sep_id` (Number) ID of SEP to create bootDisk on. Uses image's sepId if not set.
- `snapshot` (Block Set) (see [below for nested schema](#nestedblock--snapshot))
- `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))
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `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.
### Read-Only
- `account_id` (Number) ID of the account this compute instance belongs to.
- `account_name` (String) Name of the account this compute instance belongs to.
- `affinity_weight` (Number)
- `arch` (String)
- `boot_disk` (Set of Object) (see [below for nested schema](#nestedatt--boot_disk))
- `boot_disk_id` (Number) This compute instance boot disk ID.
- `boot_order` (List of String)
- `cd_image_id` (Number)
- `clone_reference` (Number)
- `clones` (List of Number)
- `compute_id` (Number)
- `computeci_id` (Number)
- `created_by` (String)
- `created_time` (Number)
- `deleted_by` (String)
- `deleted_time` (Number)
- `devices` (String)
- `gid` (Number)
- `guid` (Number)
- `id` (String) The ID of this resource.
- `interfaces` (List of Object) (see [below for nested schema](#nestedatt--interfaces))
- `lock_status` (String)
- `manager_id` (Number)
- `manager_type` (String)
- `migrationjob` (Number)
- `milestones` (Number)
- `natable_vins_id` (Number)
- `natable_vins_ip` (String)
- `natable_vins_name` (String)
- `natable_vins_network` (String)
- `natable_vins_network_name` (String)
- `need_reboot` (Boolean)
- `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))
- `pinned` (Boolean)
- `reference_id` (String)
- `registered` (Boolean)
- `res_name` (String)
- `reserved_node_cpus` (List of Number)
- `rg_name` (String) Name of the resource group where this compute instance is located.
- `snap_sets` (List of Object) (see [below for nested schema](#nestedatt--snap_sets))
- `stateless_sep_id` (Number)
- `stateless_sep_type` (String)
- `status` (String)
- `tech_status` (String)
- `updated_by` (String)
- `updated_time` (Number)
- `user_managed` (Boolean)
- `vgpus` (List of Number)
- `virtual_image_id` (Number)
- `virtual_image_name` (String)
<a id="nestedblock--affinity_rules"></a>
### Nested Schema for `affinity_rules`
Required:
- `key` (String) key that are taken into account when analyzing this rule will be identified
- `mode` (String) EQ or NE or ANY - the comparison mode is 'value', recorded by the specified 'key'
- `policy` (String) RECOMMENDED or REQUIRED, the degree of 'strictness' of this rule
- `topology` (String) compute or node, for whom rule applies
Optional:
- `value` (String) value that must match the key to be taken into account when analyzing this rule
<a id="nestedblock--anti_affinity_rules"></a>
### Nested Schema for `anti_affinity_rules`
Required:
- `key` (String) key that are taken into account when analyzing this rule will be identified
- `mode` (String) EQ or NE or ANY - the comparison mode is 'value', recorded by the specified 'key'
- `policy` (String) RECOMMENDED or REQUIRED, the degree of 'strictness' of this rule
- `topology` (String) compute or node, for whom rule applies
Optional:
- `value` (String) value that must match the key to be taken into account when analyzing this rule
<a id="nestedblock--cd"></a>
### Nested Schema for `cd`
Required:
- `cdrom_id` (Number)
<a id="nestedblock--disks"></a>
### Nested Schema for `disks`
Required:
- `disk_name` (String) Name for disk
- `size` (Number) Disk size in GiB
Optional:
- `desc` (String) Optional description
- `disk_type` (String) The type of disk in terms of its role in compute: 'B=Boot, D=Data'
- `image_id` (Number) Specify image id for create disk from template
- `permanently` (Boolean) Disk deletion status
- `pool` (String) Pool name; by default will be chosen automatically
- `sep_id` (Number) Storage endpoint provider ID; by default the same with boot disk
Read-Only:
- `disk_id` (Number) Disk ID
- `shareable` (Boolean)
- `size_max` (Number)
- `size_used` (Number)
<a id="nestedblock--network"></a>
### Nested Schema for `network`
@@ -66,6 +199,45 @@ Read-Only:
- `mac` (String) MAC address associated with this connection. MAC address is assigned automatically.
<a id="nestedblock--port_forwarding"></a>
### Nested Schema for `port_forwarding`
Required:
- `proto` (String)
- `public_port_start` (Number)
Optional:
- `local_port` (Number)
- `public_port_end` (Number)
<a id="nestedblock--rollback"></a>
### Nested Schema for `rollback`
Required:
- `label` (String)
<a id="nestedblock--snapshot"></a>
### Nested Schema for `snapshot`
Required:
- `label` (String)
<a id="nestedblock--tags"></a>
### Nested Schema for `tags`
Required:
- `key` (String)
- `value` (String)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
@@ -78,6 +250,71 @@ Optional:
- `update` (String)
<a id="nestedblock--user_access"></a>
### Nested Schema for `user_access`
Required:
- `access_type` (String)
- `username` (String)
<a id="nestedatt--boot_disk"></a>
### Nested Schema for `boot_disk`
Read-Only:
- `desc` (String)
- `disk_id` (Number)
- `disk_name` (String)
- `disk_type` (String)
- `image_id` (Number)
- `permanently` (Boolean)
- `pool` (String)
- `sep_id` (Number)
- `shareable` (Boolean)
- `size` (Number)
- `size_max` (Number)
- `size_used` (Number)
<a id="nestedatt--interfaces"></a>
### Nested Schema for `interfaces`
Read-Only:
- `conn_id` (Number)
- `conn_type` (String)
- `def_gw` (String)
- `enabled` (Boolean)
- `flip_group_id` (Number)
- `guid` (String)
- `ip_address` (String)
- `listen_ssh` (Boolean)
- `mac` (String)
- `name` (String)
- `net_id` (Number)
- `net_type` (String)
- `netmask` (Number)
- `node_id` (Number)
- `pci_slot` (Number)
- `qos` (List of Object) (see [below for nested schema](#nestedobjatt--interfaces--qos))
- `target` (String)
- `type` (String)
- `vnfs` (List of Number)
<a id="nestedobjatt--interfaces--qos"></a>
### Nested Schema for `interfaces.qos`
Read-Only:
- `e_rate` (Number)
- `guid` (String)
- `in_brust` (Number)
- `in_rate` (Number)
<a id="nestedatt--os_users"></a>
### Nested Schema for `os_users`
@@ -89,3 +326,12 @@ Read-Only:
- `public_key` (String)
<a id="nestedatt--snap_sets"></a>
### Nested Schema for `snap_sets`
Read-Only:
- `disks` (List of Number)
- `guid` (String)
- `label` (String)
- `timestamp` (Number)

View File

@@ -1,6 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_lb Resource - decort"
page_title: "decort_lb Resource - terraform-provider-decort"
subcategory: ""
description: |-
@@ -17,38 +17,45 @@ description: |-
### Required
- `extnet_id` (Number)
- `name` (String)
- `rg_id` (Number)
- `start` (Boolean)
- `vins_id` (Number)
### Optional
- `config_reset` (Boolean)
- `desc` (String)
- `enable` (Boolean)
- `extnet_id` (Number)
- `ha_mode` (Boolean)
- `permanently` (Boolean)
- `restart` (Boolean)
- `restore` (Boolean)
- `safe` (Boolean)
- `sysctl_params` (List of Map of String)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `vins_id` (Number)
### Read-Only
- `backend_haip` (String)
- `backends` (List of Object) (see [below for nested schema](#nestedatt--backends))
- `created_by` (String)
- `created_time` (Number)
- `deleted_by` (String)
- `deleted_time` (Number)
- `dp_api_user` (String)
- `frontend_haip` (String)
- `frontends` (List of Object) (see [below for nested schema](#nestedatt--frontends))
- `gid` (Number)
- `guid` (Number)
- `ha_mode` (Boolean)
- `id` (String) The ID of this resource.
- `image_id` (Number)
- `lb_id` (Number)
- `manager_id` (Number)
- `manager_type` (String)
- `milestones` (Number)
- `part_k8s` (Boolean)
- `primary_node` (List of Object) (see [below for nested schema](#nestedatt--primary_node))
- `rg_name` (String)
- `secondary_node` (List of Object) (see [below for nested schema](#nestedatt--secondary_node))
@@ -56,6 +63,7 @@ description: |-
- `tech_status` (String)
- `updated_by` (String)
- `updated_time` (Number)
- `user_managed` (Boolean)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
@@ -172,5 +180,3 @@ Read-Only:
- `guid` (String)
- `mgmt_ip` (String)
- `network_id` (Number)

View File

@@ -1,6 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_lb_backend Resource - decort"
page_title: "decort_lb_backend Resource - terraform-provider-decort"
subcategory: ""
description: |-
@@ -84,5 +84,3 @@ Optional:
- `delete` (String)
- `read` (String)
- `update` (String)

View File

@@ -1,6 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_lb_backend_server Resource - decort"
page_title: "decort_lb_backend_server Resource - terraform-provider-decort"
subcategory: ""
description: |-
@@ -51,5 +51,3 @@ Optional:
- `delete` (String)
- `read` (String)
- `update` (String)

View File

@@ -1,6 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_lb_frontend Resource - decort"
page_title: "decort_lb_frontend Resource - terraform-provider-decort"
subcategory: ""
description: |-
@@ -52,5 +52,3 @@ Read-Only:
- `guid` (String)
- `name` (String)
- `port` (Number)

View File

@@ -1,6 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_lb_frontend_bind Resource - decort"
page_title: "decort_lb_frontend_bind Resource - terraform-provider-decort"
subcategory: ""
description: |-
@@ -42,5 +42,3 @@ Optional:
- `delete` (String)
- `read` (String)
- `update` (String)

View File

@@ -1,6 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_pfw Resource - decort"
page_title: "decort_pfw Resource - terraform-provider-decort"
subcategory: ""
description: |-
@@ -42,5 +42,3 @@ Optional:
- `delete` (String)
- `read` (String)
- `update` (String)

View File

@@ -1,6 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_resgroup Resource - decort"
page_title: "decort_resgroup Resource - terraform-provider-decort"
subcategory: ""
description: |-
@@ -18,23 +18,78 @@ description: |-
### Required
- `account_id` (Number) Unique ID of the account, which this resource group belongs to.
- `gid` (Number) Unique ID of the grid, where this resource group is deployed.
- `name` (String) Name of this resource group. Names are case sensitive and unique within the context of a account.
### Optional
- `access` (Block Set) (see [below for nested schema](#nestedblock--access))
- `def_net` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--def_net))
- `def_net_type` (String) Type of the network, which this resource group will use as default for its computes - PRIVATE or PUBLIC or NONE.
- `description` (String) User-defined text description of this resource group.
- `enable` (Boolean) flag for enable/disable RG
- `ext_ip` (String) IP address on the external netowrk to request when def_net_type=PRIVATE and ext_net_id is not 0
- `ext_net_id` (Number) ID of the external network for default ViNS. Pass 0 if def_net_type=PUBLIC or no external connection required for the defult ViNS when def_net_type=PRIVATE
- `force` (Boolean) Set to True if you want force delete non-empty RG
- `ipcidr` (String) Address of the netowrk inside the private network segment (aka ViNS) if def_net_type=PRIVATE
- `owner` (String)
- `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))
- `reason` (String) Set to True if you want force delete non-empty RG
- `register_computes` (Boolean) Register computes in registration system
- `restore` (Boolean)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `account_name` (String) Name of the account, which this resource group belongs to.
- `acl` (List of Object) (see [below for nested schema](#nestedatt--acl))
- `compute_features` (List of String)
- `cpu_allocation_parameter` (String)
- `cpu_allocation_ratio` (Number)
- `def_net_id` (Number) ID of the default network for this resource group (if any).
- `deleted_by` (String)
- `deleted_time` (Number)
- `dirty` (Boolean)
- `guid` (Number)
- `id` (String) The ID of this resource.
- `lock_status` (String)
- `milestones` (Number)
- `res_types` (List of String)
- `rg_id` (Number)
- `secret` (String)
- `status` (String) Current status of this resource group.
- `uniq_pools` (List of String)
- `updated_by` (String)
- `updated_time` (Number)
- `vins` (List of Number) List of VINs deployed in this resource group.
- `vms` (List of Number) List of computes deployed in this resource group.
<a id="nestedblock--access"></a>
### Nested Schema for `access`
Required:
- `right` (String) Access rights to set, one of 'R', 'RCX' or 'ARCXDU'
- `user` (String) User or group name to grant access
Optional:
- `reason` (String) Reason for action
<a id="nestedblock--def_net"></a>
### Nested Schema for `def_net`
Required:
- `net_type` (String) Network type to set. Must be on of 'PRIVATE' or 'PUBLIC'.
Optional:
- `net_id` (Number) Network segment ID. If netType is PUBLIC and netId is 0 then default external network segment will be selected. If netType is PRIVATE and netId=0, the first ViNS defined for this RG will be selected. Otherwise, netId identifies either existing external network segment or ViNS.
- `reason` (String) Reason for action
<a id="nestedblock--quota"></a>
### Nested Schema for `quota`
@@ -42,12 +97,16 @@ description: |-
Optional:
- `cpu` (Number) Limit on the total number of CPUs in this resource group.
- `disk` (Number) Limit on the total volume of storage resources in this resource group, specified in GB.
- `disk` (Number) Limit on the total volume of virtual storage resources in this resource group, specified in GB.
- `ext_ips` (Number) Limit on the total number of external IP addresses this resource group can use.
- `ext_traffic` (Number) Limit on the total ingress network traffic for this resource group, specified in GB.
- `gpu_units` (Number) Limit on the total number of virtual GPUs this resource group can use.
- `ram` (Number) Limit on the total amount of RAM in this resource group, specified in MB.
Read-Only:
- `cu_d` (Number) Limit on the total volume of storage resources in this resource group, specified in GB.
- `gpu_units` (Number) Limit on the total number of virtual GPUs this resource group can use.
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
@@ -61,3 +120,14 @@ Optional:
- `update` (String)
<a id="nestedatt--acl"></a>
### Nested Schema for `acl`
Read-Only:
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)

View File

@@ -1,69 +0,0 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_sep Resource - decort"
subcategory: ""
description: |-
---
# decort_sep (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `gid` (Number) grid (platform) ID
- `name` (String) SEP name
- `type` (String) type of storage
### Optional
- `clear_physically` (Boolean) clear disks and images physically
- `config` (String) sep config string
- `consumed_by` (List of Number) list of consumer nodes IDs
- `decommission` (Boolean) unlink everything that exists from SEP
- `desc` (String) sep description
- `enable` (Boolean) enable SEP after creation
- `field_edit` (Block List, Max: 1) (see [below for nested schema](#nestedblock--field_edit))
- `provided_by` (List of Number) list of provider nodes IDs
- `sep_id` (Number) sep type des id
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `upd_capacity_limit` (Boolean) Update SEP capacity limit
### Read-Only
- `ckey` (String)
- `guid` (Number)
- `id` (String) The ID of this resource.
- `meta` (List of String)
- `milestones` (Number)
- `obj_status` (String)
- `tech_status` (String)
<a id="nestedblock--field_edit"></a>
### Nested Schema for `field_edit`
Required:
- `field_name` (String)
- `field_type` (String)
- `field_value` (String)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String)
- `default` (String)
- `delete` (String)
- `read` (String)
- `update` (String)

View File

@@ -1,6 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_snapshot Resource - decort"
page_title: "decort_snapshot Resource - terraform-provider-decort"
subcategory: ""
description: |-
@@ -42,5 +42,3 @@ Optional:
- `delete` (String)
- `read` (String)
- `update` (String)

View File

@@ -1,6 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_vins Resource - decort"
page_title: "decort_vins Resource - terraform-provider-decort"
subcategory: ""
description: |-
@@ -17,22 +17,98 @@ description: |-
### Required
- `account_id` (Number) ID of the account, which this ViNS belongs to. For ViNS created at account level, resource group ID is 0.
- `ext_net_id` (Number) ID of the external network this ViNS is connected to. Pass 0 if no external connection required.
- `name` (String) Name of the ViNS. Names are case sensitive and unique within the context of an account or resource group.
- `name` (String)
### Optional
- `description` (String) Optional user-defined text description of this ViNS.
- `ipcidr` (String) Network address to use by this ViNS. This parameter is only valid when creating new ViNS.
- `rg_id` (Number) ID of the resource group, where this ViNS belongs to. Non-zero for ViNS created at resource group level, 0 otherwise.
- `account_id` (Number)
- `desc` (String) Optional user-defined text description of this ViNS.
- `dns` (Set of String)
- `enable` (Boolean)
- `ext_ip_addr` (String)
- `ext_net` (Block List, Max: 1) (see [below for nested schema](#nestedblock--ext_net))
- `ext_net_id` (Number)
- `force` (Boolean)
- `gid` (Number)
- `ip` (Block List) (see [below for nested schema](#nestedblock--ip))
- `ipcidr` (String)
- `nat_rule` (Block List) (see [below for nested schema](#nestedblock--nat_rule))
- `permanently` (Boolean)
- `pre_reservations_num` (Number)
- `restore` (Boolean)
- `rg_id` (Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `vnfdev_redeploy` (Boolean)
- `vnfdev_restart` (Boolean)
### Read-Only
- `account_name` (String) Name of the account, which this ViNS belongs to.
- `ext_ip_addr` (String) IP address of the external connection (valid for ViNS connected to external network, ignored otherwise).
- `computes` (List of Object) (see [below for nested schema](#nestedatt--computes))
- `created_by` (String)
- `created_time` (Number)
- `default_gw` (String)
- `default_qos` (List of Object) (see [below for nested schema](#nestedatt--default_qos))
- `deleted_by` (String)
- `deleted_time` (Number)
- `guid` (Number)
- `id` (String) The ID of this resource.
- `lock_status` (String)
- `manager_id` (Number)
- `manager_type` (String)
- `milestones` (Number)
- `net_mask` (Number)
- `network` (String)
- `redundant` (Boolean)
- `rg_name` (String)
- `sec_vnf_dev_id` (Number)
- `status` (String)
- `updated_by` (String)
- `updated_time` (Number)
- `user_managed` (Boolean)
- `vins_id` (Number) Unique ID of the ViNS. If ViNS ID is specified, then ViNS name, rg_id and account_id are ignored.
- `vnf_dev` (List of Object) (see [below for nested schema](#nestedatt--vnf_dev))
- `vnfs` (List of Object) (see [below for nested schema](#nestedatt--vnfs))
- `vxlan_id` (Number)
<a id="nestedblock--ext_net"></a>
### Nested Schema for `ext_net`
Optional:
- `ext_net_id` (Number)
- `ext_net_ip` (Number)
<a id="nestedblock--ip"></a>
### Nested Schema for `ip`
Required:
- `type` (String)
Optional:
- `compute_id` (Number)
- `ip_addr` (String)
- `mac_addr` (String)
<a id="nestedblock--nat_rule"></a>
### Nested Schema for `nat_rule`
Optional:
- `ext_port_end` (Number)
- `ext_port_start` (Number)
- `int_ip` (String)
- `int_port` (Number)
- `proto` (String)
Read-Only:
- `rule_id` (Number)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
@@ -46,3 +122,365 @@ Optional:
- `update` (String)
<a id="nestedatt--computes"></a>
### Nested Schema for `computes`
Read-Only:
- `compute_id` (Number)
- `compute_name` (String)
<a id="nestedatt--default_qos"></a>
### Nested Schema for `default_qos`
Read-Only:
- `e_rate` (Number)
- `guid` (String)
- `in_brust` (Number)
- `in_rate` (Number)
<a id="nestedatt--vnf_dev"></a>
### Nested Schema for `vnf_dev`
Read-Only:
- `_ckey` (String)
- `account_id` (Number)
- `capabilities` (List of String)
- `config` (List of Object) (see [below for nested schema](#nestedobjatt--vnf_dev--config))
- `config_saved` (Boolean)
- `custom_pre_cfg` (Boolean)
- `desc` (String)
- `gid` (Number)
- `guid` (Number)
- `interfaces` (List of Object) (see [below for nested schema](#nestedobjatt--vnf_dev--interfaces))
- `lock_status` (String)
- `milestones` (Number)
- `status` (String)
- `tech_status` (String)
- `type` (String)
- `vins` (List of Number)
- `vnf_id` (Number)
- `vnf_name` (String)
<a id="nestedobjatt--vnf_dev--config"></a>
### Nested Schema for `vnf_dev.config`
Read-Only:
- `mgmt` (List of Object) (see [below for nested schema](#nestedobjatt--vnf_dev--config--mgmt))
- `resources` (List of Object) (see [below for nested schema](#nestedobjatt--vnf_dev--config--resources))
<a id="nestedobjatt--vnf_dev--config--mgmt"></a>
### Nested Schema for `vnf_dev.config.mgmt`
Read-Only:
- `ip_addr` (String)
- `password` (String)
- `ssh_key` (String)
- `user` (String)
<a id="nestedobjatt--vnf_dev--config--resources"></a>
### Nested Schema for `vnf_dev.config.resources`
Read-Only:
- `cpu` (Number)
- `ram` (Number)
- `stack_id` (Number)
- `uuid` (String)
<a id="nestedobjatt--vnf_dev--interfaces"></a>
### Nested Schema for `vnf_dev.interfaces`
Read-Only:
- `conn_id` (Number)
- `conn_type` (String)
- `def_gw` (String)
- `enabled` (Boolean)
- `flipgroup_id` (Number)
- `guid` (String)
- `ip_address` (String)
- `listen_ssh` (Boolean)
- `mac` (String)
- `name` (String)
- `net_id` (Number)
- `net_mask` (Number)
- `net_type` (String)
- `node_id` (Number)
- `pci_slot` (Number)
- `qos` (List of Object) (see [below for nested schema](#nestedobjatt--vnf_dev--interfaces--qos))
- `target` (String)
- `type` (String)
- `vnfs` (List of Number)
<a id="nestedobjatt--vnf_dev--interfaces--qos"></a>
### Nested Schema for `vnf_dev.interfaces.qos`
Read-Only:
- `e_rate` (Number)
- `guid` (String)
- `in_brust` (Number)
- `in_rate` (Number)
<a id="nestedatt--vnfs"></a>
### Nested Schema for `vnfs`
Read-Only:
- `dhcp` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--dhcp))
- `gw` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--gw))
- `nat` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--nat))
<a id="nestedobjatt--vnfs--dhcp"></a>
### Nested Schema for `vnfs.dhcp`
Read-Only:
- `_ckey` (String)
- `account_id` (Number)
- `config` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--dhcp--config))
- `created_time` (Number)
- `devices` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--dhcp--devices))
- `dhcp_id` (Number)
- `gid` (Number)
- `guid` (Number)
- `lock_status` (String)
- `milestones` (Number)
- `owner_id` (Number)
- `owner_type` (String)
- `pure_virtual` (Boolean)
- `routes` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--dhcp--routes))
- `status` (String)
- `tech_status` (String)
- `type` (String)
<a id="nestedobjatt--vnfs--dhcp--config"></a>
### Nested Schema for `vnfs.dhcp.config`
Read-Only:
- `default_gw` (String)
- `dns` (List of String)
- `ip_end` (String)
- `ip_start` (String)
- `lease` (Number)
- `netmask` (Number)
- `network` (String)
- `reservations` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--dhcp--config--reservations))
<a id="nestedobjatt--vnfs--dhcp--config--reservations"></a>
### Nested Schema for `vnfs.dhcp.config.reservations`
Read-Only:
- `client_type` (String)
- `desc` (String)
- `domainname` (String)
- `hostname` (String)
- `ip` (String)
- `mac` (String)
- `type` (String)
- `vm_id` (Number)
<a id="nestedobjatt--vnfs--dhcp--devices"></a>
### Nested Schema for `vnfs.dhcp.devices`
Read-Only:
- `primary` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--dhcp--devices--primary))
<a id="nestedobjatt--vnfs--dhcp--devices--primary"></a>
### Nested Schema for `vnfs.dhcp.devices.primary`
Read-Only:
- `dev_id` (Number)
- `iface01` (String)
- `iface02` (String)
<a id="nestedobjatt--vnfs--dhcp--routes"></a>
### Nested Schema for `vnfs.dhcp.routes`
Read-Only:
- `compute_ids` (List of Number)
- `destination` (String)
- `gateway` (String)
- `guid` (String)
- `netmask` (String)
- `route_id` (Number)
<a id="nestedobjatt--vnfs--gw"></a>
### Nested Schema for `vnfs.gw`
Read-Only:
- `_ckey` (String)
- `account_id` (Number)
- `config` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--gw--config))
- `created_time` (Number)
- `devices` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--gw--devices))
- `gid` (Number)
- `guid` (Number)
- `gw_id` (Number)
- `lock_status` (String)
- `milestones` (Number)
- `owner_id` (Number)
- `owner_type` (String)
- `pure_virtual` (Boolean)
- `routes` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--gw--routes))
- `status` (String)
- `tech_status` (String)
- `type` (String)
<a id="nestedobjatt--vnfs--gw--config"></a>
### Nested Schema for `vnfs.gw.config`
Read-Only:
- `default_gw` (String)
- `ext_net_id` (Number)
- `ext_net_ip` (String)
- `ext_netmask` (Number)
- `qos` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--gw--config--qos))
<a id="nestedobjatt--vnfs--gw--config--qos"></a>
### Nested Schema for `vnfs.gw.config.qos`
Read-Only:
- `e_rate` (Number)
- `guid` (String)
- `in_brust` (Number)
- `in_rate` (Number)
<a id="nestedobjatt--vnfs--gw--devices"></a>
### Nested Schema for `vnfs.gw.devices`
Read-Only:
- `primary` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--gw--devices--primary))
<a id="nestedobjatt--vnfs--gw--devices--primary"></a>
### Nested Schema for `vnfs.gw.devices.primary`
Read-Only:
- `dev_id` (Number)
- `iface01` (String)
- `iface02` (String)
<a id="nestedobjatt--vnfs--gw--routes"></a>
### Nested Schema for `vnfs.gw.routes`
Read-Only:
- `compute_ids` (List of Number)
- `destination` (String)
- `gateway` (String)
- `guid` (String)
- `netmask` (String)
- `route_id` (Number)
<a id="nestedobjatt--vnfs--nat"></a>
### Nested Schema for `vnfs.nat`
Read-Only:
- `_ckey` (String)
- `account_id` (Number)
- `config` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--nat--config))
- `created_time` (Number)
- `devices` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--nat--devices))
- `gid` (Number)
- `guid` (Number)
- `lock_status` (String)
- `milestones` (Number)
- `nat_id` (Number)
- `owner_id` (Number)
- `owner_type` (String)
- `pure_virtual` (Boolean)
- `routes` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--nat--routes))
- `status` (String)
- `tech_status` (String)
- `type` (String)
<a id="nestedobjatt--vnfs--nat--config"></a>
### Nested Schema for `vnfs.nat.config`
Read-Only:
- `net_mask` (Number)
- `network` (String)
- `rules` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--nat--config--rules))
<a id="nestedobjatt--vnfs--nat--config--rules"></a>
### Nested Schema for `vnfs.nat.config.rules`
Read-Only:
- `local_ip` (String)
- `local_port` (Number)
- `protocol` (String)
- `public_port_end` (Number)
- `public_port_start` (Number)
- `rule_id` (Number)
- `vm_id` (Number)
- `vm_name` (String)
<a id="nestedobjatt--vnfs--nat--devices"></a>
### Nested Schema for `vnfs.nat.devices`
Read-Only:
- `primary` (List of Object) (see [below for nested schema](#nestedobjatt--vnfs--nat--devices--primary))
<a id="nestedobjatt--vnfs--nat--devices--primary"></a>
### Nested Schema for `vnfs.nat.devices.primary`
Read-Only:
- `dev_id` (Number)
- `iface01` (String)
- `iface02` (String)
<a id="nestedobjatt--vnfs--nat--routes"></a>
### Nested Schema for `vnfs.nat.routes`
Read-Only:
- `compute_ids` (List of Number)
- `destination` (String)
- `gateway` (String)
- `guid` (String)
- `netmask` (String)
- `route_id` (Number)

View File

@@ -1,12 +1,12 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_delete_images Resource - decort"
page_title: "decort_vins_static_route Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_delete_images (Resource)
# decort_vins_static_route (Resource)
@@ -17,16 +17,20 @@ description: |-
### Required
- `image_ids` (List of Number) images ids for deleting
- `reason` (String) reason for deleting the images
- `destination` (String)
- `gateway` (String)
- `netmask` (String)
- `vins_id` (Number) Unique ID of the ViNS
### Optional
- `permanently` (Boolean) whether to completely delete the images
- `compute_ids` (List of Number)
- `route_id` (Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `guid` (String)
- `id` (String) The ID of this resource.
<a id="nestedblock--timeouts"></a>
@@ -39,5 +43,3 @@ Optional:
- `delete` (String)
- `read` (String)
- `update` (String)