talos v0.5.2 published on Thursday, Jan 23, 2025 by Pulumiverse
talos.imageFactory.getOverlaysVersions
Explore with Pulumi AI
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)
public static Output<GetOverlaysVersionsResult> getOverlaysVersions(GetOverlaysVersionsArgs args, InvokeOptions options)
fn::invoke:
  function: talos:imageFactory/getOverlaysVersions:getOverlaysVersions
  arguments:
    # arguments dictionaryThe following arguments are supported:
- TalosVersion string
- The talos version to get overlays for.
- Filters
Pulumiverse.Talos. Image Factory. Inputs. Get Overlays Versions Filters 
- The filter to apply to the overlays list.
- TalosVersion string
- The talos version to get overlays for.
- Filters
GetOverlays Versions Filters 
- The filter to apply to the overlays list.
- talosVersion String
- The talos version to get overlays for.
- filters
GetOverlays Versions Filters 
- The filter to apply to the overlays list.
- talosVersion string
- The talos version to get overlays for.
- filters
GetOverlays Versions Filters 
- The filter to apply to the overlays list.
- talos_version str
- The talos version to get overlays for.
- filters
imagefactory.Get Overlays Versions Filters 
- 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. Image Factory. Outputs. Get Overlays Versions Overlays Info> 
- The list of available extensions for the specified talos version.
- TalosVersion string
- The talos version to get overlays for.
- Filters
Pulumiverse.Talos. Image Factory. Outputs. Get Overlays Versions Filters 
- The filter to apply to the overlays list.
- Id string
- The ID of this resource.
- OverlaysInfos []GetOverlays Versions Overlays Info 
- The list of available extensions for the specified talos version.
- TalosVersion string
- The talos version to get overlays for.
- Filters
GetOverlays Versions Filters 
- The filter to apply to the overlays list.
- id String
- The ID of this resource.
- overlaysInfos List<GetOverlays Versions Overlays Info> 
- The list of available extensions for the specified talos version.
- talosVersion String
- The talos version to get overlays for.
- filters
GetOverlays Versions Filters 
- The filter to apply to the overlays list.
- id string
- The ID of this resource.
- overlaysInfos GetOverlays Versions Overlays Info[] 
- The list of available extensions for the specified talos version.
- talosVersion string
- The talos version to get overlays for.
- filters
GetOverlays Versions Filters 
- The filter to apply to the overlays list.
- id str
- The ID of this resource.
- overlays_infos Sequence[imagefactory.Get Overlays Versions Overlays Info] 
- The list of available extensions for the specified talos version.
- talos_version str
- The talos version to get overlays for.
- filters
imagefactory.Get Overlays Versions Filters 
- 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    
Package Details
- Repository
- talos pulumiverse/pulumi-talos
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the talosTerraform Provider.
