Nutanix v0.5.0 published on Monday, Nov 4, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: nutanix:index/getHost:getHost
arguments:
# arguments dictionary
The following arguments are supported:
- Host
Id string - Represents hosts uuid
- Categories
List<Piers
Karsenbarg. Nutanix. Inputs. Get Host Category> - Categories for the image.
- Host
Id string - Represents hosts uuid
- Categories
[]Get
Host Category - Categories for the image.
- host
Id String - Represents hosts uuid
- categories
List<Get
Host Category> - Categories for the image.
- host
Id string - Represents hosts uuid
- categories
Get
Host Category[] - Categories for the image.
- host_
id str - Represents hosts uuid
- categories
Sequence[Get
Host Category] - Categories for the image.
- host
Id 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 bool
- Consumer
Reference Dictionary<string, string> - Device
Id int - Fraction int
- Frame
Buffer intSize Mib - Guest
Driver stringVersion - Index int
- License
Lists List<string> - Max
Resolution string - Mode string
- Name string
- the name.
- Num
Vgpus intAllocated - Num
Virtual intDisplay Heads - Numa
Node int - Pci
Address string - Status string
- Uuid string
- the uuid.
- Vendor string
- Assignable bool
- Consumer
Reference map[string]string - Device
Id int - Fraction int
- Frame
Buffer intSize Mib - Guest
Driver stringVersion - Index int
- License
Lists []string - Max
Resolution string - Mode string
- Name string
- the name.
- Num
Vgpus intAllocated - Num
Virtual intDisplay Heads - Numa
Node int - Pci
Address string - Status string
- Uuid string
- the uuid.
- Vendor string
- assignable Boolean
- consumer
Reference Map<String,String> - device
Id Integer - fraction Integer
- frame
Buffer IntegerSize Mib - guest
Driver StringVersion - index Integer
- license
Lists List<String> - max
Resolution String - mode String
- name String
- the name.
- num
Vgpus IntegerAllocated - num
Virtual IntegerDisplay Heads - numa
Node Integer - pci
Address String - status String
- uuid String
- the uuid.
- vendor String
- assignable boolean
- consumer
Reference {[key: string]: string} - device
Id number - fraction number
- frame
Buffer numberSize Mib - guest
Driver stringVersion - index number
- license
Lists string[] - max
Resolution string - mode string
- name string
- the name.
- num
Vgpus numberAllocated - num
Virtual numberDisplay Heads - numa
Node number - pci
Address string - status string
- uuid string
- the uuid.
- vendor string
- assignable bool
- consumer_
reference Mapping[str, str] - device_
id int - fraction int
- frame_
buffer_ intsize_ mib - guest_
driver_ strversion - index int
- license_
lists Sequence[str] - max_
resolution str - mode str
- name str
- the name.
- num_
vgpus_ intallocated - num_
virtual_ intdisplay_ heads - numa_
node int - pci_
address str - status str
- uuid str
- the uuid.
- vendor str
- assignable Boolean
- consumer
Reference Map<String> - device
Id Number - fraction Number
- frame
Buffer NumberSize Mib - guest
Driver StringVersion - index Number
- license
Lists List<String> - max
Resolution String - mode String
- name String
- the name.
- num
Vgpus NumberAllocated - num
Virtual NumberDisplay Heads - numa
Node Number - pci
Address String - status String
- uuid String
- the uuid.
- vendor String
GetHostHostDisksReferenceList
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.