ipv6

package
v0.0.0-...-3e34f99 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FirewallFilter

type FirewallFilter struct {
	pulumi.CustomResourceState

	// Action to take if a packet is matched by the rule
	Action pulumi.StringOutput `pulumi:"action"`
	// Time interval after which the address will be removed from the address list specified by address-list parameter. Used in
	// conjunction with add-dst-to-address-list or add-src-to-address-list actions.
	AddressListTimeout pulumi.StringOutput `pulumi:"addressListTimeout"`
	// The total amount of bytes matched by the rule.
	Bytes pulumi.IntOutput `pulumi:"bytes"`
	// Specifies to which chain rule will be added. If the input does not match the name of an already defined chain, a new
	// chain will be created.
	Chain   pulumi.StringOutput    `pulumi:"chain"`
	Comment pulumi.StringPtrOutput `pulumi:"comment"`
	// Matches packets only if a given amount of bytes has been transfered through the particular connection.
	ConnectionBytes pulumi.StringPtrOutput `pulumi:"connectionBytes"`
	// Matches connections per address or address block after given value is reached. Should be used together with
	// connection-state=new and/or with tcp-flags=syn because matcher is very resource intensive.
	ConnectionLimit pulumi.StringPtrOutput `pulumi:"connectionLimit"`
	// Matches packets marked via mangle facility with particular connection mark. If no-mark is set, rule will match any
	// unmarked connection.
	ConnectionMark pulumi.StringPtrOutput `pulumi:"connectionMark"`
	// Connection Rate is a firewall matcher that allow to capture traffic based on present speed of the connection
	// (0..4294967295).
	ConnectionRate pulumi.StringPtrOutput `pulumi:"connectionRate"`
	// Interprets the connection tracking analysis data for a particular packet.
	ConnectionState pulumi.StringPtrOutput `pulumi:"connectionState"`
	// Matches packets from related connections based on information from their connection tracking helpers.
	ConnectionType pulumi.StringPtrOutput `pulumi:"connectionType"`
	// Match packets that contain specified text.
	Content  pulumi.StringPtrOutput `pulumi:"content"`
	Disabled pulumi.BoolPtrOutput   `pulumi:"disabled"`
	// Matches DSCP IP header field.
	Dscp pulumi.IntPtrOutput `pulumi:"dscp"`
	// Matches packets which destination is equal to specified IP or falls into specified IP range.
	DstAddress pulumi.StringPtrOutput `pulumi:"dstAddress"`
	// Matches destination address of a packet against user-defined address list.
	DstAddressList pulumi.StringPtrOutput `pulumi:"dstAddressList"`
	// Matches destination address type.
	DstAddressType pulumi.StringPtrOutput `pulumi:"dstAddressType"`
	// Matches packets until a given rate is exceeded.
	DstLimit pulumi.StringPtrOutput `pulumi:"dstLimit"`
	// List of destination port numbers or port number ranges.
	DstPort pulumi.StringPtrOutput `pulumi:"dstPort"`
	// Configuration item created by software, not by management interface. It is not exported, and cannot be directly
	// modified.
	Dynamic pulumi.BoolOutput `pulumi:"dynamic"`
	// Extension headers. Look at the Extras tab in the v6 filter rules.
	Headers pulumi.StringPtrOutput `pulumi:"headers"`
	// IPv6 TTL. Look at the Extras tab in the v6 filter rules.
	HopLimit pulumi.StringPtrOutput `pulumi:"hopLimit"`
	// Matches ICMP type: code fields.
	IcmpOptions pulumi.StringPtrOutput `pulumi:"icmpOptions"`
	// Actual interface the packet has entered the router if the incoming interface is a bridge. Works only if use-ip-firewall
	// is enabled in bridge settings.
	InBridgePort pulumi.StringPtrOutput `pulumi:"inBridgePort"`
	// Set of interfaces defined in interface list. Works the same as in-bridge-port.
	InBridgePortList pulumi.StringPtrOutput `pulumi:"inBridgePortList"`
	// Interface the packet has entered the router.
	InInterface pulumi.StringPtrOutput `pulumi:"inInterface"`
	// Set of interfaces defined in interface list. Works the same as in-interface.
	InInterfaceList pulumi.StringPtrOutput `pulumi:"inInterfaceList"`
	// Matches the priority of an ingress packet. Priority may be derived from VLAN, WMM, DSCP, or MPLS EXP bit.
	IngressPriority pulumi.IntPtrOutput `pulumi:"ingressPriority"`
	Invalid         pulumi.BoolOutput   `pulumi:"invalid"`
	// Matches the policy used by IPsec. Value is written in the following format: direction, policy.
	IpsecPolicy pulumi.StringPtrOutput `pulumi:"ipsecPolicy"`
	// Name of the target chain to jump to. Applicable only if action=jump.
	JumpTarget pulumi.StringPtrOutput `pulumi:"jumpTarget"`
	// Matches packets up to a limited rate (packet rate or bit rate). A rule using this matcher will match until this limit is
	// reached. Parameters are written in the following format: rate[/time],burst:mode.
	Limit pulumi.StringPtrOutput `pulumi:"limit"`
	// Add a message to the system log.
	Log pulumi.BoolPtrOutput `pulumi:"log"`
	// Adds specified text at the beginning of every log message. Applicable if action=log or log=yes configured.
	LogPrefix pulumi.StringPtrOutput `pulumi:"logPrefix"`
	// Matches every nth packet: nth=2,1 rule will match every first packet of 2, hence, 50% of all the traffic that is matched
	// by the rule
	Nth pulumi.StringPtrOutput `pulumi:"nth"`
	// Actual interface the packet is leaving the router if the outgoing interface is a bridge. Works only if use-ip-firewall
	// is enabled in bridge settings.
	OutBridgePort pulumi.StringPtrOutput `pulumi:"outBridgePort"`
	// Set of interfaces defined in interface list. Works the same as out-bridge-port.
	OutBridgePortList pulumi.StringPtrOutput `pulumi:"outBridgePortList"`
	// Interface the packet is leaving the router.
	OutInterface pulumi.StringPtrOutput `pulumi:"outInterface"`
	// Set of interfaces defined in interface list. Works the same as out-interface.
	OutInterfaceList pulumi.StringPtrOutput `pulumi:"outInterfaceList"`
	// Matches packets marked via mangle facility with particular packet mark. If no-mark is set, the rule will match any
	// unmarked packet.
	PacketMark pulumi.StringPtrOutput `pulumi:"packetMark"`
	// Matches packets of specified size or size range in bytes.
	PacketSize pulumi.StringPtrOutput `pulumi:"packetSize"`
	// The total amount of packets matched by the rule.
	Packets pulumi.IntOutput `pulumi:"packets"`
	// PCC matcher allows dividing traffic into equal streams with the ability to keep packets with a specific set of options
	// in one particular stream.
	PerConnectionClassifier pulumi.StringPtrOutput `pulumi:"perConnectionClassifier"`
	// Before which position the rule will be inserted. > Please check the effect of this option, as it does not work as you
	// think! > Best way to use in conjunction with a data source. See [example](../data-sources/firewall.md#example-usage).
	PlaceBefore pulumi.StringPtrOutput `pulumi:"placeBefore"`
	// Matches if any (source or destination) port matches the specified list of ports or port ranges. Applicable only if
	// protocol is TCP or UDP
	Port pulumi.StringPtrOutput `pulumi:"port"`
	// Matches the packet's priority after a new priority has been set. Priority may be derived from VLAN, WMM, DSCP, MPLS EXP
	// bit, or from the priority that has been set using the set-priority action.
	Priority pulumi.IntPtrOutput `pulumi:"priority"`
	// Matches particular IP protocol specified by protocol name or number.
	Protocol pulumi.StringPtrOutput `pulumi:"protocol"`
	// Matches packets randomly with a given probability.
	Random pulumi.IntPtrOutput `pulumi:"random"`
	// Specifies ICMP error to be sent back if the packet is rejected. Applicable if action=reject.
	RejectWith pulumi.StringPtrOutput `pulumi:"rejectWith"`
	// Matches packets marked by mangle facility with particular routing mark.
	RoutingMark pulumi.StringPtrOutput `pulumi:"routingMark"`
	// Matches packets which source is equal to specified IP or falls into a specified IP range.
	SrcAddress pulumi.StringPtrOutput `pulumi:"srcAddress"`
	// Matches source address of a packet against user-defined address list.
	SrcAddressList pulumi.StringPtrOutput `pulumi:"srcAddressList"`
	// Matches source address type.
	SrcAddressType pulumi.StringPtrOutput `pulumi:"srcAddressType"`
	// Matches source MAC address of the packet.
	SrcMacAddress pulumi.StringPtrOutput `pulumi:"srcMacAddress"`
	// List of source ports and ranges of source ports. Applicable only if a protocol is TCP or UDP.
	SrcPort pulumi.StringPtrOutput `pulumi:"srcPort"`
	// Matches specified TCP flags.
	TcpFlags pulumi.StringPtrOutput `pulumi:"tcpFlags"`
	// Matches TCP MSS value of an IP packet.
	TcpMss pulumi.StringPtrOutput `pulumi:"tcpMss"`
	// Allows to create a filter based on the packets' arrival time and date or, for locally generated packets, departure time
	// and date.
	Time pulumi.StringPtrOutput `pulumi:"time"`
	// Allows matching HTTPS traffic based on TLS SNI hostname.
	TlsHost pulumi.StringPtrOutput `pulumi:"tlsHost"`
	// contains filtered or unexported fields
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-routeros/sdk/go/routeros/Ipv6"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ipv6.NewFirewallFilter(ctx, "rule", &Ipv6.FirewallFilterArgs{
			Action:     pulumi.String("accept"),
			Chain:      pulumi.String("forward"),
			DstAddress: pulumi.String("2001:DB8:2000::1"),
			DstPort:    pulumi.String("443"),
			Protocol:   pulumi.String("tcp"),
			SrcAddress: pulumi.String("2001:DB8:1000::1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

#The ID can be found via API or the terminal #The command for the terminal is -> :put [/ipv6/firewall/filter get [print show-ids]]

```sh

$ pulumi import routeros:Ipv6/firewallFilter:FirewallFilter rule "*0"

```

func GetFirewallFilter

func GetFirewallFilter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FirewallFilterState, opts ...pulumi.ResourceOption) (*FirewallFilter, error)

GetFirewallFilter gets an existing FirewallFilter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFirewallFilter

func NewFirewallFilter(ctx *pulumi.Context,
	name string, args *FirewallFilterArgs, opts ...pulumi.ResourceOption) (*FirewallFilter, error)

NewFirewallFilter registers a new resource with the given unique name, arguments, and options.

func (*FirewallFilter) ElementType

func (*FirewallFilter) ElementType() reflect.Type

func (*FirewallFilter) ToFirewallFilterOutput

func (i *FirewallFilter) ToFirewallFilterOutput() FirewallFilterOutput

func (*FirewallFilter) ToFirewallFilterOutputWithContext

func (i *FirewallFilter) ToFirewallFilterOutputWithContext(ctx context.Context) FirewallFilterOutput

type FirewallFilterArgs

type FirewallFilterArgs struct {

	// Action to take if a packet is matched by the rule
	Action pulumi.StringInput
	// Time interval after which the address will be removed from the address list specified by address-list parameter. Used in
	// conjunction with add-dst-to-address-list or add-src-to-address-list actions.
	AddressListTimeout pulumi.StringPtrInput
	// Specifies to which chain rule will be added. If the input does not match the name of an already defined chain, a new
	// chain will be created.
	Chain   pulumi.StringInput
	Comment pulumi.StringPtrInput
	// Matches packets only if a given amount of bytes has been transfered through the particular connection.
	ConnectionBytes pulumi.StringPtrInput
	// Matches connections per address or address block after given value is reached. Should be used together with
	// connection-state=new and/or with tcp-flags=syn because matcher is very resource intensive.
	ConnectionLimit pulumi.StringPtrInput
	// Matches packets marked via mangle facility with particular connection mark. If no-mark is set, rule will match any
	// unmarked connection.
	ConnectionMark pulumi.StringPtrInput
	// Connection Rate is a firewall matcher that allow to capture traffic based on present speed of the connection
	// (0..4294967295).
	ConnectionRate pulumi.StringPtrInput
	// Interprets the connection tracking analysis data for a particular packet.
	ConnectionState pulumi.StringPtrInput
	// Matches packets from related connections based on information from their connection tracking helpers.
	ConnectionType pulumi.StringPtrInput
	// Match packets that contain specified text.
	Content  pulumi.StringPtrInput
	Disabled pulumi.BoolPtrInput
	// Matches DSCP IP header field.
	Dscp pulumi.IntPtrInput
	// Matches packets which destination is equal to specified IP or falls into specified IP range.
	DstAddress pulumi.StringPtrInput
	// Matches destination address of a packet against user-defined address list.
	DstAddressList pulumi.StringPtrInput
	// Matches destination address type.
	DstAddressType pulumi.StringPtrInput
	// Matches packets until a given rate is exceeded.
	DstLimit pulumi.StringPtrInput
	// List of destination port numbers or port number ranges.
	DstPort pulumi.StringPtrInput
	// Extension headers. Look at the Extras tab in the v6 filter rules.
	Headers pulumi.StringPtrInput
	// IPv6 TTL. Look at the Extras tab in the v6 filter rules.
	HopLimit pulumi.StringPtrInput
	// Matches ICMP type: code fields.
	IcmpOptions pulumi.StringPtrInput
	// Actual interface the packet has entered the router if the incoming interface is a bridge. Works only if use-ip-firewall
	// is enabled in bridge settings.
	InBridgePort pulumi.StringPtrInput
	// Set of interfaces defined in interface list. Works the same as in-bridge-port.
	InBridgePortList pulumi.StringPtrInput
	// Interface the packet has entered the router.
	InInterface pulumi.StringPtrInput
	// Set of interfaces defined in interface list. Works the same as in-interface.
	InInterfaceList pulumi.StringPtrInput
	// Matches the priority of an ingress packet. Priority may be derived from VLAN, WMM, DSCP, or MPLS EXP bit.
	IngressPriority pulumi.IntPtrInput
	// Matches the policy used by IPsec. Value is written in the following format: direction, policy.
	IpsecPolicy pulumi.StringPtrInput
	// Name of the target chain to jump to. Applicable only if action=jump.
	JumpTarget pulumi.StringPtrInput
	// Matches packets up to a limited rate (packet rate or bit rate). A rule using this matcher will match until this limit is
	// reached. Parameters are written in the following format: rate[/time],burst:mode.
	Limit pulumi.StringPtrInput
	// Add a message to the system log.
	Log pulumi.BoolPtrInput
	// Adds specified text at the beginning of every log message. Applicable if action=log or log=yes configured.
	LogPrefix pulumi.StringPtrInput
	// Matches every nth packet: nth=2,1 rule will match every first packet of 2, hence, 50% of all the traffic that is matched
	// by the rule
	Nth pulumi.StringPtrInput
	// Actual interface the packet is leaving the router if the outgoing interface is a bridge. Works only if use-ip-firewall
	// is enabled in bridge settings.
	OutBridgePort pulumi.StringPtrInput
	// Set of interfaces defined in interface list. Works the same as out-bridge-port.
	OutBridgePortList pulumi.StringPtrInput
	// Interface the packet is leaving the router.
	OutInterface pulumi.StringPtrInput
	// Set of interfaces defined in interface list. Works the same as out-interface.
	OutInterfaceList pulumi.StringPtrInput
	// Matches packets marked via mangle facility with particular packet mark. If no-mark is set, the rule will match any
	// unmarked packet.
	PacketMark pulumi.StringPtrInput
	// Matches packets of specified size or size range in bytes.
	PacketSize pulumi.StringPtrInput
	// PCC matcher allows dividing traffic into equal streams with the ability to keep packets with a specific set of options
	// in one particular stream.
	PerConnectionClassifier pulumi.StringPtrInput
	// Before which position the rule will be inserted. > Please check the effect of this option, as it does not work as you
	// think! > Best way to use in conjunction with a data source. See [example](../data-sources/firewall.md#example-usage).
	PlaceBefore pulumi.StringPtrInput
	// Matches if any (source or destination) port matches the specified list of ports or port ranges. Applicable only if
	// protocol is TCP or UDP
	Port pulumi.StringPtrInput
	// Matches the packet's priority after a new priority has been set. Priority may be derived from VLAN, WMM, DSCP, MPLS EXP
	// bit, or from the priority that has been set using the set-priority action.
	Priority pulumi.IntPtrInput
	// Matches particular IP protocol specified by protocol name or number.
	Protocol pulumi.StringPtrInput
	// Matches packets randomly with a given probability.
	Random pulumi.IntPtrInput
	// Specifies ICMP error to be sent back if the packet is rejected. Applicable if action=reject.
	RejectWith pulumi.StringPtrInput
	// Matches packets marked by mangle facility with particular routing mark.
	RoutingMark pulumi.StringPtrInput
	// Matches packets which source is equal to specified IP or falls into a specified IP range.
	SrcAddress pulumi.StringPtrInput
	// Matches source address of a packet against user-defined address list.
	SrcAddressList pulumi.StringPtrInput
	// Matches source address type.
	SrcAddressType pulumi.StringPtrInput
	// Matches source MAC address of the packet.
	SrcMacAddress pulumi.StringPtrInput
	// List of source ports and ranges of source ports. Applicable only if a protocol is TCP or UDP.
	SrcPort pulumi.StringPtrInput
	// Matches specified TCP flags.
	TcpFlags pulumi.StringPtrInput
	// Matches TCP MSS value of an IP packet.
	TcpMss pulumi.StringPtrInput
	// Allows to create a filter based on the packets' arrival time and date or, for locally generated packets, departure time
	// and date.
	Time pulumi.StringPtrInput
	// Allows matching HTTPS traffic based on TLS SNI hostname.
	TlsHost pulumi.StringPtrInput
	// contains filtered or unexported fields
}

The set of arguments for constructing a FirewallFilter resource.

func (FirewallFilterArgs) ElementType

func (FirewallFilterArgs) ElementType() reflect.Type

type FirewallFilterArray

type FirewallFilterArray []FirewallFilterInput

func (FirewallFilterArray) ElementType

func (FirewallFilterArray) ElementType() reflect.Type

func (FirewallFilterArray) ToFirewallFilterArrayOutput

func (i FirewallFilterArray) ToFirewallFilterArrayOutput() FirewallFilterArrayOutput

func (FirewallFilterArray) ToFirewallFilterArrayOutputWithContext

func (i FirewallFilterArray) ToFirewallFilterArrayOutputWithContext(ctx context.Context) FirewallFilterArrayOutput

type FirewallFilterArrayInput

type FirewallFilterArrayInput interface {
	pulumi.Input

	ToFirewallFilterArrayOutput() FirewallFilterArrayOutput
	ToFirewallFilterArrayOutputWithContext(context.Context) FirewallFilterArrayOutput
}

FirewallFilterArrayInput is an input type that accepts FirewallFilterArray and FirewallFilterArrayOutput values. You can construct a concrete instance of `FirewallFilterArrayInput` via:

FirewallFilterArray{ FirewallFilterArgs{...} }

type FirewallFilterArrayOutput

type FirewallFilterArrayOutput struct{ *pulumi.OutputState }

func (FirewallFilterArrayOutput) ElementType

func (FirewallFilterArrayOutput) ElementType() reflect.Type

func (FirewallFilterArrayOutput) Index

func (FirewallFilterArrayOutput) ToFirewallFilterArrayOutput

func (o FirewallFilterArrayOutput) ToFirewallFilterArrayOutput() FirewallFilterArrayOutput

func (FirewallFilterArrayOutput) ToFirewallFilterArrayOutputWithContext

func (o FirewallFilterArrayOutput) ToFirewallFilterArrayOutputWithContext(ctx context.Context) FirewallFilterArrayOutput

type FirewallFilterInput

type FirewallFilterInput interface {
	pulumi.Input

	ToFirewallFilterOutput() FirewallFilterOutput
	ToFirewallFilterOutputWithContext(ctx context.Context) FirewallFilterOutput
}

type FirewallFilterMap

type FirewallFilterMap map[string]FirewallFilterInput

func (FirewallFilterMap) ElementType

func (FirewallFilterMap) ElementType() reflect.Type

func (FirewallFilterMap) ToFirewallFilterMapOutput

func (i FirewallFilterMap) ToFirewallFilterMapOutput() FirewallFilterMapOutput

func (FirewallFilterMap) ToFirewallFilterMapOutputWithContext

func (i FirewallFilterMap) ToFirewallFilterMapOutputWithContext(ctx context.Context) FirewallFilterMapOutput

type FirewallFilterMapInput

type FirewallFilterMapInput interface {
	pulumi.Input

	ToFirewallFilterMapOutput() FirewallFilterMapOutput
	ToFirewallFilterMapOutputWithContext(context.Context) FirewallFilterMapOutput
}

FirewallFilterMapInput is an input type that accepts FirewallFilterMap and FirewallFilterMapOutput values. You can construct a concrete instance of `FirewallFilterMapInput` via:

FirewallFilterMap{ "key": FirewallFilterArgs{...} }

type FirewallFilterMapOutput

type FirewallFilterMapOutput struct{ *pulumi.OutputState }

func (FirewallFilterMapOutput) ElementType

func (FirewallFilterMapOutput) ElementType() reflect.Type

func (FirewallFilterMapOutput) MapIndex

func (FirewallFilterMapOutput) ToFirewallFilterMapOutput

func (o FirewallFilterMapOutput) ToFirewallFilterMapOutput() FirewallFilterMapOutput

func (FirewallFilterMapOutput) ToFirewallFilterMapOutputWithContext

func (o FirewallFilterMapOutput) ToFirewallFilterMapOutputWithContext(ctx context.Context) FirewallFilterMapOutput

type FirewallFilterOutput

type FirewallFilterOutput struct{ *pulumi.OutputState }

func (FirewallFilterOutput) Action

Action to take if a packet is matched by the rule

func (FirewallFilterOutput) AddressListTimeout

func (o FirewallFilterOutput) AddressListTimeout() pulumi.StringOutput

Time interval after which the address will be removed from the address list specified by address-list parameter. Used in conjunction with add-dst-to-address-list or add-src-to-address-list actions.

func (FirewallFilterOutput) Bytes

The total amount of bytes matched by the rule.

func (FirewallFilterOutput) Chain

Specifies to which chain rule will be added. If the input does not match the name of an already defined chain, a new chain will be created.

func (FirewallFilterOutput) Comment

func (FirewallFilterOutput) ConnectionBytes

func (o FirewallFilterOutput) ConnectionBytes() pulumi.StringPtrOutput

Matches packets only if a given amount of bytes has been transfered through the particular connection.

func (FirewallFilterOutput) ConnectionLimit

func (o FirewallFilterOutput) ConnectionLimit() pulumi.StringPtrOutput

Matches connections per address or address block after given value is reached. Should be used together with connection-state=new and/or with tcp-flags=syn because matcher is very resource intensive.

func (FirewallFilterOutput) ConnectionMark

func (o FirewallFilterOutput) ConnectionMark() pulumi.StringPtrOutput

Matches packets marked via mangle facility with particular connection mark. If no-mark is set, rule will match any unmarked connection.

func (FirewallFilterOutput) ConnectionRate

func (o FirewallFilterOutput) ConnectionRate() pulumi.StringPtrOutput

Connection Rate is a firewall matcher that allow to capture traffic based on present speed of the connection (0..4294967295).

func (FirewallFilterOutput) ConnectionState

func (o FirewallFilterOutput) ConnectionState() pulumi.StringPtrOutput

Interprets the connection tracking analysis data for a particular packet.

func (FirewallFilterOutput) ConnectionType

func (o FirewallFilterOutput) ConnectionType() pulumi.StringPtrOutput

Matches packets from related connections based on information from their connection tracking helpers.

func (FirewallFilterOutput) Content

Match packets that contain specified text.

func (FirewallFilterOutput) Disabled

func (FirewallFilterOutput) Dscp

Matches DSCP IP header field.

func (FirewallFilterOutput) DstAddress

Matches packets which destination is equal to specified IP or falls into specified IP range.

func (FirewallFilterOutput) DstAddressList

func (o FirewallFilterOutput) DstAddressList() pulumi.StringPtrOutput

Matches destination address of a packet against user-defined address list.

func (FirewallFilterOutput) DstAddressType

func (o FirewallFilterOutput) DstAddressType() pulumi.StringPtrOutput

Matches destination address type.

func (FirewallFilterOutput) DstLimit

Matches packets until a given rate is exceeded.

func (FirewallFilterOutput) DstPort

List of destination port numbers or port number ranges.

func (FirewallFilterOutput) Dynamic

Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.

func (FirewallFilterOutput) ElementType

func (FirewallFilterOutput) ElementType() reflect.Type

func (FirewallFilterOutput) Headers

Extension headers. Look at the Extras tab in the v6 filter rules.

func (FirewallFilterOutput) HopLimit

IPv6 TTL. Look at the Extras tab in the v6 filter rules.

func (FirewallFilterOutput) IcmpOptions

Matches ICMP type: code fields.

func (FirewallFilterOutput) InBridgePort

func (o FirewallFilterOutput) InBridgePort() pulumi.StringPtrOutput

Actual interface the packet has entered the router if the incoming interface is a bridge. Works only if use-ip-firewall is enabled in bridge settings.

func (FirewallFilterOutput) InBridgePortList

func (o FirewallFilterOutput) InBridgePortList() pulumi.StringPtrOutput

Set of interfaces defined in interface list. Works the same as in-bridge-port.

func (FirewallFilterOutput) InInterface

Interface the packet has entered the router.

func (FirewallFilterOutput) InInterfaceList

func (o FirewallFilterOutput) InInterfaceList() pulumi.StringPtrOutput

Set of interfaces defined in interface list. Works the same as in-interface.

func (FirewallFilterOutput) IngressPriority

func (o FirewallFilterOutput) IngressPriority() pulumi.IntPtrOutput

Matches the priority of an ingress packet. Priority may be derived from VLAN, WMM, DSCP, or MPLS EXP bit.

func (FirewallFilterOutput) Invalid

func (FirewallFilterOutput) IpsecPolicy

Matches the policy used by IPsec. Value is written in the following format: direction, policy.

func (FirewallFilterOutput) JumpTarget

Name of the target chain to jump to. Applicable only if action=jump.

func (FirewallFilterOutput) Limit

Matches packets up to a limited rate (packet rate or bit rate). A rule using this matcher will match until this limit is reached. Parameters are written in the following format: rate[/time],burst:mode.

func (FirewallFilterOutput) Log

Add a message to the system log.

func (FirewallFilterOutput) LogPrefix

Adds specified text at the beginning of every log message. Applicable if action=log or log=yes configured.

func (FirewallFilterOutput) Nth

Matches every nth packet: nth=2,1 rule will match every first packet of 2, hence, 50% of all the traffic that is matched by the rule

func (FirewallFilterOutput) OutBridgePort

func (o FirewallFilterOutput) OutBridgePort() pulumi.StringPtrOutput

Actual interface the packet is leaving the router if the outgoing interface is a bridge. Works only if use-ip-firewall is enabled in bridge settings.

func (FirewallFilterOutput) OutBridgePortList

func (o FirewallFilterOutput) OutBridgePortList() pulumi.StringPtrOutput

Set of interfaces defined in interface list. Works the same as out-bridge-port.

func (FirewallFilterOutput) OutInterface

func (o FirewallFilterOutput) OutInterface() pulumi.StringPtrOutput

Interface the packet is leaving the router.

func (FirewallFilterOutput) OutInterfaceList

func (o FirewallFilterOutput) OutInterfaceList() pulumi.StringPtrOutput

Set of interfaces defined in interface list. Works the same as out-interface.

func (FirewallFilterOutput) PacketMark

Matches packets marked via mangle facility with particular packet mark. If no-mark is set, the rule will match any unmarked packet.

func (FirewallFilterOutput) PacketSize

Matches packets of specified size or size range in bytes.

func (FirewallFilterOutput) Packets

The total amount of packets matched by the rule.

func (FirewallFilterOutput) PerConnectionClassifier

func (o FirewallFilterOutput) PerConnectionClassifier() pulumi.StringPtrOutput

PCC matcher allows dividing traffic into equal streams with the ability to keep packets with a specific set of options in one particular stream.

func (FirewallFilterOutput) PlaceBefore

Before which position the rule will be inserted. > Please check the effect of this option, as it does not work as you think! > Best way to use in conjunction with a data source. See [example](../data-sources/firewall.md#example-usage).

func (FirewallFilterOutput) Port

Matches if any (source or destination) port matches the specified list of ports or port ranges. Applicable only if protocol is TCP or UDP

func (FirewallFilterOutput) Priority

Matches the packet's priority after a new priority has been set. Priority may be derived from VLAN, WMM, DSCP, MPLS EXP bit, or from the priority that has been set using the set-priority action.

func (FirewallFilterOutput) Protocol

Matches particular IP protocol specified by protocol name or number.

func (FirewallFilterOutput) Random

Matches packets randomly with a given probability.

func (FirewallFilterOutput) RejectWith

Specifies ICMP error to be sent back if the packet is rejected. Applicable if action=reject.

func (FirewallFilterOutput) RoutingMark

Matches packets marked by mangle facility with particular routing mark.

func (FirewallFilterOutput) SrcAddress

Matches packets which source is equal to specified IP or falls into a specified IP range.

func (FirewallFilterOutput) SrcAddressList

func (o FirewallFilterOutput) SrcAddressList() pulumi.StringPtrOutput

Matches source address of a packet against user-defined address list.

func (FirewallFilterOutput) SrcAddressType

func (o FirewallFilterOutput) SrcAddressType() pulumi.StringPtrOutput

Matches source address type.

func (FirewallFilterOutput) SrcMacAddress

func (o FirewallFilterOutput) SrcMacAddress() pulumi.StringPtrOutput

Matches source MAC address of the packet.

func (FirewallFilterOutput) SrcPort

List of source ports and ranges of source ports. Applicable only if a protocol is TCP or UDP.

func (FirewallFilterOutput) TcpFlags

Matches specified TCP flags.

func (FirewallFilterOutput) TcpMss

Matches TCP MSS value of an IP packet.

func (FirewallFilterOutput) Time

Allows to create a filter based on the packets' arrival time and date or, for locally generated packets, departure time and date.

func (FirewallFilterOutput) TlsHost

Allows matching HTTPS traffic based on TLS SNI hostname.

func (FirewallFilterOutput) ToFirewallFilterOutput

func (o FirewallFilterOutput) ToFirewallFilterOutput() FirewallFilterOutput

func (FirewallFilterOutput) ToFirewallFilterOutputWithContext

func (o FirewallFilterOutput) ToFirewallFilterOutputWithContext(ctx context.Context) FirewallFilterOutput

type FirewallFilterState

type FirewallFilterState struct {

	// Action to take if a packet is matched by the rule
	Action pulumi.StringPtrInput
	// Time interval after which the address will be removed from the address list specified by address-list parameter. Used in
	// conjunction with add-dst-to-address-list or add-src-to-address-list actions.
	AddressListTimeout pulumi.StringPtrInput
	// The total amount of bytes matched by the rule.
	Bytes pulumi.IntPtrInput
	// Specifies to which chain rule will be added. If the input does not match the name of an already defined chain, a new
	// chain will be created.
	Chain   pulumi.StringPtrInput
	Comment pulumi.StringPtrInput
	// Matches packets only if a given amount of bytes has been transfered through the particular connection.
	ConnectionBytes pulumi.StringPtrInput
	// Matches connections per address or address block after given value is reached. Should be used together with
	// connection-state=new and/or with tcp-flags=syn because matcher is very resource intensive.
	ConnectionLimit pulumi.StringPtrInput
	// Matches packets marked via mangle facility with particular connection mark. If no-mark is set, rule will match any
	// unmarked connection.
	ConnectionMark pulumi.StringPtrInput
	// Connection Rate is a firewall matcher that allow to capture traffic based on present speed of the connection
	// (0..4294967295).
	ConnectionRate pulumi.StringPtrInput
	// Interprets the connection tracking analysis data for a particular packet.
	ConnectionState pulumi.StringPtrInput
	// Matches packets from related connections based on information from their connection tracking helpers.
	ConnectionType pulumi.StringPtrInput
	// Match packets that contain specified text.
	Content  pulumi.StringPtrInput
	Disabled pulumi.BoolPtrInput
	// Matches DSCP IP header field.
	Dscp pulumi.IntPtrInput
	// Matches packets which destination is equal to specified IP or falls into specified IP range.
	DstAddress pulumi.StringPtrInput
	// Matches destination address of a packet against user-defined address list.
	DstAddressList pulumi.StringPtrInput
	// Matches destination address type.
	DstAddressType pulumi.StringPtrInput
	// Matches packets until a given rate is exceeded.
	DstLimit pulumi.StringPtrInput
	// List of destination port numbers or port number ranges.
	DstPort pulumi.StringPtrInput
	// Configuration item created by software, not by management interface. It is not exported, and cannot be directly
	// modified.
	Dynamic pulumi.BoolPtrInput
	// Extension headers. Look at the Extras tab in the v6 filter rules.
	Headers pulumi.StringPtrInput
	// IPv6 TTL. Look at the Extras tab in the v6 filter rules.
	HopLimit pulumi.StringPtrInput
	// Matches ICMP type: code fields.
	IcmpOptions pulumi.StringPtrInput
	// Actual interface the packet has entered the router if the incoming interface is a bridge. Works only if use-ip-firewall
	// is enabled in bridge settings.
	InBridgePort pulumi.StringPtrInput
	// Set of interfaces defined in interface list. Works the same as in-bridge-port.
	InBridgePortList pulumi.StringPtrInput
	// Interface the packet has entered the router.
	InInterface pulumi.StringPtrInput
	// Set of interfaces defined in interface list. Works the same as in-interface.
	InInterfaceList pulumi.StringPtrInput
	// Matches the priority of an ingress packet. Priority may be derived from VLAN, WMM, DSCP, or MPLS EXP bit.
	IngressPriority pulumi.IntPtrInput
	Invalid         pulumi.BoolPtrInput
	// Matches the policy used by IPsec. Value is written in the following format: direction, policy.
	IpsecPolicy pulumi.StringPtrInput
	// Name of the target chain to jump to. Applicable only if action=jump.
	JumpTarget pulumi.StringPtrInput
	// Matches packets up to a limited rate (packet rate or bit rate). A rule using this matcher will match until this limit is
	// reached. Parameters are written in the following format: rate[/time],burst:mode.
	Limit pulumi.StringPtrInput
	// Add a message to the system log.
	Log pulumi.BoolPtrInput
	// Adds specified text at the beginning of every log message. Applicable if action=log or log=yes configured.
	LogPrefix pulumi.StringPtrInput
	// Matches every nth packet: nth=2,1 rule will match every first packet of 2, hence, 50% of all the traffic that is matched
	// by the rule
	Nth pulumi.StringPtrInput
	// Actual interface the packet is leaving the router if the outgoing interface is a bridge. Works only if use-ip-firewall
	// is enabled in bridge settings.
	OutBridgePort pulumi.StringPtrInput
	// Set of interfaces defined in interface list. Works the same as out-bridge-port.
	OutBridgePortList pulumi.StringPtrInput
	// Interface the packet is leaving the router.
	OutInterface pulumi.StringPtrInput
	// Set of interfaces defined in interface list. Works the same as out-interface.
	OutInterfaceList pulumi.StringPtrInput
	// Matches packets marked via mangle facility with particular packet mark. If no-mark is set, the rule will match any
	// unmarked packet.
	PacketMark pulumi.StringPtrInput
	// Matches packets of specified size or size range in bytes.
	PacketSize pulumi.StringPtrInput
	// The total amount of packets matched by the rule.
	Packets pulumi.IntPtrInput
	// PCC matcher allows dividing traffic into equal streams with the ability to keep packets with a specific set of options
	// in one particular stream.
	PerConnectionClassifier pulumi.StringPtrInput
	// Before which position the rule will be inserted. > Please check the effect of this option, as it does not work as you
	// think! > Best way to use in conjunction with a data source. See [example](../data-sources/firewall.md#example-usage).
	PlaceBefore pulumi.StringPtrInput
	// Matches if any (source or destination) port matches the specified list of ports or port ranges. Applicable only if
	// protocol is TCP or UDP
	Port pulumi.StringPtrInput
	// Matches the packet's priority after a new priority has been set. Priority may be derived from VLAN, WMM, DSCP, MPLS EXP
	// bit, or from the priority that has been set using the set-priority action.
	Priority pulumi.IntPtrInput
	// Matches particular IP protocol specified by protocol name or number.
	Protocol pulumi.StringPtrInput
	// Matches packets randomly with a given probability.
	Random pulumi.IntPtrInput
	// Specifies ICMP error to be sent back if the packet is rejected. Applicable if action=reject.
	RejectWith pulumi.StringPtrInput
	// Matches packets marked by mangle facility with particular routing mark.
	RoutingMark pulumi.StringPtrInput
	// Matches packets which source is equal to specified IP or falls into a specified IP range.
	SrcAddress pulumi.StringPtrInput
	// Matches source address of a packet against user-defined address list.
	SrcAddressList pulumi.StringPtrInput
	// Matches source address type.
	SrcAddressType pulumi.StringPtrInput
	// Matches source MAC address of the packet.
	SrcMacAddress pulumi.StringPtrInput
	// List of source ports and ranges of source ports. Applicable only if a protocol is TCP or UDP.
	SrcPort pulumi.StringPtrInput
	// Matches specified TCP flags.
	TcpFlags pulumi.StringPtrInput
	// Matches TCP MSS value of an IP packet.
	TcpMss pulumi.StringPtrInput
	// Allows to create a filter based on the packets' arrival time and date or, for locally generated packets, departure time
	// and date.
	Time pulumi.StringPtrInput
	// Allows matching HTTPS traffic based on TLS SNI hostname.
	TlsHost pulumi.StringPtrInput
	// contains filtered or unexported fields
}

func (FirewallFilterState) ElementType

func (FirewallFilterState) ElementType() reflect.Type

type GetIpv6AddressesAddress

type GetIpv6AddressesAddress struct {
	ActualInterface string `pulumi:"actualInterface"`
	Address         string `pulumi:"address"`
	Advertise       bool   `pulumi:"advertise"`
	Comment         string `pulumi:"comment"`
	Disabled        bool   `pulumi:"disabled"`
	Dynamic         bool   `pulumi:"dynamic"`
	Eui64           bool   `pulumi:"eui64"`
	FromPool        string `pulumi:"fromPool"`
	// The ID of this resource.
	Id        string `pulumi:"id"`
	Interface string `pulumi:"interface"`
	Invalid   bool   `pulumi:"invalid"`
	LinkLocal bool   `pulumi:"linkLocal"`
	NoDad     bool   `pulumi:"noDad"`
}

type GetIpv6AddressesAddressArgs

type GetIpv6AddressesAddressArgs struct {
	ActualInterface pulumi.StringInput `pulumi:"actualInterface"`
	Address         pulumi.StringInput `pulumi:"address"`
	Advertise       pulumi.BoolInput   `pulumi:"advertise"`
	Comment         pulumi.StringInput `pulumi:"comment"`
	Disabled        pulumi.BoolInput   `pulumi:"disabled"`
	Dynamic         pulumi.BoolInput   `pulumi:"dynamic"`
	Eui64           pulumi.BoolInput   `pulumi:"eui64"`
	FromPool        pulumi.StringInput `pulumi:"fromPool"`
	// The ID of this resource.
	Id        pulumi.StringInput `pulumi:"id"`
	Interface pulumi.StringInput `pulumi:"interface"`
	Invalid   pulumi.BoolInput   `pulumi:"invalid"`
	LinkLocal pulumi.BoolInput   `pulumi:"linkLocal"`
	NoDad     pulumi.BoolInput   `pulumi:"noDad"`
}

func (GetIpv6AddressesAddressArgs) ElementType

func (GetIpv6AddressesAddressArgs) ToGetIpv6AddressesAddressOutput

func (i GetIpv6AddressesAddressArgs) ToGetIpv6AddressesAddressOutput() GetIpv6AddressesAddressOutput

func (GetIpv6AddressesAddressArgs) ToGetIpv6AddressesAddressOutputWithContext

func (i GetIpv6AddressesAddressArgs) ToGetIpv6AddressesAddressOutputWithContext(ctx context.Context) GetIpv6AddressesAddressOutput

type GetIpv6AddressesAddressArray

type GetIpv6AddressesAddressArray []GetIpv6AddressesAddressInput

func (GetIpv6AddressesAddressArray) ElementType

func (GetIpv6AddressesAddressArray) ToGetIpv6AddressesAddressArrayOutput

func (i GetIpv6AddressesAddressArray) ToGetIpv6AddressesAddressArrayOutput() GetIpv6AddressesAddressArrayOutput

func (GetIpv6AddressesAddressArray) ToGetIpv6AddressesAddressArrayOutputWithContext

func (i GetIpv6AddressesAddressArray) ToGetIpv6AddressesAddressArrayOutputWithContext(ctx context.Context) GetIpv6AddressesAddressArrayOutput

type GetIpv6AddressesAddressArrayInput

type GetIpv6AddressesAddressArrayInput interface {
	pulumi.Input

	ToGetIpv6AddressesAddressArrayOutput() GetIpv6AddressesAddressArrayOutput
	ToGetIpv6AddressesAddressArrayOutputWithContext(context.Context) GetIpv6AddressesAddressArrayOutput
}

GetIpv6AddressesAddressArrayInput is an input type that accepts GetIpv6AddressesAddressArray and GetIpv6AddressesAddressArrayOutput values. You can construct a concrete instance of `GetIpv6AddressesAddressArrayInput` via:

GetIpv6AddressesAddressArray{ GetIpv6AddressesAddressArgs{...} }

type GetIpv6AddressesAddressArrayOutput

type GetIpv6AddressesAddressArrayOutput struct{ *pulumi.OutputState }

func (GetIpv6AddressesAddressArrayOutput) ElementType

func (GetIpv6AddressesAddressArrayOutput) Index

func (GetIpv6AddressesAddressArrayOutput) ToGetIpv6AddressesAddressArrayOutput

func (o GetIpv6AddressesAddressArrayOutput) ToGetIpv6AddressesAddressArrayOutput() GetIpv6AddressesAddressArrayOutput

func (GetIpv6AddressesAddressArrayOutput) ToGetIpv6AddressesAddressArrayOutputWithContext

func (o GetIpv6AddressesAddressArrayOutput) ToGetIpv6AddressesAddressArrayOutputWithContext(ctx context.Context) GetIpv6AddressesAddressArrayOutput

type GetIpv6AddressesAddressInput

type GetIpv6AddressesAddressInput interface {
	pulumi.Input

	ToGetIpv6AddressesAddressOutput() GetIpv6AddressesAddressOutput
	ToGetIpv6AddressesAddressOutputWithContext(context.Context) GetIpv6AddressesAddressOutput
}

GetIpv6AddressesAddressInput is an input type that accepts GetIpv6AddressesAddressArgs and GetIpv6AddressesAddressOutput values. You can construct a concrete instance of `GetIpv6AddressesAddressInput` via:

GetIpv6AddressesAddressArgs{...}

type GetIpv6AddressesAddressOutput

type GetIpv6AddressesAddressOutput struct{ *pulumi.OutputState }

func (GetIpv6AddressesAddressOutput) ActualInterface

func (GetIpv6AddressesAddressOutput) Address

func (GetIpv6AddressesAddressOutput) Advertise

func (GetIpv6AddressesAddressOutput) Comment

func (GetIpv6AddressesAddressOutput) Disabled

func (GetIpv6AddressesAddressOutput) Dynamic

func (GetIpv6AddressesAddressOutput) ElementType

func (GetIpv6AddressesAddressOutput) Eui64

func (GetIpv6AddressesAddressOutput) FromPool

func (GetIpv6AddressesAddressOutput) Id

The ID of this resource.

func (GetIpv6AddressesAddressOutput) Interface

func (GetIpv6AddressesAddressOutput) Invalid

func (GetIpv6AddressesAddressOutput) LinkLocal

func (GetIpv6AddressesAddressOutput) NoDad

func (GetIpv6AddressesAddressOutput) ToGetIpv6AddressesAddressOutput

func (o GetIpv6AddressesAddressOutput) ToGetIpv6AddressesAddressOutput() GetIpv6AddressesAddressOutput

func (GetIpv6AddressesAddressOutput) ToGetIpv6AddressesAddressOutputWithContext

func (o GetIpv6AddressesAddressOutput) ToGetIpv6AddressesAddressOutputWithContext(ctx context.Context) GetIpv6AddressesAddressOutput

type GetIpv6AddressesArgs

type GetIpv6AddressesArgs struct {

	// Additional request filtering options.
	Filter map[string]interface{} `pulumi:"filter"`
	// contains filtered or unexported fields
}

A collection of arguments for invoking getIpv6Addresses.

type GetIpv6AddressesOutputArgs

type GetIpv6AddressesOutputArgs struct {

	// Additional request filtering options.
	Filter pulumi.MapInput `pulumi:"filter"`
	// contains filtered or unexported fields
}

A collection of arguments for invoking getIpv6Addresses.

func (GetIpv6AddressesOutputArgs) ElementType

func (GetIpv6AddressesOutputArgs) ElementType() reflect.Type

type GetIpv6AddressesResult

type GetIpv6AddressesResult struct {
	Addresses []GetIpv6AddressesAddress `pulumi:"addresses"`
	// Additional request filtering options.
	Filter map[string]interface{} `pulumi:"filter"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// contains filtered or unexported fields
}

A collection of values returned by getIpv6Addresses.

type GetIpv6AddressesResultOutput

type GetIpv6AddressesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIpv6Addresses.

func (GetIpv6AddressesResultOutput) Addresses

func (GetIpv6AddressesResultOutput) ElementType

func (GetIpv6AddressesResultOutput) Filter

Additional request filtering options.

func (GetIpv6AddressesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetIpv6AddressesResultOutput) ToGetIpv6AddressesResultOutput

func (o GetIpv6AddressesResultOutput) ToGetIpv6AddressesResultOutput() GetIpv6AddressesResultOutput

func (GetIpv6AddressesResultOutput) ToGetIpv6AddressesResultOutputWithContext

func (o GetIpv6AddressesResultOutput) ToGetIpv6AddressesResultOutputWithContext(ctx context.Context) GetIpv6AddressesResultOutput

type Route

type Route struct {
	pulumi.CustomResourceState

	// A flag indicates whether the route is elected as Active and eligible to be added to the FIB.
	Active pulumi.BoolOutput `pulumi:"active"`
	// It's a blackhole route.
	Blackhole pulumi.BoolPtrOutput   `pulumi:"blackhole"`
	Comment   pulumi.StringPtrOutput `pulumi:"comment"`
	Disabled  pulumi.BoolPtrOutput   `pulumi:"disabled"`
	// Value used in route selection. Routes with smaller distance value are given preference.
	Distance pulumi.IntPtrOutput `pulumi:"distance"`
	// IP prefix of route, specifies destination addresses that this route can be used for.
	DstAddress pulumi.StringOutput `pulumi:"dstAddress"`
	// Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
	Dynamic pulumi.BoolOutput `pulumi:"dynamic"`
	// A flag indicates whether the route is added as an Equal-Cost Multi-Path route in the FIB.
	Ecmp pulumi.BoolOutput `pulumi:"ecmp"`
	// Array of IP addresses or interface names. Specifies which host or interface packets should be sent to (IP | interface | IP%interface | IP@table[, IP | string, [..]]).
	Gateway pulumi.StringOutput `pulumi:"gateway"`
	// Indicates whether the route is eligible to be hardware offloaded on supported hardware.
	HwOffloaded pulumi.BoolOutput `pulumi:"hwOffloaded"`
	// Shows actual (resolved) gateway and interface that will be used for packet forwarding.
	ImmediateGw pulumi.StringOutput `pulumi:"immediateGw"`
	Inactive    pulumi.BoolOutput   `pulumi:"inactive"`
	// Which of the local IP addresses to use for locally originated packets that are sent via this route. Value of this property has no effect on forwarded packets. If value of this property is set to IP address that is not local address of this router then the route will be inactive (in ROS v6, ROS v7 allows IP spoofing).
	PrefSrc pulumi.StringPtrOutput `pulumi:"prefSrc"`
	// Routing table this route belongs to.
	RoutingTable pulumi.StringPtrOutput `pulumi:"routingTable"`
	// Used in nexthop resolution. Route can resolve nexthop only through routes that have scope less than or equal to the target-scope of this route.
	Scope             pulumi.IntPtrOutput `pulumi:"scope"`
	Static            pulumi.BoolOutput   `pulumi:"static"`
	SuppressHwOffload pulumi.BoolOutput   `pulumi:"suppressHwOffload"`
	// Used in nexthop resolution. This is the maximum value of scope for a route through which a nexthop of this route can be resolved.
	TargetScope pulumi.IntPtrOutput `pulumi:"targetScope"`
	// VRF interface name.
	VrfInterface pulumi.StringOutput `pulumi:"vrfInterface"`
	// contains filtered or unexported fields
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-routeros/sdk/go/routeros/Ipv6"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ipv6.NewRoute(ctx, "aRoute", &Ipv6.RouteArgs{
			DstAddress: pulumi.String("::/0"),
			Gateway:    pulumi.String("2001:DB8:1000::1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

#The ID can be found via API or the terminal #The command for the terminal is -> :put [/ipv6/route get [print show-ids]]

```sh

$ pulumi import routeros:Ipv6/route:Route a_route "*0"

```

func GetRoute

func GetRoute(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RouteState, opts ...pulumi.ResourceOption) (*Route, error)

GetRoute gets an existing Route resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRoute

func NewRoute(ctx *pulumi.Context,
	name string, args *RouteArgs, opts ...pulumi.ResourceOption) (*Route, error)

NewRoute registers a new resource with the given unique name, arguments, and options.

func (*Route) ElementType

func (*Route) ElementType() reflect.Type

func (*Route) ToRouteOutput

func (i *Route) ToRouteOutput() RouteOutput

func (*Route) ToRouteOutputWithContext

func (i *Route) ToRouteOutputWithContext(ctx context.Context) RouteOutput

type RouteArgs

type RouteArgs struct {

	// It's a blackhole route.
	Blackhole pulumi.BoolPtrInput
	Comment   pulumi.StringPtrInput
	Disabled  pulumi.BoolPtrInput
	// Value used in route selection. Routes with smaller distance value are given preference.
	Distance pulumi.IntPtrInput
	// IP prefix of route, specifies destination addresses that this route can be used for.
	DstAddress pulumi.StringInput
	// Array of IP addresses or interface names. Specifies which host or interface packets should be sent to (IP | interface | IP%interface | IP@table[, IP | string, [..]]).
	Gateway pulumi.StringInput
	// Which of the local IP addresses to use for locally originated packets that are sent via this route. Value of this property has no effect on forwarded packets. If value of this property is set to IP address that is not local address of this router then the route will be inactive (in ROS v6, ROS v7 allows IP spoofing).
	PrefSrc pulumi.StringPtrInput
	// Routing table this route belongs to.
	RoutingTable pulumi.StringPtrInput
	// Used in nexthop resolution. Route can resolve nexthop only through routes that have scope less than or equal to the target-scope of this route.
	Scope pulumi.IntPtrInput
	// Used in nexthop resolution. This is the maximum value of scope for a route through which a nexthop of this route can be resolved.
	TargetScope pulumi.IntPtrInput
	// VRF interface name.
	VrfInterface pulumi.StringPtrInput
	// contains filtered or unexported fields
}

The set of arguments for constructing a Route resource.

func (RouteArgs) ElementType

func (RouteArgs) ElementType() reflect.Type

type RouteArray

type RouteArray []RouteInput

func (RouteArray) ElementType

func (RouteArray) ElementType() reflect.Type

func (RouteArray) ToRouteArrayOutput

func (i RouteArray) ToRouteArrayOutput() RouteArrayOutput

func (RouteArray) ToRouteArrayOutputWithContext

func (i RouteArray) ToRouteArrayOutputWithContext(ctx context.Context) RouteArrayOutput

type RouteArrayInput

type RouteArrayInput interface {
	pulumi.Input

	ToRouteArrayOutput() RouteArrayOutput
	ToRouteArrayOutputWithContext(context.Context) RouteArrayOutput
}

RouteArrayInput is an input type that accepts RouteArray and RouteArrayOutput values. You can construct a concrete instance of `RouteArrayInput` via:

RouteArray{ RouteArgs{...} }

type RouteArrayOutput

type RouteArrayOutput struct{ *pulumi.OutputState }

func (RouteArrayOutput) ElementType

func (RouteArrayOutput) ElementType() reflect.Type

func (RouteArrayOutput) Index

func (RouteArrayOutput) ToRouteArrayOutput

func (o RouteArrayOutput) ToRouteArrayOutput() RouteArrayOutput

func (RouteArrayOutput) ToRouteArrayOutputWithContext

func (o RouteArrayOutput) ToRouteArrayOutputWithContext(ctx context.Context) RouteArrayOutput

type RouteInput

type RouteInput interface {
	pulumi.Input

	ToRouteOutput() RouteOutput
	ToRouteOutputWithContext(ctx context.Context) RouteOutput
}

type RouteMap

type RouteMap map[string]RouteInput

func (RouteMap) ElementType

func (RouteMap) ElementType() reflect.Type

func (RouteMap) ToRouteMapOutput

func (i RouteMap) ToRouteMapOutput() RouteMapOutput

func (RouteMap) ToRouteMapOutputWithContext

func (i RouteMap) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput

type RouteMapInput

type RouteMapInput interface {
	pulumi.Input

	ToRouteMapOutput() RouteMapOutput
	ToRouteMapOutputWithContext(context.Context) RouteMapOutput
}

RouteMapInput is an input type that accepts RouteMap and RouteMapOutput values. You can construct a concrete instance of `RouteMapInput` via:

RouteMap{ "key": RouteArgs{...} }

type RouteMapOutput

type RouteMapOutput struct{ *pulumi.OutputState }

func (RouteMapOutput) ElementType

func (RouteMapOutput) ElementType() reflect.Type

func (RouteMapOutput) MapIndex

func (RouteMapOutput) ToRouteMapOutput

func (o RouteMapOutput) ToRouteMapOutput() RouteMapOutput

func (RouteMapOutput) ToRouteMapOutputWithContext

func (o RouteMapOutput) ToRouteMapOutputWithContext(ctx context.Context) RouteMapOutput

type RouteOutput

type RouteOutput struct{ *pulumi.OutputState }

func (RouteOutput) Active

func (o RouteOutput) Active() pulumi.BoolOutput

A flag indicates whether the route is elected as Active and eligible to be added to the FIB.

func (RouteOutput) Blackhole

func (o RouteOutput) Blackhole() pulumi.BoolPtrOutput

It's a blackhole route.

func (RouteOutput) Comment

func (o RouteOutput) Comment() pulumi.StringPtrOutput

func (RouteOutput) Disabled

func (o RouteOutput) Disabled() pulumi.BoolPtrOutput

func (RouteOutput) Distance

func (o RouteOutput) Distance() pulumi.IntPtrOutput

Value used in route selection. Routes with smaller distance value are given preference.

func (RouteOutput) DstAddress

func (o RouteOutput) DstAddress() pulumi.StringOutput

IP prefix of route, specifies destination addresses that this route can be used for.

func (RouteOutput) Dynamic

func (o RouteOutput) Dynamic() pulumi.BoolOutput

Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.

func (RouteOutput) Ecmp

func (o RouteOutput) Ecmp() pulumi.BoolOutput

A flag indicates whether the route is added as an Equal-Cost Multi-Path route in the FIB.

func (RouteOutput) ElementType

func (RouteOutput) ElementType() reflect.Type

func (RouteOutput) Gateway

func (o RouteOutput) Gateway() pulumi.StringOutput

Array of IP addresses or interface names. Specifies which host or interface packets should be sent to (IP | interface | IP%interface | IP@table[, IP | string, [..]]).

func (RouteOutput) HwOffloaded

func (o RouteOutput) HwOffloaded() pulumi.BoolOutput

Indicates whether the route is eligible to be hardware offloaded on supported hardware.

func (RouteOutput) ImmediateGw

func (o RouteOutput) ImmediateGw() pulumi.StringOutput

Shows actual (resolved) gateway and interface that will be used for packet forwarding.

func (RouteOutput) Inactive

func (o RouteOutput) Inactive() pulumi.BoolOutput

func (RouteOutput) PrefSrc

func (o RouteOutput) PrefSrc() pulumi.StringPtrOutput

Which of the local IP addresses to use for locally originated packets that are sent via this route. Value of this property has no effect on forwarded packets. If value of this property is set to IP address that is not local address of this router then the route will be inactive (in ROS v6, ROS v7 allows IP spoofing).

func (RouteOutput) RoutingTable

func (o RouteOutput) RoutingTable() pulumi.StringPtrOutput

Routing table this route belongs to.

func (RouteOutput) Scope

func (o RouteOutput) Scope() pulumi.IntPtrOutput

Used in nexthop resolution. Route can resolve nexthop only through routes that have scope less than or equal to the target-scope of this route.

func (RouteOutput) Static

func (o RouteOutput) Static() pulumi.BoolOutput

func (RouteOutput) SuppressHwOffload

func (o RouteOutput) SuppressHwOffload() pulumi.BoolOutput

func (RouteOutput) TargetScope

func (o RouteOutput) TargetScope() pulumi.IntPtrOutput

Used in nexthop resolution. This is the maximum value of scope for a route through which a nexthop of this route can be resolved.

func (RouteOutput) ToRouteOutput

func (o RouteOutput) ToRouteOutput() RouteOutput

func (RouteOutput) ToRouteOutputWithContext

func (o RouteOutput) ToRouteOutputWithContext(ctx context.Context) RouteOutput

func (RouteOutput) VrfInterface

func (o RouteOutput) VrfInterface() pulumi.StringOutput

VRF interface name.

type RouteState

type RouteState struct {

	// A flag indicates whether the route is elected as Active and eligible to be added to the FIB.
	Active pulumi.BoolPtrInput
	// It's a blackhole route.
	Blackhole pulumi.BoolPtrInput
	Comment   pulumi.StringPtrInput
	Disabled  pulumi.BoolPtrInput
	// Value used in route selection. Routes with smaller distance value are given preference.
	Distance pulumi.IntPtrInput
	// IP prefix of route, specifies destination addresses that this route can be used for.
	DstAddress pulumi.StringPtrInput
	// Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
	Dynamic pulumi.BoolPtrInput
	// A flag indicates whether the route is added as an Equal-Cost Multi-Path route in the FIB.
	Ecmp pulumi.BoolPtrInput
	// Array of IP addresses or interface names. Specifies which host or interface packets should be sent to (IP | interface | IP%interface | IP@table[, IP | string, [..]]).
	Gateway pulumi.StringPtrInput
	// Indicates whether the route is eligible to be hardware offloaded on supported hardware.
	HwOffloaded pulumi.BoolPtrInput
	// Shows actual (resolved) gateway and interface that will be used for packet forwarding.
	ImmediateGw pulumi.StringPtrInput
	Inactive    pulumi.BoolPtrInput
	// Which of the local IP addresses to use for locally originated packets that are sent via this route. Value of this property has no effect on forwarded packets. If value of this property is set to IP address that is not local address of this router then the route will be inactive (in ROS v6, ROS v7 allows IP spoofing).
	PrefSrc pulumi.StringPtrInput
	// Routing table this route belongs to.
	RoutingTable pulumi.StringPtrInput
	// Used in nexthop resolution. Route can resolve nexthop only through routes that have scope less than or equal to the target-scope of this route.
	Scope             pulumi.IntPtrInput
	Static            pulumi.BoolPtrInput
	SuppressHwOffload pulumi.BoolPtrInput
	// Used in nexthop resolution. This is the maximum value of scope for a route through which a nexthop of this route can be resolved.
	TargetScope pulumi.IntPtrInput
	// VRF interface name.
	VrfInterface pulumi.StringPtrInput
	// contains filtered or unexported fields
}

func (RouteState) ElementType

func (RouteState) ElementType() reflect.Type

type V6Address

type V6Address struct {
	pulumi.CustomResourceState

	// Name of the actual interface the logical one is bound to.
	ActualInterface pulumi.StringOutput `pulumi:"actualInterface"`
	// IPv6 address. Using the eui*64 and from*pool options can transform the original address! [See docs](https://wiki.mikrotik.com/wiki/Manual:IPv6/Address#Properties)
	Address pulumi.StringOutput `pulumi:"address"`
	// Whether to enable stateless address configuration. The prefix of that address is automatically advertised to hosts using ICMPv6 protocol. The option is set by default for addresses with prefix length 64.
	Advertise pulumi.BoolPtrOutput   `pulumi:"advertise"`
	Comment   pulumi.StringPtrOutput `pulumi:"comment"`
	Disabled  pulumi.BoolPtrOutput   `pulumi:"disabled"`
	// Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
	Dynamic pulumi.BoolOutput `pulumi:"dynamic"`
	// Whether to calculate EUI-64 address and use it as last 64 bits of the IPv6 address.
	Eui64 pulumi.BoolPtrOutput `pulumi:"eui64"`
	// Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
	FromPool pulumi.StringPtrOutput `pulumi:"fromPool"`
	// Whether address is global.
	Global pulumi.BoolOutput `pulumi:"global"`
	// Name of the interface.
	Interface pulumi.StringOutput `pulumi:"interface"`
	Invalid   pulumi.BoolOutput   `pulumi:"invalid"`
	// Whether address is link local.
	LinkLocal pulumi.BoolOutput `pulumi:"linkLocal"`
	// If set indicates that address is anycast address and Duplicate Address Detection should not be performed.
	NoDad pulumi.BoolPtrOutput `pulumi:"noDad"`
	// contains filtered or unexported fields
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-routeros/sdk/go/routeros/Ipv6"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Ipv6.NewV6Address(ctx, "ipv6Address", &Ipv6.V6AddressArgs{
			Address:   pulumi.String("fd55::1/64"),
			Disabled:  pulumi.Bool(false),
			Interface: pulumi.String("ether1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

#The ID can be found via API or the terminal #The command for the terminal is -> :put [/ipv6/address get [print show-ids]]

```sh

$ pulumi import routeros:Ipv6/v6Address:V6Address ipv6_address "*0"

```

func GetV6Address

func GetV6Address(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *V6AddressState, opts ...pulumi.ResourceOption) (*V6Address, error)

GetV6Address gets an existing V6Address resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewV6Address

func NewV6Address(ctx *pulumi.Context,
	name string, args *V6AddressArgs, opts ...pulumi.ResourceOption) (*V6Address, error)

NewV6Address registers a new resource with the given unique name, arguments, and options.

func (*V6Address) ElementType

func (*V6Address) ElementType() reflect.Type

func (*V6Address) ToV6AddressOutput

func (i *V6Address) ToV6AddressOutput() V6AddressOutput

func (*V6Address) ToV6AddressOutputWithContext

func (i *V6Address) ToV6AddressOutputWithContext(ctx context.Context) V6AddressOutput

type V6AddressArgs

type V6AddressArgs struct {

	// IPv6 address. Using the eui*64 and from*pool options can transform the original address! [See docs](https://wiki.mikrotik.com/wiki/Manual:IPv6/Address#Properties)
	Address pulumi.StringPtrInput
	// Whether to enable stateless address configuration. The prefix of that address is automatically advertised to hosts using ICMPv6 protocol. The option is set by default for addresses with prefix length 64.
	Advertise pulumi.BoolPtrInput
	Comment   pulumi.StringPtrInput
	Disabled  pulumi.BoolPtrInput
	// Whether to calculate EUI-64 address and use it as last 64 bits of the IPv6 address.
	Eui64 pulumi.BoolPtrInput
	// Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
	FromPool pulumi.StringPtrInput
	// Name of the interface.
	Interface pulumi.StringInput
	// If set indicates that address is anycast address and Duplicate Address Detection should not be performed.
	NoDad pulumi.BoolPtrInput
	// contains filtered or unexported fields
}

The set of arguments for constructing a V6Address resource.

func (V6AddressArgs) ElementType

func (V6AddressArgs) ElementType() reflect.Type

type V6AddressArray

type V6AddressArray []V6AddressInput

func (V6AddressArray) ElementType

func (V6AddressArray) ElementType() reflect.Type

func (V6AddressArray) ToV6AddressArrayOutput

func (i V6AddressArray) ToV6AddressArrayOutput() V6AddressArrayOutput

func (V6AddressArray) ToV6AddressArrayOutputWithContext

func (i V6AddressArray) ToV6AddressArrayOutputWithContext(ctx context.Context) V6AddressArrayOutput

type V6AddressArrayInput

type V6AddressArrayInput interface {
	pulumi.Input

	ToV6AddressArrayOutput() V6AddressArrayOutput
	ToV6AddressArrayOutputWithContext(context.Context) V6AddressArrayOutput
}

V6AddressArrayInput is an input type that accepts V6AddressArray and V6AddressArrayOutput values. You can construct a concrete instance of `V6AddressArrayInput` via:

V6AddressArray{ V6AddressArgs{...} }

type V6AddressArrayOutput

type V6AddressArrayOutput struct{ *pulumi.OutputState }

func (V6AddressArrayOutput) ElementType

func (V6AddressArrayOutput) ElementType() reflect.Type

func (V6AddressArrayOutput) Index

func (V6AddressArrayOutput) ToV6AddressArrayOutput

func (o V6AddressArrayOutput) ToV6AddressArrayOutput() V6AddressArrayOutput

func (V6AddressArrayOutput) ToV6AddressArrayOutputWithContext

func (o V6AddressArrayOutput) ToV6AddressArrayOutputWithContext(ctx context.Context) V6AddressArrayOutput

type V6AddressInput

type V6AddressInput interface {
	pulumi.Input

	ToV6AddressOutput() V6AddressOutput
	ToV6AddressOutputWithContext(ctx context.Context) V6AddressOutput
}

type V6AddressMap

type V6AddressMap map[string]V6AddressInput

func (V6AddressMap) ElementType

func (V6AddressMap) ElementType() reflect.Type

func (V6AddressMap) ToV6AddressMapOutput

func (i V6AddressMap) ToV6AddressMapOutput() V6AddressMapOutput

func (V6AddressMap) ToV6AddressMapOutputWithContext

func (i V6AddressMap) ToV6AddressMapOutputWithContext(ctx context.Context) V6AddressMapOutput

type V6AddressMapInput

type V6AddressMapInput interface {
	pulumi.Input

	ToV6AddressMapOutput() V6AddressMapOutput
	ToV6AddressMapOutputWithContext(context.Context) V6AddressMapOutput
}

V6AddressMapInput is an input type that accepts V6AddressMap and V6AddressMapOutput values. You can construct a concrete instance of `V6AddressMapInput` via:

V6AddressMap{ "key": V6AddressArgs{...} }

type V6AddressMapOutput

type V6AddressMapOutput struct{ *pulumi.OutputState }

func (V6AddressMapOutput) ElementType

func (V6AddressMapOutput) ElementType() reflect.Type

func (V6AddressMapOutput) MapIndex

func (V6AddressMapOutput) ToV6AddressMapOutput

func (o V6AddressMapOutput) ToV6AddressMapOutput() V6AddressMapOutput

func (V6AddressMapOutput) ToV6AddressMapOutputWithContext

func (o V6AddressMapOutput) ToV6AddressMapOutputWithContext(ctx context.Context) V6AddressMapOutput

type V6AddressOutput

type V6AddressOutput struct{ *pulumi.OutputState }

func (V6AddressOutput) ActualInterface

func (o V6AddressOutput) ActualInterface() pulumi.StringOutput

Name of the actual interface the logical one is bound to.

func (V6AddressOutput) Address

func (o V6AddressOutput) Address() pulumi.StringOutput

IPv6 address. Using the eui*64 and from*pool options can transform the original address! [See docs](https://wiki.mikrotik.com/wiki/Manual:IPv6/Address#Properties)

func (V6AddressOutput) Advertise

func (o V6AddressOutput) Advertise() pulumi.BoolPtrOutput

Whether to enable stateless address configuration. The prefix of that address is automatically advertised to hosts using ICMPv6 protocol. The option is set by default for addresses with prefix length 64.

func (V6AddressOutput) Comment

func (V6AddressOutput) Disabled

func (o V6AddressOutput) Disabled() pulumi.BoolPtrOutput

func (V6AddressOutput) Dynamic

func (o V6AddressOutput) Dynamic() pulumi.BoolOutput

Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.

func (V6AddressOutput) ElementType

func (V6AddressOutput) ElementType() reflect.Type

func (V6AddressOutput) Eui64

Whether to calculate EUI-64 address and use it as last 64 bits of the IPv6 address.

func (V6AddressOutput) FromPool

func (o V6AddressOutput) FromPool() pulumi.StringPtrOutput

Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.

func (V6AddressOutput) Global

func (o V6AddressOutput) Global() pulumi.BoolOutput

Whether address is global.

func (V6AddressOutput) Interface

func (o V6AddressOutput) Interface() pulumi.StringOutput

Name of the interface.

func (V6AddressOutput) Invalid

func (o V6AddressOutput) Invalid() pulumi.BoolOutput

func (V6AddressOutput) LinkLocal

func (o V6AddressOutput) LinkLocal() pulumi.BoolOutput

Whether address is link local.

func (V6AddressOutput) NoDad

If set indicates that address is anycast address and Duplicate Address Detection should not be performed.

func (V6AddressOutput) ToV6AddressOutput

func (o V6AddressOutput) ToV6AddressOutput() V6AddressOutput

func (V6AddressOutput) ToV6AddressOutputWithContext

func (o V6AddressOutput) ToV6AddressOutputWithContext(ctx context.Context) V6AddressOutput

type V6AddressState

type V6AddressState struct {

	// Name of the actual interface the logical one is bound to.
	ActualInterface pulumi.StringPtrInput
	// IPv6 address. Using the eui*64 and from*pool options can transform the original address! [See docs](https://wiki.mikrotik.com/wiki/Manual:IPv6/Address#Properties)
	Address pulumi.StringPtrInput
	// Whether to enable stateless address configuration. The prefix of that address is automatically advertised to hosts using ICMPv6 protocol. The option is set by default for addresses with prefix length 64.
	Advertise pulumi.BoolPtrInput
	Comment   pulumi.StringPtrInput
	Disabled  pulumi.BoolPtrInput
	// Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
	Dynamic pulumi.BoolPtrInput
	// Whether to calculate EUI-64 address and use it as last 64 bits of the IPv6 address.
	Eui64 pulumi.BoolPtrInput
	// Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
	FromPool pulumi.StringPtrInput
	// Whether address is global.
	Global pulumi.BoolPtrInput
	// Name of the interface.
	Interface pulumi.StringPtrInput
	Invalid   pulumi.BoolPtrInput
	// Whether address is link local.
	LinkLocal pulumi.BoolPtrInput
	// If set indicates that address is anycast address and Duplicate Address Detection should not be performed.
	NoDad pulumi.BoolPtrInput
	// contains filtered or unexported fields
}

func (V6AddressState) ElementType

func (V6AddressState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL