routeros 1.83.0 published on Wednesday, Apr 16, 2025 by terraform-routeros
routeros.getInterfaces
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 interfaces = routeros.getInterfaces({});
import pulumi
import pulumi_routeros as routeros
interfaces = routeros.get_interfaces()
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.GetInterfaces(ctx, &routeros.GetInterfacesArgs{}, 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 interfaces = Routeros.GetInterfaces.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.GetInterfacesArgs;
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 interfaces = RouterosFunctions.getInterfaces();
    }
}
variables:
  interfaces:
    fn::invoke:
      function: routeros:getInterfaces
      arguments: {}
Using getInterfaces
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 getInterfaces(args: GetInterfacesArgs, opts?: InvokeOptions): Promise<GetInterfacesResult>
function getInterfacesOutput(args: GetInterfacesOutputArgs, opts?: InvokeOptions): Output<GetInterfacesResult>def get_interfaces(___id_: Optional[float] = None,
                   ___path_: Optional[str] = None,
                   ___skip_: Optional[str] = None,
                   filter: Optional[Mapping[str, str]] = None,
                   id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetInterfacesResult
def get_interfaces_output(___id_: Optional[pulumi.Input[float]] = None,
                   ___path_: Optional[pulumi.Input[str]] = None,
                   ___skip_: Optional[pulumi.Input[str]] = None,
                   filter: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                   id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetInterfacesResult]func GetInterfaces(ctx *Context, args *GetInterfacesArgs, opts ...InvokeOption) (*GetInterfacesResult, error)
func GetInterfacesOutput(ctx *Context, args *GetInterfacesOutputArgs, opts ...InvokeOption) GetInterfacesResultOutput> Note: This function is named GetInterfaces in the Go SDK.
public static class GetInterfaces 
{
    public static Task<GetInterfacesResult> InvokeAsync(GetInterfacesArgs args, InvokeOptions? opts = null)
    public static Output<GetInterfacesResult> Invoke(GetInterfacesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInterfacesResult> getInterfaces(GetInterfacesArgs args, InvokeOptions options)
public static Output<GetInterfacesResult> getInterfaces(GetInterfacesArgs args, InvokeOptions options)
fn::invoke:
  function: routeros:index/getInterfaces:getInterfaces
  arguments:
    # arguments dictionaryThe following arguments are supported:
getInterfaces Result
The following output properties are available:
- Id string
 - The ID of this resource.
 - Interfaces
List<Get
Interfaces Interface>  - Filter Dictionary<string, string>
 - Additional request filtering options.
 - ___
id_ double - ___
path_ string - ___
skip_ string 
- Id string
 - The ID of this resource.
 - Interfaces
[]Get
Interfaces Interface  - Filter map[string]string
 - Additional request filtering options.
 - ___
id_ float64 - ___
path_ string - ___
skip_ string 
- id String
 - The ID of this resource.
 - interfaces
List<Get
Interfaces Interface>  - ___
id_ Double - ___
path_ String - ___
skip_ String - filter Map<String,String>
 - Additional request filtering options.
 
- id string
 - The ID of this resource.
 - interfaces
Get
Interfaces Interface[]  - ___
id_ number - ___
path_ string - ___
skip_ string - filter {[key: string]: string}
 - Additional request filtering options.
 
- id str
 - The ID of this resource.
 - interfaces
Sequence[Get
Interfaces Interface]  - ___
id_ float - ___
path_ str - ___
skip_ str - filter Mapping[str, str]
 - Additional request filtering options.
 
- id String
 - The ID of this resource.
 - interfaces List<Property Map>
 - ___
id_ Number - ___
path_ String - ___
skip_ String - filter Map<String>
 - Additional request filtering options.
 
Supporting Types
GetInterfacesInterface  
- Actual
Mtu double - Comment string
 - Default
Name string - Disabled bool
 - Dynamic bool
 - Id string
 - Inactive bool
 - L2mtu double
 - Last
Link stringDown Time  - Last
Link stringUp Time  - Mac
Address string - Max
L2mtu double - Mtu string
 - Name string
 - Running bool
 - Slave bool
 - Type string
 
- Actual
Mtu float64 - Comment string
 - Default
Name string - Disabled bool
 - Dynamic bool
 - Id string
 - Inactive bool
 - L2mtu float64
 - Last
Link stringDown Time  - Last
Link stringUp Time  - Mac
Address string - Max
L2mtu float64 - Mtu string
 - Name string
 - Running bool
 - Slave bool
 - Type string
 
- actual
Mtu Double - comment String
 - default
Name String - disabled Boolean
 - dynamic Boolean
 - id String
 - inactive Boolean
 - l2mtu Double
 - last
Link StringDown Time  - last
Link StringUp Time  - mac
Address String - max
L2mtu Double - mtu String
 - name String
 - running Boolean
 - slave Boolean
 - type String
 
- actual
Mtu number - comment string
 - default
Name string - disabled boolean
 - dynamic boolean
 - id string
 - inactive boolean
 - l2mtu number
 - last
Link stringDown Time  - last
Link stringUp Time  - mac
Address string - max
L2mtu number - mtu string
 - name string
 - running boolean
 - slave boolean
 - type string
 
- actual_
mtu float - comment str
 - default_
name str - disabled bool
 - dynamic bool
 - id str
 - inactive bool
 - l2mtu float
 - last_
link_ strdown_ time  - last_
link_ strup_ time  - mac_
address str - max_
l2mtu float - mtu str
 - name str
 - running bool
 - slave bool
 - type str
 
- actual
Mtu Number - comment String
 - default
Name String - disabled Boolean
 - dynamic Boolean
 - id String
 - inactive Boolean
 - l2mtu Number
 - last
Link StringDown Time  - last
Link StringUp Time  - mac
Address String - max
L2mtu Number - mtu String
 - name String
 - running Boolean
 - slave Boolean
 - type 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