This commit is contained in:
asteam
2024-07-25 14:33:38 +03:00
commit 6f40af6a5f
946 changed files with 98335 additions and 0 deletions

128
docs/resources/account.md Normal file
View File

@@ -0,0 +1,128 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dynamix_account Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_account (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `account_name` (String) name of the account
- `username` (String) username of owner the account
### Optional
- `emailaddress` (String) email
- `enable` (Boolean) enable/disable account
- `permanently` (Boolean) whether to completely delete the account
- `resource_limits` (Attributes) (see [below for nested schema](#nestedatt--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))
- `users` (Attributes List) (see [below for nested schema](#nestedatt--users))
### Read-Only
- `account_id` (Number)
- `acl` (Attributes List) (see [below for nested schema](#nestedatt--acl))
- `ckey` (String)
- `company` (String)
- `companyurl` (String)
- `compute_features` (List of String)
- `computes` (Attributes) (see [below for nested schema](#nestedatt--computes))
- `cpu_allocation_parameter` (String)
- `cpu_allocation_ratio` (Number)
- `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.
- `last_updated` (String) Timestamp of the last Terraform update of the disk resource.
- `machines` (Attributes) (see [below for nested schema](#nestedatt--machines))
- `status` (String)
- `updated_time` (Number)
- `version` (Number)
- `vins` (List of Number)
- `vinses` (Number)
<a id="nestedatt--resource_limits"></a>
### Nested Schema for `resource_limits`
Optional:
- `cu_c` (Number)
- `cu_d` (Number)
- `cu_i` (Number)
- `cu_m` (Number)
- `cu_np` (Number)
- `gpu_units` (Number)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
<a id="nestedatt--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:
- `can_be_deleted` (Boolean)
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)
<a id="nestedatt--computes"></a>
### Nested Schema for `computes`
Read-Only:
- `started` (Number)
- `stopped` (Number)
<a id="nestedatt--machines"></a>
### Nested Schema for `machines`
Read-Only:
- `halted` (Number)
- `running` (Number)

116
docs/resources/bservice.md Normal file
View File

@@ -0,0 +1,116 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dynamix_bservice Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_bservice (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `rg_id` (Number)
- `service_name` (String)
### Optional
- `enable` (Boolean)
- `permanently` (Boolean)
- `restore` (Boolean)
- `service_id` (Number)
- `snapshots` (Attributes List) (see [below for nested schema](#nestedatt--snapshots))
- `ssh_key` (String)
- `ssh_user` (String)
- `start` (Boolean)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `account_id` (Number)
- `account_name` (String)
- `base_domain` (String)
- `computes` (Attributes List) (see [below for nested schema](#nestedatt--computes))
- `cpu_total` (Number)
- `created_by` (String)
- `created_time` (Number)
- `deleted_by` (String)
- `deleted_time` (Number)
- `disk_total` (Number)
- `gid` (Number)
- `groups` (Attributes List) (see [below for nested schema](#nestedatt--groups))
- `guid` (Number)
- `id` (String) The ID of this resource.
- `milestones` (Number)
- `parent_srv_id` (Number)
- `parent_srv_type` (String)
- `ram_total` (Number)
- `rg_name` (String)
- `status` (String)
- `tech_status` (String)
- `updated_by` (String)
- `updated_time` (Number)
- `user_managed` (Boolean)
<a id="nestedatt--snapshots"></a>
### Nested Schema for `snapshots`
Optional:
- `rollback` (Boolean)
Read-Only:
- `guid` (String)
- `label` (String)
- `timestamp` (Number)
- `valid` (Boolean)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
<a id="nestedatt--computes"></a>
### Nested Schema for `computes`
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

@@ -0,0 +1,97 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dynamix_bservice_group Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_bservice_group (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `comp_count` (Number)
- `compgroup_name` (String)
- `cpu` (Number)
- `disk` (Number)
- `driver` (String)
- `image_id` (Number)
- `ram` (Number)
- `service_id` (Number)
### Optional
- `cloud_init` (String)
- `compgroup_id` (Number)
- `extnets` (List of Number)
- `force_stop` (Boolean)
- `force_update` (Boolean)
- `mode` (String)
- `parents` (List of Number)
- `remove_computes` (List of Number)
- `role` (String)
- `sep_id` (Number)
- `sep_pool` (String)
- `start` (Boolean)
- `timeout_start` (Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `vinses` (List of Number)
### Read-Only
- `account_id` (Number)
- `account_name` (String)
- `computes` (Attributes List) (see [below for nested schema](#nestedatt--computes))
- `consistency` (Boolean)
- `created_by` (String)
- `created_time` (Number)
- `deleted_by` (String)
- `deleted_time` (Number)
- `gid` (Number)
- `guid` (Number)
- `id` (String) The ID of this resource.
- `milestones` (Number)
- `rg_id` (Number)
- `rg_name` (String)
- `seq_no` (Number)
- `sid` (String)
- `status` (String)
- `tech_status` (String)
- `updated_by` (String)
- `updated_time` (Number)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
<a id="nestedatt--computes"></a>
### Nested Schema for `computes`
Read-Only:
- `id` (Number)
- `ip_addresses` (List of String)
- `name` (String)
- `os_users` (Attributes List) (see [below for nested schema](#nestedatt--computes--os_users))
<a id="nestedatt--computes--os_users"></a>
### Nested Schema for `computes.os_users`
Read-Only:
- `login` (String)
- `password` (String)

118
docs/resources/disk.md Normal file
View File

@@ -0,0 +1,118 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dynamix_disk Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_disk (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `account_id` (Number) ID of the account
- `disk_name` (String) Iname of disk
- `gid` (Number) ID of the grid (platform)
- `size_max` (Number) size in GB, default is 10
### Optional
- `desc` (String) description of disk
- `detach` (Boolean) Detaching the disk from compute
- `iotune` (Attributes) (see [below for nested schema](#nestedatt--iotune))
- `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) share disk
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `type` (String) (B;D;T) B=Boot;D=Data;T=Temp
### Read-Only
- `account_name` (String)
- `acl` (String)
- `computes` (Attributes List) (see [below for nested schema](#nestedatt--computes))
- `created_time` (Number)
- `deleted_time` (Number)
- `destruction_time` (Number)
- `devicename` (String)
- `disk_id` (Number)
- `id` (String) The ID of this resource.
- `image_id` (Number)
- `images` (List of String)
- `last_updated` (String) Timestamp of the last Terraform update of the disk resource.
- `order` (Number)
- `params` (String)
- `parent_id` (Number)
- `pci_slot` (Number)
- `present_to` (List of Number)
- `purge_time` (Number)
- `res_id` (String)
- `res_name` (String)
- `role` (String)
- `sep_type` (String)
- `size_used` (Number)
- `snapshots` (Attributes List) (see [below for nested schema](#nestedatt--snapshots))
- `status` (String)
- `tech_status` (String)
- `vmid` (Number)
<a id="nestedatt--iotune"></a>
### Nested Schema for `iotune`
Optional:
- `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>
### Nested Schema for `timeouts`
Optional:
- `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
<a id="nestedatt--computes"></a>
### Nested Schema for `computes`
Read-Only:
- `compute_id` (String)
- `compute_name` (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,137 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dynamix_disk_replication Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_disk_replication (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `disk_id` (Number)
- `disk_name` (String)
- `pool_name` (String)
- `sep_id` (Number)
### Optional
- `detach` (Boolean)
- `pause` (Boolean)
- `permanently` (Boolean)
- `reason` (String)
- `reverse` (Boolean)
- `start` (Boolean)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `account_id` (Number)
- `account_name` (String)
- `acl` (String)
- `computes` (Attributes List) (see [below for nested schema](#nestedatt--computes))
- `created_time` (Number)
- `deleted_time` (Number)
- `desc` (String)
- `destruction_time` (Number)
- `devicename` (String)
- `gid` (Number)
- `id` (String) The ID of this resource.
- `image_id` (Number)
- `images` (List of String)
- `iotune` (Attributes) (see [below for nested schema](#nestedatt--iotune))
- `order` (Number)
- `params` (String)
- `parent_id` (Number)
- `pci_slot` (Number)
- `pool` (String)
- `present_to` (List of Number)
- `purge_time` (Number)
- `replica_disk_id` (Number)
- `replication` (Attributes) (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` (Attributes List) (see [below for nested schema](#nestedatt--snapshots))
- `status` (String)
- `status_replication` (String)
- `tech_status` (String)
- `type` (String)
- `vmid` (Number)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
<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: "dynamix_disk_snapshot Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_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` (String) The ID of this resource.
- `last_updated` (String) Timestamp of the last Terraform update of the disk resource.
- `res_id` (String)
- `snap_set_guid` (String)
- `snap_set_time` (Number)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

View File

@@ -0,0 +1,63 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dynamix_flipgroup Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_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) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

90
docs/resources/image.md Normal file
View File

@@ -0,0 +1,90 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dynamix_image Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_image (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `account_id` (Number) AccountId to make the image exclusive
- `boot_type` (String) Boot type of image bios or uefi
- `drivers` (List of String) List of types of compute suitable for image. Example: [ "KVM_X86" ]
- `image_name` (String) Name of the rescue disk
- `image_type` (String) Image type linux, windows or other
- `url` (String) URL where to download media from
### Optional
- `architecture` (String) Binary architecture of this image, one of X86_64 of PPC64_LE
- `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)
- `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
- `username_dl` (String) Username for upload binary media
### Read-Only
- `acl` (List of String)
- `bootable` (Boolean)
- `cd_presented_to` (String)
- `ckey` (String)
- `compute_ci_id` (Number)
- `deleted_time` (Number)
- `desc` (String)
- `enabled` (Boolean)
- `gid` (Number)
- `guid` (Number)
- `history` (Attributes List) (see [below for nested schema](#nestedatt--history))
- `id` (String) The ID of this resource.
- `image_id` (Number)
- `last_modified` (Number)
- `last_updated` (String) Timestamp of the last Terraform update of the order.
- `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) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
<a id="nestedatt--history"></a>
### Nested Schema for `history`
Read-Only:
- `guid` (String)
- `id` (Number)
- `timestamp` (Number)

View File

@@ -0,0 +1,85 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dynamix_image_virtual Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_image_virtual (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `image_name` (String) Name of the rescue disk
- `link_to` (Number) ID of real image to link this virtual image to upon creation
### Optional
- `permanently` (Boolean)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `account_id` (Number)
- `acl` (List of String)
- `architecture` (String)
- `boot_type` (String)
- `bootable` (Boolean)
- `ckey` (String)
- `compute_ci_id` (Number)
- `deleted_time` (Number)
- `desc` (String)
- `drivers` (List of String)
- `enabled` (Boolean)
- `gid` (Number)
- `guid` (Number)
- `history` (Attributes List) (see [below for nested schema](#nestedatt--history))
- `hot_resize` (Boolean)
- `id` (String) The ID of this resource.
- `image_id` (Number)
- `image_type` (String)
- `last_modified` (Number)
- `last_updated` (String) Timestamp of the last Terraform update of the order.
- `milestones` (Number)
- `password` (String)
- `pool_name` (String)
- `present_to` (List of Number)
- `provider_name` (String)
- `purge_attempts` (Number)
- `res_id` (String)
- `rescuecd` (Boolean)
- `sep_id` (Number)
- `shared_with` (List of Number)
- `size` (Number)
- `status` (String)
- `tech_status` (String)
- `unc_path` (String)
- `username` (String)
- `version` (String)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
<a id="nestedatt--history"></a>
### Nested Schema for `history`
Read-Only:
- `guid` (String)
- `id` (Number)
- `timestamp` (Number)

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

@@ -0,0 +1,167 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dynamix_k8s_cp Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_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) 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.
- `cluster_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.
- `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 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.
- `lb_sysctl_params` (Attributes List) Custom sysctl values for Load Balancer instance. Applied on boot. (see [below for nested schema](#nestedatt--lb_sysctl_params))
- `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) whether to completely delete the k8s cluster
- `ram` (Number) Node RAM in MB.
- `restore` (Boolean) if true, restore the k8s cluster from Recycle Bin
- `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` (Attributes) (see [below for nested schema](#nestedatt--acl))
- `bservice_id` (Number)
- `created_by` (String)
- `created_time` (Number)
- `deleted_by` (String)
- `deleted_time` (Number)
- `detailed_info` (Attributes List) (see [below for nested schema](#nestedatt--detailed_info))
- `id` (String) The ID of this resource.
- `k8s_ci_name` (String)
- `k8s_id` (Number)
- `kubeconfig` (String)
- `last_updated` (String) Timestamp of the last Terraform update of the order.
- `lb_id` (Number)
- `lb_ip` (String)
- `master_group_id` (Number) Master group ID.
- `master_group_name` (String) Master group name.
- `rg_name` (String)
- `status` (String)
- `tech_status` (String)
- `updated_by` (String)
- `updated_time` (Number)
<a id="nestedatt--lb_sysctl_params"></a>
### Nested Schema for `lb_sysctl_params`
Required:
- `key` (String)
- `value` (String)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
<a id="nestedatt--acl"></a>
### Nested Schema for `acl`
Read-Only:
- `account_acl` (Attributes List) (see [below for nested schema](#nestedatt--acl--account_acl))
- `k8s_acl` (Attributes List) (see [below for nested schema](#nestedatt--acl--k8s_acl))
- `rg_acl` (Attributes List) (see [below for nested schema](#nestedatt--acl--rg_acl))
<a id="nestedatt--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="nestedatt--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="nestedatt--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` (Attributes List) (see [below for nested schema](#nestedatt--detailed_info--interfaces))
- `name` (String)
- `natable_vins_ip` (String)
- `natable_vins_network` (String)
- `status` (String)
- `tech_status` (String)
<a id="nestedatt--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: "dynamix_k8s_wg Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_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` (Attributes List) (see [below for nested schema](#nestedatt--detailed_info))
- `guid` (String)
- `id` (String) The ID of this resource.
- `last_updated` (String) Timestamp of the last Terraform update of the order.
- `wg_id` (Number)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
<a id="nestedatt--detailed_info"></a>
### Nested Schema for `detailed_info`
Read-Only:
- `compute_id` (Number)
- `interfaces` (Attributes List) (see [below for nested schema](#nestedatt--detailed_info--interfaces))
- `name` (String)
- `natable_vins_ip` (String)
- `natable_vins_network` (String)
- `status` (String)
- `tech_status` (String)
<a id="nestedatt--detailed_info--interfaces"></a>
### Nested Schema for `detailed_info.interfaces`
Read-Only:
- `def_gw` (String)
- `ip_address` (String)

534
docs/resources/kvmvm.md Normal file
View File

@@ -0,0 +1,534 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dynamix_kvmvm Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_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` (Attributes Set) (see [below for nested schema](#nestedatt--affinity_rules))
- `anti_affinity_rules` (Attributes Set) (see [below for nested schema](#nestedatt--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` (Attributes) (see [below for nested schema](#nestedatt--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) custom fields for Compute. Must be dict
- `data_disks` (String) Flag for redeploy compute
- `description` (String) Optional text description of this compute instance.
- `detach_disks` (Boolean)
- `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` (Attributes Set) Optional network connection(s) for this compute. You may specify several network blocks, one for each connection. (see [below for nested schema](#nestedatt--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` (Attributes Set) (see [below for nested schema](#nestedatt--port_forwarding))
- `reset` (Boolean)
- `restore` (Boolean)
- `rollback` (Attributes) (see [below for nested schema](#nestedatt--rollback))
- `sep_id` (Number) ID of SEP to create bootDisk on. Uses image's sepId if not set.
- `snapshot` (Attributes Set) (see [below for nested schema](#nestedatt--snapshot))
- `started` (Boolean) Is compute started.
- `stateless` (Boolean) Compute will be stateless (SVA_KVM_X86) if set to True
- `tags` (Attributes Set) (see [below for nested schema](#nestedatt--tags))
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `user_access` (Attributes Set) (see [below for nested schema](#nestedatt--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)
- `account_name` (String)
- `acl` (Attributes) (see [below for nested schema](#nestedatt--acl))
- `affinity_weight` (Number)
- `arch` (String)
- `boot_disk` (Attributes) (see [below for nested schema](#nestedatt--boot_disk))
- `boot_disk_id` (Number)
- `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)
- `disks` (Attributes List) (see [below for nested schema](#nestedatt--disks))
- `gid` (Number)
- `guid` (Number)
- `id` (String) The ID of this resource.
- `image_name` (String)
- `interfaces` (Attributes List) (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` (Attributes List) (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)
- `snap_sets` (Attributes List) (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_data` (String)
- `user_managed` (Boolean)
- `vgpus` (List of Number)
- `virtual_image_id` (Number)
- `virtual_image_name` (String)
<a id="nestedatt--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="nestedatt--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="nestedatt--cd"></a>
### Nested Schema for `cd`
Required:
- `cdrom_id` (Number)
<a id="nestedatt--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="nestedatt--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="nestedatt--rollback"></a>
### Nested Schema for `rollback`
Required:
- `label` (String)
<a id="nestedatt--snapshot"></a>
### Nested Schema for `snapshot`
Required:
- `label` (String)
<a id="nestedatt--tags"></a>
### Nested Schema for `tags`
Required:
- `key` (String)
- `value` (String)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
<a id="nestedatt--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:
- `account_acl` (Attributes List) (see [below for nested schema](#nestedatt--acl--account_acl))
- `compute_acl` (Attributes List) (see [below for nested schema](#nestedatt--acl--compute_acl))
- `rg_acl` (Attributes List) (see [below for nested schema](#nestedatt--acl--rg_acl))
<a id="nestedatt--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="nestedatt--acl--compute_acl"></a>
### Nested Schema for `acl.compute_acl`
Read-Only:
- `explicit` (Boolean)
- `guid` (String)
- `right` (String)
- `status` (String)
- `type` (String)
- `user_group_id` (String)
<a id="nestedatt--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--boot_disk"></a>
### Nested Schema for `boot_disk`
Read-Only:
- `account_id` (Number)
- `acl` (String)
- `boot_partition` (Number)
- `ckey` (String)
- `created_time` (Number)
- `deleted_time` (Number)
- `desc` (String)
- `destruction_time` (Number)
- `disk_id` (Number)
- `disk_path` (String)
- `gid` (Number)
- `guid` (Number)
- `image_id` (Number)
- `images` (List of String)
- `iotune` (Attributes) (see [below for nested schema](#nestedatt--boot_disk--iotune))
- `iqn` (String)
- `login` (String)
- `milestones` (Number)
- `name` (String)
- `order` (Number)
- `params` (String)
- `parent_id` (Number)
- `passwd` (String)
- `pci_slot` (Number)
- `pool` (String)
- `present_to` (List of Number)
- `purge_time` (Number)
- `reality_device_number` (Number)
- `reference_id` (String)
- `replication` (Attributes) (see [below for nested schema](#nestedatt--boot_disk--replication))
- `res_id` (String)
- `role` (String)
- `sep_id` (Number)
- `shareable` (Boolean)
- `size_max` (Number)
- `size_used` (Number)
- `snapshots` (Attributes List) (see [below for nested schema](#nestedatt--boot_disk--snapshots))
- `status` (String)
- `tech_status` (String)
- `type` (String)
- `vmid` (Number)
<a id="nestedatt--boot_disk--iotune"></a>
### Nested Schema for `boot_disk.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--boot_disk--replication"></a>
### Nested Schema for `boot_disk.replication`
Read-Only:
- `disk_id` (Number)
- `pool_id` (String)
- `role` (String)
- `self_volume_id` (String)
- `storage_id` (String)
- `volume_id` (String)
<a id="nestedatt--boot_disk--snapshots"></a>
### Nested Schema for `boot_disk.snapshots`
Read-Only:
- `guid` (String)
- `label` (String)
- `reference_id` (String)
- `res_id` (String)
- `snap_set_guid` (String)
- `snap_set_time` (Number)
- `timestamp` (Number)
<a id="nestedatt--disks"></a>
### Nested Schema for `disks`
Read-Only:
- `account_id` (Number)
- `acl` (String)
- `boot_partition` (Number)
- `ckey` (String)
- `created_time` (Number)
- `deleted_time` (Number)
- `desc` (String)
- `destruction_time` (Number)
- `disk_id` (Number)
- `disk_path` (String)
- `gid` (Number)
- `guid` (Number)
- `image_id` (Number)
- `images` (List of String)
- `iotune` (Attributes) (see [below for nested schema](#nestedatt--disks--iotune))
- `iqn` (String)
- `login` (String)
- `milestones` (Number)
- `name` (String)
- `order` (Number)
- `params` (String)
- `parent_id` (Number)
- `passwd` (String)
- `pci_slot` (Number)
- `pool` (String)
- `present_to` (List of Number)
- `purge_time` (Number)
- `reality_device_number` (Number)
- `reference_id` (String)
- `replication` (Attributes) (see [below for nested schema](#nestedatt--disks--replication))
- `res_id` (String)
- `role` (String)
- `sep_id` (Number)
- `shareable` (Boolean)
- `size_max` (Number)
- `size_used` (Number)
- `snapshots` (Attributes List) (see [below for nested schema](#nestedatt--disks--snapshots))
- `status` (String)
- `tech_status` (String)
- `type` (String)
- `vmid` (Number)
<a id="nestedatt--disks--iotune"></a>
### Nested Schema for `disks.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--disks--replication"></a>
### Nested Schema for `disks.replication`
Read-Only:
- `disk_id` (Number)
- `pool_id` (String)
- `role` (String)
- `self_volume_id` (String)
- `storage_id` (String)
- `volume_id` (String)
<a id="nestedatt--disks--snapshots"></a>
### Nested Schema for `disks.snapshots`
Read-Only:
- `guid` (String)
- `label` (String)
- `reference_id` (String)
- `res_id` (String)
- `snap_set_guid` (String)
- `snap_set_time` (Number)
- `timestamp` (Number)
<a id="nestedatt--interfaces"></a>
### Nested Schema for `interfaces`
Read-Only:
- `conn_id` (Number)
- `conn_type` (String)
- `enabled` (Boolean)
- `flip_group_id` (Number)
- `get_gw` (String)
- `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` (Attributes) (see [below for nested schema](#nestedatt--interfaces--qos))
- `target` (String)
- `type` (String)
- `vnfs` (List of Number)
<a id="nestedatt--interfaces--qos"></a>
### Nested Schema for `interfaces.qos`
Read-Only:
- `e_rate` (Number)
- `guid` (String)
- `in_burst` (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)

191
docs/resources/lb.md Normal file
View File

@@ -0,0 +1,191 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dynamix_lb Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_lb (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `extnet_id` (Number)
- `name` (String)
- `rg_id` (Number)
- `start` (Boolean)
- `vins_id` (Number)
### Optional
- `config_reset` (Boolean)
- `desc` (String)
- `enable` (Boolean)
- `ha_mode` (Boolean)
- `permanently` (Boolean)
- `restart` (Boolean)
- `restore` (Boolean)
- `safe` (Boolean)
- `sysctl_params` (Attributes List) Custom sysctl values for Load Balancer instance. Applied on boot. (see [below for nested schema](#nestedatt--sysctl_params))
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `acl` (String)
- `backend_haip` (String)
- `backends` (Attributes List) (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` (Attributes List) (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)
- `milestones` (Number)
- `part_k8s` (Boolean)
- `primary_node` (Attributes) (see [below for nested schema](#nestedatt--primary_node))
- `rg_name` (String)
- `secondary_node` (Attributes) (see [below for nested schema](#nestedatt--secondary_node))
- `status` (String)
- `tech_status` (String)
- `updated_by` (String)
- `updated_time` (Number)
- `user_managed` (Boolean)
<a id="nestedatt--sysctl_params"></a>
### Nested Schema for `sysctl_params`
Required:
- `key` (String)
- `value` (String)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
<a id="nestedatt--backends"></a>
### Nested Schema for `backends`
Read-Only:
- `algorithm` (String)
- `guid` (String)
- `name` (String)
- `server_default_settings` (Attributes) (see [below for nested schema](#nestedatt--backends--server_default_settings))
- `servers` (Attributes List) (see [below for nested schema](#nestedatt--backends--servers))
<a id="nestedatt--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="nestedatt--backends--servers"></a>
### Nested Schema for `backends.servers`
Read-Only:
- `address` (String)
- `check` (String)
- `guid` (String)
- `name` (String)
- `port` (Number)
- `server_settings` (Attributes) (see [below for nested schema](#nestedatt--backends--servers--server_settings))
<a id="nestedatt--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` (Attributes List) (see [below for nested schema](#nestedatt--frontends--bindings))
- `guid` (String)
- `name` (String)
<a id="nestedatt--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,78 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dynamix_lb_backend Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_lb_backend (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `lb_id` (Number)
- `name` (String)
### Optional
- `algorithm` (String)
- `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.
- `servers` (Attributes List) (see [below for nested schema](#nestedatt--servers))
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
<a id="nestedatt--servers"></a>
### Nested Schema for `servers`
Read-Only:
- `address` (String)
- `check` (String)
- `guid` (String)
- `name` (String)
- `port` (Number)
- `server_settings` (Attributes) (see [below for nested schema](#nestedatt--servers--server_settings))
<a id="nestedatt--servers--server_settings"></a>
### Nested Schema for `servers.server_settings`
Read-Only:
- `downinter` (Number)
- `fall` (Number)
- `guid` (String)
- `inter` (Number)
- `maxconn` (Number)
- `maxqueue` (Number)
- `rise` (Number)
- `slowstart` (Number)
- `weight` (Number)

View File

@@ -0,0 +1,52 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dynamix_lb_backend_server Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_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) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

View File

@@ -0,0 +1,53 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dynamix_lb_frontend Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_lb_frontend (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `backend_name` (String)
- `lb_id` (Number)
- `name` (String)
### Optional
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `bindings` (Attributes List) (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) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
<a id="nestedatt--bindings"></a>
### Nested Schema for `bindings`
Read-Only:
- `address` (String)
- `guid` (String)
- `name` (String)
- `port` (Number)

View File

@@ -0,0 +1,43 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dynamix_lb_frontend_bind Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_lb_frontend_bind (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `address` (String)
- `frontend_name` (String)
- `lb_id` (Number)
- `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) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

133
docs/resources/resgroup.md Normal file
View File

@@ -0,0 +1,133 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dynamix_resgroup Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_resgroup (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `account_id` (Number) account, which will own this resource group
- `gid` (Number) grid id
- `name` (String) name of this RG. Must be unique within the account.
### Optional
- `access` (Attributes List) Grant/revoke user or group access to the Resource group as specified (see [below for nested schema](#nestedatt--access))
- `def_net` (Attributes) Set default network for attach associated VMs (see [below for nested schema](#nestedatt--def_net))
- `def_net_type` (String) type of the default network for this RG. VMs created in this RG will be by default connected to this network. Allowed values are PRIVATE, PUBLIC, 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 network to request when def_net_type=PRIVATE and ext_net_id is not 0.
- `ext_net_id` (Number) external network id
- `force` (Boolean) Set to True if you want force delete non-empty RG
- `ipcidr` (String) private network IP CIDR if default network PRIVATE
- `owner` (String) username - owner of this RG. Leave blank to set current user as owner
- `permanently` (Boolean) Set to True if you want force delete non-empty RG
- `quota` (Attributes) Quota settings for this resource group. (see [below for nested schema](#nestedatt--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)
- `acl` (Attributes List) (see [below for nested schema](#nestedatt--acl))
- `compute_features` (List of String)
- `cpu_allocation_parameter` (String)
- `cpu_allocation_ratio` (Number)
- `def_net_id` (Number)
- `deleted_by` (String)
- `deleted_time` (Number)
- `dirty` (Boolean)
- `guid` (Number)
- `id` (String) The ID of this resource.
- `last_updated` (String)
- `lock_status` (String)
- `milestones` (Number)
- `res_types` (List of String)
- `rg_id` (Number)
- `secret` (String)
- `status` (String)
- `uniq_pools` (List of String)
- `updated_by` (String)
- `updated_time` (Number)
- `vins` (List of Number)
- `vms` (List of Number)
<a id="nestedatt--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="nestedatt--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="nestedatt--quota"></a>
### Nested Schema for `quota`
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.
- `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.
- `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`
Optional:
- `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
<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)

487
docs/resources/vins.md Normal file
View File

@@ -0,0 +1,487 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "dynamix_vins Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_vins (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `name` (String) vins name
### Optional
- `account_id` (Number) account id, used for creating vins in account
- `desc` (String) description, used for creating vins either in resource group or in account
- `dns` (Set of String) list of DNS ip address
- `enable` (Boolean) flag to enable/disable vins
- `ext_net` (Attributes) connect/disconnect vins to/from external network (see [below for nested schema](#nestedatt--ext_net))
- `force` (Boolean) flag to force delete of non-empty vins
- `gid` (Number) grid (platform) ID, used for creating vins in account
- `ip` (Attributes List) ip reserve/release (see [below for nested schema](#nestedatt--ip))
- `ipcidr` (String) private network IP CIDR, used for creating vins either in resource group or in account
- `nat_rule` (Attributes List) create/delete NAT (port forwarding rule) on vins (see [below for nested schema](#nestedatt--nat_rule))
- `permanently` (Boolean) flag to delete vins permanently
- `pre_reservations_num` (Number) number of pre created reservations, used for creating vins either in resource group or in account
- `restore` (Boolean) flag to restore vins
- `rg_id` (Number) resource group id, used for creating vins in resource group
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
- `vnfdev_redeploy` (Boolean) flag to redeploy vnfdev
- `vnfdev_restart` (Boolean) flag to restart vnfdev
### Read-Only
- `account_name` (String)
- `computes` (Attributes List) (see [below for nested schema](#nestedatt--computes))
- `created_by` (String)
- `created_time` (Number)
- `default_gw` (String)
- `default_qos` (Attributes) (see [below for nested schema](#nestedatt--default_qos))
- `deleted_by` (String)
- `deleted_time` (Number)
- `guid` (Number)
- `id` (String) The ID of this resource.
- `last_updated` (String)
- `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` (Attributes) (see [below for nested schema](#nestedatt--vnf_dev))
- `vnfs` (Attributes) (see [below for nested schema](#nestedatt--vnfs))
- `vxlan_id` (Number)
<a id="nestedatt--ext_net"></a>
### Nested Schema for `ext_net`
Optional:
- `ext_net_id` (Number) external network ID
- `ext_net_ip` (String) directly set IP address
<a id="nestedatt--ip"></a>
### Nested Schema for `ip`
Required:
- `type` (String) type of the reservation
Optional:
- `compute_id` (Number) ID of the compute, associated with this reservation of type DHCP. Ignored for other types.
- `ip_addr` (String) IP address to use. Non-empty string is required for type EXCLUDE. Ignored for types DHCP and VIP.
- `mac_addr` (String) MAC address to associate with IP reservation. Ignored for type EXCLUDE, non-empty string is required for DHCP and VIP.
<a id="nestedatt--nat_rule"></a>
### Nested Schema for `nat_rule`
Required:
- `ext_port_start` (Number) external IP start port to use for this rule
- `int_ip` (String) internal IP address to apply this rule to
Optional:
- `ext_port_end` (Number) external IP end port to use for this rule
- `int_port` (Number) internal IP port number to use for this rule
- `proto` (String) IP protocol type (tcp or udp)
Read-Only:
- `rule_id` (Number) rule id
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
<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_burst` (Number)
- `in_rate` (Number)
<a id="nestedatt--vnf_dev"></a>
### Nested Schema for `vnf_dev`
Read-Only:
- `account_id` (Number)
- `capabilities` (List of String)
- `ckey` (String)
- `config` (Attributes) (see [below for nested schema](#nestedatt--vnf_dev--config))
- `config_saved` (Boolean)
- `custom_pre_cfg` (Boolean)
- `desc` (String)
- `gid` (Number)
- `guid` (Number)
- `interfaces` (Attributes List) (see [below for nested schema](#nestedatt--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="nestedatt--vnf_dev--config"></a>
### Nested Schema for `vnf_dev.config`
Read-Only:
- `mgmt` (Attributes) (see [below for nested schema](#nestedatt--vnf_dev--config--mgmt))
- `resources` (Attributes) (see [below for nested schema](#nestedatt--vnf_dev--config--resources))
<a id="nestedatt--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="nestedatt--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="nestedatt--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` (Attributes) (see [below for nested schema](#nestedatt--vnf_dev--interfaces--qos))
- `target` (String)
- `type` (String)
- `vnfs` (List of Number)
<a id="nestedatt--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` (Attributes) (see [below for nested schema](#nestedatt--vnfs--dhcp))
- `gw` (Attributes) (see [below for nested schema](#nestedatt--vnfs--gw))
- `nat` (Attributes) (see [below for nested schema](#nestedatt--vnfs--nat))
<a id="nestedatt--vnfs--dhcp"></a>
### Nested Schema for `vnfs.dhcp`
Read-Only:
- `account_id` (Number)
- `ckey` (String)
- `config` (Attributes) (see [below for nested schema](#nestedatt--vnfs--dhcp--config))
- `created_time` (Number)
- `devices` (Attributes) (see [below for nested schema](#nestedatt--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` (Attributes List) (see [below for nested schema](#nestedatt--vnfs--dhcp--routes))
- `status` (String)
- `tech_status` (String)
- `type` (String)
<a id="nestedatt--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` (Attributes List) (see [below for nested schema](#nestedatt--vnfs--dhcp--config--reservations))
<a id="nestedatt--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="nestedatt--vnfs--dhcp--devices"></a>
### Nested Schema for `vnfs.dhcp.devices`
Read-Only:
- `primary` (Attributes) (see [below for nested schema](#nestedatt--vnfs--dhcp--devices--primary))
<a id="nestedatt--vnfs--dhcp--devices--primary"></a>
### Nested Schema for `vnfs.dhcp.devices.primary`
Read-Only:
- `dev_id` (Number)
- `iface01` (String)
- `iface02` (String)
<a id="nestedatt--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="nestedatt--vnfs--gw"></a>
### Nested Schema for `vnfs.gw`
Read-Only:
- `account_id` (Number)
- `ckey` (String)
- `config` (Attributes) (see [below for nested schema](#nestedatt--vnfs--gw--config))
- `created_time` (Number)
- `devices` (Attributes) (see [below for nested schema](#nestedatt--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` (Attributes List) (see [below for nested schema](#nestedatt--vnfs--gw--routes))
- `status` (String)
- `tech_status` (String)
- `type` (String)
<a id="nestedatt--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` (Attributes) (see [below for nested schema](#nestedatt--vnfs--gw--config--qos))
<a id="nestedatt--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="nestedatt--vnfs--gw--devices"></a>
### Nested Schema for `vnfs.gw.devices`
Read-Only:
- `primary` (Attributes) (see [below for nested schema](#nestedatt--vnfs--gw--devices--primary))
<a id="nestedatt--vnfs--gw--devices--primary"></a>
### Nested Schema for `vnfs.gw.devices.primary`
Read-Only:
- `dev_id` (Number)
- `iface01` (String)
- `iface02` (String)
<a id="nestedatt--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="nestedatt--vnfs--nat"></a>
### Nested Schema for `vnfs.nat`
Read-Only:
- `account_id` (Number)
- `ckey` (String)
- `config` (Attributes) (see [below for nested schema](#nestedatt--vnfs--nat--config))
- `created_time` (Number)
- `devices` (Attributes) (see [below for nested schema](#nestedatt--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` (Attributes List) (see [below for nested schema](#nestedatt--vnfs--nat--routes))
- `status` (String)
- `tech_status` (String)
- `type` (String)
<a id="nestedatt--vnfs--nat--config"></a>
### Nested Schema for `vnfs.nat.config`
Read-Only:
- `net_mask` (Number)
- `network` (String)
- `rules` (Attributes List) (see [below for nested schema](#nestedatt--vnfs--nat--config--rules))
<a id="nestedatt--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="nestedatt--vnfs--nat--devices"></a>
### Nested Schema for `vnfs.nat.devices`
Read-Only:
- `primary` (Attributes) (see [below for nested schema](#nestedatt--vnfs--nat--devices--primary))
<a id="nestedatt--vnfs--nat--devices--primary"></a>
### Nested Schema for `vnfs.nat.devices.primary`
Read-Only:
- `dev_id` (Number)
- `iface01` (String)
- `iface02` (String)
<a id="nestedatt--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: "dynamix_vins_static_route Resource - terraform-provider-dynamix"
subcategory: ""
description: |-
---
# dynamix_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)
- `route_id` (Number)
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
### Read-Only
- `guid` (String)
- `id` (String) The ID of this resource.
- `last_updated` (String)
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- `create` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- `delete` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- `read` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- `update` (String) A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).