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 dictionary
The 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 This property is required. double - Comment
This property is required. string - Default
Name This property is required. string - Disabled
This property is required. bool - Dynamic
This property is required. bool - Id
This property is required. string - Inactive
This property is required. bool - L2mtu
This property is required. double - Last
Link Down Time This property is required. string - Last
Link Up Time This property is required. string - Mac
Address This property is required. string - Max
L2mtu This property is required. double - Mtu
This property is required. string - Name
This property is required. string - Running
This property is required. bool - Slave
This property is required. bool - Type
This property is required. string
- Actual
Mtu This property is required. float64 - Comment
This property is required. string - Default
Name This property is required. string - Disabled
This property is required. bool - Dynamic
This property is required. bool - Id
This property is required. string - Inactive
This property is required. bool - L2mtu
This property is required. float64 - Last
Link Down Time This property is required. string - Last
Link Up Time This property is required. string - Mac
Address This property is required. string - Max
L2mtu This property is required. float64 - Mtu
This property is required. string - Name
This property is required. string - Running
This property is required. bool - Slave
This property is required. bool - Type
This property is required. string
- actual
Mtu This property is required. Double - comment
This property is required. String - default
Name This property is required. String - disabled
This property is required. Boolean - dynamic
This property is required. Boolean - id
This property is required. String - inactive
This property is required. Boolean - l2mtu
This property is required. Double - last
Link Down Time This property is required. String - last
Link Up Time This property is required. String - mac
Address This property is required. String - max
L2mtu This property is required. Double - mtu
This property is required. String - name
This property is required. String - running
This property is required. Boolean - slave
This property is required. Boolean - type
This property is required. String
- actual
Mtu This property is required. number - comment
This property is required. string - default
Name This property is required. string - disabled
This property is required. boolean - dynamic
This property is required. boolean - id
This property is required. string - inactive
This property is required. boolean - l2mtu
This property is required. number - last
Link Down Time This property is required. string - last
Link Up Time This property is required. string - mac
Address This property is required. string - max
L2mtu This property is required. number - mtu
This property is required. string - name
This property is required. string - running
This property is required. boolean - slave
This property is required. boolean - type
This property is required. string
- actual_
mtu This property is required. float - comment
This property is required. str - default_
name This property is required. str - disabled
This property is required. bool - dynamic
This property is required. bool - id
This property is required. str - inactive
This property is required. bool - l2mtu
This property is required. float - last_
link_ down_ time This property is required. str - last_
link_ up_ time This property is required. str - mac_
address This property is required. str - max_
l2mtu This property is required. float - mtu
This property is required. str - name
This property is required. str - running
This property is required. bool - slave
This property is required. bool - type
This property is required. str
- actual
Mtu This property is required. Number - comment
This property is required. String - default
Name This property is required. String - disabled
This property is required. Boolean - dynamic
This property is required. Boolean - id
This property is required. String - inactive
This property is required. Boolean - l2mtu
This property is required. Number - last
Link Down Time This property is required. String - last
Link Up Time This property is required. String - mac
Address This property is required. String - max
L2mtu This property is required. Number - mtu
This property is required. String - name
This property is required. String - running
This property is required. Boolean - slave
This property is required. Boolean - type
This property is required. String
Package Details
- Repository
- routeros terraform-routeros/terraform-provider-routeros
- License
- Notes
- This Pulumi package is based on the
routeros
Terraform Provider.
routeros 1.83.0 published on Wednesday, Apr 16, 2025 by terraform-routeros