0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-05 05:24:01 +00:00
terraform-provider-proxmox/proxmoxtf/resource
Rafał Safin 58347c09fe
feat(storage): add new resource proxmox_virtual_environment_download_file (#837)
* feat(core): add query url metadata endpoint to nodes client api

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* feat(core): move storage api code to nodestorage folder

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* feat(core): add download url api

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* feat(storage): add  resource_download_file

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* feat(storage): finish new resource_download_file

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* feat(storage): generate docs for new download file resource, update other docs and examples

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* feat(storage): add basic acc tests for resource download_file

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* fix(test): lint new test file

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* feat(storage): warning instead of error when file already exists on resource download file

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* feat(storage): better validation in resource download file, delete upload task on error

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* feat(storage): better err message in resource download file

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* fix(core): removed unnecessary toint in custom type bool

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* fix(storage): typo in resource download file error

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* feat(storage): download file resource review - 1

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* feat(storage): finish resource download file after review

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* fix(storage): error instead of warnings in parse int errors in sizeRequiresReplaceModifier

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* fix(docs): remove unwanted changes in virtual_environment_file.md

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* fix(test): fix download file base acceptance tests

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* fix(test): fix resource download file acc tests

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* fix(test): last fix resource download file acc test

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>

* fix: use PVE-compatible jammy LXC image, fix few typos

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

---------

Signed-off-by: Rafał Safin <rafal.safin@rafsaf.pl>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Rafał Safin <rafal.safin@rafsaf.pl>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-01-02 21:29:13 -05:00
..
cluster/firewall chore(code): fix proxmox package dependencies (#536) 2023-09-03 00:40:47 +00:00
firewall chore(code): fix proxmox package dependencies (#536) 2023-09-03 00:40:47 +00:00
validator feat(lxc)!: allow to update features, add mount type support (#765) 2023-12-06 16:18:05 -05:00
certificate_test.go feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00
certificate.go chore(code): fix proxmox package dependencies (#536) 2023-09-03 00:40:47 +00:00
container_test.go feat(vm, lxc): add new initialization.dns.servers param to vm and container (#832) 2023-12-22 20:19:21 -05:00
container.go fix(vm,lxc): unexpected state drift when using initialization.dns.servers (#844) 2023-12-28 23:07:53 -05:00
dns_test.go feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00
dns.go feat: add import support for a lot of resources (#390) 2023-07-04 21:37:14 -04:00
file_test.go feat(file): FORMAT CHANGE: update import id, so it matches the resource's format: <node_name>/<datastore_id>:<content_type>/<file> (#543) 2023-09-04 20:29:58 +00:00
file.go feat(storage): add new resource proxmox_virtual_environment_download_file (#837) 2024-01-02 21:29:13 -05:00
group_test.go feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00
group.go chore(code): fix proxmox package dependencies (#536) 2023-09-03 00:40:47 +00:00
hosts_test.go feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00
hosts.go feat: add import support for a lot of resources (#390) 2023-07-04 21:37:14 -04:00
pool_test.go feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00
pool.go feat: add import support for a lot of resources (#390) 2023-07-04 21:37:14 -04:00
role_test.go feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00
role.go chore(code): fix proxmox package dependencies (#536) 2023-09-03 00:40:47 +00:00
time_test.go feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00
time.go feat: add import support for a lot of resources (#390) 2023-07-04 21:37:14 -04:00
user_test.go fix(user): make password attribute optional (#463) 2023-08-05 22:57:08 +00:00
user.go chore(code): fix proxmox package dependencies (#536) 2023-09-03 00:40:47 +00:00
vm_test.go feat(vm, lxc): add new initialization.dns.servers param to vm and container (#832) 2023-12-22 20:19:21 -05:00
vm.go feat(storage): add new resource proxmox_virtual_environment_download_file (#837) 2024-01-02 21:29:13 -05:00