| page_title | cozystack_vminstance Data Source - cozystack |
|---|---|
| subcategory | |
| description | Read an existing Cozystack VM instance by name and namespace. |
Read an existing Cozystack VM instance by name and namespace.
data "cozystack_vminstance" "vm" {
name = "vm"
namespace = "tenant-root"
}name(String) VMInstance instance name.namespace(String) Tenant namespace.
chart_version(String) Deployed chart version.cloud_init(String) Cloud-init user data.cloud_init_seed(String) SMBIOS UUID seed.cpu_model(String) CPU model.disks(Attributes List) Attached disks. (see below for nested schema)external(Boolean) Whether external access is enabled.external_allow_icmp(Boolean) Whether ICMP is allowed.external_method(String) Traffic pass-through method.external_ports(List of Number) Forwarded ports.gpus(Attributes List) Attached GPUs. (see below for nested schema)id(String) Synthetic identifiernamespace/name.instance_profile(String) Preferences profile.instance_type(String) Instance type.ip_address(String) Primary IP address of the running guest.ip_addresses(List of String) All guest IP addresses.networks(Attributes List) Attached networks. (see below for nested schema)ready(Boolean) Whether the application'sReadycondition is true.resources(Attributes) Explicit CPU, memory, and socket configuration. (see below for nested schema)run_strategy(String) Requested running state.ssh_keys(List of String) SSH public keys.uid(String) Server-assigned object UID (metadata.uid).
Read-Only:
bus(String) Disk bus type.name(String) Disk name.
Read-Only:
name(String) Name.
Read-Only:
name(String) Name.
Read-Only:
cpu(String) CPU cores.memory(String) Memory.sockets(String) CPU sockets.