1. Packages
  2. Talos Linux
  3. API Docs
  4. imageFactory
  5. getUrls
talos v0.6.1 published on Monday, Oct 13, 2025 by Pulumiverse

talos.imageFactory.getUrls

Deploy with Pulumi
talos logo
talos v0.6.1 published on Monday, Oct 13, 2025 by Pulumiverse

    Generates URLs for different assets supported by the Talos image factory.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as talos from "@pulumi/talos";
    
    const this = talos.imageFactory.getUrls({
        talosVersion: "v1.7.5",
        schematicId: "376567988ad370138ad8b2698212367b8edcb69b5fd68c80be1f2ec7d603b4ba",
        platform: "metal",
    });
    export const installerImage = _this.then(_this => _this.urls?.installer);
    
    import pulumi
    import pulumi_talos as talos
    
    this = talos.imageFactory.get_urls(talos_version="v1.7.5",
        schematic_id="376567988ad370138ad8b2698212367b8edcb69b5fd68c80be1f2ec7d603b4ba",
        platform="metal")
    pulumi.export("installerImage", this.urls.installer)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-talos/sdk/go/talos/imagefactory"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		this, err := imagefactory.GetUrls(ctx, &imagefactory.GetUrlsArgs{
    			TalosVersion: "v1.7.5",
    			SchematicId:  "376567988ad370138ad8b2698212367b8edcb69b5fd68c80be1f2ec7d603b4ba",
    			Platform:     pulumi.StringRef("metal"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("installerImage", this.Urls.Installer)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Talos = Pulumi.Talos;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = Talos.ImageFactory.GetUrls.Invoke(new()
        {
            TalosVersion = "v1.7.5",
            SchematicId = "376567988ad370138ad8b2698212367b8edcb69b5fd68c80be1f2ec7d603b4ba",
            Platform = "metal",
        });
    
        return new Dictionary<string, object?>
        {
            ["installerImage"] = @this.Apply(@this => @this.Apply(getUrlsResult => getUrlsResult.Urls?.Installer)),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.talos.imageFactory.ImageFactoryFunctions;
    import com.pulumi.talos.imageFactory.inputs.GetUrlsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var this = ImageFactoryFunctions.getUrls(GetUrlsArgs.builder()
                .talosVersion("v1.7.5")
                .schematicId("376567988ad370138ad8b2698212367b8edcb69b5fd68c80be1f2ec7d603b4ba")
                .platform("metal")
                .build());
    
            ctx.export("installerImage", this_.urls().installer());
        }
    }
    
    variables:
      this:
        fn::invoke:
          function: talos:imageFactory:getUrls
          arguments:
            talosVersion: v1.7.5
            schematicId: 376567988ad370138ad8b2698212367b8edcb69b5fd68c80be1f2ec7d603b4ba
            platform: metal
    outputs:
      installerImage: ${this.urls.installer}
    

    Using getUrls

    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 getUrls(args: GetUrlsArgs, opts?: InvokeOptions): Promise<GetUrlsResult>
    function getUrlsOutput(args: GetUrlsOutputArgs, opts?: InvokeOptions): Output<GetUrlsResult>
    def get_urls(architecture: Optional[str] = None,
                 platform: Optional[str] = None,
                 sbc: Optional[str] = None,
                 schematic_id: Optional[str] = None,
                 talos_version: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetUrlsResult
    def get_urls_output(architecture: Optional[pulumi.Input[str]] = None,
                 platform: Optional[pulumi.Input[str]] = None,
                 sbc: Optional[pulumi.Input[str]] = None,
                 schematic_id: Optional[pulumi.Input[str]] = None,
                 talos_version: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetUrlsResult]
    func GetUrls(ctx *Context, args *GetUrlsArgs, opts ...InvokeOption) (*GetUrlsResult, error)
    func GetUrlsOutput(ctx *Context, args *GetUrlsOutputArgs, opts ...InvokeOption) GetUrlsResultOutput

    > Note: This function is named GetUrls in the Go SDK.

    public static class GetUrls 
    {
        public static Task<GetUrlsResult> InvokeAsync(GetUrlsArgs args, InvokeOptions? opts = null)
        public static Output<GetUrlsResult> Invoke(GetUrlsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUrlsResult> getUrls(GetUrlsArgs args, InvokeOptions options)
    public static Output<GetUrlsResult> getUrls(GetUrlsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: talos:imageFactory/getUrls:getUrls
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SchematicId string
    TalosVersion string
    Architecture string
    Platform string
    Sbc string
    SchematicId string
    TalosVersion string
    Architecture string
    Platform string
    Sbc string
    schematicId String
    talosVersion String
    architecture String
    platform String
    sbc String
    schematicId string
    talosVersion string
    architecture string
    platform string
    sbc string
    schematicId String
    talosVersion String
    architecture String
    platform String
    sbc String

    getUrls Result

    The following output properties are available:

    Architecture string
    Id string
    SchematicId string
    TalosVersion string
    Urls GetUrlsUrls
    Platform string
    Sbc string
    architecture String
    id String
    schematicId String
    talosVersion String
    urls GetUrlsUrls
    platform String
    sbc String
    architecture string
    id string
    schematicId string
    talosVersion string
    urls GetUrlsUrls
    platform string
    sbc string
    architecture String
    id String
    schematicId String
    talosVersion String
    urls Property Map
    platform String
    sbc String

    Supporting Types

    GetUrlsUrls

    DiskImage string
    The URL for the disk image.
    DiskImageSecureboot string
    The URL for the disk image with secure boot.
    Initramfs string
    The URL for the initramfs image.
    Installer string
    The URL for the installer image.
    InstallerSecureboot string
    The URL for the installer image with secure boot.
    Iso string
    The URL for the ISO image.
    IsoSecureboot string
    The URL for the ISO image with secure boot.
    Kernel string
    The URL for the kernel image.
    KernelCommandLine string
    The URL for the kernel command line.
    Pxe string
    The URL for the PXE image.
    Uki string
    The URL for the UKI image.
    DiskImage string
    The URL for the disk image.
    DiskImageSecureboot string
    The URL for the disk image with secure boot.
    Initramfs string
    The URL for the initramfs image.
    Installer string
    The URL for the installer image.
    InstallerSecureboot string
    The URL for the installer image with secure boot.
    Iso string
    The URL for the ISO image.
    IsoSecureboot string
    The URL for the ISO image with secure boot.
    Kernel string
    The URL for the kernel image.
    KernelCommandLine string
    The URL for the kernel command line.
    Pxe string
    The URL for the PXE image.
    Uki string
    The URL for the UKI image.
    diskImage String
    The URL for the disk image.
    diskImageSecureboot String
    The URL for the disk image with secure boot.
    initramfs String
    The URL for the initramfs image.
    installer String
    The URL for the installer image.
    installerSecureboot String
    The URL for the installer image with secure boot.
    iso String
    The URL for the ISO image.
    isoSecureboot String
    The URL for the ISO image with secure boot.
    kernel String
    The URL for the kernel image.
    kernelCommandLine String
    The URL for the kernel command line.
    pxe String
    The URL for the PXE image.
    uki String
    The URL for the UKI image.
    diskImage string
    The URL for the disk image.
    diskImageSecureboot string
    The URL for the disk image with secure boot.
    initramfs string
    The URL for the initramfs image.
    installer string
    The URL for the installer image.
    installerSecureboot string
    The URL for the installer image with secure boot.
    iso string
    The URL for the ISO image.
    isoSecureboot string
    The URL for the ISO image with secure boot.
    kernel string
    The URL for the kernel image.
    kernelCommandLine string
    The URL for the kernel command line.
    pxe string
    The URL for the PXE image.
    uki string
    The URL for the UKI image.
    disk_image str
    The URL for the disk image.
    disk_image_secureboot str
    The URL for the disk image with secure boot.
    initramfs str
    The URL for the initramfs image.
    installer str
    The URL for the installer image.
    installer_secureboot str
    The URL for the installer image with secure boot.
    iso str
    The URL for the ISO image.
    iso_secureboot str
    The URL for the ISO image with secure boot.
    kernel str
    The URL for the kernel image.
    kernel_command_line str
    The URL for the kernel command line.
    pxe str
    The URL for the PXE image.
    uki str
    The URL for the UKI image.
    diskImage String
    The URL for the disk image.
    diskImageSecureboot String
    The URL for the disk image with secure boot.
    initramfs String
    The URL for the initramfs image.
    installer String
    The URL for the installer image.
    installerSecureboot String
    The URL for the installer image with secure boot.
    iso String
    The URL for the ISO image.
    isoSecureboot String
    The URL for the ISO image with secure boot.
    kernel String
    The URL for the kernel image.
    kernelCommandLine String
    The URL for the kernel command line.
    pxe String
    The URL for the PXE image.
    uki String
    The URL for the UKI image.

    Package Details

    Repository
    talos pulumiverse/pulumi-talos
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the talos Terraform Provider.
    talos logo
    talos v0.6.1 published on Monday, Oct 13, 2025 by Pulumiverse
      Meet Neo: Your AI Platform Teammate