talos v0.6.1 published on Monday, Oct 13, 2025 by Pulumiverse
talos.machine.getDisks
Generate a machine configuration for a node type
Note: Since Talos natively supports
.machine.install.diskSelector, thetalos.machine.getDisksdata source maybe just used to query disk information that could be used elsewhere. It’s recommended to usemachine.install.diskSelectorin Talos machine configuration.
Using getDisks
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 getDisks(args: GetDisksArgs, opts?: InvokeOptions): Promise<GetDisksResult>
function getDisksOutput(args: GetDisksOutputArgs, opts?: InvokeOptions): Output<GetDisksResult>def get_disks(client_configuration: Optional[GetDisksClientConfiguration] = None,
endpoint: Optional[str] = None,
node: Optional[str] = None,
selector: Optional[str] = None,
timeouts: Optional[GetDisksTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetDisksResult
def get_disks_output(client_configuration: Optional[pulumi.Input[GetDisksClientConfigurationArgs]] = None,
endpoint: Optional[pulumi.Input[str]] = None,
node: Optional[pulumi.Input[str]] = None,
selector: Optional[pulumi.Input[str]] = None,
timeouts: Optional[pulumi.Input[GetDisksTimeoutsArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDisksResult]func GetDisks(ctx *Context, args *GetDisksArgs, opts ...InvokeOption) (*GetDisksResult, error)
func GetDisksOutput(ctx *Context, args *GetDisksOutputArgs, opts ...InvokeOption) GetDisksResultOutput> Note: This function is named GetDisks in the Go SDK.
public static class GetDisks
{
public static Task<GetDisksResult> InvokeAsync(GetDisksArgs args, InvokeOptions? opts = null)
public static Output<GetDisksResult> Invoke(GetDisksInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDisksResult> getDisks(GetDisksArgs args, InvokeOptions options)
public static Output<GetDisksResult> getDisks(GetDisksArgs args, InvokeOptions options)
fn::invoke:
function: talos:machine/getDisks:getDisks
arguments:
# arguments dictionaryThe following arguments are supported:
- Client
Configuration Pulumiverse.Talos. Machine. Inputs. Get Disks Client Configuration - The client configuration data
- Node string
- controlplane node to retrieve the kubeconfig from
- Endpoint string
- endpoint to use for the talosclient. If not set, the node value will be used
- Selector string
- The CEL expression to filter the disks. If not set, all disks will be returned. See CEL documentation.
- Timeouts
Pulumiverse.
Talos. Machine. Inputs. Get Disks Timeouts
- Client
Configuration GetDisks Client Configuration - The client configuration data
- Node string
- controlplane node to retrieve the kubeconfig from
- Endpoint string
- endpoint to use for the talosclient. If not set, the node value will be used
- Selector string
- The CEL expression to filter the disks. If not set, all disks will be returned. See CEL documentation.
- Timeouts
Get
Disks Timeouts
- client
Configuration GetDisks Client Configuration - The client configuration data
- node String
- controlplane node to retrieve the kubeconfig from
- endpoint String
- endpoint to use for the talosclient. If not set, the node value will be used
- selector String
- The CEL expression to filter the disks. If not set, all disks will be returned. See CEL documentation.
- timeouts
Get
Disks Timeouts
- client
Configuration GetDisks Client Configuration - The client configuration data
- node string
- controlplane node to retrieve the kubeconfig from
- endpoint string
- endpoint to use for the talosclient. If not set, the node value will be used
- selector string
- The CEL expression to filter the disks. If not set, all disks will be returned. See CEL documentation.
- timeouts
Get
Disks Timeouts
- client_
configuration GetDisks Client Configuration - The client configuration data
- node str
- controlplane node to retrieve the kubeconfig from
- endpoint str
- endpoint to use for the talosclient. If not set, the node value will be used
- selector str
- The CEL expression to filter the disks. If not set, all disks will be returned. See CEL documentation.
- timeouts
Get
Disks Timeouts
- client
Configuration Property Map - The client configuration data
- node String
- controlplane node to retrieve the kubeconfig from
- endpoint String
- endpoint to use for the talosclient. If not set, the node value will be used
- selector String
- The CEL expression to filter the disks. If not set, all disks will be returned. See CEL documentation.
- timeouts Property Map
getDisks Result
The following output properties are available:
- Client
Configuration Pulumiverse.Talos. Machine. Outputs. Get Disks Client Configuration - The client configuration data
- Disks
List<Pulumiverse.
Talos. Machine. Outputs. Get Disks Disk> - The disks that match the filters
- Endpoint string
- endpoint to use for the talosclient. If not set, the node value will be used
- Id string
- The generated ID of this resource
- Node string
- controlplane node to retrieve the kubeconfig from
- Selector string
- The CEL expression to filter the disks. If not set, all disks will be returned. See CEL documentation.
- Timeouts
Pulumiverse.
Talos. Machine. Outputs. Get Disks Timeouts
- Client
Configuration GetDisks Client Configuration - The client configuration data
- Disks
[]Get
Disks Disk - The disks that match the filters
- Endpoint string
- endpoint to use for the talosclient. If not set, the node value will be used
- Id string
- The generated ID of this resource
- Node string
- controlplane node to retrieve the kubeconfig from
- Selector string
- The CEL expression to filter the disks. If not set, all disks will be returned. See CEL documentation.
- Timeouts
Get
Disks Timeouts
- client
Configuration GetDisks Client Configuration - The client configuration data
- disks
List<Get
Disks Disk> - The disks that match the filters
- endpoint String
- endpoint to use for the talosclient. If not set, the node value will be used
- id String
- The generated ID of this resource
- node String
- controlplane node to retrieve the kubeconfig from
- selector String
- The CEL expression to filter the disks. If not set, all disks will be returned. See CEL documentation.
- timeouts
Get
Disks Timeouts
- client
Configuration GetDisks Client Configuration - The client configuration data
- disks
Get
Disks Disk[] - The disks that match the filters
- endpoint string
- endpoint to use for the talosclient. If not set, the node value will be used
- id string
- The generated ID of this resource
- node string
- controlplane node to retrieve the kubeconfig from
- selector string
- The CEL expression to filter the disks. If not set, all disks will be returned. See CEL documentation.
- timeouts
Get
Disks Timeouts
- client_
configuration GetDisks Client Configuration - The client configuration data
- disks
Sequence[Get
Disks Disk] - The disks that match the filters
- endpoint str
- endpoint to use for the talosclient. If not set, the node value will be used
- id str
- The generated ID of this resource
- node str
- controlplane node to retrieve the kubeconfig from
- selector str
- The CEL expression to filter the disks. If not set, all disks will be returned. See CEL documentation.
- timeouts
Get
Disks Timeouts
- client
Configuration Property Map - The client configuration data
- disks List<Property Map>
- The disks that match the filters
- endpoint String
- endpoint to use for the talosclient. If not set, the node value will be used
- id String
- The generated ID of this resource
- node String
- controlplane node to retrieve the kubeconfig from
- selector String
- The CEL expression to filter the disks. If not set, all disks will be returned. See CEL documentation.
- timeouts Property Map
Supporting Types
GetDisksClientConfiguration
- Ca
Certificate string - The client CA certificate
- Client
Certificate string - The client certificate
- Client
Key string - The client key
- Ca
Certificate string - The client CA certificate
- Client
Certificate string - The client certificate
- Client
Key string - The client key
- ca
Certificate String - The client CA certificate
- client
Certificate String - The client certificate
- client
Key String - The client key
- ca
Certificate string - The client CA certificate
- client
Certificate string - The client certificate
- client
Key string - The client key
- ca_
certificate str - The client CA certificate
- client_
certificate str - The client certificate
- client_
key str - The client key
- ca
Certificate String - The client CA certificate
- client
Certificate String - The client certificate
- client
Key String - The client key
GetDisksDisk
- Bus
Path string - Cdrom bool
- Dev
Path string - Io
Size int - Modalias string
- Model string
- Pretty
Size string - Readonly bool
- Rotational bool
- Secondary
Disks List<string> - Sector
Size int - Serial string
- Size int
- Sub
System string - Symlinks List<string>
- Transport string
- Uuid string
- Wwid string
- Bus
Path string - Cdrom bool
- Dev
Path string - Io
Size int - Modalias string
- Model string
- Pretty
Size string - Readonly bool
- Rotational bool
- Secondary
Disks []string - Sector
Size int - Serial string
- Size int
- Sub
System string - Symlinks []string
- Transport string
- Uuid string
- Wwid string
- bus
Path String - cdrom Boolean
- dev
Path String - io
Size Integer - modalias String
- model String
- pretty
Size String - readonly Boolean
- rotational Boolean
- secondary
Disks List<String> - sector
Size Integer - serial String
- size Integer
- sub
System String - symlinks List<String>
- transport String
- uuid String
- wwid String
- bus
Path string - cdrom boolean
- dev
Path string - io
Size number - modalias string
- model string
- pretty
Size string - readonly boolean
- rotational boolean
- secondary
Disks string[] - sector
Size number - serial string
- size number
- sub
System string - symlinks string[]
- transport string
- uuid string
- wwid string
- bus_
path str - cdrom bool
- dev_
path str - io_
size int - modalias str
- model str
- pretty_
size str - readonly bool
- rotational bool
- secondary_
disks Sequence[str] - sector_
size int - serial str
- size int
- sub_
system str - symlinks Sequence[str]
- transport str
- uuid str
- wwid str
- bus
Path String - cdrom Boolean
- dev
Path String - io
Size Number - modalias String
- model String
- pretty
Size String - readonly Boolean
- rotational Boolean
- secondary
Disks List<String> - sector
Size Number - serial String
- size Number
- sub
System String - symlinks List<String>
- transport String
- uuid String
- wwid String
GetDisksTimeouts
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- read str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
Package Details
- Repository
- talos pulumiverse/pulumi-talos
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
talosTerraform Provider.
