routeros.CapsmanInterface
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";
const channel1 = new routeros.CapsmanChannel("channel1", {
band: "2ghz-g/n",
frequencies: [2412],
});
const cap1 = new routeros.CapsmanInterface("cap1", {channel: {
config: channel1.name,
}});
import pulumi
import pulumi_routeros as routeros
channel1 = routeros.CapsmanChannel("channel1",
band="2ghz-g/n",
frequencies=[2412])
cap1 = routeros.CapsmanInterface("cap1", channel={
"config": channel1.name,
})
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 {
channel1, err := routeros.NewCapsmanChannel(ctx, "channel1", &routeros.CapsmanChannelArgs{
Band: pulumi.String("2ghz-g/n"),
Frequencies: pulumi.Float64Array{
pulumi.Float64(2412),
},
})
if err != nil {
return err
}
_, err = routeros.NewCapsmanInterface(ctx, "cap1", &routeros.CapsmanInterfaceArgs{
Channel: pulumi.StringMap{
"config": channel1.Name,
},
})
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 channel1 = new Routeros.CapsmanChannel("channel1", new()
{
Band = "2ghz-g/n",
Frequencies = new[]
{
2412,
},
});
var cap1 = new Routeros.CapsmanInterface("cap1", new()
{
Channel =
{
{ "config", channel1.Name },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.CapsmanChannel;
import com.pulumi.routeros.CapsmanChannelArgs;
import com.pulumi.routeros.CapsmanInterface;
import com.pulumi.routeros.CapsmanInterfaceArgs;
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) {
var channel1 = new CapsmanChannel("channel1", CapsmanChannelArgs.builder()
.band("2ghz-g/n")
.frequencies(2412)
.build());
var cap1 = new CapsmanInterface("cap1", CapsmanInterfaceArgs.builder()
.channel(Map.of("config", channel1.name()))
.build());
}
}
resources:
channel1:
type: routeros:CapsmanChannel
properties:
band: 2ghz-g/n
frequencies:
- 2412
cap1:
type: routeros:CapsmanInterface
properties:
channel:
config: ${channel1.name}
Create CapsmanInterface Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CapsmanInterface(name: string, args?: CapsmanInterfaceArgs, opts?: CustomResourceOptions);
@overload
def CapsmanInterface(resource_name: str,
args: Optional[CapsmanInterfaceArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def CapsmanInterface(resource_name: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
___skip_: Optional[str] = None,
___ts_: Optional[str] = None,
arp_timeout: Optional[str] = None,
capsman_interface_id: Optional[str] = None,
channel: Optional[Mapping[str, str]] = None,
comment: Optional[str] = None,
configuration: Optional[Mapping[str, str]] = None,
datapath: Optional[Mapping[str, str]] = None,
disabled: Optional[bool] = None,
mac_address: Optional[str] = None,
master_interface: Optional[str] = None,
name: Optional[str] = None,
radio_mac: Optional[str] = None,
radio_name: Optional[str] = None,
rates: Optional[Mapping[str, str]] = None,
security: Optional[Mapping[str, str]] = None)
func NewCapsmanInterface(ctx *Context, name string, args *CapsmanInterfaceArgs, opts ...ResourceOption) (*CapsmanInterface, error)
public CapsmanInterface(string name, CapsmanInterfaceArgs? args = null, CustomResourceOptions? opts = null)
public CapsmanInterface(String name, CapsmanInterfaceArgs args)
public CapsmanInterface(String name, CapsmanInterfaceArgs args, CustomResourceOptions options)
type: routeros:CapsmanInterface
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CapsmanInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CapsmanInterfaceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CapsmanInterfaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CapsmanInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CapsmanInterfaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CapsmanInterface Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CapsmanInterface resource accepts the following input properties:
- Arp
Timeout string - ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix
ms
,s
,m
,h
,d
for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. - Capsman
Interface stringId - The ID of this resource.
- Channel Dictionary<string, string>
- Channel inline settings.
- Comment string
- Configuration Dictionary<string, string>
- Configuration inline settings.
- Datapath Dictionary<string, string>
- Datapath inline settings.
- Disabled bool
- Mac
Address string - MAC address (BSSID) to use for the interface.
- Master
Interface string - The corresponding master interface of the virtual one.
- Name string
- Name of the interface.
- Radio
Mac string - The MAC address of the associated radio.
- Radio
Name string - Name of the associated radio.
- Rates Dictionary<string, string>
- Rates inline settings.
- Security Dictionary<string, string>
- Security inline settings.
- ___
id_ double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- ___
ts_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- Arp
Timeout string - ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix
ms
,s
,m
,h
,d
for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. - Capsman
Interface stringId - The ID of this resource.
- Channel map[string]string
- Channel inline settings.
- Comment string
- Configuration map[string]string
- Configuration inline settings.
- Datapath map[string]string
- Datapath inline settings.
- Disabled bool
- Mac
Address string - MAC address (BSSID) to use for the interface.
- Master
Interface string - The corresponding master interface of the virtual one.
- Name string
- Name of the interface.
- Radio
Mac string - The MAC address of the associated radio.
- Radio
Name string - Name of the associated radio.
- Rates map[string]string
- Rates inline settings.
- Security map[string]string
- Security inline settings.
- ___
id_ float64 - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- ___
ts_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- ___
id_ Double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- ___
ts_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- arp
Timeout String - ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix
ms
,s
,m
,h
,d
for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. - capsman
Interface StringId - The ID of this resource.
- channel Map<String,String>
- Channel inline settings.
- comment String
- configuration Map<String,String>
- Configuration inline settings.
- datapath Map<String,String>
- Datapath inline settings.
- disabled Boolean
- mac
Address String - MAC address (BSSID) to use for the interface.
- master
Interface String - The corresponding master interface of the virtual one.
- name String
- Name of the interface.
- radio
Mac String - The MAC address of the associated radio.
- radio
Name String - Name of the associated radio.
- rates Map<String,String>
- Rates inline settings.
- security Map<String,String>
- Security inline settings.
- ___
id_ number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- ___
ts_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- arp
Timeout string - ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix
ms
,s
,m
,h
,d
for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. - capsman
Interface stringId - The ID of this resource.
- channel {[key: string]: string}
- Channel inline settings.
- comment string
- configuration {[key: string]: string}
- Configuration inline settings.
- datapath {[key: string]: string}
- Datapath inline settings.
- disabled boolean
- mac
Address string - MAC address (BSSID) to use for the interface.
- master
Interface string - The corresponding master interface of the virtual one.
- name string
- Name of the interface.
- radio
Mac string - The MAC address of the associated radio.
- radio
Name string - Name of the associated radio.
- rates {[key: string]: string}
- Rates inline settings.
- security {[key: string]: string}
- Security inline settings.
- ___
id_ float - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ str - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ str - A set of transformations for field names. This is an internal service field, setting a value is not required.
- ___
ts_ str - A set of transformations for field names. This is an internal service field, setting a value is not required.
- arp_
timeout str - ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix
ms
,s
,m
,h
,d
for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. - capsman_
interface_ strid - The ID of this resource.
- channel Mapping[str, str]
- Channel inline settings.
- comment str
- configuration Mapping[str, str]
- Configuration inline settings.
- datapath Mapping[str, str]
- Datapath inline settings.
- disabled bool
- mac_
address str - MAC address (BSSID) to use for the interface.
- master_
interface str - The corresponding master interface of the virtual one.
- name str
- Name of the interface.
- radio_
mac str - The MAC address of the associated radio.
- radio_
name str - Name of the associated radio.
- rates Mapping[str, str]
- Rates inline settings.
- security Mapping[str, str]
- Security inline settings.
- ___
id_ Number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- ___
ts_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- arp
Timeout String - ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix
ms
,s
,m
,h
,d
for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. - capsman
Interface StringId - The ID of this resource.
- channel Map<String>
- Channel inline settings.
- comment String
- configuration Map<String>
- Configuration inline settings.
- datapath Map<String>
- Datapath inline settings.
- disabled Boolean
- mac
Address String - MAC address (BSSID) to use for the interface.
- master
Interface String - The corresponding master interface of the virtual one.
- name String
- Name of the interface.
- radio
Mac String - The MAC address of the associated radio.
- radio
Name String - Name of the associated radio.
- rates Map<String>
- Rates inline settings.
- security Map<String>
- Security inline settings.
Outputs
All input properties are implicitly available as output properties. Additionally, the CapsmanInterface resource produces the following output properties:
- Bound bool
- A flag whether the interface is currently available for the CAPsMAN.
- Id string
- The provider-assigned unique ID for this managed resource.
- Inactive bool
- A flag whether the interface is currently inactive.
- L2mtu double
- Layer2 Maximum transmission unit. See.
- Master bool
- A flag whether the interface is not a virtual one.
- Running bool
- A flag whether the interface has established a link to another device.
- Bound bool
- A flag whether the interface is currently available for the CAPsMAN.
- Id string
- The provider-assigned unique ID for this managed resource.
- Inactive bool
- A flag whether the interface is currently inactive.
- L2mtu float64
- Layer2 Maximum transmission unit. See.
- Master bool
- A flag whether the interface is not a virtual one.
- Running bool
- A flag whether the interface has established a link to another device.
- bound Boolean
- A flag whether the interface is currently available for the CAPsMAN.
- id String
- The provider-assigned unique ID for this managed resource.
- inactive Boolean
- A flag whether the interface is currently inactive.
- l2mtu Double
- Layer2 Maximum transmission unit. See.
- master Boolean
- A flag whether the interface is not a virtual one.
- running Boolean
- A flag whether the interface has established a link to another device.
- bound boolean
- A flag whether the interface is currently available for the CAPsMAN.
- id string
- The provider-assigned unique ID for this managed resource.
- inactive boolean
- A flag whether the interface is currently inactive.
- l2mtu number
- Layer2 Maximum transmission unit. See.
- master boolean
- A flag whether the interface is not a virtual one.
- running boolean
- A flag whether the interface has established a link to another device.
- bound bool
- A flag whether the interface is currently available for the CAPsMAN.
- id str
- The provider-assigned unique ID for this managed resource.
- inactive bool
- A flag whether the interface is currently inactive.
- l2mtu float
- Layer2 Maximum transmission unit. See.
- master bool
- A flag whether the interface is not a virtual one.
- running bool
- A flag whether the interface has established a link to another device.
- bound Boolean
- A flag whether the interface is currently available for the CAPsMAN.
- id String
- The provider-assigned unique ID for this managed resource.
- inactive Boolean
- A flag whether the interface is currently inactive.
- l2mtu Number
- Layer2 Maximum transmission unit. See.
- master Boolean
- A flag whether the interface is not a virtual one.
- running Boolean
- A flag whether the interface has established a link to another device.
Look up Existing CapsmanInterface Resource
Get an existing CapsmanInterface resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CapsmanInterfaceState, opts?: CustomResourceOptions): CapsmanInterface
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
___skip_: Optional[str] = None,
___ts_: Optional[str] = None,
arp_timeout: Optional[str] = None,
bound: Optional[bool] = None,
capsman_interface_id: Optional[str] = None,
channel: Optional[Mapping[str, str]] = None,
comment: Optional[str] = None,
configuration: Optional[Mapping[str, str]] = None,
datapath: Optional[Mapping[str, str]] = None,
disabled: Optional[bool] = None,
inactive: Optional[bool] = None,
l2mtu: Optional[float] = None,
mac_address: Optional[str] = None,
master: Optional[bool] = None,
master_interface: Optional[str] = None,
name: Optional[str] = None,
radio_mac: Optional[str] = None,
radio_name: Optional[str] = None,
rates: Optional[Mapping[str, str]] = None,
running: Optional[bool] = None,
security: Optional[Mapping[str, str]] = None) -> CapsmanInterface
func GetCapsmanInterface(ctx *Context, name string, id IDInput, state *CapsmanInterfaceState, opts ...ResourceOption) (*CapsmanInterface, error)
public static CapsmanInterface Get(string name, Input<string> id, CapsmanInterfaceState? state, CustomResourceOptions? opts = null)
public static CapsmanInterface get(String name, Output<String> id, CapsmanInterfaceState state, CustomResourceOptions options)
resources: _: type: routeros:CapsmanInterface get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arp
Timeout string - ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix
ms
,s
,m
,h
,d
for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. - Bound bool
- A flag whether the interface is currently available for the CAPsMAN.
- Capsman
Interface stringId - The ID of this resource.
- Channel Dictionary<string, string>
- Channel inline settings.
- Comment string
- Configuration Dictionary<string, string>
- Configuration inline settings.
- Datapath Dictionary<string, string>
- Datapath inline settings.
- Disabled bool
- Inactive bool
- A flag whether the interface is currently inactive.
- L2mtu double
- Layer2 Maximum transmission unit. See.
- Mac
Address string - MAC address (BSSID) to use for the interface.
- Master bool
- A flag whether the interface is not a virtual one.
- Master
Interface string - The corresponding master interface of the virtual one.
- Name string
- Name of the interface.
- Radio
Mac string - The MAC address of the associated radio.
- Radio
Name string - Name of the associated radio.
- Rates Dictionary<string, string>
- Rates inline settings.
- Running bool
- A flag whether the interface has established a link to another device.
- Security Dictionary<string, string>
- Security inline settings.
- ___
id_ double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- ___
ts_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- Arp
Timeout string - ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix
ms
,s
,m
,h
,d
for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. - Bound bool
- A flag whether the interface is currently available for the CAPsMAN.
- Capsman
Interface stringId - The ID of this resource.
- Channel map[string]string
- Channel inline settings.
- Comment string
- Configuration map[string]string
- Configuration inline settings.
- Datapath map[string]string
- Datapath inline settings.
- Disabled bool
- Inactive bool
- A flag whether the interface is currently inactive.
- L2mtu float64
- Layer2 Maximum transmission unit. See.
- Mac
Address string - MAC address (BSSID) to use for the interface.
- Master bool
- A flag whether the interface is not a virtual one.
- Master
Interface string - The corresponding master interface of the virtual one.
- Name string
- Name of the interface.
- Radio
Mac string - The MAC address of the associated radio.
- Radio
Name string - Name of the associated radio.
- Rates map[string]string
- Rates inline settings.
- Running bool
- A flag whether the interface has established a link to another device.
- Security map[string]string
- Security inline settings.
- ___
id_ float64 - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- ___
ts_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- ___
id_ Double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- ___
ts_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- arp
Timeout String - ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix
ms
,s
,m
,h
,d
for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. - bound Boolean
- A flag whether the interface is currently available for the CAPsMAN.
- capsman
Interface StringId - The ID of this resource.
- channel Map<String,String>
- Channel inline settings.
- comment String
- configuration Map<String,String>
- Configuration inline settings.
- datapath Map<String,String>
- Datapath inline settings.
- disabled Boolean
- inactive Boolean
- A flag whether the interface is currently inactive.
- l2mtu Double
- Layer2 Maximum transmission unit. See.
- mac
Address String - MAC address (BSSID) to use for the interface.
- master Boolean
- A flag whether the interface is not a virtual one.
- master
Interface String - The corresponding master interface of the virtual one.
- name String
- Name of the interface.
- radio
Mac String - The MAC address of the associated radio.
- radio
Name String - Name of the associated radio.
- rates Map<String,String>
- Rates inline settings.
- running Boolean
- A flag whether the interface has established a link to another device.
- security Map<String,String>
- Security inline settings.
- ___
id_ number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- ___
ts_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- arp
Timeout string - ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix
ms
,s
,m
,h
,d
for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. - bound boolean
- A flag whether the interface is currently available for the CAPsMAN.
- capsman
Interface stringId - The ID of this resource.
- channel {[key: string]: string}
- Channel inline settings.
- comment string
- configuration {[key: string]: string}
- Configuration inline settings.
- datapath {[key: string]: string}
- Datapath inline settings.
- disabled boolean
- inactive boolean
- A flag whether the interface is currently inactive.
- l2mtu number
- Layer2 Maximum transmission unit. See.
- mac
Address string - MAC address (BSSID) to use for the interface.
- master boolean
- A flag whether the interface is not a virtual one.
- master
Interface string - The corresponding master interface of the virtual one.
- name string
- Name of the interface.
- radio
Mac string - The MAC address of the associated radio.
- radio
Name string - Name of the associated radio.
- rates {[key: string]: string}
- Rates inline settings.
- running boolean
- A flag whether the interface has established a link to another device.
- security {[key: string]: string}
- Security inline settings.
- ___
id_ float - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ str - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ str - A set of transformations for field names. This is an internal service field, setting a value is not required.
- ___
ts_ str - A set of transformations for field names. This is an internal service field, setting a value is not required.
- arp_
timeout str - ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix
ms
,s
,m
,h
,d
for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. - bound bool
- A flag whether the interface is currently available for the CAPsMAN.
- capsman_
interface_ strid - The ID of this resource.
- channel Mapping[str, str]
- Channel inline settings.
- comment str
- configuration Mapping[str, str]
- Configuration inline settings.
- datapath Mapping[str, str]
- Datapath inline settings.
- disabled bool
- inactive bool
- A flag whether the interface is currently inactive.
- l2mtu float
- Layer2 Maximum transmission unit. See.
- mac_
address str - MAC address (BSSID) to use for the interface.
- master bool
- A flag whether the interface is not a virtual one.
- master_
interface str - The corresponding master interface of the virtual one.
- name str
- Name of the interface.
- radio_
mac str - The MAC address of the associated radio.
- radio_
name str - Name of the associated radio.
- rates Mapping[str, str]
- Rates inline settings.
- running bool
- A flag whether the interface has established a link to another device.
- security Mapping[str, str]
- Security inline settings.
- ___
id_ Number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- ___
ts_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- arp
Timeout String - ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix
ms
,s
,m
,h
,d
for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. - bound Boolean
- A flag whether the interface is currently available for the CAPsMAN.
- capsman
Interface StringId - The ID of this resource.
- channel Map<String>
- Channel inline settings.
- comment String
- configuration Map<String>
- Configuration inline settings.
- datapath Map<String>
- Datapath inline settings.
- disabled Boolean
- inactive Boolean
- A flag whether the interface is currently inactive.
- l2mtu Number
- Layer2 Maximum transmission unit. See.
- mac
Address String - MAC address (BSSID) to use for the interface.
- master Boolean
- A flag whether the interface is not a virtual one.
- master
Interface String - The corresponding master interface of the virtual one.
- name String
- Name of the interface.
- radio
Mac String - The MAC address of the associated radio.
- radio
Name String - Name of the associated radio.
- rates Map<String>
- Rates inline settings.
- running Boolean
- A flag whether the interface has established a link to another device.
- security Map<String>
- Security inline settings.
Import
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/caps-man/interface get [print show-ids]]
$ pulumi import routeros:index/capsmanInterface:CapsmanInterface cap1 '*1'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- routeros terraform-routeros/terraform-provider-routeros
- License
- Notes
- This Pulumi package is based on the
routeros
Terraform Provider.