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

routeros.InterfaceVrrp

Explore with Pulumi AI

routeros logo
routeros 1.83.0 published on Wednesday, Apr 16, 2025 by terraform-routeros

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as routeros from "@pulumi/routeros";
    
    const interfaceVrrp = new routeros.InterfaceVrrp("interfaceVrrp", {"interface": "bridge"});
    
    import pulumi
    import pulumi_routeros as routeros
    
    interface_vrrp = routeros.InterfaceVrrp("interfaceVrrp", interface="bridge")
    
    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.NewInterfaceVrrp(ctx, "interfaceVrrp", &routeros.InterfaceVrrpArgs{
    			Interface: pulumi.String("bridge"),
    		})
    		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 interfaceVrrp = new Routeros.InterfaceVrrp("interfaceVrrp", new()
        {
            Interface = "bridge",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.routeros.InterfaceVrrp;
    import com.pulumi.routeros.InterfaceVrrpArgs;
    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 interfaceVrrp = new InterfaceVrrp("interfaceVrrp", InterfaceVrrpArgs.builder()
                .interface_("bridge")
                .build());
    
        }
    }
    
    resources:
      interfaceVrrp:
        type: routeros:InterfaceVrrp
        properties:
          interface: bridge
    

    Create InterfaceVrrp Resource

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

    Constructor syntax

    new InterfaceVrrp(name: string, args: InterfaceVrrpArgs, opts?: CustomResourceOptions);
    @overload
    def InterfaceVrrp(resource_name: str,
                      args: InterfaceVrrpArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def InterfaceVrrp(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      interface: Optional[str] = None,
                      mtu: Optional[str] = None,
                      group_authority: Optional[str] = None,
                      arp_timeout: Optional[str] = None,
                      authentication: Optional[str] = None,
                      comment: Optional[str] = None,
                      disabled: Optional[bool] = None,
                      ___id_: Optional[float] = None,
                      group_master: Optional[str] = None,
                      ___path_: Optional[str] = None,
                      interface_vrrp_id: Optional[str] = None,
                      arp: Optional[str] = None,
                      interval: Optional[str] = None,
                      password: Optional[str] = None,
                      on_backup: Optional[str] = None,
                      on_fail: Optional[str] = None,
                      on_master: Optional[str] = None,
                      name: Optional[str] = None,
                      preemption_mode: Optional[bool] = None,
                      priority: Optional[float] = None,
                      remote_address: Optional[str] = None,
                      sync_connection_tracking: Optional[bool] = None,
                      v3_protocol: Optional[str] = None,
                      version: Optional[float] = None,
                      vrid: Optional[float] = None)
    func NewInterfaceVrrp(ctx *Context, name string, args InterfaceVrrpArgs, opts ...ResourceOption) (*InterfaceVrrp, error)
    public InterfaceVrrp(string name, InterfaceVrrpArgs args, CustomResourceOptions? opts = null)
    public InterfaceVrrp(String name, InterfaceVrrpArgs args)
    public InterfaceVrrp(String name, InterfaceVrrpArgs args, CustomResourceOptions options)
    
    type: routeros:InterfaceVrrp
    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 InterfaceVrrpArgs
    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 InterfaceVrrpArgs
    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 InterfaceVrrpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InterfaceVrrpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InterfaceVrrpArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Interface string
    Name of the interface.
    Arp string
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    ArpTimeout 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.
    Authentication string
    Authentication method to use for VRRP advertisement packets.
    Comment string
    Disabled bool
    GroupAuthority string
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    GroupMaster string
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    InterfaceVrrpId string
    Interval string
    VRRP update interval in seconds. Defines how often master sends advertisement packets.
    Mtu string
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    Name string
    OnBackup string
    Script to execute when the node is switched to the backup state.
    OnFail string
    Script to execute when the node fails.
    OnMaster string
    Script to execute when the node is switched to master state.
    Password string
    Password required for authentication. Can be ignored if authentication is not used.
    PreemptionMode bool
    Whether the master node always has the priority. When set to no the backup node will not be elected to be a master until the current master fails, even if the backup node has higher priority than the current master. This setting is ignored if the owner router becomes available
    Priority double
    Priority of VRRP node used in Master election algorithm. A higher number means higher priority. 255 is reserved for the router that owns VR IP and 0 is reserved for the Master router to indicate that it is releasing responsibility.
    RemoteAddress string
    Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system autodetects the remote address via VRRP. The remote address is used only if sync_connection_tracking = true.Sync connection tracking uses UDP port 8275.
    SyncConnectionTracking bool
    Synchronize connection tracking entries from Master to Backup device.
    V3Protocol string
    A protocol that will be used by VRRPv3. Valid only if the version is 3.
    Version double
    Which VRRP version to use.
    Vrid double
    Virtual Router identifier. Each Virtual router must have a unique id number.
    ___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.
    Arp string
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    ArpTimeout 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.
    Authentication string
    Authentication method to use for VRRP advertisement packets.
    Comment string
    Disabled bool
    GroupAuthority string
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    GroupMaster string
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    InterfaceVrrpId string
    Interval string
    VRRP update interval in seconds. Defines how often master sends advertisement packets.
    Mtu string
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    Name string
    OnBackup string
    Script to execute when the node is switched to the backup state.
    OnFail string
    Script to execute when the node fails.
    OnMaster string
    Script to execute when the node is switched to master state.
    Password string
    Password required for authentication. Can be ignored if authentication is not used.
    PreemptionMode bool
    Whether the master node always has the priority. When set to no the backup node will not be elected to be a master until the current master fails, even if the backup node has higher priority than the current master. This setting is ignored if the owner router becomes available
    Priority float64
    Priority of VRRP node used in Master election algorithm. A higher number means higher priority. 255 is reserved for the router that owns VR IP and 0 is reserved for the Master router to indicate that it is releasing responsibility.
    RemoteAddress string
    Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system autodetects the remote address via VRRP. The remote address is used only if sync_connection_tracking = true.Sync connection tracking uses UDP port 8275.
    SyncConnectionTracking bool
    Synchronize connection tracking entries from Master to Backup device.
    V3Protocol string
    A protocol that will be used by VRRPv3. Valid only if the version is 3.
    Version float64
    Which VRRP version to use.
    Vrid float64
    Virtual Router identifier. Each Virtual router must have a unique id number.
    ___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.
    arp String
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arpTimeout 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.
    authentication String
    Authentication method to use for VRRP advertisement packets.
    comment String
    disabled Boolean
    groupAuthority String
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    groupMaster String
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    interfaceVrrpId String
    interval String
    VRRP update interval in seconds. Defines how often master sends advertisement packets.
    mtu String
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name String
    onBackup String
    Script to execute when the node is switched to the backup state.
    onFail String
    Script to execute when the node fails.
    onMaster String
    Script to execute when the node is switched to master state.
    password String
    Password required for authentication. Can be ignored if authentication is not used.
    preemptionMode Boolean
    Whether the master node always has the priority. When set to no the backup node will not be elected to be a master until the current master fails, even if the backup node has higher priority than the current master. This setting is ignored if the owner router becomes available
    priority Double
    Priority of VRRP node used in Master election algorithm. A higher number means higher priority. 255 is reserved for the router that owns VR IP and 0 is reserved for the Master router to indicate that it is releasing responsibility.
    remoteAddress String
    Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system autodetects the remote address via VRRP. The remote address is used only if sync_connection_tracking = true.Sync connection tracking uses UDP port 8275.
    syncConnectionTracking Boolean
    Synchronize connection tracking entries from Master to Backup device.
    v3Protocol String
    A protocol that will be used by VRRPv3. Valid only if the version is 3.
    version Double
    Which VRRP version to use.
    vrid Double
    Virtual Router identifier. Each Virtual router must have a unique id number.
    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.
    arp string
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arpTimeout 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.
    authentication string
    Authentication method to use for VRRP advertisement packets.
    comment string
    disabled boolean
    groupAuthority string
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    groupMaster string
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    interfaceVrrpId string
    interval string
    VRRP update interval in seconds. Defines how often master sends advertisement packets.
    mtu string
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name string
    onBackup string
    Script to execute when the node is switched to the backup state.
    onFail string
    Script to execute when the node fails.
    onMaster string
    Script to execute when the node is switched to master state.
    password string
    Password required for authentication. Can be ignored if authentication is not used.
    preemptionMode boolean
    Whether the master node always has the priority. When set to no the backup node will not be elected to be a master until the current master fails, even if the backup node has higher priority than the current master. This setting is ignored if the owner router becomes available
    priority number
    Priority of VRRP node used in Master election algorithm. A higher number means higher priority. 255 is reserved for the router that owns VR IP and 0 is reserved for the Master router to indicate that it is releasing responsibility.
    remoteAddress string
    Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system autodetects the remote address via VRRP. The remote address is used only if sync_connection_tracking = true.Sync connection tracking uses UDP port 8275.
    syncConnectionTracking boolean
    Synchronize connection tracking entries from Master to Backup device.
    v3Protocol string
    A protocol that will be used by VRRPv3. Valid only if the version is 3.
    version number
    Which VRRP version to use.
    vrid number
    Virtual Router identifier. Each Virtual router must have a unique id number.
    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.
    arp str
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    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.
    authentication str
    Authentication method to use for VRRP advertisement packets.
    comment str
    disabled bool
    group_authority str
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    group_master str
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    interface_vrrp_id str
    interval str
    VRRP update interval in seconds. Defines how often master sends advertisement packets.
    mtu str
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name str
    on_backup str
    Script to execute when the node is switched to the backup state.
    on_fail str
    Script to execute when the node fails.
    on_master str
    Script to execute when the node is switched to master state.
    password str
    Password required for authentication. Can be ignored if authentication is not used.
    preemption_mode bool
    Whether the master node always has the priority. When set to no the backup node will not be elected to be a master until the current master fails, even if the backup node has higher priority than the current master. This setting is ignored if the owner router becomes available
    priority float
    Priority of VRRP node used in Master election algorithm. A higher number means higher priority. 255 is reserved for the router that owns VR IP and 0 is reserved for the Master router to indicate that it is releasing responsibility.
    remote_address str
    Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system autodetects the remote address via VRRP. The remote address is used only if sync_connection_tracking = true.Sync connection tracking uses UDP port 8275.
    sync_connection_tracking bool
    Synchronize connection tracking entries from Master to Backup device.
    v3_protocol str
    A protocol that will be used by VRRPv3. Valid only if the version is 3.
    version float
    Which VRRP version to use.
    vrid float
    Virtual Router identifier. Each Virtual router must have a unique id number.
    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.
    arp String
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arpTimeout 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.
    authentication String
    Authentication method to use for VRRP advertisement packets.
    comment String
    disabled Boolean
    groupAuthority String
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    groupMaster String
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    interfaceVrrpId String
    interval String
    VRRP update interval in seconds. Defines how often master sends advertisement packets.
    mtu String
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name String
    onBackup String
    Script to execute when the node is switched to the backup state.
    onFail String
    Script to execute when the node fails.
    onMaster String
    Script to execute when the node is switched to master state.
    password String
    Password required for authentication. Can be ignored if authentication is not used.
    preemptionMode Boolean
    Whether the master node always has the priority. When set to no the backup node will not be elected to be a master until the current master fails, even if the backup node has higher priority than the current master. This setting is ignored if the owner router becomes available
    priority Number
    Priority of VRRP node used in Master election algorithm. A higher number means higher priority. 255 is reserved for the router that owns VR IP and 0 is reserved for the Master router to indicate that it is releasing responsibility.
    remoteAddress String
    Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system autodetects the remote address via VRRP. The remote address is used only if sync_connection_tracking = true.Sync connection tracking uses UDP port 8275.
    syncConnectionTracking Boolean
    Synchronize connection tracking entries from Master to Backup device.
    v3Protocol String
    A protocol that will be used by VRRPv3. Valid only if the version is 3.
    version Number
    Which VRRP version to use.
    vrid Number
    Virtual Router identifier. Each Virtual router must have a unique id number.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Invalid bool
    MacAddress string
    Current mac address.
    Running bool
    Id string
    The provider-assigned unique ID for this managed resource.
    Invalid bool
    MacAddress string
    Current mac address.
    Running bool
    id String
    The provider-assigned unique ID for this managed resource.
    invalid Boolean
    macAddress String
    Current mac address.
    running Boolean
    id string
    The provider-assigned unique ID for this managed resource.
    invalid boolean
    macAddress string
    Current mac address.
    running boolean
    id str
    The provider-assigned unique ID for this managed resource.
    invalid bool
    mac_address str
    Current mac address.
    running bool
    id String
    The provider-assigned unique ID for this managed resource.
    invalid Boolean
    macAddress String
    Current mac address.
    running Boolean

    Look up Existing InterfaceVrrp Resource

    Get an existing InterfaceVrrp 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?: InterfaceVrrpState, opts?: CustomResourceOptions): InterfaceVrrp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ___id_: Optional[float] = None,
            ___path_: Optional[str] = None,
            arp: Optional[str] = None,
            arp_timeout: Optional[str] = None,
            authentication: Optional[str] = None,
            comment: Optional[str] = None,
            disabled: Optional[bool] = None,
            group_authority: Optional[str] = None,
            group_master: Optional[str] = None,
            interface: Optional[str] = None,
            interface_vrrp_id: Optional[str] = None,
            interval: Optional[str] = None,
            invalid: Optional[bool] = None,
            mac_address: Optional[str] = None,
            mtu: Optional[str] = None,
            name: Optional[str] = None,
            on_backup: Optional[str] = None,
            on_fail: Optional[str] = None,
            on_master: Optional[str] = None,
            password: Optional[str] = None,
            preemption_mode: Optional[bool] = None,
            priority: Optional[float] = None,
            remote_address: Optional[str] = None,
            running: Optional[bool] = None,
            sync_connection_tracking: Optional[bool] = None,
            v3_protocol: Optional[str] = None,
            version: Optional[float] = None,
            vrid: Optional[float] = None) -> InterfaceVrrp
    func GetInterfaceVrrp(ctx *Context, name string, id IDInput, state *InterfaceVrrpState, opts ...ResourceOption) (*InterfaceVrrp, error)
    public static InterfaceVrrp Get(string name, Input<string> id, InterfaceVrrpState? state, CustomResourceOptions? opts = null)
    public static InterfaceVrrp get(String name, Output<String> id, InterfaceVrrpState state, CustomResourceOptions options)
    resources:  _:    type: routeros:InterfaceVrrp    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:
    Arp string
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    ArpTimeout 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.
    Authentication string
    Authentication method to use for VRRP advertisement packets.
    Comment string
    Disabled bool
    GroupAuthority string
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    GroupMaster string
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    Interface string
    Name of the interface.
    InterfaceVrrpId string
    Interval string
    VRRP update interval in seconds. Defines how often master sends advertisement packets.
    Invalid bool
    MacAddress string
    Current mac address.
    Mtu string
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    Name string
    OnBackup string
    Script to execute when the node is switched to the backup state.
    OnFail string
    Script to execute when the node fails.
    OnMaster string
    Script to execute when the node is switched to master state.
    Password string
    Password required for authentication. Can be ignored if authentication is not used.
    PreemptionMode bool
    Whether the master node always has the priority. When set to no the backup node will not be elected to be a master until the current master fails, even if the backup node has higher priority than the current master. This setting is ignored if the owner router becomes available
    Priority double
    Priority of VRRP node used in Master election algorithm. A higher number means higher priority. 255 is reserved for the router that owns VR IP and 0 is reserved for the Master router to indicate that it is releasing responsibility.
    RemoteAddress string
    Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system autodetects the remote address via VRRP. The remote address is used only if sync_connection_tracking = true.Sync connection tracking uses UDP port 8275.
    Running bool
    SyncConnectionTracking bool
    Synchronize connection tracking entries from Master to Backup device.
    V3Protocol string
    A protocol that will be used by VRRPv3. Valid only if the version is 3.
    Version double
    Which VRRP version to use.
    Vrid double
    Virtual Router identifier. Each Virtual router must have a unique id number.
    ___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.
    Arp string
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    ArpTimeout 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.
    Authentication string
    Authentication method to use for VRRP advertisement packets.
    Comment string
    Disabled bool
    GroupAuthority string
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    GroupMaster string
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    Interface string
    Name of the interface.
    InterfaceVrrpId string
    Interval string
    VRRP update interval in seconds. Defines how often master sends advertisement packets.
    Invalid bool
    MacAddress string
    Current mac address.
    Mtu string
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    Name string
    OnBackup string
    Script to execute when the node is switched to the backup state.
    OnFail string
    Script to execute when the node fails.
    OnMaster string
    Script to execute when the node is switched to master state.
    Password string
    Password required for authentication. Can be ignored if authentication is not used.
    PreemptionMode bool
    Whether the master node always has the priority. When set to no the backup node will not be elected to be a master until the current master fails, even if the backup node has higher priority than the current master. This setting is ignored if the owner router becomes available
    Priority float64
    Priority of VRRP node used in Master election algorithm. A higher number means higher priority. 255 is reserved for the router that owns VR IP and 0 is reserved for the Master router to indicate that it is releasing responsibility.
    RemoteAddress string
    Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system autodetects the remote address via VRRP. The remote address is used only if sync_connection_tracking = true.Sync connection tracking uses UDP port 8275.
    Running bool
    SyncConnectionTracking bool
    Synchronize connection tracking entries from Master to Backup device.
    V3Protocol string
    A protocol that will be used by VRRPv3. Valid only if the version is 3.
    Version float64
    Which VRRP version to use.
    Vrid float64
    Virtual Router identifier. Each Virtual router must have a unique id number.
    ___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.
    arp String
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arpTimeout 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.
    authentication String
    Authentication method to use for VRRP advertisement packets.
    comment String
    disabled Boolean
    groupAuthority String
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    groupMaster String
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    interfaceVrrpId String
    interface_ String
    Name of the interface.
    interval String
    VRRP update interval in seconds. Defines how often master sends advertisement packets.
    invalid Boolean
    macAddress String
    Current mac address.
    mtu String
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name String
    onBackup String
    Script to execute when the node is switched to the backup state.
    onFail String
    Script to execute when the node fails.
    onMaster String
    Script to execute when the node is switched to master state.
    password String
    Password required for authentication. Can be ignored if authentication is not used.
    preemptionMode Boolean
    Whether the master node always has the priority. When set to no the backup node will not be elected to be a master until the current master fails, even if the backup node has higher priority than the current master. This setting is ignored if the owner router becomes available
    priority Double
    Priority of VRRP node used in Master election algorithm. A higher number means higher priority. 255 is reserved for the router that owns VR IP and 0 is reserved for the Master router to indicate that it is releasing responsibility.
    remoteAddress String
    Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system autodetects the remote address via VRRP. The remote address is used only if sync_connection_tracking = true.Sync connection tracking uses UDP port 8275.
    running Boolean
    syncConnectionTracking Boolean
    Synchronize connection tracking entries from Master to Backup device.
    v3Protocol String
    A protocol that will be used by VRRPv3. Valid only if the version is 3.
    version Double
    Which VRRP version to use.
    vrid Double
    Virtual Router identifier. Each Virtual router must have a unique id number.
    ___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.
    arp string
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arpTimeout 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.
    authentication string
    Authentication method to use for VRRP advertisement packets.
    comment string
    disabled boolean
    groupAuthority string
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    groupMaster string
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    interface string
    Name of the interface.
    interfaceVrrpId string
    interval string
    VRRP update interval in seconds. Defines how often master sends advertisement packets.
    invalid boolean
    macAddress string
    Current mac address.
    mtu string
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name string
    onBackup string
    Script to execute when the node is switched to the backup state.
    onFail string
    Script to execute when the node fails.
    onMaster string
    Script to execute when the node is switched to master state.
    password string
    Password required for authentication. Can be ignored if authentication is not used.
    preemptionMode boolean
    Whether the master node always has the priority. When set to no the backup node will not be elected to be a master until the current master fails, even if the backup node has higher priority than the current master. This setting is ignored if the owner router becomes available
    priority number
    Priority of VRRP node used in Master election algorithm. A higher number means higher priority. 255 is reserved for the router that owns VR IP and 0 is reserved for the Master router to indicate that it is releasing responsibility.
    remoteAddress string
    Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system autodetects the remote address via VRRP. The remote address is used only if sync_connection_tracking = true.Sync connection tracking uses UDP port 8275.
    running boolean
    syncConnectionTracking boolean
    Synchronize connection tracking entries from Master to Backup device.
    v3Protocol string
    A protocol that will be used by VRRPv3. Valid only if the version is 3.
    version number
    Which VRRP version to use.
    vrid number
    Virtual Router identifier. Each Virtual router must have a unique id number.
    ___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.
    arp str
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    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.
    authentication str
    Authentication method to use for VRRP advertisement packets.
    comment str
    disabled bool
    group_authority str
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    group_master str
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    interface str
    Name of the interface.
    interface_vrrp_id str
    interval str
    VRRP update interval in seconds. Defines how often master sends advertisement packets.
    invalid bool
    mac_address str
    Current mac address.
    mtu str
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name str
    on_backup str
    Script to execute when the node is switched to the backup state.
    on_fail str
    Script to execute when the node fails.
    on_master str
    Script to execute when the node is switched to master state.
    password str
    Password required for authentication. Can be ignored if authentication is not used.
    preemption_mode bool
    Whether the master node always has the priority. When set to no the backup node will not be elected to be a master until the current master fails, even if the backup node has higher priority than the current master. This setting is ignored if the owner router becomes available
    priority float
    Priority of VRRP node used in Master election algorithm. A higher number means higher priority. 255 is reserved for the router that owns VR IP and 0 is reserved for the Master router to indicate that it is releasing responsibility.
    remote_address str
    Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system autodetects the remote address via VRRP. The remote address is used only if sync_connection_tracking = true.Sync connection tracking uses UDP port 8275.
    running bool
    sync_connection_tracking bool
    Synchronize connection tracking entries from Master to Backup device.
    v3_protocol str
    A protocol that will be used by VRRPv3. Valid only if the version is 3.
    version float
    Which VRRP version to use.
    vrid float
    Virtual Router identifier. Each Virtual router must have a unique id number.
    ___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.
    arp String
    Address Resolution Protocol mode: * disabled - the interface will not use ARP * enabled - the interface will use ARP * local-proxy-arp - the router performs proxy ARP on the interface and sends replies to the same interface * proxy-arp - the router performs proxy ARP on the interface and sends replies to other interfaces * reply-only - the interface will only reply to requests originated from matching IP address/MAC address combinations which are entered as static entries in the ARP table. No dynamic entries will be automatically stored in the ARP table. Therefore for communications to be successful, a valid static entry must already exist.
    arpTimeout 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.
    authentication String
    Authentication method to use for VRRP advertisement packets.
    comment String
    disabled Boolean
    groupAuthority String
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    groupMaster String
    Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. group_authority was previously called group_master, group_master is kept for compatibility with scripts, but if both are set only group_authority will be taken into account.
    interface String
    Name of the interface.
    interfaceVrrpId String
    interval String
    VRRP update interval in seconds. Defines how often master sends advertisement packets.
    invalid Boolean
    macAddress String
    Current mac address.
    mtu String
    Layer3 Maximum transmission unit ('auto', 0 .. 65535)
    name String
    onBackup String
    Script to execute when the node is switched to the backup state.
    onFail String
    Script to execute when the node fails.
    onMaster String
    Script to execute when the node is switched to master state.
    password String
    Password required for authentication. Can be ignored if authentication is not used.
    preemptionMode Boolean
    Whether the master node always has the priority. When set to no the backup node will not be elected to be a master until the current master fails, even if the backup node has higher priority than the current master. This setting is ignored if the owner router becomes available
    priority Number
    Priority of VRRP node used in Master election algorithm. A higher number means higher priority. 255 is reserved for the router that owns VR IP and 0 is reserved for the Master router to indicate that it is releasing responsibility.
    remoteAddress String
    Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system autodetects the remote address via VRRP. The remote address is used only if sync_connection_tracking = true.Sync connection tracking uses UDP port 8275.
    running Boolean
    syncConnectionTracking Boolean
    Synchronize connection tracking entries from Master to Backup device.
    v3Protocol String
    A protocol that will be used by VRRPv3. Valid only if the version is 3.
    version Number
    Which VRRP version to use.
    vrid Number
    Virtual Router identifier. Each Virtual router must have a unique id number.

    Import

    #The ID can be found via API or the terminal

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

    $ pulumi import routeros:index/interfaceVrrp:InterfaceVrrp interface_vrrp "*0"
    

    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.83.0 published on Wednesday, Apr 16, 2025 by terraform-routeros