Nutanix v0.7.4 published on Friday, Mar 21, 2025 by Piers Karsenbarg
nutanix.getHost
Explore with Pulumi AI
Describes a Host
Using getHost
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getHost(args: GetHostArgs, opts?: InvokeOptions): Promise<GetHostResult>
function getHostOutput(args: GetHostOutputArgs, opts?: InvokeOptions): Output<GetHostResult>
def get_host(categories: Optional[Sequence[GetHostCategory]] = None,
host_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHostResult
def get_host_output(categories: Optional[pulumi.Input[Sequence[pulumi.Input[GetHostCategoryArgs]]]] = None,
host_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHostResult]
func GetHost(ctx *Context, args *GetHostArgs, opts ...InvokeOption) (*GetHostResult, error)
func GetHostOutput(ctx *Context, args *GetHostOutputArgs, opts ...InvokeOption) GetHostResultOutput
> Note: This function is named GetHost
in the Go SDK.
public static class GetHost
{
public static Task<GetHostResult> InvokeAsync(GetHostArgs args, InvokeOptions? opts = null)
public static Output<GetHostResult> Invoke(GetHostInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetHostResult> getHost(GetHostArgs args, InvokeOptions options)
public static Output<GetHostResult> getHost(GetHostArgs args, InvokeOptions options)
fn::invoke:
function: nutanix:index/getHost:getHost
arguments:
# arguments dictionary
The following arguments are supported:
- Host
Id This property is required. string - Represents hosts uuid
- Categories
List<Piers
Karsenbarg. Nutanix. Inputs. Get Host Category> - Categories for the image.
- Host
Id This property is required. string - Represents hosts uuid
- Categories
[]Get
Host Category - Categories for the image.
- host
Id This property is required. String - Represents hosts uuid
- categories
List<Get
Host Category> - Categories for the image.
- host
Id This property is required. string - Represents hosts uuid
- categories
Get
Host Category[] - Categories for the image.
- host_
id This property is required. str - Represents hosts uuid
- categories
Sequence[Get
Host Category] - Categories for the image.
- host
Id This property is required. String - Represents hosts uuid
- categories List<Property Map>
- Categories for the image.
getHost Result
The following output properties are available:
- Api
Version string - The API version.
- Block Dictionary<string, string>
- Host block config info.
- Categories
List<Piers
Karsenbarg. Nutanix. Outputs. Get Host Category> - Categories for the image.
- Cluster
Reference Dictionary<string, string> - Reference to a kind. Either one of (kind, uuid) or url needs to be specified.
- Controller
Vm Dictionary<string, string> - Host controller vm information.
- Cpu
Capacity intHz - Host CPU capacity.
- Cpu
Model string - Host CPU model.
- Failover
Cluster Dictionary<string, string> - Hyper-V failover cluster.
- Gpu
Driver stringVersion - Host GPU driver version.
- Gpu
Lists List<PiersKarsenbarg. Nutanix. Outputs. Get Host Gpu List> - List of GPUs on the host.
- Host
Disks List<PiersReference Lists Karsenbarg. Nutanix. Outputs. Get Host Host Disks Reference List> - The reference to a disk.
- Host
Id string - Host
Nics List<string>Id Lists - Host NICs.
- Host
Type string - Host type.
- Hypervisor Dictionary<string, string>
- Host Hypervisor information.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipmi Dictionary<string, string>
- Host IPMI info.
- Memory
Capacity intMib - Host memory capacity in MiB.
- Metadata Dictionary<string, string>
- Monitoring
State string - Host monitoring status.
- Name string
- the name.
- Num
Cpu intCores - Number of CPU cores on Host.
- Num
Cpu intSockets - Number of CPU sockets.
- Owner
Reference Dictionary<string, string> - The reference to a user.
- Project
Reference Dictionary<string, string> - The reference to a project.
- Rackable
Unit Dictionary<string, string>Reference - The reference to a rackable_unit.
- Serial
Number string - Node serial number.
- Windows
Domain Dictionary<string, string> - The name of the node to be renamed to during domain-join. If not given,a new name will be automatically assigned.
- Api
Version string - The API version.
- Block map[string]string
- Host block config info.
- Categories
[]Get
Host Category - Categories for the image.
- Cluster
Reference map[string]string - Reference to a kind. Either one of (kind, uuid) or url needs to be specified.
- Controller
Vm map[string]string - Host controller vm information.
- Cpu
Capacity intHz - Host CPU capacity.
- Cpu
Model string - Host CPU model.
- Failover
Cluster map[string]string - Hyper-V failover cluster.
- Gpu
Driver stringVersion - Host GPU driver version.
- Gpu
Lists []GetHost Gpu List - List of GPUs on the host.
- Host
Disks []GetReference Lists Host Host Disks Reference List - The reference to a disk.
- Host
Id string - Host
Nics []stringId Lists - Host NICs.
- Host
Type string - Host type.
- Hypervisor map[string]string
- Host Hypervisor information.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipmi map[string]string
- Host IPMI info.
- Memory
Capacity intMib - Host memory capacity in MiB.
- Metadata map[string]string
- Monitoring
State string - Host monitoring status.
- Name string
- the name.
- Num
Cpu intCores - Number of CPU cores on Host.
- Num
Cpu intSockets - Number of CPU sockets.
- Owner
Reference map[string]string - The reference to a user.
- Project
Reference map[string]string - The reference to a project.
- Rackable
Unit map[string]stringReference - The reference to a rackable_unit.
- Serial
Number string - Node serial number.
- Windows
Domain map[string]string - The name of the node to be renamed to during domain-join. If not given,a new name will be automatically assigned.
- api
Version String - The API version.
- block Map<String,String>
- Host block config info.
- categories
List<Get
Host Category> - Categories for the image.
- cluster
Reference Map<String,String> - Reference to a kind. Either one of (kind, uuid) or url needs to be specified.
- controller
Vm Map<String,String> - Host controller vm information.
- cpu
Capacity IntegerHz - Host CPU capacity.
- cpu
Model String - Host CPU model.
- failover
Cluster Map<String,String> - Hyper-V failover cluster.
- gpu
Driver StringVersion - Host GPU driver version.
- gpu
Lists List<GetHost Gpu List> - List of GPUs on the host.
- host
Disks List<GetReference Lists Host Host Disks Reference List> - The reference to a disk.
- host
Id String - host
Nics List<String>Id Lists - Host NICs.
- host
Type String - Host type.
- hypervisor Map<String,String>
- Host Hypervisor information.
- id String
- The provider-assigned unique ID for this managed resource.
- ipmi Map<String,String>
- Host IPMI info.
- memory
Capacity IntegerMib - Host memory capacity in MiB.
- metadata Map<String,String>
- monitoring
State String - Host monitoring status.
- name String
- the name.
- num
Cpu IntegerCores - Number of CPU cores on Host.
- num
Cpu IntegerSockets - Number of CPU sockets.
- owner
Reference Map<String,String> - The reference to a user.
- project
Reference Map<String,String> - The reference to a project.
- rackable
Unit Map<String,String>Reference - The reference to a rackable_unit.
- serial
Number String - Node serial number.
- windows
Domain Map<String,String> - The name of the node to be renamed to during domain-join. If not given,a new name will be automatically assigned.
- api
Version string - The API version.
- block {[key: string]: string}
- Host block config info.
- categories
Get
Host Category[] - Categories for the image.
- cluster
Reference {[key: string]: string} - Reference to a kind. Either one of (kind, uuid) or url needs to be specified.
- controller
Vm {[key: string]: string} - Host controller vm information.
- cpu
Capacity numberHz - Host CPU capacity.
- cpu
Model string - Host CPU model.
- failover
Cluster {[key: string]: string} - Hyper-V failover cluster.
- gpu
Driver stringVersion - Host GPU driver version.
- gpu
Lists GetHost Gpu List[] - List of GPUs on the host.
- host
Disks GetReference Lists Host Host Disks Reference List[] - The reference to a disk.
- host
Id string - host
Nics string[]Id Lists - Host NICs.
- host
Type string - Host type.
- hypervisor {[key: string]: string}
- Host Hypervisor information.
- id string
- The provider-assigned unique ID for this managed resource.
- ipmi {[key: string]: string}
- Host IPMI info.
- memory
Capacity numberMib - Host memory capacity in MiB.
- metadata {[key: string]: string}
- monitoring
State string - Host monitoring status.
- name string
- the name.
- num
Cpu numberCores - Number of CPU cores on Host.
- num
Cpu numberSockets - Number of CPU sockets.
- owner
Reference {[key: string]: string} - The reference to a user.
- project
Reference {[key: string]: string} - The reference to a project.
- rackable
Unit {[key: string]: string}Reference - The reference to a rackable_unit.
- serial
Number string - Node serial number.
- windows
Domain {[key: string]: string} - The name of the node to be renamed to during domain-join. If not given,a new name will be automatically assigned.
- api_
version str - The API version.
- block Mapping[str, str]
- Host block config info.
- categories
Sequence[Get
Host Category] - Categories for the image.
- cluster_
reference Mapping[str, str] - Reference to a kind. Either one of (kind, uuid) or url needs to be specified.
- controller_
vm Mapping[str, str] - Host controller vm information.
- cpu_
capacity_ inthz - Host CPU capacity.
- cpu_
model str - Host CPU model.
- failover_
cluster Mapping[str, str] - Hyper-V failover cluster.
- gpu_
driver_ strversion - Host GPU driver version.
- gpu_
lists Sequence[GetHost Gpu List] - List of GPUs on the host.
- host_
disks_ Sequence[Getreference_ lists Host Host Disks Reference List] - The reference to a disk.
- host_
id str - host_
nics_ Sequence[str]id_ lists - Host NICs.
- host_
type str - Host type.
- hypervisor Mapping[str, str]
- Host Hypervisor information.
- id str
- The provider-assigned unique ID for this managed resource.
- ipmi Mapping[str, str]
- Host IPMI info.
- memory_
capacity_ intmib - Host memory capacity in MiB.
- metadata Mapping[str, str]
- monitoring_
state str - Host monitoring status.
- name str
- the name.
- num_
cpu_ intcores - Number of CPU cores on Host.
- num_
cpu_ intsockets - Number of CPU sockets.
- owner_
reference Mapping[str, str] - The reference to a user.
- project_
reference Mapping[str, str] - The reference to a project.
- rackable_
unit_ Mapping[str, str]reference - The reference to a rackable_unit.
- serial_
number str - Node serial number.
- windows_
domain Mapping[str, str] - The name of the node to be renamed to during domain-join. If not given,a new name will be automatically assigned.
- api
Version String - The API version.
- block Map<String>
- Host block config info.
- categories List<Property Map>
- Categories for the image.
- cluster
Reference Map<String> - Reference to a kind. Either one of (kind, uuid) or url needs to be specified.
- controller
Vm Map<String> - Host controller vm information.
- cpu
Capacity NumberHz - Host CPU capacity.
- cpu
Model String - Host CPU model.
- failover
Cluster Map<String> - Hyper-V failover cluster.
- gpu
Driver StringVersion - Host GPU driver version.
- gpu
Lists List<Property Map> - List of GPUs on the host.
- host
Disks List<Property Map>Reference Lists - The reference to a disk.
- host
Id String - host
Nics List<String>Id Lists - Host NICs.
- host
Type String - Host type.
- hypervisor Map<String>
- Host Hypervisor information.
- id String
- The provider-assigned unique ID for this managed resource.
- ipmi Map<String>
- Host IPMI info.
- memory
Capacity NumberMib - Host memory capacity in MiB.
- metadata Map<String>
- monitoring
State String - Host monitoring status.
- name String
- the name.
- num
Cpu NumberCores - Number of CPU cores on Host.
- num
Cpu NumberSockets - Number of CPU sockets.
- owner
Reference Map<String> - The reference to a user.
- project
Reference Map<String> - The reference to a project.
- rackable
Unit Map<String>Reference - The reference to a rackable_unit.
- serial
Number String - Node serial number.
- windows
Domain Map<String> - The name of the node to be renamed to during domain-join. If not given,a new name will be automatically assigned.
Supporting Types
GetHostCategory
GetHostGpuList
- Assignable
This property is required. bool - Consumer
Reference This property is required. Dictionary<string, string> - Device
Id This property is required. int - Fraction
This property is required. int - Frame
Buffer Size Mib This property is required. int - Guest
Driver Version This property is required. string - Index
This property is required. int - License
Lists This property is required. List<string> - Max
Resolution This property is required. string - Mode
This property is required. string - Name
This property is required. string - the name.
- Num
Vgpus Allocated This property is required. int - Num
Virtual Display Heads This property is required. int - Numa
Node This property is required. int - Pci
Address This property is required. string - Status
This property is required. string - Uuid
This property is required. string - the uuid.
- Vendor
This property is required. string
- Assignable
This property is required. bool - Consumer
Reference This property is required. map[string]string - Device
Id This property is required. int - Fraction
This property is required. int - Frame
Buffer Size Mib This property is required. int - Guest
Driver Version This property is required. string - Index
This property is required. int - License
Lists This property is required. []string - Max
Resolution This property is required. string - Mode
This property is required. string - Name
This property is required. string - the name.
- Num
Vgpus Allocated This property is required. int - Num
Virtual Display Heads This property is required. int - Numa
Node This property is required. int - Pci
Address This property is required. string - Status
This property is required. string - Uuid
This property is required. string - the uuid.
- Vendor
This property is required. string
- assignable
This property is required. Boolean - consumer
Reference This property is required. Map<String,String> - device
Id This property is required. Integer - fraction
This property is required. Integer - frame
Buffer Size Mib This property is required. Integer - guest
Driver Version This property is required. String - index
This property is required. Integer - license
Lists This property is required. List<String> - max
Resolution This property is required. String - mode
This property is required. String - name
This property is required. String - the name.
- num
Vgpus Allocated This property is required. Integer - num
Virtual Display Heads This property is required. Integer - numa
Node This property is required. Integer - pci
Address This property is required. String - status
This property is required. String - uuid
This property is required. String - the uuid.
- vendor
This property is required. String
- assignable
This property is required. boolean - consumer
Reference This property is required. {[key: string]: string} - device
Id This property is required. number - fraction
This property is required. number - frame
Buffer Size Mib This property is required. number - guest
Driver Version This property is required. string - index
This property is required. number - license
Lists This property is required. string[] - max
Resolution This property is required. string - mode
This property is required. string - name
This property is required. string - the name.
- num
Vgpus Allocated This property is required. number - num
Virtual Display Heads This property is required. number - numa
Node This property is required. number - pci
Address This property is required. string - status
This property is required. string - uuid
This property is required. string - the uuid.
- vendor
This property is required. string
- assignable
This property is required. bool - consumer_
reference This property is required. Mapping[str, str] - device_
id This property is required. int - fraction
This property is required. int - frame_
buffer_ size_ mib This property is required. int - guest_
driver_ version This property is required. str - index
This property is required. int - license_
lists This property is required. Sequence[str] - max_
resolution This property is required. str - mode
This property is required. str - name
This property is required. str - the name.
- num_
vgpus_ allocated This property is required. int - num_
virtual_ display_ heads This property is required. int - numa_
node This property is required. int - pci_
address This property is required. str - status
This property is required. str - uuid
This property is required. str - the uuid.
- vendor
This property is required. str
- assignable
This property is required. Boolean - consumer
Reference This property is required. Map<String> - device
Id This property is required. Number - fraction
This property is required. Number - frame
Buffer Size Mib This property is required. Number - guest
Driver Version This property is required. String - index
This property is required. Number - license
Lists This property is required. List<String> - max
Resolution This property is required. String - mode
This property is required. String - name
This property is required. String - the name.
- num
Vgpus Allocated This property is required. Number - num
Virtual Display Heads This property is required. Number - numa
Node This property is required. Number - pci
Address This property is required. String - status
This property is required. String - uuid
This property is required. String - the uuid.
- vendor
This property is required. String
GetHostHostDisksReferenceList
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.