Viewing docs for openwrt 0.0.20
published on Friday, Mar 7, 2025 by joneshf
published on Friday, Mar 7, 2025 by joneshf
Viewing docs for openwrt 0.0.20
published on Friday, Mar 7, 2025 by joneshf
published on Friday, Mar 7, 2025 by joneshf
Contains interface-independent options affecting the network configuration in general.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as openwrt from "@pulumi/openwrt";
const this = openwrt.getNetworkGlobals({
id: "globals",
});
import pulumi
import pulumi_openwrt as openwrt
this = openwrt.get_network_globals(id="globals")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/openwrt/openwrt"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := openwrt.LookupNetworkGlobals(ctx, &openwrt.LookupNetworkGlobalsArgs{
Id: "globals",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Openwrt = Pulumi.Openwrt;
return await Deployment.RunAsync(() =>
{
var @this = Openwrt.GetNetworkGlobals.Invoke(new()
{
Id = "globals",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.openwrt.OpenwrtFunctions;
import com.pulumi.openwrt.inputs.GetNetworkGlobalsArgs;
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 = OpenwrtFunctions.getNetworkGlobals(GetNetworkGlobalsArgs.builder()
.id("globals")
.build());
}
}
variables:
this:
fn::invoke:
function: openwrt:getNetworkGlobals
arguments:
id: globals
Using getNetworkGlobals
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 getNetworkGlobals(args: GetNetworkGlobalsArgs, opts?: InvokeOptions): Promise<GetNetworkGlobalsResult>
function getNetworkGlobalsOutput(args: GetNetworkGlobalsOutputArgs, opts?: InvokeOptions): Output<GetNetworkGlobalsResult>def get_network_globals(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworkGlobalsResult
def get_network_globals_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetworkGlobalsResult]func LookupNetworkGlobals(ctx *Context, args *LookupNetworkGlobalsArgs, opts ...InvokeOption) (*LookupNetworkGlobalsResult, error)
func LookupNetworkGlobalsOutput(ctx *Context, args *LookupNetworkGlobalsOutputArgs, opts ...InvokeOption) LookupNetworkGlobalsResultOutput> Note: This function is named LookupNetworkGlobals in the Go SDK.
public static class GetNetworkGlobals
{
public static Task<GetNetworkGlobalsResult> InvokeAsync(GetNetworkGlobalsArgs args, InvokeOptions? opts = null)
public static Output<GetNetworkGlobalsResult> Invoke(GetNetworkGlobalsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetworkGlobalsResult> getNetworkGlobals(GetNetworkGlobalsArgs args, InvokeOptions options)
public static Output<GetNetworkGlobalsResult> getNetworkGlobals(GetNetworkGlobalsArgs args, InvokeOptions options)
fn::invoke:
function: openwrt:index/getNetworkGlobals:getNetworkGlobals
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Name of the section. This name is only used when interacting with UCI directly.
- Id string
- Name of the section. This name is only used when interacting with UCI directly.
- id String
- Name of the section. This name is only used when interacting with UCI directly.
- id string
- Name of the section. This name is only used when interacting with UCI directly.
- id str
- Name of the section. This name is only used when interacting with UCI directly.
- id String
- Name of the section. This name is only used when interacting with UCI directly.
getNetworkGlobals Result
The following output properties are available:
- Id string
- Name of the section. This name is only used when interacting with UCI directly.
- Packet
Steering bool - Use every CPU to handle packet traffic.
- Ula
Prefix string - IPv6 ULA prefix for this device.
- Id string
- Name of the section. This name is only used when interacting with UCI directly.
- Packet
Steering bool - Use every CPU to handle packet traffic.
- Ula
Prefix string - IPv6 ULA prefix for this device.
- id String
- Name of the section. This name is only used when interacting with UCI directly.
- packet
Steering Boolean - Use every CPU to handle packet traffic.
- ula
Prefix String - IPv6 ULA prefix for this device.
- id string
- Name of the section. This name is only used when interacting with UCI directly.
- packet
Steering boolean - Use every CPU to handle packet traffic.
- ula
Prefix string - IPv6 ULA prefix for this device.
- id str
- Name of the section. This name is only used when interacting with UCI directly.
- packet_
steering bool - Use every CPU to handle packet traffic.
- ula_
prefix str - IPv6 ULA prefix for this device.
- id String
- Name of the section. This name is only used when interacting with UCI directly.
- packet
Steering Boolean - Use every CPU to handle packet traffic.
- ula
Prefix String - IPv6 ULA prefix for this device.
Package Details
- Repository
- openwrt joneshf/terraform-provider-openwrt
- License
- Notes
- This Pulumi package is based on the
openwrtTerraform Provider.
Viewing docs for openwrt 0.0.20
published on Friday, Mar 7, 2025 by joneshf
published on Friday, Mar 7, 2025 by joneshf
