xenorchestra v2.3.0 published on Tuesday, Oct 28, 2025 by Vates
xenorchestra v2.3.0 published on Tuesday, Oct 28, 2025 by Vates
Use this data source to filter Xenorchestra hosts by certain criteria (name_label, tags) for use in other resources.
Using getXoaHosts
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 getXoaHosts(args: GetXoaHostsArgs, opts?: InvokeOptions): Promise<GetXoaHostsResult>
function getXoaHostsOutput(args: GetXoaHostsOutputArgs, opts?: InvokeOptions): Output<GetXoaHostsResult>def get_xoa_hosts(pool_id: Optional[str] = None,
sort_by: Optional[str] = None,
sort_order: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetXoaHostsResult
def get_xoa_hosts_output(pool_id: Optional[pulumi.Input[str]] = None,
sort_by: Optional[pulumi.Input[str]] = None,
sort_order: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetXoaHostsResult]func GetXoaHosts(ctx *Context, args *GetXoaHostsArgs, opts ...InvokeOption) (*GetXoaHostsResult, error)
func GetXoaHostsOutput(ctx *Context, args *GetXoaHostsOutputArgs, opts ...InvokeOption) GetXoaHostsResultOutput> Note: This function is named GetXoaHosts in the Go SDK.
public static class GetXoaHosts
{
public static Task<GetXoaHostsResult> InvokeAsync(GetXoaHostsArgs args, InvokeOptions? opts = null)
public static Output<GetXoaHostsResult> Invoke(GetXoaHostsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetXoaHostsResult> getXoaHosts(GetXoaHostsArgs args, InvokeOptions options)
public static Output<GetXoaHostsResult> getXoaHosts(GetXoaHostsArgs args, InvokeOptions options)
fn::invoke:
function: xenorchestra:index/getXoaHosts:getXoaHosts
arguments:
# arguments dictionaryThe following arguments are supported:
- pool_
id str - The pool id used to filter the resulting hosts by.
- sort_
by str - The host field to sort the results by (id and name_label are supported).
- sort_
order str - Valid options are
ascordescand sort order is applied tosort_byargument. - Sequence[str]
- The tags (labels) applied to the given entity.
getXoaHosts Result
The following output properties are available:
- Hosts
List<Get
Xoa Hosts Host> - The resulting hosts after applying the argument filtering.
- Id string
- The provider-assigned unique ID for this managed resource.
- Master string
- The primary host of the pool.
- Pool
Id string - The pool id used to filter the resulting hosts by.
- Sort
By string - The host field to sort the results by (id and name_label are supported).
- Sort
Order string - Valid options are
ascordescand sort order is applied tosort_byargument. - List<string>
- The tags (labels) applied to the given entity.
- Hosts
[]Get
Xoa Hosts Host - The resulting hosts after applying the argument filtering.
- Id string
- The provider-assigned unique ID for this managed resource.
- Master string
- The primary host of the pool.
- Pool
Id string - The pool id used to filter the resulting hosts by.
- Sort
By string - The host field to sort the results by (id and name_label are supported).
- Sort
Order string - Valid options are
ascordescand sort order is applied tosort_byargument. - []string
- The tags (labels) applied to the given entity.
- hosts
List<Get
Xoa Hosts Host> - The resulting hosts after applying the argument filtering.
- id String
- The provider-assigned unique ID for this managed resource.
- master String
- The primary host of the pool.
- pool
Id String - The pool id used to filter the resulting hosts by.
- sort
By String - The host field to sort the results by (id and name_label are supported).
- sort
Order String - Valid options are
ascordescand sort order is applied tosort_byargument. - List<String>
- The tags (labels) applied to the given entity.
- hosts
Get
Xoa Hosts Host[] - The resulting hosts after applying the argument filtering.
- id string
- The provider-assigned unique ID for this managed resource.
- master string
- The primary host of the pool.
- pool
Id string - The pool id used to filter the resulting hosts by.
- sort
By string - The host field to sort the results by (id and name_label are supported).
- sort
Order string - Valid options are
ascordescand sort order is applied tosort_byargument. - string[]
- The tags (labels) applied to the given entity.
- hosts
Sequence[Get
Xoa Hosts Host] - The resulting hosts after applying the argument filtering.
- id str
- The provider-assigned unique ID for this managed resource.
- master str
- The primary host of the pool.
- pool_
id str - The pool id used to filter the resulting hosts by.
- sort_
by str - The host field to sort the results by (id and name_label are supported).
- sort_
order str - Valid options are
ascordescand sort order is applied tosort_byargument. - Sequence[str]
- The tags (labels) applied to the given entity.
- hosts List<Property Map>
- The resulting hosts after applying the argument filtering.
- id String
- The provider-assigned unique ID for this managed resource.
- master String
- The primary host of the pool.
- pool
Id String - The pool id used to filter the resulting hosts by.
- sort
By String - The host field to sort the results by (id and name_label are supported).
- sort
Order String - Valid options are
ascordescand sort order is applied tosort_byargument. - List<String>
- The tags (labels) applied to the given entity.
Supporting Types
GetXoaHostsHost
- Cpus Dictionary<string, int>
- CPU information about the host. The 'cores' key will contain the number of cpu cores and the 'sockets' key will contain the number of sockets.
- Id string
- Memory int
- The memory size of the host.
- Memory
Usage int - The memory usage of the host.
- Name
Label string - The name label of the host.
- Pool
Id string - Id of the pool that the host belongs to.
- List<string>
- The tags (labels) applied to the given entity.
- Cpus map[string]int
- CPU information about the host. The 'cores' key will contain the number of cpu cores and the 'sockets' key will contain the number of sockets.
- Id string
- Memory int
- The memory size of the host.
- Memory
Usage int - The memory usage of the host.
- Name
Label string - The name label of the host.
- Pool
Id string - Id of the pool that the host belongs to.
- []string
- The tags (labels) applied to the given entity.
- cpus Map<String,Integer>
- CPU information about the host. The 'cores' key will contain the number of cpu cores and the 'sockets' key will contain the number of sockets.
- id String
- memory Integer
- The memory size of the host.
- memory
Usage Integer - The memory usage of the host.
- name
Label String - The name label of the host.
- pool
Id String - Id of the pool that the host belongs to.
- List<String>
- The tags (labels) applied to the given entity.
- cpus {[key: string]: number}
- CPU information about the host. The 'cores' key will contain the number of cpu cores and the 'sockets' key will contain the number of sockets.
- id string
- memory number
- The memory size of the host.
- memory
Usage number - The memory usage of the host.
- name
Label string - The name label of the host.
- pool
Id string - Id of the pool that the host belongs to.
- string[]
- The tags (labels) applied to the given entity.
- cpus Mapping[str, int]
- CPU information about the host. The 'cores' key will contain the number of cpu cores and the 'sockets' key will contain the number of sockets.
- id str
- memory int
- The memory size of the host.
- memory_
usage int - The memory usage of the host.
- name_
label str - The name label of the host.
- pool_
id str - Id of the pool that the host belongs to.
- Sequence[str]
- The tags (labels) applied to the given entity.
- cpus Map<Number>
- CPU information about the host. The 'cores' key will contain the number of cpu cores and the 'sockets' key will contain the number of sockets.
- id String
- memory Number
- The memory size of the host.
- memory
Usage Number - The memory usage of the host.
- name
Label String - The name label of the host.
- pool
Id String - Id of the pool that the host belongs to.
- List<String>
- The tags (labels) applied to the given entity.
Package Details
- Repository
- xenorchestra vatesfr/pulumi-xenorchestra
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
xenorchestraTerraform Provider.
xenorchestra v2.3.0 published on Tuesday, Oct 28, 2025 by Vates
