routeros.InterfaceWirelessCap
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";
const settings = new routeros.InterfaceWirelessCap("settings", {
discoveryInterfaces: ["bridge1"],
enabled: true,
interfaces: [
"wlan1",
"wlan2",
],
});
import pulumi
import pulumi_routeros as routeros
settings = routeros.InterfaceWirelessCap("settings",
discovery_interfaces=["bridge1"],
enabled=True,
interfaces=[
"wlan1",
"wlan2",
])
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.NewInterfaceWirelessCap(ctx, "settings", &routeros.InterfaceWirelessCapArgs{
DiscoveryInterfaces: pulumi.StringArray{
pulumi.String("bridge1"),
},
Enabled: pulumi.Bool(true),
Interfaces: pulumi.StringArray{
pulumi.String("wlan1"),
pulumi.String("wlan2"),
},
})
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 settings = new Routeros.InterfaceWirelessCap("settings", new()
{
DiscoveryInterfaces = new[]
{
"bridge1",
},
Enabled = true,
Interfaces = new[]
{
"wlan1",
"wlan2",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.InterfaceWirelessCap;
import com.pulumi.routeros.InterfaceWirelessCapArgs;
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 settings = new InterfaceWirelessCap("settings", InterfaceWirelessCapArgs.builder()
.discoveryInterfaces("bridge1")
.enabled(true)
.interfaces(
"wlan1",
"wlan2")
.build());
}
}
resources:
settings:
type: routeros:InterfaceWirelessCap
properties:
discoveryInterfaces:
- bridge1
enabled: true
interfaces:
- wlan1
- wlan2
Create InterfaceWirelessCap Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InterfaceWirelessCap(name: string, args?: InterfaceWirelessCapArgs, opts?: CustomResourceOptions);
@overload
def InterfaceWirelessCap(resource_name: str,
args: Optional[InterfaceWirelessCapArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def InterfaceWirelessCap(resource_name: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
___skip_: Optional[str] = None,
bridge: Optional[str] = None,
caps_man_addresses: Optional[Sequence[str]] = None,
caps_man_certificate_common_names: Optional[Sequence[str]] = None,
caps_man_names: Optional[Sequence[str]] = None,
certificate: Optional[str] = None,
discovery_interfaces: Optional[Sequence[str]] = None,
enabled: Optional[bool] = None,
interface_wireless_cap_id: Optional[str] = None,
interfaces: Optional[Sequence[str]] = None,
lock_to_caps_man: Optional[bool] = None,
static_virtual: Optional[bool] = None)
func NewInterfaceWirelessCap(ctx *Context, name string, args *InterfaceWirelessCapArgs, opts ...ResourceOption) (*InterfaceWirelessCap, error)
public InterfaceWirelessCap(string name, InterfaceWirelessCapArgs? args = null, CustomResourceOptions? opts = null)
public InterfaceWirelessCap(String name, InterfaceWirelessCapArgs args)
public InterfaceWirelessCap(String name, InterfaceWirelessCapArgs args, CustomResourceOptions options)
type: routeros:InterfaceWirelessCap
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 InterfaceWirelessCapArgs
- 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 InterfaceWirelessCapArgs
- 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 InterfaceWirelessCapArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InterfaceWirelessCapArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InterfaceWirelessCapArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
InterfaceWirelessCap 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 InterfaceWirelessCap resource accepts the following input properties:
- Bridge string
- Bridge interface to add the interface as a bridge port.
- Caps
Man List<string>Addresses - List of Manager IP addresses that CAP will attempt to contact during discovery.
- Caps
Man List<string>Certificate Common Names - List of manager certificate common names that CAP will connect to.
- Caps
Man List<string>Names - An ordered list of CAPs Manager names that the CAP will connect to.
- Certificate string
- Certificate to use for authentication.
- Discovery
Interfaces List<string> - List of interfaces over which CAP should attempt to discover CAPs Manager.
- Enabled bool
- Disable or enable the CAP functionality.
- Interface
Wireless stringCap Id - The ID of this resource.
- Interfaces List<string>
- List of interfaces managed by CAPs Manager.
- Lock
To boolCaps Man - Lock CAP to the first CAPsMAN it connects to.
- Static
Virtual bool - An option that creates static virtual interfaces.
- ___
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.
- Bridge string
- Bridge interface to add the interface as a bridge port.
- Caps
Man []stringAddresses - List of Manager IP addresses that CAP will attempt to contact during discovery.
- Caps
Man []stringCertificate Common Names - List of manager certificate common names that CAP will connect to.
- Caps
Man []stringNames - An ordered list of CAPs Manager names that the CAP will connect to.
- Certificate string
- Certificate to use for authentication.
- Discovery
Interfaces []string - List of interfaces over which CAP should attempt to discover CAPs Manager.
- Enabled bool
- Disable or enable the CAP functionality.
- Interface
Wireless stringCap Id - The ID of this resource.
- Interfaces []string
- List of interfaces managed by CAPs Manager.
- Lock
To boolCaps Man - Lock CAP to the first CAPsMAN it connects to.
- Static
Virtual bool - An option that creates static virtual interfaces.
- ___
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.
- ___
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.
- bridge String
- Bridge interface to add the interface as a bridge port.
- caps
Man List<String>Addresses - List of Manager IP addresses that CAP will attempt to contact during discovery.
- caps
Man List<String>Certificate Common Names - List of manager certificate common names that CAP will connect to.
- caps
Man List<String>Names - An ordered list of CAPs Manager names that the CAP will connect to.
- certificate String
- Certificate to use for authentication.
- discovery
Interfaces List<String> - List of interfaces over which CAP should attempt to discover CAPs Manager.
- enabled Boolean
- Disable or enable the CAP functionality.
- interface
Wireless StringCap Id - The ID of this resource.
- interfaces List<String>
- List of interfaces managed by CAPs Manager.
- lock
To BooleanCaps Man - Lock CAP to the first CAPsMAN it connects to.
- static
Virtual Boolean - An option that creates static virtual interfaces.
- ___
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.
- bridge string
- Bridge interface to add the interface as a bridge port.
- caps
Man string[]Addresses - List of Manager IP addresses that CAP will attempt to contact during discovery.
- caps
Man string[]Certificate Common Names - List of manager certificate common names that CAP will connect to.
- caps
Man string[]Names - An ordered list of CAPs Manager names that the CAP will connect to.
- certificate string
- Certificate to use for authentication.
- discovery
Interfaces string[] - List of interfaces over which CAP should attempt to discover CAPs Manager.
- enabled boolean
- Disable or enable the CAP functionality.
- interface
Wireless stringCap Id - The ID of this resource.
- interfaces string[]
- List of interfaces managed by CAPs Manager.
- lock
To booleanCaps Man - Lock CAP to the first CAPsMAN it connects to.
- static
Virtual boolean - An option that creates static virtual interfaces.
- ___
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.
- bridge str
- Bridge interface to add the interface as a bridge port.
- caps_
man_ Sequence[str]addresses - List of Manager IP addresses that CAP will attempt to contact during discovery.
- caps_
man_ Sequence[str]certificate_ common_ names - List of manager certificate common names that CAP will connect to.
- caps_
man_ Sequence[str]names - An ordered list of CAPs Manager names that the CAP will connect to.
- certificate str
- Certificate to use for authentication.
- discovery_
interfaces Sequence[str] - List of interfaces over which CAP should attempt to discover CAPs Manager.
- enabled bool
- Disable or enable the CAP functionality.
- interface_
wireless_ strcap_ id - The ID of this resource.
- interfaces Sequence[str]
- List of interfaces managed by CAPs Manager.
- lock_
to_ boolcaps_ man - Lock CAP to the first CAPsMAN it connects to.
- static_
virtual bool - An option that creates static virtual interfaces.
- ___
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.
- bridge String
- Bridge interface to add the interface as a bridge port.
- caps
Man List<String>Addresses - List of Manager IP addresses that CAP will attempt to contact during discovery.
- caps
Man List<String>Certificate Common Names - List of manager certificate common names that CAP will connect to.
- caps
Man List<String>Names - An ordered list of CAPs Manager names that the CAP will connect to.
- certificate String
- Certificate to use for authentication.
- discovery
Interfaces List<String> - List of interfaces over which CAP should attempt to discover CAPs Manager.
- enabled Boolean
- Disable or enable the CAP functionality.
- interface
Wireless StringCap Id - The ID of this resource.
- interfaces List<String>
- List of interfaces managed by CAPs Manager.
- lock
To BooleanCaps Man - Lock CAP to the first CAPsMAN it connects to.
- static
Virtual Boolean - An option that creates static virtual interfaces.
Outputs
All input properties are implicitly available as output properties. Additionally, the InterfaceWirelessCap resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Locked
Caps stringMan Common Name - Common name of the CAPsMAN that the CAP is locked to.
- Requested
Certificate string - Requested certificate.
- Id string
- The provider-assigned unique ID for this managed resource.
- Locked
Caps stringMan Common Name - Common name of the CAPsMAN that the CAP is locked to.
- Requested
Certificate string - Requested certificate.
- id String
- The provider-assigned unique ID for this managed resource.
- locked
Caps StringMan Common Name - Common name of the CAPsMAN that the CAP is locked to.
- requested
Certificate String - Requested certificate.
- id string
- The provider-assigned unique ID for this managed resource.
- locked
Caps stringMan Common Name - Common name of the CAPsMAN that the CAP is locked to.
- requested
Certificate string - Requested certificate.
- id str
- The provider-assigned unique ID for this managed resource.
- locked_
caps_ strman_ common_ name - Common name of the CAPsMAN that the CAP is locked to.
- requested_
certificate str - Requested certificate.
- id String
- The provider-assigned unique ID for this managed resource.
- locked
Caps StringMan Common Name - Common name of the CAPsMAN that the CAP is locked to.
- requested
Certificate String - Requested certificate.
Look up Existing InterfaceWirelessCap Resource
Get an existing InterfaceWirelessCap 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?: InterfaceWirelessCapState, opts?: CustomResourceOptions): InterfaceWirelessCap
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
___skip_: Optional[str] = None,
bridge: Optional[str] = None,
caps_man_addresses: Optional[Sequence[str]] = None,
caps_man_certificate_common_names: Optional[Sequence[str]] = None,
caps_man_names: Optional[Sequence[str]] = None,
certificate: Optional[str] = None,
discovery_interfaces: Optional[Sequence[str]] = None,
enabled: Optional[bool] = None,
interface_wireless_cap_id: Optional[str] = None,
interfaces: Optional[Sequence[str]] = None,
lock_to_caps_man: Optional[bool] = None,
locked_caps_man_common_name: Optional[str] = None,
requested_certificate: Optional[str] = None,
static_virtual: Optional[bool] = None) -> InterfaceWirelessCap
func GetInterfaceWirelessCap(ctx *Context, name string, id IDInput, state *InterfaceWirelessCapState, opts ...ResourceOption) (*InterfaceWirelessCap, error)
public static InterfaceWirelessCap Get(string name, Input<string> id, InterfaceWirelessCapState? state, CustomResourceOptions? opts = null)
public static InterfaceWirelessCap get(String name, Output<String> id, InterfaceWirelessCapState state, CustomResourceOptions options)
resources: _: type: routeros:InterfaceWirelessCap 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.
- Bridge string
- Bridge interface to add the interface as a bridge port.
- Caps
Man List<string>Addresses - List of Manager IP addresses that CAP will attempt to contact during discovery.
- Caps
Man List<string>Certificate Common Names - List of manager certificate common names that CAP will connect to.
- Caps
Man List<string>Names - An ordered list of CAPs Manager names that the CAP will connect to.
- Certificate string
- Certificate to use for authentication.
- Discovery
Interfaces List<string> - List of interfaces over which CAP should attempt to discover CAPs Manager.
- Enabled bool
- Disable or enable the CAP functionality.
- Interface
Wireless stringCap Id - The ID of this resource.
- Interfaces List<string>
- List of interfaces managed by CAPs Manager.
- Lock
To boolCaps Man - Lock CAP to the first CAPsMAN it connects to.
- Locked
Caps stringMan Common Name - Common name of the CAPsMAN that the CAP is locked to.
- Requested
Certificate string - Requested certificate.
- Static
Virtual bool - An option that creates static virtual interfaces.
- ___
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.
- Bridge string
- Bridge interface to add the interface as a bridge port.
- Caps
Man []stringAddresses - List of Manager IP addresses that CAP will attempt to contact during discovery.
- Caps
Man []stringCertificate Common Names - List of manager certificate common names that CAP will connect to.
- Caps
Man []stringNames - An ordered list of CAPs Manager names that the CAP will connect to.
- Certificate string
- Certificate to use for authentication.
- Discovery
Interfaces []string - List of interfaces over which CAP should attempt to discover CAPs Manager.
- Enabled bool
- Disable or enable the CAP functionality.
- Interface
Wireless stringCap Id - The ID of this resource.
- Interfaces []string
- List of interfaces managed by CAPs Manager.
- Lock
To boolCaps Man - Lock CAP to the first CAPsMAN it connects to.
- Locked
Caps stringMan Common Name - Common name of the CAPsMAN that the CAP is locked to.
- Requested
Certificate string - Requested certificate.
- Static
Virtual bool - An option that creates static virtual interfaces.
- ___
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.
- ___
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.
- bridge String
- Bridge interface to add the interface as a bridge port.
- caps
Man List<String>Addresses - List of Manager IP addresses that CAP will attempt to contact during discovery.
- caps
Man List<String>Certificate Common Names - List of manager certificate common names that CAP will connect to.
- caps
Man List<String>Names - An ordered list of CAPs Manager names that the CAP will connect to.
- certificate String
- Certificate to use for authentication.
- discovery
Interfaces List<String> - List of interfaces over which CAP should attempt to discover CAPs Manager.
- enabled Boolean
- Disable or enable the CAP functionality.
- interface
Wireless StringCap Id - The ID of this resource.
- interfaces List<String>
- List of interfaces managed by CAPs Manager.
- lock
To BooleanCaps Man - Lock CAP to the first CAPsMAN it connects to.
- locked
Caps StringMan Common Name - Common name of the CAPsMAN that the CAP is locked to.
- requested
Certificate String - Requested certificate.
- static
Virtual Boolean - An option that creates static virtual interfaces.
- ___
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.
- bridge string
- Bridge interface to add the interface as a bridge port.
- caps
Man string[]Addresses - List of Manager IP addresses that CAP will attempt to contact during discovery.
- caps
Man string[]Certificate Common Names - List of manager certificate common names that CAP will connect to.
- caps
Man string[]Names - An ordered list of CAPs Manager names that the CAP will connect to.
- certificate string
- Certificate to use for authentication.
- discovery
Interfaces string[] - List of interfaces over which CAP should attempt to discover CAPs Manager.
- enabled boolean
- Disable or enable the CAP functionality.
- interface
Wireless stringCap Id - The ID of this resource.
- interfaces string[]
- List of interfaces managed by CAPs Manager.
- lock
To booleanCaps Man - Lock CAP to the first CAPsMAN it connects to.
- locked
Caps stringMan Common Name - Common name of the CAPsMAN that the CAP is locked to.
- requested
Certificate string - Requested certificate.
- static
Virtual boolean - An option that creates static virtual interfaces.
- ___
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.
- bridge str
- Bridge interface to add the interface as a bridge port.
- caps_
man_ Sequence[str]addresses - List of Manager IP addresses that CAP will attempt to contact during discovery.
- caps_
man_ Sequence[str]certificate_ common_ names - List of manager certificate common names that CAP will connect to.
- caps_
man_ Sequence[str]names - An ordered list of CAPs Manager names that the CAP will connect to.
- certificate str
- Certificate to use for authentication.
- discovery_
interfaces Sequence[str] - List of interfaces over which CAP should attempt to discover CAPs Manager.
- enabled bool
- Disable or enable the CAP functionality.
- interface_
wireless_ strcap_ id - The ID of this resource.
- interfaces Sequence[str]
- List of interfaces managed by CAPs Manager.
- lock_
to_ boolcaps_ man - Lock CAP to the first CAPsMAN it connects to.
- locked_
caps_ strman_ common_ name - Common name of the CAPsMAN that the CAP is locked to.
- requested_
certificate str - Requested certificate.
- static_
virtual bool - An option that creates static virtual interfaces.
- ___
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.
- bridge String
- Bridge interface to add the interface as a bridge port.
- caps
Man List<String>Addresses - List of Manager IP addresses that CAP will attempt to contact during discovery.
- caps
Man List<String>Certificate Common Names - List of manager certificate common names that CAP will connect to.
- caps
Man List<String>Names - An ordered list of CAPs Manager names that the CAP will connect to.
- certificate String
- Certificate to use for authentication.
- discovery
Interfaces List<String> - List of interfaces over which CAP should attempt to discover CAPs Manager.
- enabled Boolean
- Disable or enable the CAP functionality.
- interface
Wireless StringCap Id - The ID of this resource.
- interfaces List<String>
- List of interfaces managed by CAPs Manager.
- lock
To BooleanCaps Man - Lock CAP to the first CAPsMAN it connects to.
- locked
Caps StringMan Common Name - Common name of the CAPsMAN that the CAP is locked to.
- requested
Certificate String - Requested certificate.
- static
Virtual Boolean - An option that creates static virtual interfaces.
Import
$ pulumi import routeros:index/interfaceWirelessCap:InterfaceWirelessCap settings .
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.