Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg
nutanix.getHosts
Explore with Pulumi AI
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg
Describes a list of hosts
Using getHosts
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 getHosts(opts?: InvokeOptions): Promise<GetHostsResult>
function getHostsOutput(opts?: InvokeOptions): Output<GetHostsResult>
def get_hosts(opts: Optional[InvokeOptions] = None) -> GetHostsResult
def get_hosts_output(opts: Optional[InvokeOptions] = None) -> Output[GetHostsResult]
func GetHosts(ctx *Context, opts ...InvokeOption) (*GetHostsResult, error)
func GetHostsOutput(ctx *Context, opts ...InvokeOption) GetHostsResultOutput
> Note: This function is named GetHosts
in the Go SDK.
public static class GetHosts
{
public static Task<GetHostsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetHostsResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetHostsResult> getHosts(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: nutanix:index/getHosts:getHosts
arguments:
# arguments dictionary
getHosts Result
The following output properties are available:
- Api
Version string - The API version.
- Entities
List<Piers
Karsenbarg. Nutanix. Outputs. Get Hosts Entity> - List of Hosts
- Id string
- The provider-assigned unique ID for this managed resource.
- Api
Version string - The API version.
- Entities
[]Get
Hosts Entity - List of Hosts
- Id string
- The provider-assigned unique ID for this managed resource.
- api
Version String - The API version.
- entities
List<Get
Hosts Entity> - List of Hosts
- id String
- The provider-assigned unique ID for this managed resource.
- api
Version string - The API version.
- entities
Get
Hosts Entity[] - List of Hosts
- id string
- The provider-assigned unique ID for this managed resource.
- api_
version str - The API version.
- entities
Sequence[Get
Hosts Entity] - List of Hosts
- id str
- The provider-assigned unique ID for this managed resource.
- api
Version String - The API version.
- entities List<Property Map>
- List of Hosts
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetHostsEntity
- Api
Version string - The API version.
- Block Dictionary<string, string>
- Host block config info.
- Categories
List<Piers
Karsenbarg. Nutanix. Inputs. Get Hosts Entity 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. Inputs. Get Hosts Entity Gpu List> - List of GPUs on the host.
- Host
Disks List<PiersReference Lists Karsenbarg. Nutanix. Inputs. Get Hosts Entity Host Disks Reference List> - The reference to a disk.
- Host
Nics List<string>Id Lists - Host NICs.
- Host
Type string - Host type.
- Hypervisor Dictionary<string, string>
- Host Hypervisor information.
- 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
Hosts Entity 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 []GetHosts Entity Gpu List - List of GPUs on the host.
- Host
Disks []GetReference Lists Hosts Entity Host Disks Reference List - The reference to a disk.
- Host
Nics []stringId Lists - Host NICs.
- Host
Type string - Host type.
- Hypervisor map[string]string
- Host Hypervisor information.
- 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
Hosts Entity 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<GetHosts Entity Gpu List> - List of GPUs on the host.
- host
Disks List<GetReference Lists Hosts Entity Host Disks Reference List> - The reference to a disk.
- host
Nics List<String>Id Lists - Host NICs.
- host
Type String - Host type.
- hypervisor Map<String,String>
- Host Hypervisor information.
- 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
Hosts Entity 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 GetHosts Entity Gpu List[] - List of GPUs on the host.
- host
Disks GetReference Lists Hosts Entity Host Disks Reference List[] - The reference to a disk.
- host
Nics string[]Id Lists - Host NICs.
- host
Type string - Host type.
- hypervisor {[key: string]: string}
- Host Hypervisor information.
- 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
Hosts Entity 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[GetHosts Entity Gpu List] - List of GPUs on the host.
- host_
disks_ Sequence[Getreference_ lists Hosts Entity Host Disks Reference List] - The reference to a disk.
- host_
nics_ Sequence[str]id_ lists - Host NICs.
- host_
type str - Host type.
- hypervisor Mapping[str, str]
- Host Hypervisor information.
- 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
Nics List<String>Id Lists - Host NICs.
- host
Type String - Host type.
- hypervisor Map<String>
- Host Hypervisor information.
- 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.
GetHostsEntityCategory
GetHostsEntityGpuList
- 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
GetHostsEntityHostDisksReferenceList
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg