getIpxeScript

Use this data source to retrieve information about an IPXE Script.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var script = Ovh.Me.GetIpxeScript.Invoke(new()
    {
        Name = "myscript",
    });

});
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.GetIpxeScript(ctx, &me.GetIpxeScriptArgs{
			Name: "myscript",
		}, 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 com.pulumi.ovh.Me.inputs.GetIpxeScriptArgs;
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 script = MeFunctions.getIpxeScript(GetIpxeScriptArgs.builder()
            .name("myscript")
            .build());

    }
}
import pulumi
import pulumi_ovh as ovh

script = ovh.Me.get_ipxe_script(name="myscript")
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";

const script = pulumi.output(ovh.Me.getIpxeScript({
    name: "myscript",
}));
variables:
  script:
    fn::invoke:
      Function: ovh:Me:getIpxeScript
      Arguments:
        name: myscript

Using getIpxeScript

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 getIpxeScript(args: GetIpxeScriptArgs, opts?: InvokeOptions): Promise<GetIpxeScriptResult>
function getIpxeScriptOutput(args: GetIpxeScriptOutputArgs, opts?: InvokeOptions): Output<GetIpxeScriptResult>
def get_ipxe_script(name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetIpxeScriptResult
def get_ipxe_script_output(name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetIpxeScriptResult]
func GetIpxeScript(ctx *Context, args *GetIpxeScriptArgs, opts ...InvokeOption) (*GetIpxeScriptResult, error)
func GetIpxeScriptOutput(ctx *Context, args *GetIpxeScriptOutputArgs, opts ...InvokeOption) GetIpxeScriptResultOutput

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

public static class GetIpxeScript 
{
    public static Task<GetIpxeScriptResult> InvokeAsync(GetIpxeScriptArgs args, InvokeOptions? opts = null)
    public static Output<GetIpxeScriptResult> Invoke(GetIpxeScriptInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIpxeScriptResult> getIpxeScript(GetIpxeScriptArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: ovh:Me/getIpxeScript:getIpxeScript
  arguments:
    # arguments dictionary

The following arguments are supported:

Name string

The name of the IPXE Script.

Name string

The name of the IPXE Script.

name String

The name of the IPXE Script.

name string

The name of the IPXE Script.

name str

The name of the IPXE Script.

name String

The name of the IPXE Script.

getIpxeScript Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Name string

See Argument Reference above.

Script string

The content of the script.

Id string

The provider-assigned unique ID for this managed resource.

Name string

See Argument Reference above.

Script string

The content of the script.

id String

The provider-assigned unique ID for this managed resource.

name String

See Argument Reference above.

script String

The content of the script.

id string

The provider-assigned unique ID for this managed resource.

name string

See Argument Reference above.

script string

The content of the script.

id str

The provider-assigned unique ID for this managed resource.

name str

See Argument Reference above.

script str

The content of the script.

id String

The provider-assigned unique ID for this managed resource.

name String

See Argument Reference above.

script String

The content of the script.

Package Details

Repository
https://github.com/lbrlabs/pulumi-ovh
License
Apache-2.0
Notes

This Pulumi package is based on the ovh Terraform Provider.