openwrt 0.0.20 published on Friday, Mar 7, 2025 by joneshf
openwrt.getSystemSystem
openwrt 0.0.20 published on Friday, Mar 7, 2025 by joneshf
Provides system data about an OpenWrt device
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as openwrt from "@pulumi/openwrt";
const this = openwrt.getSystemSystem({
id: "cfg01e48a",
});
import pulumi
import pulumi_openwrt as openwrt
this = openwrt.get_system_system(id="cfg01e48a")
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.LookupSystemSystem(ctx, &openwrt.LookupSystemSystemArgs{
Id: "cfg01e48a",
}, 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.GetSystemSystem.Invoke(new()
{
Id = "cfg01e48a",
});
});
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.GetSystemSystemArgs;
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.getSystemSystem(GetSystemSystemArgs.builder()
.id("cfg01e48a")
.build());
}
}
variables:
this:
fn::invoke:
function: openwrt:getSystemSystem
arguments:
id: cfg01e48a
Using getSystemSystem
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 getSystemSystem(args: GetSystemSystemArgs, opts?: InvokeOptions): Promise<GetSystemSystemResult>
function getSystemSystemOutput(args: GetSystemSystemOutputArgs, opts?: InvokeOptions): Output<GetSystemSystemResult>def get_system_system(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSystemSystemResult
def get_system_system_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSystemSystemResult]func LookupSystemSystem(ctx *Context, args *LookupSystemSystemArgs, opts ...InvokeOption) (*LookupSystemSystemResult, error)
func LookupSystemSystemOutput(ctx *Context, args *LookupSystemSystemOutputArgs, opts ...InvokeOption) LookupSystemSystemResultOutput> Note: This function is named LookupSystemSystem in the Go SDK.
public static class GetSystemSystem
{
public static Task<GetSystemSystemResult> InvokeAsync(GetSystemSystemArgs args, InvokeOptions? opts = null)
public static Output<GetSystemSystemResult> Invoke(GetSystemSystemInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSystemSystemResult> getSystemSystem(GetSystemSystemArgs args, InvokeOptions options)
public static Output<GetSystemSystemResult> getSystemSystem(GetSystemSystemArgs args, InvokeOptions options)
fn::invoke:
function: openwrt:index/getSystemSystem:getSystemSystem
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.
getSystemSystem Result
The following output properties are available:
- Conloglevel double
- The maximum log level for kernel messages to be logged to the console.
- Cronloglevel double
- The minimum level for cron messages to be logged to syslog.
- Description string
- The hostname for the system.
- Hostname string
- A short single-line description for the system.
- Id string
- Name of the section. This name is only used when interacting with UCI directly.
- Log
Size double - Size of the file based log buffer in KiB.
- Notes string
- Multi-line free-form text about the system.
- Timezone string
- The POSIX.1 time zone string. This has no corresponding value in LuCI. See: https://github.com/openwrt/luci/blob/cd82ccacef78d3bb8b8af6b87dabb9e892e2b2aa/modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua.
- Ttylogin bool
- Require authentication for local users to log in the system.
- Zonename string
- The IANA/Olson time zone string. This corresponds to "Timezone" in LuCI. See: https://github.com/openwrt/luci/blob/cd82ccacef78d3bb8b8af6b87dabb9e892e2b2aa/modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua.
- Conloglevel float64
- The maximum log level for kernel messages to be logged to the console.
- Cronloglevel float64
- The minimum level for cron messages to be logged to syslog.
- Description string
- The hostname for the system.
- Hostname string
- A short single-line description for the system.
- Id string
- Name of the section. This name is only used when interacting with UCI directly.
- Log
Size float64 - Size of the file based log buffer in KiB.
- Notes string
- Multi-line free-form text about the system.
- Timezone string
- The POSIX.1 time zone string. This has no corresponding value in LuCI. See: https://github.com/openwrt/luci/blob/cd82ccacef78d3bb8b8af6b87dabb9e892e2b2aa/modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua.
- Ttylogin bool
- Require authentication for local users to log in the system.
- Zonename string
- The IANA/Olson time zone string. This corresponds to "Timezone" in LuCI. See: https://github.com/openwrt/luci/blob/cd82ccacef78d3bb8b8af6b87dabb9e892e2b2aa/modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua.
- conloglevel Double
- The maximum log level for kernel messages to be logged to the console.
- cronloglevel Double
- The minimum level for cron messages to be logged to syslog.
- description String
- The hostname for the system.
- hostname String
- A short single-line description for the system.
- id String
- Name of the section. This name is only used when interacting with UCI directly.
- log
Size Double - Size of the file based log buffer in KiB.
- notes String
- Multi-line free-form text about the system.
- timezone String
- The POSIX.1 time zone string. This has no corresponding value in LuCI. See: https://github.com/openwrt/luci/blob/cd82ccacef78d3bb8b8af6b87dabb9e892e2b2aa/modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua.
- ttylogin Boolean
- Require authentication for local users to log in the system.
- zonename String
- The IANA/Olson time zone string. This corresponds to "Timezone" in LuCI. See: https://github.com/openwrt/luci/blob/cd82ccacef78d3bb8b8af6b87dabb9e892e2b2aa/modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua.
- conloglevel number
- The maximum log level for kernel messages to be logged to the console.
- cronloglevel number
- The minimum level for cron messages to be logged to syslog.
- description string
- The hostname for the system.
- hostname string
- A short single-line description for the system.
- id string
- Name of the section. This name is only used when interacting with UCI directly.
- log
Size number - Size of the file based log buffer in KiB.
- notes string
- Multi-line free-form text about the system.
- timezone string
- The POSIX.1 time zone string. This has no corresponding value in LuCI. See: https://github.com/openwrt/luci/blob/cd82ccacef78d3bb8b8af6b87dabb9e892e2b2aa/modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua.
- ttylogin boolean
- Require authentication for local users to log in the system.
- zonename string
- The IANA/Olson time zone string. This corresponds to "Timezone" in LuCI. See: https://github.com/openwrt/luci/blob/cd82ccacef78d3bb8b8af6b87dabb9e892e2b2aa/modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua.
- conloglevel float
- The maximum log level for kernel messages to be logged to the console.
- cronloglevel float
- The minimum level for cron messages to be logged to syslog.
- description str
- The hostname for the system.
- hostname str
- A short single-line description for the system.
- id str
- Name of the section. This name is only used when interacting with UCI directly.
- log_
size float - Size of the file based log buffer in KiB.
- notes str
- Multi-line free-form text about the system.
- timezone str
- The POSIX.1 time zone string. This has no corresponding value in LuCI. See: https://github.com/openwrt/luci/blob/cd82ccacef78d3bb8b8af6b87dabb9e892e2b2aa/modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua.
- ttylogin bool
- Require authentication for local users to log in the system.
- zonename str
- The IANA/Olson time zone string. This corresponds to "Timezone" in LuCI. See: https://github.com/openwrt/luci/blob/cd82ccacef78d3bb8b8af6b87dabb9e892e2b2aa/modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua.
- conloglevel Number
- The maximum log level for kernel messages to be logged to the console.
- cronloglevel Number
- The minimum level for cron messages to be logged to syslog.
- description String
- The hostname for the system.
- hostname String
- A short single-line description for the system.
- id String
- Name of the section. This name is only used when interacting with UCI directly.
- log
Size Number - Size of the file based log buffer in KiB.
- notes String
- Multi-line free-form text about the system.
- timezone String
- The POSIX.1 time zone string. This has no corresponding value in LuCI. See: https://github.com/openwrt/luci/blob/cd82ccacef78d3bb8b8af6b87dabb9e892e2b2aa/modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua.
- ttylogin Boolean
- Require authentication for local users to log in the system.
- zonename String
- The IANA/Olson time zone string. This corresponds to "Timezone" in LuCI. See: https://github.com/openwrt/luci/blob/cd82ccacef78d3bb8b8af6b87dabb9e892e2b2aa/modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua.
Package Details
- Repository
- openwrt joneshf/terraform-provider-openwrt
- License
- Notes
- This Pulumi package is based on the
openwrtTerraform Provider.
openwrt 0.0.20 published on Friday, Mar 7, 2025 by joneshf
