Updated 06.2 Data функция decort_kvmvm: получение информации о виртуальной машине на базе KVM. (markdown)
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user