1. Packages
  2. Talos Linux
  3. API Docs
  4. imageFactory
  5. getOverlaysVersions
talos v0.4.1 published on Tuesday, Nov 5, 2024 by Pulumiverse

talos.imageFactory.getOverlaysVersions

Explore with Pulumi AI

talos logo
talos v0.4.1 published on Tuesday, Nov 5, 2024 by Pulumiverse

    The image factory overlays versions data source provides a list of available overlays for a specific talos version from the image factory.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as talos from "@pulumi/talos";
    
    const this = talos.imageFactory.getOverlaysVersions({
        talosVersion: "v1.7.5",
        filters: {
            name: "rock4cplus",
        },
    });
    
    import pulumi
    import pulumi_talos as talos
    
    this = talos.imageFactory.get_overlays_versions(talos_version="v1.7.5",
        filters={
            "name": "rock4cplus",
        })
    
    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 {
    		_, err := imageFactory.GetOverlaysVersions(ctx, &imagefactory.GetOverlaysVersionsArgs{
    			TalosVersion: "v1.7.5",
    			Filters: imagefactory.GetOverlaysVersionsFilters{
    				Name: pulumi.StringRef("rock4cplus"),
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Talos = Pulumi.Talos;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = Talos.ImageFactory.GetOverlaysVersions.Invoke(new()
        {
            TalosVersion = "v1.7.5",
            Filters = new Talos.ImageFactory.Inputs.GetOverlaysVersionsFiltersInputArgs
            {
                Name = "rock4cplus",
            },
        });
    
    });
    
    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.GetOverlaysVersionsArgs;
    import com.pulumi.talos.imageFactory.inputs.GetOverlaysVersionsFiltersArgs;
    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.getOverlaysVersions(GetOverlaysVersionsArgs.builder()
                .talosVersion("v1.7.5")
                .filters(GetOverlaysVersionsFiltersArgs.builder()
                    .name("rock4cplus")
                    .build())
                .build());
    
        }
    }
    
    variables:
      this:
        fn::invoke:
          Function: talos:imageFactory:getOverlaysVersions
          Arguments:
            talosVersion: v1.7.5
            filters:
              name: rock4cplus
    

    Using getOverlaysVersions

    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 getOverlaysVersions(args: GetOverlaysVersionsArgs, opts?: InvokeOptions): Promise<GetOverlaysVersionsResult>
    function getOverlaysVersionsOutput(args: GetOverlaysVersionsOutputArgs, opts?: InvokeOptions): Output<GetOverlaysVersionsResult>
    def get_overlays_versions(filters: Optional[_imagefactory.GetOverlaysVersionsFilters] = None,
                              talos_version: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetOverlaysVersionsResult
    def get_overlays_versions_output(filters: Optional[pulumi.Input[_imagefactory.GetOverlaysVersionsFiltersArgs]] = None,
                              talos_version: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetOverlaysVersionsResult]
    func GetOverlaysVersions(ctx *Context, args *GetOverlaysVersionsArgs, opts ...InvokeOption) (*GetOverlaysVersionsResult, error)
    func GetOverlaysVersionsOutput(ctx *Context, args *GetOverlaysVersionsOutputArgs, opts ...InvokeOption) GetOverlaysVersionsResultOutput

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

    public static class GetOverlaysVersions 
    {
        public static Task<GetOverlaysVersionsResult> InvokeAsync(GetOverlaysVersionsArgs args, InvokeOptions? opts = null)
        public static Output<GetOverlaysVersionsResult> Invoke(GetOverlaysVersionsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOverlaysVersionsResult> getOverlaysVersions(GetOverlaysVersionsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: talos:imageFactory/getOverlaysVersions:getOverlaysVersions
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TalosVersion string
    The talos version to get overlays for.
    Filters Pulumiverse.Talos.ImageFactory.Inputs.GetOverlaysVersionsFilters
    The filter to apply to the overlays list.
    TalosVersion string
    The talos version to get overlays for.
    Filters GetOverlaysVersionsFilters
    The filter to apply to the overlays list.
    talosVersion String
    The talos version to get overlays for.
    filters GetOverlaysVersionsFilters
    The filter to apply to the overlays list.
    talosVersion string
    The talos version to get overlays for.
    filters GetOverlaysVersionsFilters
    The filter to apply to the overlays list.
    talos_version str
    The talos version to get overlays for.
    filters imagefactory.GetOverlaysVersionsFilters
    The filter to apply to the overlays list.
    talosVersion String
    The talos version to get overlays for.
    filters Property Map
    The filter to apply to the overlays list.

    getOverlaysVersions Result

    The following output properties are available:

    Id string
    The ID of this resource.
    OverlaysInfos List<Pulumiverse.Talos.ImageFactory.Outputs.GetOverlaysVersionsOverlaysInfo>
    The list of available extensions for the specified talos version.
    TalosVersion string
    The talos version to get overlays for.
    Filters Pulumiverse.Talos.ImageFactory.Outputs.GetOverlaysVersionsFilters
    The filter to apply to the overlays list.
    Id string
    The ID of this resource.
    OverlaysInfos []GetOverlaysVersionsOverlaysInfo
    The list of available extensions for the specified talos version.
    TalosVersion string
    The talos version to get overlays for.
    Filters GetOverlaysVersionsFilters
    The filter to apply to the overlays list.
    id String
    The ID of this resource.
    overlaysInfos List<GetOverlaysVersionsOverlaysInfo>
    The list of available extensions for the specified talos version.
    talosVersion String
    The talos version to get overlays for.
    filters GetOverlaysVersionsFilters
    The filter to apply to the overlays list.
    id string
    The ID of this resource.
    overlaysInfos GetOverlaysVersionsOverlaysInfo[]
    The list of available extensions for the specified talos version.
    talosVersion string
    The talos version to get overlays for.
    filters GetOverlaysVersionsFilters
    The filter to apply to the overlays list.
    id str
    The ID of this resource.
    overlays_infos Sequence[imagefactory.GetOverlaysVersionsOverlaysInfo]
    The list of available extensions for the specified talos version.
    talos_version str
    The talos version to get overlays for.
    filters imagefactory.GetOverlaysVersionsFilters
    The filter to apply to the overlays list.
    id String
    The ID of this resource.
    overlaysInfos List<Property Map>
    The list of available extensions for the specified talos version.
    talosVersion String
    The talos version to get overlays for.
    filters Property Map
    The filter to apply to the overlays list.

    Supporting Types

    GetOverlaysVersionsFilters

    Name string
    The name of the overlay to filter by.
    Name string
    The name of the overlay to filter by.
    name String
    The name of the overlay to filter by.
    name string
    The name of the overlay to filter by.
    name str
    The name of the overlay to filter by.
    name String
    The name of the overlay to filter by.

    GetOverlaysVersionsOverlaysInfo

    Digest string
    Image string
    Name string
    Ref string
    Digest string
    Image string
    Name string
    Ref string
    digest String
    image String
    name String
    ref String
    digest string
    image string
    name string
    ref string
    digest str
    image str
    name str
    ref str
    digest String
    image String
    name String
    ref String

    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.4.1 published on Tuesday, Nov 5, 2024 by Pulumiverse