1. Packages
  2. Routeros Provider
  3. API Docs
  4. RoutingIgmpProxyInterface
routeros 1.86.2 published on Monday, Aug 4, 2025 by terraform-routeros

routeros.RoutingIgmpProxyInterface

Explore with Pulumi AI

routeros logo
routeros 1.86.2 published on Monday, Aug 4, 2025 by terraform-routeros

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as routeros from "@pulumi/routeros";
    
    const test = new routeros.RoutingIgmpProxyInterface("test", {
        alternativeSubnets: [
            "0.0.0.1/32",
            "0.0.0.2/32",
        ],
        disabled: true,
        "interface": "lo",
        threshold: 5,
    });
    
    import pulumi
    import pulumi_routeros as routeros
    
    test = routeros.RoutingIgmpProxyInterface("test",
        alternative_subnets=[
            "0.0.0.1/32",
            "0.0.0.2/32",
        ],
        disabled=True,
        interface="lo",
        threshold=5)
    
    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.NewRoutingIgmpProxyInterface(ctx, "test", &routeros.RoutingIgmpProxyInterfaceArgs{
    			AlternativeSubnets: pulumi.StringArray{
    				pulumi.String("0.0.0.1/32"),
    				pulumi.String("0.0.0.2/32"),
    			},
    			Disabled:  pulumi.Bool(true),
    			Interface: pulumi.String("lo"),
    			Threshold: pulumi.Float64(5),
    		})
    		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 test = new Routeros.RoutingIgmpProxyInterface("test", new()
        {
            AlternativeSubnets = new[]
            {
                "0.0.0.1/32",
                "0.0.0.2/32",
            },
            Disabled = true,
            Interface = "lo",
            Threshold = 5,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.routeros.RoutingIgmpProxyInterface;
    import com.pulumi.routeros.RoutingIgmpProxyInterfaceArgs;
    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 test = new RoutingIgmpProxyInterface("test", RoutingIgmpProxyInterfaceArgs.builder()
                .alternativeSubnets(            
                    "0.0.0.1/32",
                    "0.0.0.2/32")
                .disabled(true)
                .interface_("lo")
                .threshold(5)
                .build());
    
        }
    }
    
    resources:
      test:
        type: routeros:RoutingIgmpProxyInterface
        properties:
          alternativeSubnets:
            - 0.0.0.1/32
            - 0.0.0.2/32
          disabled: true
          interface: lo
          threshold: 5
    

    Create RoutingIgmpProxyInterface Resource

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

    Constructor syntax

    new RoutingIgmpProxyInterface(name: string, args: RoutingIgmpProxyInterfaceArgs, opts?: CustomResourceOptions);
    @overload
    def RoutingIgmpProxyInterface(resource_name: str,
                                  args: RoutingIgmpProxyInterfaceArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def RoutingIgmpProxyInterface(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  interface: Optional[str] = None,
                                  ___id_: Optional[float] = None,
                                  ___path_: Optional[str] = None,
                                  alternative_subnets: Optional[Sequence[str]] = None,
                                  comment: Optional[str] = None,
                                  disabled: Optional[bool] = None,
                                  routing_igmp_proxy_interface_id: Optional[str] = None,
                                  threshold: Optional[float] = None,
                                  upstream: Optional[bool] = None)
    func NewRoutingIgmpProxyInterface(ctx *Context, name string, args RoutingIgmpProxyInterfaceArgs, opts ...ResourceOption) (*RoutingIgmpProxyInterface, error)
    public RoutingIgmpProxyInterface(string name, RoutingIgmpProxyInterfaceArgs args, CustomResourceOptions? opts = null)
    public RoutingIgmpProxyInterface(String name, RoutingIgmpProxyInterfaceArgs args)
    public RoutingIgmpProxyInterface(String name, RoutingIgmpProxyInterfaceArgs args, CustomResourceOptions options)
    
    type: routeros:RoutingIgmpProxyInterface
    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 RoutingIgmpProxyInterfaceArgs
    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 RoutingIgmpProxyInterfaceArgs
    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 RoutingIgmpProxyInterfaceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RoutingIgmpProxyInterfaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RoutingIgmpProxyInterfaceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Interface string
    Name of the interface.
    AlternativeSubnets List<string>
    By default, only packets from directly attached subnets are accepted. This parameter can be used to specify a list of alternative valid packet source subnets, both for data or IGMP packets. Has an effect only on the upstream interface. Should be used when the source of multicast data often is in a different IP network.
    Comment string
    Disabled bool
    RoutingIgmpProxyInterfaceId string
    The ID of this resource.
    Threshold double
    Minimal TTL. Packets received with a lower TTL value are ignored.
    Upstream bool
    The interface is called upstream if it's in the direction of the root of the multicast tree. An IGMP forwarding router must have exactly one upstream interface configured. The upstream interface is used to send out IGMP membership requests.
    ___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 string
    Name of the interface.
    AlternativeSubnets []string
    By default, only packets from directly attached subnets are accepted. This parameter can be used to specify a list of alternative valid packet source subnets, both for data or IGMP packets. Has an effect only on the upstream interface. Should be used when the source of multicast data often is in a different IP network.
    Comment string
    Disabled bool
    RoutingIgmpProxyInterfaceId string
    The ID of this resource.
    Threshold float64
    Minimal TTL. Packets received with a lower TTL value are ignored.
    Upstream bool
    The interface is called upstream if it's in the direction of the root of the multicast tree. An IGMP forwarding router must have exactly one upstream interface configured. The upstream interface is used to send out IGMP membership requests.
    ___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_ 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.
    alternativeSubnets List<String>
    By default, only packets from directly attached subnets are accepted. This parameter can be used to specify a list of alternative valid packet source subnets, both for data or IGMP packets. Has an effect only on the upstream interface. Should be used when the source of multicast data often is in a different IP network.
    comment String
    disabled Boolean
    routingIgmpProxyInterfaceId String
    The ID of this resource.
    threshold Double
    Minimal TTL. Packets received with a lower TTL value are ignored.
    upstream Boolean
    The interface is called upstream if it's in the direction of the root of the multicast tree. An IGMP forwarding router must have exactly one upstream interface configured. The upstream interface is used to send out IGMP membership requests.
    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.
    alternativeSubnets string[]
    By default, only packets from directly attached subnets are accepted. This parameter can be used to specify a list of alternative valid packet source subnets, both for data or IGMP packets. Has an effect only on the upstream interface. Should be used when the source of multicast data often is in a different IP network.
    comment string
    disabled boolean
    routingIgmpProxyInterfaceId string
    The ID of this resource.
    threshold number
    Minimal TTL. Packets received with a lower TTL value are ignored.
    upstream boolean
    The interface is called upstream if it's in the direction of the root of the multicast tree. An IGMP forwarding router must have exactly one upstream interface configured. The upstream interface is used to send out IGMP membership requests.
    interface 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.
    alternative_subnets Sequence[str]
    By default, only packets from directly attached subnets are accepted. This parameter can be used to specify a list of alternative valid packet source subnets, both for data or IGMP packets. Has an effect only on the upstream interface. Should be used when the source of multicast data often is in a different IP network.
    comment str
    disabled bool
    routing_igmp_proxy_interface_id str
    The ID of this resource.
    threshold float
    Minimal TTL. Packets received with a lower TTL value are ignored.
    upstream bool
    The interface is called upstream if it's in the direction of the root of the multicast tree. An IGMP forwarding router must have exactly one upstream interface configured. The upstream interface is used to send out IGMP membership requests.
    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.
    alternativeSubnets List<String>
    By default, only packets from directly attached subnets are accepted. This parameter can be used to specify a list of alternative valid packet source subnets, both for data or IGMP packets. Has an effect only on the upstream interface. Should be used when the source of multicast data often is in a different IP network.
    comment String
    disabled Boolean
    routingIgmpProxyInterfaceId String
    The ID of this resource.
    threshold Number
    Minimal TTL. Packets received with a lower TTL value are ignored.
    upstream Boolean
    The interface is called upstream if it's in the direction of the root of the multicast tree. An IGMP forwarding router must have exactly one upstream interface configured. The upstream interface is used to send out IGMP membership requests.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Inactive bool
    Id string
    The provider-assigned unique ID for this managed resource.
    Inactive bool
    id String
    The provider-assigned unique ID for this managed resource.
    inactive Boolean
    id string
    The provider-assigned unique ID for this managed resource.
    inactive boolean
    id str
    The provider-assigned unique ID for this managed resource.
    inactive bool
    id String
    The provider-assigned unique ID for this managed resource.
    inactive Boolean

    Look up Existing RoutingIgmpProxyInterface Resource

    Get an existing RoutingIgmpProxyInterface 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?: RoutingIgmpProxyInterfaceState, opts?: CustomResourceOptions): RoutingIgmpProxyInterface
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ___id_: Optional[float] = None,
            ___path_: Optional[str] = None,
            alternative_subnets: Optional[Sequence[str]] = None,
            comment: Optional[str] = None,
            disabled: Optional[bool] = None,
            inactive: Optional[bool] = None,
            interface: Optional[str] = None,
            routing_igmp_proxy_interface_id: Optional[str] = None,
            threshold: Optional[float] = None,
            upstream: Optional[bool] = None) -> RoutingIgmpProxyInterface
    func GetRoutingIgmpProxyInterface(ctx *Context, name string, id IDInput, state *RoutingIgmpProxyInterfaceState, opts ...ResourceOption) (*RoutingIgmpProxyInterface, error)
    public static RoutingIgmpProxyInterface Get(string name, Input<string> id, RoutingIgmpProxyInterfaceState? state, CustomResourceOptions? opts = null)
    public static RoutingIgmpProxyInterface get(String name, Output<String> id, RoutingIgmpProxyInterfaceState state, CustomResourceOptions options)
    resources:  _:    type: routeros:RoutingIgmpProxyInterface    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.
    The following state arguments are supported:
    AlternativeSubnets List<string>
    By default, only packets from directly attached subnets are accepted. This parameter can be used to specify a list of alternative valid packet source subnets, both for data or IGMP packets. Has an effect only on the upstream interface. Should be used when the source of multicast data often is in a different IP network.
    Comment string
    Disabled bool
    Inactive bool
    Interface string
    Name of the interface.
    RoutingIgmpProxyInterfaceId string
    The ID of this resource.
    Threshold double
    Minimal TTL. Packets received with a lower TTL value are ignored.
    Upstream bool
    The interface is called upstream if it's in the direction of the root of the multicast tree. An IGMP forwarding router must have exactly one upstream interface configured. The upstream interface is used to send out IGMP membership requests.
    ___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.
    AlternativeSubnets []string
    By default, only packets from directly attached subnets are accepted. This parameter can be used to specify a list of alternative valid packet source subnets, both for data or IGMP packets. Has an effect only on the upstream interface. Should be used when the source of multicast data often is in a different IP network.
    Comment string
    Disabled bool
    Inactive bool
    Interface string
    Name of the interface.
    RoutingIgmpProxyInterfaceId string
    The ID of this resource.
    Threshold float64
    Minimal TTL. Packets received with a lower TTL value are ignored.
    Upstream bool
    The interface is called upstream if it's in the direction of the root of the multicast tree. An IGMP forwarding router must have exactly one upstream interface configured. The upstream interface is used to send out IGMP membership requests.
    ___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.
    alternativeSubnets List<String>
    By default, only packets from directly attached subnets are accepted. This parameter can be used to specify a list of alternative valid packet source subnets, both for data or IGMP packets. Has an effect only on the upstream interface. Should be used when the source of multicast data often is in a different IP network.
    comment String
    disabled Boolean
    inactive Boolean
    interface_ String
    Name of the interface.
    routingIgmpProxyInterfaceId String
    The ID of this resource.
    threshold Double
    Minimal TTL. Packets received with a lower TTL value are ignored.
    upstream Boolean
    The interface is called upstream if it's in the direction of the root of the multicast tree. An IGMP forwarding router must have exactly one upstream interface configured. The upstream interface is used to send out IGMP membership requests.
    ___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.
    alternativeSubnets string[]
    By default, only packets from directly attached subnets are accepted. This parameter can be used to specify a list of alternative valid packet source subnets, both for data or IGMP packets. Has an effect only on the upstream interface. Should be used when the source of multicast data often is in a different IP network.
    comment string
    disabled boolean
    inactive boolean
    interface string
    Name of the interface.
    routingIgmpProxyInterfaceId string
    The ID of this resource.
    threshold number
    Minimal TTL. Packets received with a lower TTL value are ignored.
    upstream boolean
    The interface is called upstream if it's in the direction of the root of the multicast tree. An IGMP forwarding router must have exactly one upstream interface configured. The upstream interface is used to send out IGMP membership requests.
    ___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.
    alternative_subnets Sequence[str]
    By default, only packets from directly attached subnets are accepted. This parameter can be used to specify a list of alternative valid packet source subnets, both for data or IGMP packets. Has an effect only on the upstream interface. Should be used when the source of multicast data often is in a different IP network.
    comment str
    disabled bool
    inactive bool
    interface str
    Name of the interface.
    routing_igmp_proxy_interface_id str
    The ID of this resource.
    threshold float
    Minimal TTL. Packets received with a lower TTL value are ignored.
    upstream bool
    The interface is called upstream if it's in the direction of the root of the multicast tree. An IGMP forwarding router must have exactly one upstream interface configured. The upstream interface is used to send out IGMP membership requests.
    ___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.
    alternativeSubnets List<String>
    By default, only packets from directly attached subnets are accepted. This parameter can be used to specify a list of alternative valid packet source subnets, both for data or IGMP packets. Has an effect only on the upstream interface. Should be used when the source of multicast data often is in a different IP network.
    comment String
    disabled Boolean
    inactive Boolean
    interface String
    Name of the interface.
    routingIgmpProxyInterfaceId String
    The ID of this resource.
    threshold Number
    Minimal TTL. Packets received with a lower TTL value are ignored.
    upstream Boolean
    The interface is called upstream if it's in the direction of the root of the multicast tree. An IGMP forwarding router must have exactly one upstream interface configured. The upstream interface is used to send out IGMP membership requests.

    Import

    #The ID can be found via API or the terminal

    #The command for the terminal is -> :put [/routing/igmp/proxy/interface get [print show-ids]]

    $ pulumi import routeros:index/routingIgmpProxyInterface:RoutingIgmpProxyInterface test *3
    

    #Or you can import a resource using one of its attributes

    $ pulumi import routeros:index/routingIgmpProxyInterface:RoutingIgmpProxyInterface test "interface=xxx"
    

    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.
    routeros logo
    routeros 1.86.2 published on Monday, Aug 4, 2025 by terraform-routeros