Updated 06.2 Data функция decort_kvmvm: получение информации о виртуальной машине на базе KVM. (markdown)

svs1370
2021-09-25 12:10:17 +03:00
parent 61d18333f5
commit 89cd5c7e30

@@ -46,7 +46,7 @@ _Data source_ функция **decort_kvmvm** принимает следующ
``` ```
data "decort_kvmvm" "existing_vm" { data "decort_kvmvm" "existing_vm" {
name = "MyOldVM" # this is the name of pre-existing virtual machine name = "MyOldVM" # this is the name of pre-existing virtual machine
rgid = 123 # this is the ID of resource group, where VM named "MyOldVM" is found rg_id = 123 # this is the ID of resource group, where VM named "MyOldVM" is found
} }
# Once the above directive completes, VM ID will be accessible # Once the above directive completes, VM ID will be accessible
# as data.decort_kvmvm.existing_vm.id # as data.decort_kvmvm.existing_vm.id