mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-08-30 07:15:39 +00:00
39 lines
1.1 KiB
Cheetah
39 lines
1.1 KiB
Cheetah
---
|
|
layout: page
|
|
title: {{.Name}}
|
|
parent: Resources
|
|
subcategory: Virtual Environment
|
|
description: |-
|
|
{{ .Description | plainmarkdown | trimspace | prefixlines " " }}
|
|
---
|
|
|
|
# {{.Type}}: {{.Name}}
|
|
|
|
!> **DO NOT USE**
|
|
{{ .Description | trimspace }}
|
|
|
|
-> Many attributes are marked as **optional** _and_ **computed** in the schema,
|
|
hence you may seem added to the plan with "(known after apply)" status, even if they are not set in the configuration.
|
|
This is done to support the `clone` operation, when a VM is created from an existing one,
|
|
and attributes of the original VM are copied to the new one.<br><br>
|
|
Computed attributes allow the provider to set those attributes without user input.
|
|
The attributes are marked as optional to allow the user to set (or overwrite) them if needed.
|
|
In order to remove the computed attribute from the plan, you can set it to an empty value (e.g. `""` for string, `[]` for collection).
|
|
|
|
|
|
{{ if .HasExample -}}
|
|
## Example Usage
|
|
|
|
{{ codefile "terraform" .ExampleFile }}
|
|
{{- end }}
|
|
|
|
{{ .SchemaMarkdown | trimspace }}
|
|
{{- if .HasImport }}
|
|
|
|
## Import
|
|
|
|
Import is supported using the following syntax:
|
|
|
|
{{ codefile "shell" .ImportFile }}
|
|
{{- end }}
|