1. Packages
  2. Routeros Provider
  3. API Docs
  4. CapsmanManagerInterface
routeros 1.83.0 published on Wednesday, Apr 16, 2025 by terraform-routeros

routeros.CapsmanManagerInterface

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";

const testManagerInterface = new routeros.CapsmanManagerInterface("testManagerInterface", {
    forbid: true,
    "interface": "ether1",
});
Copy
import pulumi
import pulumi_routeros as routeros

test_manager_interface = routeros.CapsmanManagerInterface("testManagerInterface",
    forbid=True,
    interface="ether1")
Copy
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.NewCapsmanManagerInterface(ctx, "testManagerInterface", &routeros.CapsmanManagerInterfaceArgs{
			Forbid:    pulumi.Bool(true),
			Interface: pulumi.String("ether1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Routeros = Pulumi.Routeros;

return await Deployment.RunAsync(() => 
{
    var testManagerInterface = new Routeros.CapsmanManagerInterface("testManagerInterface", new()
    {
        Forbid = true,
        Interface = "ether1",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.CapsmanManagerInterface;
import com.pulumi.routeros.CapsmanManagerInterfaceArgs;
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 testManagerInterface = new CapsmanManagerInterface("testManagerInterface", CapsmanManagerInterfaceArgs.builder()
            .forbid(true)
            .interface_("ether1")
            .build());

    }
}
Copy
resources:
  testManagerInterface:
    type: routeros:CapsmanManagerInterface
    properties:
      forbid: true
      interface: ether1
Copy

Create CapsmanManagerInterface Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new CapsmanManagerInterface(name: string, args: CapsmanManagerInterfaceArgs, opts?: CustomResourceOptions);
@overload
def CapsmanManagerInterface(resource_name: str,
                            args: CapsmanManagerInterfaceArgs,
                            opts: Optional[ResourceOptions] = None)

@overload
def CapsmanManagerInterface(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            interface: Optional[str] = None,
                            ___id_: Optional[float] = None,
                            ___path_: Optional[str] = None,
                            capsman_manager_interface_id: Optional[str] = None,
                            comment: Optional[str] = None,
                            disabled: Optional[bool] = None,
                            forbid: Optional[bool] = None)
func NewCapsmanManagerInterface(ctx *Context, name string, args CapsmanManagerInterfaceArgs, opts ...ResourceOption) (*CapsmanManagerInterface, error)
public CapsmanManagerInterface(string name, CapsmanManagerInterfaceArgs args, CustomResourceOptions? opts = null)
public CapsmanManagerInterface(String name, CapsmanManagerInterfaceArgs args)
public CapsmanManagerInterface(String name, CapsmanManagerInterfaceArgs args, CustomResourceOptions options)
type: routeros:CapsmanManagerInterface
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. CapsmanManagerInterfaceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. CapsmanManagerInterfaceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. CapsmanManagerInterfaceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. CapsmanManagerInterfaceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. CapsmanManagerInterfaceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CapsmanManagerInterface 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 CapsmanManagerInterface resource accepts the following input properties:

Interface This property is required. string
Name of the interface.
CapsmanManagerInterfaceId string
The ID of this resource.
Comment string
Disabled bool
Forbid bool
Disable interface listening.
___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.
Interface This property is required. string
Name of the interface.
CapsmanManagerInterfaceId string
The ID of this resource.
Comment string
Disabled bool
Forbid bool
Disable interface listening.
___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.
interface_ This property is required. String
Name of the interface.
___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.
capsmanManagerInterfaceId String
The ID of this resource.
comment String
disabled Boolean
forbid Boolean
Disable interface listening.
interface This property is required. string
Name of the interface.
___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.
capsmanManagerInterfaceId string
The ID of this resource.
comment string
disabled boolean
forbid boolean
Disable interface listening.
interface This property is required. str
Name of the interface.
___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.
capsman_manager_interface_id str
The ID of this resource.
comment str
disabled bool
forbid bool
Disable interface listening.
interface This property is required. String
Name of the interface.
___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.
capsmanManagerInterfaceId String
The ID of this resource.
comment String
disabled Boolean
forbid Boolean
Disable interface listening.

Outputs

All input properties are implicitly available as output properties. Additionally, the CapsmanManagerInterface resource produces the following output properties:

Default bool
It's the default item.
Dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
Id string
The provider-assigned unique ID for this managed resource.
Default bool
It's the default item.
Dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
Id string
The provider-assigned unique ID for this managed resource.
default_ Boolean
It's the default item.
dynamic Boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
id String
The provider-assigned unique ID for this managed resource.
default boolean
It's the default item.
dynamic boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
id string
The provider-assigned unique ID for this managed resource.
default bool
It's the default item.
dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
id str
The provider-assigned unique ID for this managed resource.
default Boolean
It's the default item.
dynamic Boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing CapsmanManagerInterface Resource

Get an existing CapsmanManagerInterface 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?: CapsmanManagerInterfaceState, opts?: CustomResourceOptions): CapsmanManagerInterface
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        ___id_: Optional[float] = None,
        ___path_: Optional[str] = None,
        capsman_manager_interface_id: Optional[str] = None,
        comment: Optional[str] = None,
        default: Optional[bool] = None,
        disabled: Optional[bool] = None,
        dynamic: Optional[bool] = None,
        forbid: Optional[bool] = None,
        interface: Optional[str] = None) -> CapsmanManagerInterface
func GetCapsmanManagerInterface(ctx *Context, name string, id IDInput, state *CapsmanManagerInterfaceState, opts ...ResourceOption) (*CapsmanManagerInterface, error)
public static CapsmanManagerInterface Get(string name, Input<string> id, CapsmanManagerInterfaceState? state, CustomResourceOptions? opts = null)
public static CapsmanManagerInterface get(String name, Output<String> id, CapsmanManagerInterfaceState state, CustomResourceOptions options)
resources:  _:    type: routeros:CapsmanManagerInterface    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
CapsmanManagerInterfaceId string
The ID of this resource.
Comment string
Default bool
It's the default item.
Disabled bool
Dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
Forbid bool
Disable interface listening.
Interface string
Name of the interface.
___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.
CapsmanManagerInterfaceId string
The ID of this resource.
Comment string
Default bool
It's the default item.
Disabled bool
Dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
Forbid bool
Disable interface listening.
Interface string
Name of the interface.
___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.
___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.
capsmanManagerInterfaceId String
The ID of this resource.
comment String
default_ Boolean
It's the default item.
disabled Boolean
dynamic Boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
forbid Boolean
Disable interface listening.
interface_ String
Name of the interface.
___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.
capsmanManagerInterfaceId string
The ID of this resource.
comment string
default boolean
It's the default item.
disabled boolean
dynamic boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
forbid boolean
Disable interface listening.
interface string
Name of the interface.
___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.
capsman_manager_interface_id str
The ID of this resource.
comment str
default bool
It's the default item.
disabled bool
dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
forbid bool
Disable interface listening.
interface str
Name of the interface.
___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.
capsmanManagerInterfaceId String
The ID of this resource.
comment String
default Boolean
It's the default item.
disabled Boolean
dynamic Boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
forbid Boolean
Disable interface listening.
interface String
Name of the interface.

Import

#The ID can be found via API or the terminal

#The command for the terminal is -> :put [/caps-man/manager/interface get [print show-ids]]

$ pulumi import routeros:index/capsmanManagerInterface:CapsmanManagerInterface test_manager_interface "*6"
Copy

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.