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

talos.imageFactory.getVersions

Explore with Pulumi AI

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

    The image factory versions data source provides a list of available talos versions from the image factory.

    Using getVersions

    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 getVersions(args: GetVersionsArgs, opts?: InvokeOptions): Promise<GetVersionsResult>
    function getVersionsOutput(args: GetVersionsOutputArgs, opts?: InvokeOptions): Output<GetVersionsResult>
    def get_versions(filters: Optional[_imagefactory.GetVersionsFilters] = None,
                     opts: Optional[InvokeOptions] = None) -> GetVersionsResult
    def get_versions_output(filters: Optional[pulumi.Input[_imagefactory.GetVersionsFiltersArgs]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetVersionsResult]
    func GetVersions(ctx *Context, args *GetVersionsArgs, opts ...InvokeOption) (*GetVersionsResult, error)
    func GetVersionsOutput(ctx *Context, args *GetVersionsOutputArgs, opts ...InvokeOption) GetVersionsResultOutput

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

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

    The following arguments are supported:

    Filters Pulumiverse.Talos.ImageFactory.Inputs.GetVersionsFilters
    The filter to apply to the overlays list.
    Filters GetVersionsFilters
    The filter to apply to the overlays list.
    filters GetVersionsFilters
    The filter to apply to the overlays list.
    filters GetVersionsFilters
    The filter to apply to the overlays list.
    filters imagefactory.GetVersionsFilters
    The filter to apply to the overlays list.
    filters Property Map
    The filter to apply to the overlays list.

    getVersions Result

    The following output properties are available:

    Id string
    The ID of this resource.
    TalosVersions List<string>
    The list of available talos versions.
    Filters Pulumiverse.Talos.ImageFactory.Outputs.GetVersionsFilters
    The filter to apply to the overlays list.
    Id string
    The ID of this resource.
    TalosVersions []string
    The list of available talos versions.
    Filters GetVersionsFilters
    The filter to apply to the overlays list.
    id String
    The ID of this resource.
    talosVersions List<String>
    The list of available talos versions.
    filters GetVersionsFilters
    The filter to apply to the overlays list.
    id string
    The ID of this resource.
    talosVersions string[]
    The list of available talos versions.
    filters GetVersionsFilters
    The filter to apply to the overlays list.
    id str
    The ID of this resource.
    talos_versions Sequence[str]
    The list of available talos versions.
    filters imagefactory.GetVersionsFilters
    The filter to apply to the overlays list.
    id String
    The ID of this resource.
    talosVersions List<String>
    The list of available talos versions.
    filters Property Map
    The filter to apply to the overlays list.

    Supporting Types

    GetVersionsFilters

    StableVersionsOnly bool
    If set to true, only stable versions will be returned. If set to false, all versions will be returned.
    StableVersionsOnly bool
    If set to true, only stable versions will be returned. If set to false, all versions will be returned.
    stableVersionsOnly Boolean
    If set to true, only stable versions will be returned. If set to false, all versions will be returned.
    stableVersionsOnly boolean
    If set to true, only stable versions will be returned. If set to false, all versions will be returned.
    stable_versions_only bool
    If set to true, only stable versions will be returned. If set to false, all versions will be returned.
    stableVersionsOnly Boolean
    If set to true, only stable versions will be returned. If set to false, all versions will be returned.

    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