talos v0.4.1 published on Tuesday, Nov 5, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: talos:imageFactory/getOverlaysVersions:getOverlaysVersions
arguments:
# arguments dictionary
The following arguments are supported:
- Talos
Version 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.
- Talos
Version string - The talos version to get overlays for.
- Filters
Get
Overlays Versions Filters - The filter to apply to the overlays list.
- talos
Version String - The talos version to get overlays for.
- filters
Get
Overlays Versions Filters - The filter to apply to the overlays list.
- talos
Version string - The talos version to get overlays for.
- filters
Get
Overlays 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.
- talos
Version 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.
- Overlays
Infos List<Pulumiverse.Talos. Image Factory. Outputs. Get Overlays Versions Overlays Info> - The list of available extensions for the specified talos version.
- Talos
Version 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.
- Overlays
Infos []GetOverlays Versions Overlays Info - The list of available extensions for the specified talos version.
- Talos
Version string - The talos version to get overlays for.
- Filters
Get
Overlays Versions Filters - The filter to apply to the overlays list.
- id String
- The ID of this resource.
- overlays
Infos List<GetOverlays Versions Overlays Info> - The list of available extensions for the specified talos version.
- talos
Version String - The talos version to get overlays for.
- filters
Get
Overlays Versions Filters - The filter to apply to the overlays list.
- id string
- The ID of this resource.
- overlays
Infos GetOverlays Versions Overlays Info[] - The list of available extensions for the specified talos version.
- talos
Version string - The talos version to get overlays for.
- filters
Get
Overlays 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.
- overlays
Infos List<Property Map> - The list of available extensions for the specified talos version.
- talos
Version 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
talos
Terraform Provider.