From 505dda448683ec27872014d3fb94c0999015cae7 Mon Sep 17 00:00:00 2001 From: "i.kalinichenko@ispsystem.com" Date: Wed, 27 Apr 2022 06:45:48 +0000 Subject: [PATCH] update vm6 api --- docs/resources/vm_qemu.md | 1 + go.mod | 2 +- go.sum | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/resources/vm_qemu.md b/docs/resources/vm_qemu.md index a4fd800..5a30db1 100644 --- a/docs/resources/vm_qemu.md +++ b/docs/resources/vm_qemu.md @@ -29,6 +29,7 @@ description: |- - `account` (Number) VMmanager user id - `cluster` (Number) VMmanager 6 cluster id - `desc` (String) The VM description +- `disk_id` (Number) Main disk ID of VM - `domain` (String) Domain for VM's ip addresses and hostname - `id` (String) The ID of this resource. - `ipv4_number` (Number) Number of ipv4 addresses diff --git a/go.mod b/go.mod index 0682a75..6970adc 100644 --- a/go.mod +++ b/go.mod @@ -7,5 +7,5 @@ require ( github.com/hashicorp/terraform-plugin-sdk/v2 v2.14.0 github.com/mattn/go-colorable v0.1.12 // indirect github.com/rs/zerolog v1.26.1 - github.com/usaafko/vmmanager6-api-go v0.0.4 + github.com/usaafko/vmmanager6-api-go v0.0.5 ) diff --git a/go.sum b/go.sum index 05fddaa..4fc7705 100644 --- a/go.sum +++ b/go.sum @@ -216,6 +216,8 @@ github.com/usaafko/vmmanager6-api-go v0.0.1 h1:jjJfJWl16lIJ5fFhlkkC5/PLyJx4wkvtD github.com/usaafko/vmmanager6-api-go v0.0.1/go.mod h1:3RSu8vvMTBiAInPrrwPVfm+r8pRGs532zBpn8tHC1DY= github.com/usaafko/vmmanager6-api-go v0.0.4 h1:T5bjloT0qFWL4+eCHvRkbF4RXavPXXCcTbKpDtQbpk8= github.com/usaafko/vmmanager6-api-go v0.0.4/go.mod h1:3RSu8vvMTBiAInPrrwPVfm+r8pRGs532zBpn8tHC1DY= +github.com/usaafko/vmmanager6-api-go v0.0.5 h1:BvPXV6WCDMmcfxgNz9PWesggp3sT6St24UUOkKpf5xk= +github.com/usaafko/vmmanager6-api-go v0.0.5/go.mod h1:3RSu8vvMTBiAInPrrwPVfm+r8pRGs532zBpn8tHC1DY= github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI= github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk=