Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg
nutanix.getFoundationNosPackages
Explore with Pulumi AI
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg
Describes a list of nos (aos) packages present in foundation vm
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pulumi/nutanix";
const nosPackages = nutanix.getFoundationNosPackages({});
import pulumi
import pulumi_nutanix as nutanix
nos_packages = nutanix.get_foundation_nos_packages()
package main
import (
"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := nutanix.GetFoundationNosPackages(ctx, nil, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = Pulumi.Nutanix;
return await Deployment.RunAsync(() =>
{
var nosPackages = Nutanix.GetFoundationNosPackages.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.NutanixFunctions;
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 nosPackages = NutanixFunctions.getFoundationNosPackages();
}
}
variables:
nosPackages:
fn::invoke:
Function: nutanix:getFoundationNosPackages
Arguments: {}
Note
- This data source only lists .tar file names.
See detailed information in Nutanix Foundation Nos Packages.
Using getFoundationNosPackages
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 getFoundationNosPackages(opts?: InvokeOptions): Promise<GetFoundationNosPackagesResult>
function getFoundationNosPackagesOutput(opts?: InvokeOptions): Output<GetFoundationNosPackagesResult>
def get_foundation_nos_packages(opts: Optional[InvokeOptions] = None) -> GetFoundationNosPackagesResult
def get_foundation_nos_packages_output(opts: Optional[InvokeOptions] = None) -> Output[GetFoundationNosPackagesResult]
func GetFoundationNosPackages(ctx *Context, opts ...InvokeOption) (*GetFoundationNosPackagesResult, error)
func GetFoundationNosPackagesOutput(ctx *Context, opts ...InvokeOption) GetFoundationNosPackagesResultOutput
> Note: This function is named GetFoundationNosPackages
in the Go SDK.
public static class GetFoundationNosPackages
{
public static Task<GetFoundationNosPackagesResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetFoundationNosPackagesResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetFoundationNosPackagesResult> getFoundationNosPackages(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: nutanix:index/getFoundationNosPackages:getFoundationNosPackages
arguments:
# arguments dictionary
getFoundationNosPackages Result
The following output properties are available:
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg