ovh.Me.getIpxeScripts

Explore with Pulumi AI

Use this data source to retrieve a list of the names of the account’s IPXE Scripts.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;

return await Deployment.RunAsync(() => 
{
    var scripts = Ovh.Me.GetIpxeScripts.Invoke();

});
package main

import (
	"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/Me"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Me.GetIpxeScripts(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.Me.MeFunctions;
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 scripts = MeFunctions.getIpxeScripts();

    }
}
import pulumi
import pulumi_ovh as ovh

scripts = ovh.Me.get_ipxe_scripts()
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";

const scripts = ovh.Me.getIpxeScripts({});
variables:
  scripts:
    fn::invoke:
      Function: ovh:Me:getIpxeScripts
      Arguments: {}

Using getIpxeScripts

function getIpxeScripts(opts?: InvokeOptions): Promise<GetIpxeScriptsResult>
def get_ipxe_scripts(opts: Optional[InvokeOptions] = None) -> GetIpxeScriptsResult
func GetIpxeScripts(ctx *Context, opts ...InvokeOption) (*GetIpxeScriptsResult, error)

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

public static class GetIpxeScripts 
{
    public static Task<GetIpxeScriptsResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetIpxeScriptsResult> getIpxeScripts(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: ovh:Me/getIpxeScripts:getIpxeScripts
  arguments:
    # arguments dictionary

getIpxeScripts Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Results List<string>

The list of the names of all the IPXE Scripts.

Id string

The provider-assigned unique ID for this managed resource.

Results []string

The list of the names of all the IPXE Scripts.

id String

The provider-assigned unique ID for this managed resource.

results List<String>

The list of the names of all the IPXE Scripts.

id string

The provider-assigned unique ID for this managed resource.

results string[]

The list of the names of all the IPXE Scripts.

id str

The provider-assigned unique ID for this managed resource.

results Sequence[str]

The list of the names of all the IPXE Scripts.

id String

The provider-assigned unique ID for this managed resource.

results List<String>

The list of the names of all the IPXE Scripts.

Package Details

Repository
ovh lbrlabs/pulumi-ovh
License
Apache-2.0
Notes

This Pulumi package is based on the ovh Terraform Provider.