Fixed asyncs tasks parsing; Applied k8s API changes; Updated docs

This commit is contained in:
kjubybot
2022-03-23 11:40:51 +03:00
parent d9c10c0d9c
commit bf1afc66dd
15 changed files with 715 additions and 36 deletions

View File

@@ -0,0 +1,89 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_cdrom_image Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_cdrom_image (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- **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
- **name** (String) Name of the rescue disk
- **url** (String) URL where to download ISO 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
- **bootable** (Boolean) Does this image boot OS
- **computeci_id** (Number)
- **enabled** (Boolean)
- **enabled_stacks** (List of String)
- **hot_resize** (Boolean) Does this machine supports hot resize
- **id** (String) The ID of this resource.
- **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
- **boot_type** (String) Boot type of image bios or uefi
- **desc** (String)
- **guid** (Number)
- **history** (List of Object) (see [below for nested schema](#nestedatt--history))
- **image_id** (Number) image id
- **image_type** (String) Image type linux, windows or other
- **link_to** (Number)
- **meta** (List of String) meta
- **milestones** (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--history"></a>
### Nested Schema for `history`
Read-Only:
- **guid** (String)
- **id** (Number)
- **timestamp** (Number)

View File

@@ -0,0 +1,40 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_delete_images Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_delete_images (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- **image_ids** (List of Number) images ids for deleting
- **reason** (String) reason for deleting the images
### Optional
- **id** (String) The ID of this resource.
- **permanently** (Boolean) whether to completely delete the images
- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- **create** (String)
- **default** (String)
- **delete** (String)
- **read** (String)
- **update** (String)

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

@@ -0,0 +1,92 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_image Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_image (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- **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" ]
- **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
- **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
- **bootable** (Boolean) Does this image boot OS
- **computeci_id** (Number)
- **enabled** (Boolean)
- **enabled_stacks** (List of String)
- **hot_resize** (Boolean) Does this machine supports hot resize
- **id** (String) The ID of this resource.
- **image_id** (Number) image id
- **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** (Boolean) Create image from a media identified by URL (in synchronous mode)
- **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
- **desc** (String)
- **guid** (Number)
- **history** (List of Object) (see [below for nested schema](#nestedatt--history))
- **last_modified** (Number)
- **link_to** (Number)
- **meta** (List of String) meta
- **milestones** (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--history"></a>
### Nested Schema for `history`
Read-Only:
- **guid** (String)
- **id** (Number)
- **timestamp** (Number)

View File

@@ -20,16 +20,19 @@ description: |-
- **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
- **id** (String) The ID of this resource.
- **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.
- **kubeconfig** (String) Kubeconfig for cluster access.
<a id="nestedblock--masters"></a>
### Nested Schema for `masters`
@@ -42,6 +45,18 @@ Required:
- **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`

View File

@@ -18,6 +18,7 @@ description: |-
### Required
- **k8s_id** (Number) ID of k8s instance.
- **name** (String) Name of the worker group.
### Optional
@@ -26,5 +27,16 @@ description: |-
- **id** (String) The ID of this resource.
- **num** (Number) Number of worker nodes to create.
- **ram** (Number) Worker node RAM in MB.
- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
<a id="nestedblock--timeouts"></a>
### Nested Schema for `timeouts`
Optional:
- **create** (String)
- **default** (String)
- **delete** (String)
- **read** (String)

View File

@@ -0,0 +1,92 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "decort_virtual_image Resource - terraform-provider-decort"
subcategory: ""
description: |-
---
# decort_virtual_image (Resource)
<!-- schema generated by tfplugindocs -->
## Schema
### 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
### 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)
- **hot_resize** (Boolean) Does this machine supports hot resize
- **id** (String) The ID of this resource.
- **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
- **boot_type** (String) Boot type of image bios or uefi
- **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))
- **image_id** (Number) image id
- **image_type** (String) Image type linux, windows or other
- **last_modified** (Number)
- **meta** (List of String) meta
- **milestones** (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
- **url** (String) URL where to download media from
- **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--history"></a>
### Nested Schema for `history`
Read-Only:
- **guid** (String)
- **id** (Number)
- **timestamp** (Number)