Documentation
¶
Index ¶
- type FirewallFilter
- type FirewallFilterArgs
- type FirewallFilterArray
- type FirewallFilterArrayInput
- type FirewallFilterArrayOutput
- func (FirewallFilterArrayOutput) ElementType() reflect.Type
- func (o FirewallFilterArrayOutput) Index(i pulumi.IntInput) FirewallFilterOutput
- func (o FirewallFilterArrayOutput) ToFirewallFilterArrayOutput() FirewallFilterArrayOutput
- func (o FirewallFilterArrayOutput) ToFirewallFilterArrayOutputWithContext(ctx context.Context) FirewallFilterArrayOutput
- type FirewallFilterInput
- type FirewallFilterMap
- type FirewallFilterMapInput
- type FirewallFilterMapOutput
- func (FirewallFilterMapOutput) ElementType() reflect.Type
- func (o FirewallFilterMapOutput) MapIndex(k pulumi.StringInput) FirewallFilterOutput
- func (o FirewallFilterMapOutput) ToFirewallFilterMapOutput() FirewallFilterMapOutput
- func (o FirewallFilterMapOutput) ToFirewallFilterMapOutputWithContext(ctx context.Context) FirewallFilterMapOutput
- type FirewallFilterOutput
- func (o FirewallFilterOutput) Action() pulumi.StringOutput
- func (o FirewallFilterOutput) AddressListTimeout() pulumi.StringOutput
- func (o FirewallFilterOutput) Bytes() pulumi.IntOutput
- func (o FirewallFilterOutput) Chain() pulumi.StringOutput
- func (o FirewallFilterOutput) Comment() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) ConnectionBytes() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) ConnectionLimit() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) ConnectionMark() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) ConnectionRate() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) ConnectionState() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) ConnectionType() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) Content() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) Disabled() pulumi.BoolPtrOutput
- func (o FirewallFilterOutput) Dscp() pulumi.IntPtrOutput
- func (o FirewallFilterOutput) DstAddress() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) DstAddressList() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) DstAddressType() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) DstLimit() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) DstPort() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) Dynamic() pulumi.BoolOutput
- func (FirewallFilterOutput) ElementType() reflect.Type
- func (o FirewallFilterOutput) Headers() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) HopLimit() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) IcmpOptions() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) InBridgePort() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) InBridgePortList() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) InInterface() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) InInterfaceList() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) IngressPriority() pulumi.IntPtrOutput
- func (o FirewallFilterOutput) Invalid() pulumi.BoolOutput
- func (o FirewallFilterOutput) IpsecPolicy() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) JumpTarget() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) Limit() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) Log() pulumi.BoolPtrOutput
- func (o FirewallFilterOutput) LogPrefix() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) Nth() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) OutBridgePort() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) OutBridgePortList() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) OutInterface() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) OutInterfaceList() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) PacketMark() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) PacketSize() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) Packets() pulumi.IntOutput
- func (o FirewallFilterOutput) PerConnectionClassifier() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) PlaceBefore() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) Port() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) Priority() pulumi.IntPtrOutput
- func (o FirewallFilterOutput) Protocol() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) Random() pulumi.IntPtrOutput
- func (o FirewallFilterOutput) RejectWith() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) RoutingMark() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) SrcAddress() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) SrcAddressList() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) SrcAddressType() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) SrcMacAddress() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) SrcPort() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) TcpFlags() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) TcpMss() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) Time() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) TlsHost() pulumi.StringPtrOutput
- func (o FirewallFilterOutput) ToFirewallFilterOutput() FirewallFilterOutput
- func (o FirewallFilterOutput) ToFirewallFilterOutputWithContext(ctx context.Context) FirewallFilterOutput
- type FirewallFilterState
- type GetIpv6AddressesAddress
- type GetIpv6AddressesAddressArgs
- type GetIpv6AddressesAddressArray
- func (GetIpv6AddressesAddressArray) ElementType() reflect.Type
- func (i GetIpv6AddressesAddressArray) ToGetIpv6AddressesAddressArrayOutput() GetIpv6AddressesAddressArrayOutput
- func (i GetIpv6AddressesAddressArray) ToGetIpv6AddressesAddressArrayOutputWithContext(ctx context.Context) GetIpv6AddressesAddressArrayOutput
- type GetIpv6AddressesAddressArrayInput
- type GetIpv6AddressesAddressArrayOutput
- func (GetIpv6AddressesAddressArrayOutput) ElementType() reflect.Type
- func (o GetIpv6AddressesAddressArrayOutput) Index(i pulumi.IntInput) GetIpv6AddressesAddressOutput
- func (o GetIpv6AddressesAddressArrayOutput) ToGetIpv6AddressesAddressArrayOutput() GetIpv6AddressesAddressArrayOutput
- func (o GetIpv6AddressesAddressArrayOutput) ToGetIpv6AddressesAddressArrayOutputWithContext(ctx context.Context) GetIpv6AddressesAddressArrayOutput
- type GetIpv6AddressesAddressInput
- type GetIpv6AddressesAddressOutput
- func (o GetIpv6AddressesAddressOutput) ActualInterface() pulumi.StringOutput
- func (o GetIpv6AddressesAddressOutput) Address() pulumi.StringOutput
- func (o GetIpv6AddressesAddressOutput) Advertise() pulumi.BoolOutput
- func (o GetIpv6AddressesAddressOutput) Comment() pulumi.StringOutput
- func (o GetIpv6AddressesAddressOutput) Disabled() pulumi.BoolOutput
- func (o GetIpv6AddressesAddressOutput) Dynamic() pulumi.BoolOutput
- func (GetIpv6AddressesAddressOutput) ElementType() reflect.Type
- func (o GetIpv6AddressesAddressOutput) Eui64() pulumi.BoolOutput
- func (o GetIpv6AddressesAddressOutput) FromPool() pulumi.StringOutput
- func (o GetIpv6AddressesAddressOutput) Id() pulumi.StringOutput
- func (o GetIpv6AddressesAddressOutput) Interface() pulumi.StringOutput
- func (o GetIpv6AddressesAddressOutput) Invalid() pulumi.BoolOutput
- func (o GetIpv6AddressesAddressOutput) LinkLocal() pulumi.BoolOutput
- func (o GetIpv6AddressesAddressOutput) NoDad() pulumi.BoolOutput
- func (o GetIpv6AddressesAddressOutput) ToGetIpv6AddressesAddressOutput() GetIpv6AddressesAddressOutput
- func (o GetIpv6AddressesAddressOutput) ToGetIpv6AddressesAddressOutputWithContext(ctx context.Context) GetIpv6AddressesAddressOutput
- type GetIpv6AddressesArgs
- type GetIpv6AddressesOutputArgs
- type GetIpv6AddressesResult
- type GetIpv6AddressesResultOutput
- func (o GetIpv6AddressesResultOutput) Addresses() GetIpv6AddressesAddressArrayOutput
- func (GetIpv6AddressesResultOutput) ElementType() reflect.Type
- func (o GetIpv6AddressesResultOutput) Filter() pulumi.MapOutput
- func (o GetIpv6AddressesResultOutput) Id() pulumi.StringOutput
- func (o GetIpv6AddressesResultOutput) ToGetIpv6AddressesResultOutput() GetIpv6AddressesResultOutput
- func (o GetIpv6AddressesResultOutput) ToGetIpv6AddressesResultOutputWithContext(ctx context.Context) GetIpv6AddressesResultOutput
- type Route
- type RouteArgs
- type RouteArray
- type RouteArrayInput
- type RouteArrayOutput
- type RouteInput
- type RouteMap
- type RouteMapInput
- type RouteMapOutput
- type RouteOutput
- func (o RouteOutput) Active() pulumi.BoolOutput
- func (o RouteOutput) Blackhole() pulumi.BoolPtrOutput
- func (o RouteOutput) Comment() pulumi.StringPtrOutput
- func (o RouteOutput) Disabled() pulumi.BoolPtrOutput
- func (o RouteOutput) Distance() pulumi.IntPtrOutput
- func (o RouteOutput) DstAddress() pulumi.StringOutput
- func (o RouteOutput) Dynamic() pulumi.BoolOutput
- func (o RouteOutput) Ecmp() pulumi.BoolOutput
- func (RouteOutput) ElementType() reflect.Type
- func (o RouteOutput) Gateway() pulumi.StringOutput
- func (o RouteOutput) HwOffloaded() pulumi.BoolOutput
- func (o RouteOutput) ImmediateGw() pulumi.StringOutput
- func (o RouteOutput) Inactive() pulumi.BoolOutput
- func (o RouteOutput) PrefSrc() pulumi.StringPtrOutput
- func (o RouteOutput) RoutingTable() pulumi.StringPtrOutput
- func (o RouteOutput) Scope() pulumi.IntPtrOutput
- func (o RouteOutput) Static() pulumi.BoolOutput
- func (o RouteOutput) SuppressHwOffload() pulumi.BoolOutput
- func (o RouteOutput) TargetScope() pulumi.IntPtrOutput
- func (o RouteOutput) ToRouteOutput() RouteOutput
- func (o RouteOutput) ToRouteOutputWithContext(ctx context.Context) RouteOutput
- func (o RouteOutput) VrfInterface() pulumi.StringOutput
- type RouteState
- type V6Address
- type V6AddressArgs
- type V6AddressArray
- type V6AddressArrayInput
- type V6AddressArrayOutput
- func (V6AddressArrayOutput) ElementType() reflect.Type
- func (o V6AddressArrayOutput) Index(i pulumi.IntInput) V6AddressOutput
- func (o V6AddressArrayOutput) ToV6AddressArrayOutput() V6AddressArrayOutput
- func (o V6AddressArrayOutput) ToV6AddressArrayOutputWithContext(ctx context.Context) V6AddressArrayOutput
- type V6AddressInput
- type V6AddressMap
- type V6AddressMapInput
- type V6AddressMapOutput
- type V6AddressOutput
- func (o V6AddressOutput) ActualInterface() pulumi.StringOutput
- func (o V6AddressOutput) Address() pulumi.StringOutput
- func (o V6AddressOutput) Advertise() pulumi.BoolPtrOutput
- func (o V6AddressOutput) Comment() pulumi.StringPtrOutput
- func (o V6AddressOutput) Disabled() pulumi.BoolPtrOutput
- func (o V6AddressOutput) Dynamic() pulumi.BoolOutput
- func (V6AddressOutput) ElementType() reflect.Type
- func (o V6AddressOutput) Eui64() pulumi.BoolPtrOutput
- func (o V6AddressOutput) FromPool() pulumi.StringPtrOutput
- func (o V6AddressOutput) Global() pulumi.BoolOutput
- func (o V6AddressOutput) Interface() pulumi.StringOutput
- func (o V6AddressOutput) Invalid() pulumi.BoolOutput
- func (o V6AddressOutput) LinkLocal() pulumi.BoolOutput
- func (o V6AddressOutput) NoDad() pulumi.BoolPtrOutput
- func (o V6AddressOutput) ToV6AddressOutput() V6AddressOutput
- func (o V6AddressOutput) ToV6AddressOutputWithContext(ctx context.Context) V6AddressOutput
- type V6AddressState
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 (o FirewallFilterArrayOutput) Index(i pulumi.IntInput) FirewallFilterOutput
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 (o FirewallFilterMapOutput) MapIndex(k pulumi.StringInput) FirewallFilterOutput
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 ¶
func (o FirewallFilterOutput) Action() pulumi.StringOutput
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 ¶
func (o FirewallFilterOutput) Bytes() pulumi.IntOutput
The total amount of bytes matched by the rule.
func (FirewallFilterOutput) Chain ¶
func (o FirewallFilterOutput) Chain() pulumi.StringOutput
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 (o FirewallFilterOutput) Comment() pulumi.StringPtrOutput
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 ¶
func (o FirewallFilterOutput) Content() pulumi.StringPtrOutput
Match packets that contain specified text.
func (FirewallFilterOutput) Disabled ¶
func (o FirewallFilterOutput) Disabled() pulumi.BoolPtrOutput
func (FirewallFilterOutput) Dscp ¶
func (o FirewallFilterOutput) Dscp() pulumi.IntPtrOutput
Matches DSCP IP header field.
func (FirewallFilterOutput) DstAddress ¶
func (o FirewallFilterOutput) DstAddress() pulumi.StringPtrOutput
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 ¶
func (o FirewallFilterOutput) DstLimit() pulumi.StringPtrOutput
Matches packets until a given rate is exceeded.
func (FirewallFilterOutput) DstPort ¶
func (o FirewallFilterOutput) DstPort() pulumi.StringPtrOutput
List of destination port numbers or port number ranges.
func (FirewallFilterOutput) Dynamic ¶
func (o FirewallFilterOutput) Dynamic() pulumi.BoolOutput
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 ¶
func (o FirewallFilterOutput) Headers() pulumi.StringPtrOutput
Extension headers. Look at the Extras tab in the v6 filter rules.
func (FirewallFilterOutput) HopLimit ¶
func (o FirewallFilterOutput) HopLimit() pulumi.StringPtrOutput
IPv6 TTL. Look at the Extras tab in the v6 filter rules.
func (FirewallFilterOutput) IcmpOptions ¶
func (o FirewallFilterOutput) IcmpOptions() pulumi.StringPtrOutput
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 ¶
func (o FirewallFilterOutput) InInterface() pulumi.StringPtrOutput
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 (o FirewallFilterOutput) Invalid() pulumi.BoolOutput
func (FirewallFilterOutput) IpsecPolicy ¶
func (o FirewallFilterOutput) IpsecPolicy() pulumi.StringPtrOutput
Matches the policy used by IPsec. Value is written in the following format: direction, policy.
func (FirewallFilterOutput) JumpTarget ¶
func (o FirewallFilterOutput) JumpTarget() pulumi.StringPtrOutput
Name of the target chain to jump to. Applicable only if action=jump.
func (FirewallFilterOutput) Limit ¶
func (o FirewallFilterOutput) Limit() pulumi.StringPtrOutput
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 ¶
func (o FirewallFilterOutput) Log() pulumi.BoolPtrOutput
Add a message to the system log.
func (FirewallFilterOutput) LogPrefix ¶
func (o FirewallFilterOutput) LogPrefix() pulumi.StringPtrOutput
Adds specified text at the beginning of every log message. Applicable if action=log or log=yes configured.
func (FirewallFilterOutput) Nth ¶
func (o FirewallFilterOutput) Nth() pulumi.StringPtrOutput
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 ¶
func (o FirewallFilterOutput) PacketMark() pulumi.StringPtrOutput
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 ¶
func (o FirewallFilterOutput) PacketSize() pulumi.StringPtrOutput
Matches packets of specified size or size range in bytes.
func (FirewallFilterOutput) Packets ¶
func (o FirewallFilterOutput) Packets() pulumi.IntOutput
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 ¶
func (o FirewallFilterOutput) PlaceBefore() pulumi.StringPtrOutput
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 ¶
func (o FirewallFilterOutput) Port() pulumi.StringPtrOutput
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 ¶
func (o FirewallFilterOutput) Priority() pulumi.IntPtrOutput
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 ¶
func (o FirewallFilterOutput) Protocol() pulumi.StringPtrOutput
Matches particular IP protocol specified by protocol name or number.
func (FirewallFilterOutput) Random ¶
func (o FirewallFilterOutput) Random() pulumi.IntPtrOutput
Matches packets randomly with a given probability.
func (FirewallFilterOutput) RejectWith ¶
func (o FirewallFilterOutput) RejectWith() pulumi.StringPtrOutput
Specifies ICMP error to be sent back if the packet is rejected. Applicable if action=reject.
func (FirewallFilterOutput) RoutingMark ¶
func (o FirewallFilterOutput) RoutingMark() pulumi.StringPtrOutput
Matches packets marked by mangle facility with particular routing mark.
func (FirewallFilterOutput) SrcAddress ¶
func (o FirewallFilterOutput) SrcAddress() pulumi.StringPtrOutput
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 ¶
func (o FirewallFilterOutput) SrcPort() pulumi.StringPtrOutput
List of source ports and ranges of source ports. Applicable only if a protocol is TCP or UDP.
func (FirewallFilterOutput) TcpFlags ¶
func (o FirewallFilterOutput) TcpFlags() pulumi.StringPtrOutput
Matches specified TCP flags.
func (FirewallFilterOutput) TcpMss ¶
func (o FirewallFilterOutput) TcpMss() pulumi.StringPtrOutput
Matches TCP MSS value of an IP packet.
func (FirewallFilterOutput) Time ¶
func (o FirewallFilterOutput) Time() pulumi.StringPtrOutput
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 ¶
func (o FirewallFilterOutput) TlsHost() pulumi.StringPtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (GetIpv6AddressesAddressArrayOutput) Index ¶
func (o GetIpv6AddressesAddressArrayOutput) Index(i pulumi.IntInput) GetIpv6AddressesAddressOutput
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 (o GetIpv6AddressesAddressOutput) ActualInterface() pulumi.StringOutput
func (GetIpv6AddressesAddressOutput) Address ¶
func (o GetIpv6AddressesAddressOutput) Address() pulumi.StringOutput
func (GetIpv6AddressesAddressOutput) Advertise ¶
func (o GetIpv6AddressesAddressOutput) Advertise() pulumi.BoolOutput
func (GetIpv6AddressesAddressOutput) Comment ¶
func (o GetIpv6AddressesAddressOutput) Comment() pulumi.StringOutput
func (GetIpv6AddressesAddressOutput) Disabled ¶
func (o GetIpv6AddressesAddressOutput) Disabled() pulumi.BoolOutput
func (GetIpv6AddressesAddressOutput) Dynamic ¶
func (o GetIpv6AddressesAddressOutput) Dynamic() pulumi.BoolOutput
func (GetIpv6AddressesAddressOutput) ElementType ¶
func (GetIpv6AddressesAddressOutput) ElementType() reflect.Type
func (GetIpv6AddressesAddressOutput) Eui64 ¶
func (o GetIpv6AddressesAddressOutput) Eui64() pulumi.BoolOutput
func (GetIpv6AddressesAddressOutput) FromPool ¶
func (o GetIpv6AddressesAddressOutput) FromPool() pulumi.StringOutput
func (GetIpv6AddressesAddressOutput) Id ¶
func (o GetIpv6AddressesAddressOutput) Id() pulumi.StringOutput
The ID of this resource.
func (GetIpv6AddressesAddressOutput) Interface ¶
func (o GetIpv6AddressesAddressOutput) Interface() pulumi.StringOutput
func (GetIpv6AddressesAddressOutput) Invalid ¶
func (o GetIpv6AddressesAddressOutput) Invalid() pulumi.BoolOutput
func (GetIpv6AddressesAddressOutput) LinkLocal ¶
func (o GetIpv6AddressesAddressOutput) LinkLocal() pulumi.BoolOutput
func (GetIpv6AddressesAddressOutput) NoDad ¶
func (o GetIpv6AddressesAddressOutput) NoDad() pulumi.BoolOutput
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.
func GetIpv6Addresses ¶
func GetIpv6Addresses(ctx *pulumi.Context, args *GetIpv6AddressesArgs, opts ...pulumi.InvokeOption) (*GetIpv6AddressesResult, error)
type GetIpv6AddressesResultOutput ¶
type GetIpv6AddressesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getIpv6Addresses.
func GetIpv6AddressesOutput ¶
func GetIpv6AddressesOutput(ctx *pulumi.Context, args GetIpv6AddressesOutputArgs, opts ...pulumi.InvokeOption) GetIpv6AddressesResultOutput
func (GetIpv6AddressesResultOutput) Addresses ¶
func (o GetIpv6AddressesResultOutput) Addresses() GetIpv6AddressesAddressArrayOutput
func (GetIpv6AddressesResultOutput) ElementType ¶
func (GetIpv6AddressesResultOutput) ElementType() reflect.Type
func (GetIpv6AddressesResultOutput) Filter ¶
func (o GetIpv6AddressesResultOutput) Filter() pulumi.MapOutput
Additional request filtering options.
func (GetIpv6AddressesResultOutput) Id ¶
func (o GetIpv6AddressesResultOutput) Id() pulumi.StringOutput
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) 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 ¶
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 (o RouteArrayOutput) Index(i pulumi.IntInput) RouteOutput
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) 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 (o RouteMapOutput) MapIndex(k pulumi.StringInput) RouteOutput
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) 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 (o V6AddressArrayOutput) Index(i pulumi.IntInput) V6AddressOutput
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 (o V6AddressMapOutput) MapIndex(k pulumi.StringInput) V6AddressOutput
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 (o V6AddressOutput) Comment() pulumi.StringPtrOutput
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 ¶
func (o V6AddressOutput) Eui64() pulumi.BoolPtrOutput
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 ¶
func (o V6AddressOutput) NoDad() pulumi.BoolPtrOutput
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