routeros 1.83.0 published on Wednesday, Apr 16, 2025 by terraform-routeros
routeros.getSystemResource
Explore with Pulumi AI
routeros 1.83.0 published on Wednesday, Apr 16, 2025 by terraform-routeros
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";
const data = routeros.getSystemResource({});
import pulumi
import pulumi_routeros as routeros
data = routeros.get_system_resource()
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/routeros/routeros"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := routeros.GetSystemResource(ctx, &routeros.GetSystemResourceArgs{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Routeros = Pulumi.Routeros;
return await Deployment.RunAsync(() => 
{
    var data = Routeros.GetSystemResource.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.RouterosFunctions;
import com.pulumi.routeros.inputs.GetSystemResourceArgs;
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 data = RouterosFunctions.getSystemResource();
    }
}
variables:
  data:
    fn::invoke:
      function: routeros:getSystemResource
      arguments: {}
Using getSystemResource
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 getSystemResource(args: GetSystemResourceArgs, opts?: InvokeOptions): Promise<GetSystemResourceResult>
function getSystemResourceOutput(args: GetSystemResourceOutputArgs, opts?: InvokeOptions): Output<GetSystemResourceResult>def get_system_resource(___id_: Optional[float] = None,
                        ___path_: Optional[str] = None,
                        ___skip_: Optional[str] = None,
                        id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetSystemResourceResult
def get_system_resource_output(___id_: Optional[pulumi.Input[float]] = None,
                        ___path_: Optional[pulumi.Input[str]] = None,
                        ___skip_: Optional[pulumi.Input[str]] = None,
                        id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetSystemResourceResult]func GetSystemResource(ctx *Context, args *GetSystemResourceArgs, opts ...InvokeOption) (*GetSystemResourceResult, error)
func GetSystemResourceOutput(ctx *Context, args *GetSystemResourceOutputArgs, opts ...InvokeOption) GetSystemResourceResultOutput> Note: This function is named GetSystemResource in the Go SDK.
public static class GetSystemResource 
{
    public static Task<GetSystemResourceResult> InvokeAsync(GetSystemResourceArgs args, InvokeOptions? opts = null)
    public static Output<GetSystemResourceResult> Invoke(GetSystemResourceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSystemResourceResult> getSystemResource(GetSystemResourceArgs args, InvokeOptions options)
public static Output<GetSystemResourceResult> getSystemResource(GetSystemResourceArgs args, InvokeOptions options)
fn::invoke:
  function: routeros:index/getSystemResource:getSystemResource
  arguments:
    # arguments dictionaryThe following arguments are supported:
getSystemResource Result
The following output properties are available:
- Architecture
Name string - Board
Name string - Build
Time string - Cpu string
 - Cpu
Count double - Factory
Software string - Id string
 - Platform string
 - Total
Hdd doubleSpace  - Total
Memory double - Version string
 - ___
id_ double - ___
path_ string - ___
skip_ string 
- Architecture
Name string - Board
Name string - Build
Time string - Cpu string
 - Cpu
Count float64 - Factory
Software string - Id string
 - Platform string
 - Total
Hdd float64Space  - Total
Memory float64 - Version string
 - ___
id_ float64 - ___
path_ string - ___
skip_ string 
- architecture
Name String - board
Name String - build
Time String - cpu String
 - cpu
Count Double - factory
Software String - id String
 - platform String
 - total
Hdd DoubleSpace  - total
Memory Double - version String
 - ___
id_ Double - ___
path_ String - ___
skip_ String 
- architecture
Name string - board
Name string - build
Time string - cpu string
 - cpu
Count number - factory
Software string - id string
 - platform string
 - total
Hdd numberSpace  - total
Memory number - version string
 - ___
id_ number - ___
path_ string - ___
skip_ string 
- architecture_
name str - board_
name str - build_
time str - cpu str
 - cpu_
count float - factory_
software str - id str
 - platform str
 - total_
hdd_ floatspace  - total_
memory float - version str
 - ___
id_ float - ___
path_ str - ___
skip_ str 
- architecture
Name String - board
Name String - build
Time String - cpu String
 - cpu
Count Number - factory
Software String - id String
 - platform String
 - total
Hdd NumberSpace  - total
Memory Number - version String
 - ___
id_ Number - ___
path_ String - ___
skip_ String 
Package Details
- Repository
 - routeros terraform-routeros/terraform-provider-routeros
 - License
 - Notes
 - This Pulumi package is based on the 
routerosTerraform Provider. 
routeros 1.83.0 published on Wednesday, Apr 16, 2025 by terraform-routeros