Documentation ¶
Index ¶
- type Bridge
- type BridgeArgs
- type BridgeArray
- type BridgeArrayInput
- type BridgeArrayOutput
- type BridgeInput
- type BridgeMap
- type BridgeMapInput
- type BridgeMapOutput
- type BridgeOutput
- func (o BridgeOutput) ActualMtu() pulumi.IntOutput
- func (o BridgeOutput) AddDhcpOption82() pulumi.BoolPtrOutput
- func (o BridgeOutput) AdminMac() pulumi.StringOutput
- func (o BridgeOutput) AgeingTime() pulumi.StringPtrOutput
- func (o BridgeOutput) Arp() pulumi.StringPtrOutput
- func (o BridgeOutput) ArpTimeout() pulumi.StringPtrOutput
- func (o BridgeOutput) AutoMac() pulumi.BoolPtrOutput
- func (o BridgeOutput) Comment() pulumi.StringPtrOutput
- func (o BridgeOutput) DhcpSnooping() pulumi.BoolPtrOutput
- func (o BridgeOutput) Disabled() pulumi.BoolPtrOutput
- func (BridgeOutput) ElementType() reflect.Type
- func (o BridgeOutput) EtherType() pulumi.StringPtrOutput
- func (o BridgeOutput) FastForward() pulumi.BoolOutput
- func (o BridgeOutput) ForwardDelay() pulumi.StringPtrOutput
- func (o BridgeOutput) FrameTypes() pulumi.StringPtrOutput
- func (o BridgeOutput) IgmpSnooping() pulumi.BoolPtrOutput
- func (o BridgeOutput) IgmpVersion() pulumi.IntOutput
- func (o BridgeOutput) IngressFiltering() pulumi.BoolPtrOutput
- func (o BridgeOutput) L2mtu() pulumi.IntOutput
- func (o BridgeOutput) LastMemberInterval() pulumi.StringOutput
- func (o BridgeOutput) LastMemberQueryCount() pulumi.IntOutput
- func (o BridgeOutput) MacAddress() pulumi.StringOutput
- func (o BridgeOutput) MaxHops() pulumi.IntOutput
- func (o BridgeOutput) MaxMessageAge() pulumi.StringPtrOutput
- func (o BridgeOutput) MembershipInterval() pulumi.StringOutput
- func (o BridgeOutput) MldVersion() pulumi.IntOutput
- func (o BridgeOutput) Mtu() pulumi.StringPtrOutput
- func (o BridgeOutput) MulticastQuerier() pulumi.BoolPtrOutput
- func (o BridgeOutput) MulticastRouter() pulumi.StringOutput
- func (o BridgeOutput) Name() pulumi.StringOutput
- func (o BridgeOutput) Priority() pulumi.StringPtrOutput
- func (o BridgeOutput) ProtocolMode() pulumi.StringPtrOutput
- func (o BridgeOutput) Pvid() pulumi.IntPtrOutput
- func (o BridgeOutput) QuerierInterval() pulumi.StringOutput
- func (o BridgeOutput) QueryInterval() pulumi.StringOutput
- func (o BridgeOutput) QueryResponseInterval() pulumi.StringOutput
- func (o BridgeOutput) RegionName() pulumi.StringPtrOutput
- func (o BridgeOutput) RegionRevision() pulumi.IntPtrOutput
- func (o BridgeOutput) Running() pulumi.BoolOutput
- func (o BridgeOutput) StartupQueryCount() pulumi.IntOutput
- func (o BridgeOutput) StartupQueryInterval() pulumi.StringOutput
- func (o BridgeOutput) ToBridgeOutput() BridgeOutput
- func (o BridgeOutput) ToBridgeOutputWithContext(ctx context.Context) BridgeOutput
- func (o BridgeOutput) TransmitHoldCount() pulumi.IntPtrOutput
- func (o BridgeOutput) VlanFiltering() pulumi.BoolPtrOutput
- type BridgePort
- type BridgePortArgs
- type BridgePortArray
- type BridgePortArrayInput
- type BridgePortArrayOutput
- func (BridgePortArrayOutput) ElementType() reflect.Type
- func (o BridgePortArrayOutput) Index(i pulumi.IntInput) BridgePortOutput
- func (o BridgePortArrayOutput) ToBridgePortArrayOutput() BridgePortArrayOutput
- func (o BridgePortArrayOutput) ToBridgePortArrayOutputWithContext(ctx context.Context) BridgePortArrayOutput
- type BridgePortInput
- type BridgePortMap
- type BridgePortMapInput
- type BridgePortMapOutput
- func (BridgePortMapOutput) ElementType() reflect.Type
- func (o BridgePortMapOutput) MapIndex(k pulumi.StringInput) BridgePortOutput
- func (o BridgePortMapOutput) ToBridgePortMapOutput() BridgePortMapOutput
- func (o BridgePortMapOutput) ToBridgePortMapOutputWithContext(ctx context.Context) BridgePortMapOutput
- type BridgePortOutput
- func (o BridgePortOutput) AutoIsolate() pulumi.BoolPtrOutput
- func (o BridgePortOutput) BpduGuard() pulumi.BoolPtrOutput
- func (o BridgePortOutput) Bridge() pulumi.StringOutput
- func (o BridgePortOutput) BroadcastFlood() pulumi.BoolPtrOutput
- func (o BridgePortOutput) Comment() pulumi.StringPtrOutput
- func (o BridgePortOutput) DebugInfo() pulumi.StringOutput
- func (o BridgePortOutput) DesignatedBridge() pulumi.StringOutput
- func (o BridgePortOutput) DesignatedCost() pulumi.StringOutput
- func (o BridgePortOutput) DesignatedPortNumber() pulumi.IntOutput
- func (o BridgePortOutput) Disabled() pulumi.BoolPtrOutput
- func (o BridgePortOutput) Dynamic() pulumi.BoolOutput
- func (o BridgePortOutput) Edge() pulumi.StringPtrOutput
- func (o BridgePortOutput) EdgePort() pulumi.BoolOutput
- func (o BridgePortOutput) EdgePortDiscovery() pulumi.BoolOutput
- func (BridgePortOutput) ElementType() reflect.Type
- func (o BridgePortOutput) ExternalFdbStatus() pulumi.BoolOutput
- func (o BridgePortOutput) FastLeave() pulumi.BoolPtrOutput
- func (o BridgePortOutput) Forwarding() pulumi.BoolOutput
- func (o BridgePortOutput) FrameTypes() pulumi.StringPtrOutput
- func (o BridgePortOutput) Horizon() pulumi.StringPtrOutput
- func (o BridgePortOutput) Hw() pulumi.BoolOutput
- func (o BridgePortOutput) HwOffload() pulumi.BoolOutput
- func (o BridgePortOutput) HwOffloadGroup() pulumi.StringOutput
- func (o BridgePortOutput) Inactive() pulumi.BoolOutput
- func (o BridgePortOutput) IngressFiltering() pulumi.BoolOutput
- func (o BridgePortOutput) Interface() pulumi.StringOutput
- func (o BridgePortOutput) InternalPathCost() pulumi.IntPtrOutput
- func (o BridgePortOutput) Learn() pulumi.StringPtrOutput
- func (o BridgePortOutput) Learning() pulumi.BoolOutput
- func (o BridgePortOutput) MulticastRouter() pulumi.StringPtrOutput
- func (o BridgePortOutput) Nextid() pulumi.StringOutput
- func (o BridgePortOutput) PathCost() pulumi.StringPtrOutput
- func (o BridgePortOutput) PointToPoint() pulumi.StringPtrOutput
- func (o BridgePortOutput) PointToPointPort() pulumi.BoolOutput
- func (o BridgePortOutput) PortNumber() pulumi.IntOutput
- func (o BridgePortOutput) Priority() pulumi.StringPtrOutput
- func (o BridgePortOutput) Pvid() pulumi.IntOutput
- func (o BridgePortOutput) RestrictedRole() pulumi.BoolPtrOutput
- func (o BridgePortOutput) RestrictedTcn() pulumi.BoolPtrOutput
- func (o BridgePortOutput) Role() pulumi.StringOutput
- func (o BridgePortOutput) RootPathCost() pulumi.IntOutput
- func (o BridgePortOutput) SendingRstp() pulumi.StringOutput
- func (o BridgePortOutput) Status() pulumi.StringOutput
- func (o BridgePortOutput) TagStacking() pulumi.BoolPtrOutput
- func (o BridgePortOutput) ToBridgePortOutput() BridgePortOutput
- func (o BridgePortOutput) ToBridgePortOutputWithContext(ctx context.Context) BridgePortOutput
- func (o BridgePortOutput) Trusted() pulumi.BoolPtrOutput
- func (o BridgePortOutput) UnknownMulticastFlood() pulumi.BoolPtrOutput
- func (o BridgePortOutput) UnknownUnicastFlood() pulumi.BoolPtrOutput
- type BridgePortState
- type BridgeState
- type BridgeVlan
- type BridgeVlanArgs
- type BridgeVlanArray
- type BridgeVlanArrayInput
- type BridgeVlanArrayOutput
- func (BridgeVlanArrayOutput) ElementType() reflect.Type
- func (o BridgeVlanArrayOutput) Index(i pulumi.IntInput) BridgeVlanOutput
- func (o BridgeVlanArrayOutput) ToBridgeVlanArrayOutput() BridgeVlanArrayOutput
- func (o BridgeVlanArrayOutput) ToBridgeVlanArrayOutputWithContext(ctx context.Context) BridgeVlanArrayOutput
- type BridgeVlanInput
- type BridgeVlanMap
- type BridgeVlanMapInput
- type BridgeVlanMapOutput
- func (BridgeVlanMapOutput) ElementType() reflect.Type
- func (o BridgeVlanMapOutput) MapIndex(k pulumi.StringInput) BridgeVlanOutput
- func (o BridgeVlanMapOutput) ToBridgeVlanMapOutput() BridgeVlanMapOutput
- func (o BridgeVlanMapOutput) ToBridgeVlanMapOutputWithContext(ctx context.Context) BridgeVlanMapOutput
- type BridgeVlanOutput
- func (o BridgeVlanOutput) Bridge() pulumi.StringOutput
- func (o BridgeVlanOutput) Comment() pulumi.StringPtrOutput
- func (o BridgeVlanOutput) CurrentTaggeds() pulumi.StringArrayOutput
- func (o BridgeVlanOutput) CurrentUntaggeds() pulumi.StringArrayOutput
- func (o BridgeVlanOutput) Disabled() pulumi.BoolPtrOutput
- func (o BridgeVlanOutput) Dynamic() pulumi.BoolOutput
- func (BridgeVlanOutput) ElementType() reflect.Type
- func (o BridgeVlanOutput) Taggeds() pulumi.StringArrayOutput
- func (o BridgeVlanOutput) ToBridgeVlanOutput() BridgeVlanOutput
- func (o BridgeVlanOutput) ToBridgeVlanOutputWithContext(ctx context.Context) BridgeVlanOutput
- func (o BridgeVlanOutput) Untaggeds() pulumi.StringArrayOutput
- func (o BridgeVlanOutput) VlanIds() pulumi.StringOutput
- type BridgeVlanState
- type GetInterfacesArgs
- type GetInterfacesInterface
- type GetInterfacesInterfaceArgs
- type GetInterfacesInterfaceArray
- func (GetInterfacesInterfaceArray) ElementType() reflect.Type
- func (i GetInterfacesInterfaceArray) ToGetInterfacesInterfaceArrayOutput() GetInterfacesInterfaceArrayOutput
- func (i GetInterfacesInterfaceArray) ToGetInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetInterfacesInterfaceArrayOutput
- type GetInterfacesInterfaceArrayInput
- type GetInterfacesInterfaceArrayOutput
- func (GetInterfacesInterfaceArrayOutput) ElementType() reflect.Type
- func (o GetInterfacesInterfaceArrayOutput) Index(i pulumi.IntInput) GetInterfacesInterfaceOutput
- func (o GetInterfacesInterfaceArrayOutput) ToGetInterfacesInterfaceArrayOutput() GetInterfacesInterfaceArrayOutput
- func (o GetInterfacesInterfaceArrayOutput) ToGetInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetInterfacesInterfaceArrayOutput
- type GetInterfacesInterfaceInput
- type GetInterfacesInterfaceOutput
- func (o GetInterfacesInterfaceOutput) ActualMtu() pulumi.IntOutput
- func (o GetInterfacesInterfaceOutput) Comment() pulumi.StringOutput
- func (o GetInterfacesInterfaceOutput) DefaultName() pulumi.StringOutput
- func (o GetInterfacesInterfaceOutput) Disabled() pulumi.BoolOutput
- func (GetInterfacesInterfaceOutput) ElementType() reflect.Type
- func (o GetInterfacesInterfaceOutput) FpRxByte() pulumi.IntOutput
- func (o GetInterfacesInterfaceOutput) FpRxPacket() pulumi.IntOutput
- func (o GetInterfacesInterfaceOutput) FpTxByte() pulumi.IntOutput
- func (o GetInterfacesInterfaceOutput) FpTxPacket() pulumi.IntOutput
- func (o GetInterfacesInterfaceOutput) Id() pulumi.StringOutput
- func (o GetInterfacesInterfaceOutput) L2mtu() pulumi.IntOutput
- func (o GetInterfacesInterfaceOutput) LastLinkDownTime() pulumi.StringOutput
- func (o GetInterfacesInterfaceOutput) LastLinkUpTime() pulumi.StringOutput
- func (o GetInterfacesInterfaceOutput) LinkDowns() pulumi.IntOutput
- func (o GetInterfacesInterfaceOutput) MacAddress() pulumi.StringOutput
- func (o GetInterfacesInterfaceOutput) MaxL2mtu() pulumi.IntOutput
- func (o GetInterfacesInterfaceOutput) Mtu() pulumi.StringOutput
- func (o GetInterfacesInterfaceOutput) Name() pulumi.StringOutput
- func (o GetInterfacesInterfaceOutput) Running() pulumi.BoolOutput
- func (o GetInterfacesInterfaceOutput) RxByte() pulumi.IntOutput
- func (o GetInterfacesInterfaceOutput) RxDrop() pulumi.IntOutput
- func (o GetInterfacesInterfaceOutput) RxError() pulumi.IntOutput
- func (o GetInterfacesInterfaceOutput) RxPacket() pulumi.IntOutput
- func (o GetInterfacesInterfaceOutput) Slave() pulumi.BoolOutput
- func (o GetInterfacesInterfaceOutput) ToGetInterfacesInterfaceOutput() GetInterfacesInterfaceOutput
- func (o GetInterfacesInterfaceOutput) ToGetInterfacesInterfaceOutputWithContext(ctx context.Context) GetInterfacesInterfaceOutput
- func (o GetInterfacesInterfaceOutput) TxByte() pulumi.IntOutput
- func (o GetInterfacesInterfaceOutput) TxDrop() pulumi.IntOutput
- func (o GetInterfacesInterfaceOutput) TxError() pulumi.IntOutput
- func (o GetInterfacesInterfaceOutput) TxPacket() pulumi.IntOutput
- func (o GetInterfacesInterfaceOutput) TxQueueDrop() pulumi.IntOutput
- func (o GetInterfacesInterfaceOutput) Type() pulumi.StringOutput
- type GetInterfacesOutputArgs
- type GetInterfacesResult
- type GetInterfacesResultOutput
- func (GetInterfacesResultOutput) ElementType() reflect.Type
- func (o GetInterfacesResultOutput) Filter() pulumi.MapOutput
- func (o GetInterfacesResultOutput) Id() pulumi.StringOutput
- func (o GetInterfacesResultOutput) Interfaces() GetInterfacesInterfaceArrayOutput
- func (o GetInterfacesResultOutput) ToGetInterfacesResultOutput() GetInterfacesResultOutput
- func (o GetInterfacesResultOutput) ToGetInterfacesResultOutputWithContext(ctx context.Context) GetInterfacesResultOutput
- type Gre
- type GreArgs
- type GreArray
- type GreArrayInput
- type GreArrayOutput
- type GreInput
- type GreMap
- type GreMapInput
- type GreMapOutput
- type GreOutput
- func (o GreOutput) ActualMtu() pulumi.IntOutput
- func (o GreOutput) AllowFastPath() pulumi.BoolPtrOutput
- func (o GreOutput) ClampTcpMss() pulumi.BoolPtrOutput
- func (o GreOutput) Comment() pulumi.StringPtrOutput
- func (o GreOutput) Disabled() pulumi.BoolPtrOutput
- func (o GreOutput) DontFragment() pulumi.StringPtrOutput
- func (o GreOutput) Dscp() pulumi.StringPtrOutput
- func (GreOutput) ElementType() reflect.Type
- func (o GreOutput) IpsecSecret() pulumi.StringPtrOutput
- func (o GreOutput) Keepalive() pulumi.StringPtrOutput
- func (o GreOutput) L2mtu() pulumi.IntOutput
- func (o GreOutput) LocalAddress() pulumi.StringPtrOutput
- func (o GreOutput) Mtu() pulumi.StringOutput
- func (o GreOutput) Name() pulumi.StringOutput
- func (o GreOutput) RemoteAddress() pulumi.StringOutput
- func (o GreOutput) Running() pulumi.BoolOutput
- func (o GreOutput) ToGreOutput() GreOutput
- func (o GreOutput) ToGreOutputWithContext(ctx context.Context) GreOutput
- type GreState
- type InterfaceBridge
- type InterfaceBridgeArgs
- type InterfaceBridgeArray
- type InterfaceBridgeArrayInput
- type InterfaceBridgeArrayOutput
- func (InterfaceBridgeArrayOutput) ElementType() reflect.Type
- func (o InterfaceBridgeArrayOutput) Index(i pulumi.IntInput) InterfaceBridgeOutput
- func (o InterfaceBridgeArrayOutput) ToInterfaceBridgeArrayOutput() InterfaceBridgeArrayOutput
- func (o InterfaceBridgeArrayOutput) ToInterfaceBridgeArrayOutputWithContext(ctx context.Context) InterfaceBridgeArrayOutput
- type InterfaceBridgeInput
- type InterfaceBridgeMap
- type InterfaceBridgeMapInput
- type InterfaceBridgeMapOutput
- func (InterfaceBridgeMapOutput) ElementType() reflect.Type
- func (o InterfaceBridgeMapOutput) MapIndex(k pulumi.StringInput) InterfaceBridgeOutput
- func (o InterfaceBridgeMapOutput) ToInterfaceBridgeMapOutput() InterfaceBridgeMapOutput
- func (o InterfaceBridgeMapOutput) ToInterfaceBridgeMapOutputWithContext(ctx context.Context) InterfaceBridgeMapOutput
- type InterfaceBridgeOutput
- func (o InterfaceBridgeOutput) ActualMtu() pulumi.IntOutput
- func (o InterfaceBridgeOutput) AddDhcpOption82() pulumi.BoolPtrOutput
- func (o InterfaceBridgeOutput) AdminMac() pulumi.StringOutput
- func (o InterfaceBridgeOutput) AgeingTime() pulumi.StringPtrOutput
- func (o InterfaceBridgeOutput) Arp() pulumi.StringPtrOutput
- func (o InterfaceBridgeOutput) ArpTimeout() pulumi.StringPtrOutput
- func (o InterfaceBridgeOutput) AutoMac() pulumi.BoolPtrOutput
- func (o InterfaceBridgeOutput) Comment() pulumi.StringPtrOutput
- func (o InterfaceBridgeOutput) DhcpSnooping() pulumi.BoolPtrOutput
- func (o InterfaceBridgeOutput) Disabled() pulumi.BoolPtrOutput
- func (InterfaceBridgeOutput) ElementType() reflect.Type
- func (o InterfaceBridgeOutput) EtherType() pulumi.StringPtrOutput
- func (o InterfaceBridgeOutput) FastForward() pulumi.BoolOutput
- func (o InterfaceBridgeOutput) ForwardDelay() pulumi.StringPtrOutput
- func (o InterfaceBridgeOutput) FrameTypes() pulumi.StringPtrOutput
- func (o InterfaceBridgeOutput) IgmpSnooping() pulumi.BoolPtrOutput
- func (o InterfaceBridgeOutput) IgmpVersion() pulumi.IntOutput
- func (o InterfaceBridgeOutput) IngressFiltering() pulumi.BoolPtrOutput
- func (o InterfaceBridgeOutput) L2mtu() pulumi.IntOutput
- func (o InterfaceBridgeOutput) LastMemberInterval() pulumi.StringOutput
- func (o InterfaceBridgeOutput) LastMemberQueryCount() pulumi.IntOutput
- func (o InterfaceBridgeOutput) MacAddress() pulumi.StringOutput
- func (o InterfaceBridgeOutput) MaxHops() pulumi.IntOutput
- func (o InterfaceBridgeOutput) MaxMessageAge() pulumi.StringPtrOutput
- func (o InterfaceBridgeOutput) MembershipInterval() pulumi.StringOutput
- func (o InterfaceBridgeOutput) MldVersion() pulumi.IntOutput
- func (o InterfaceBridgeOutput) Mtu() pulumi.StringPtrOutput
- func (o InterfaceBridgeOutput) MulticastQuerier() pulumi.BoolPtrOutput
- func (o InterfaceBridgeOutput) MulticastRouter() pulumi.StringOutput
- func (o InterfaceBridgeOutput) Name() pulumi.StringOutput
- func (o InterfaceBridgeOutput) Priority() pulumi.StringPtrOutput
- func (o InterfaceBridgeOutput) ProtocolMode() pulumi.StringPtrOutput
- func (o InterfaceBridgeOutput) Pvid() pulumi.IntPtrOutput
- func (o InterfaceBridgeOutput) QuerierInterval() pulumi.StringOutput
- func (o InterfaceBridgeOutput) QueryInterval() pulumi.StringOutput
- func (o InterfaceBridgeOutput) QueryResponseInterval() pulumi.StringOutput
- func (o InterfaceBridgeOutput) RegionName() pulumi.StringPtrOutput
- func (o InterfaceBridgeOutput) RegionRevision() pulumi.IntPtrOutput
- func (o InterfaceBridgeOutput) Running() pulumi.BoolOutput
- func (o InterfaceBridgeOutput) StartupQueryCount() pulumi.IntOutput
- func (o InterfaceBridgeOutput) StartupQueryInterval() pulumi.StringOutput
- func (o InterfaceBridgeOutput) ToInterfaceBridgeOutput() InterfaceBridgeOutput
- func (o InterfaceBridgeOutput) ToInterfaceBridgeOutputWithContext(ctx context.Context) InterfaceBridgeOutput
- func (o InterfaceBridgeOutput) TransmitHoldCount() pulumi.IntPtrOutput
- func (o InterfaceBridgeOutput) VlanFiltering() pulumi.BoolPtrOutput
- type InterfaceBridgePort
- type InterfaceBridgePortArgs
- type InterfaceBridgePortArray
- type InterfaceBridgePortArrayInput
- type InterfaceBridgePortArrayOutput
- func (InterfaceBridgePortArrayOutput) ElementType() reflect.Type
- func (o InterfaceBridgePortArrayOutput) Index(i pulumi.IntInput) InterfaceBridgePortOutput
- func (o InterfaceBridgePortArrayOutput) ToInterfaceBridgePortArrayOutput() InterfaceBridgePortArrayOutput
- func (o InterfaceBridgePortArrayOutput) ToInterfaceBridgePortArrayOutputWithContext(ctx context.Context) InterfaceBridgePortArrayOutput
- type InterfaceBridgePortInput
- type InterfaceBridgePortMap
- type InterfaceBridgePortMapInput
- type InterfaceBridgePortMapOutput
- func (InterfaceBridgePortMapOutput) ElementType() reflect.Type
- func (o InterfaceBridgePortMapOutput) MapIndex(k pulumi.StringInput) InterfaceBridgePortOutput
- func (o InterfaceBridgePortMapOutput) ToInterfaceBridgePortMapOutput() InterfaceBridgePortMapOutput
- func (o InterfaceBridgePortMapOutput) ToInterfaceBridgePortMapOutputWithContext(ctx context.Context) InterfaceBridgePortMapOutput
- type InterfaceBridgePortOutput
- func (o InterfaceBridgePortOutput) AutoIsolate() pulumi.BoolPtrOutput
- func (o InterfaceBridgePortOutput) BpduGuard() pulumi.BoolPtrOutput
- func (o InterfaceBridgePortOutput) Bridge() pulumi.StringOutput
- func (o InterfaceBridgePortOutput) BroadcastFlood() pulumi.BoolPtrOutput
- func (o InterfaceBridgePortOutput) Comment() pulumi.StringPtrOutput
- func (o InterfaceBridgePortOutput) DebugInfo() pulumi.StringOutput
- func (o InterfaceBridgePortOutput) DesignatedBridge() pulumi.StringOutput
- func (o InterfaceBridgePortOutput) DesignatedCost() pulumi.StringOutput
- func (o InterfaceBridgePortOutput) DesignatedPortNumber() pulumi.IntOutput
- func (o InterfaceBridgePortOutput) Disabled() pulumi.BoolPtrOutput
- func (o InterfaceBridgePortOutput) Dynamic() pulumi.BoolOutput
- func (o InterfaceBridgePortOutput) Edge() pulumi.StringPtrOutput
- func (o InterfaceBridgePortOutput) EdgePort() pulumi.BoolOutput
- func (o InterfaceBridgePortOutput) EdgePortDiscovery() pulumi.BoolOutput
- func (InterfaceBridgePortOutput) ElementType() reflect.Type
- func (o InterfaceBridgePortOutput) ExternalFdbStatus() pulumi.BoolOutput
- func (o InterfaceBridgePortOutput) FastLeave() pulumi.BoolPtrOutput
- func (o InterfaceBridgePortOutput) Forwarding() pulumi.BoolOutput
- func (o InterfaceBridgePortOutput) FrameTypes() pulumi.StringPtrOutput
- func (o InterfaceBridgePortOutput) Horizon() pulumi.StringPtrOutput
- func (o InterfaceBridgePortOutput) Hw() pulumi.BoolOutput
- func (o InterfaceBridgePortOutput) HwOffload() pulumi.BoolOutput
- func (o InterfaceBridgePortOutput) HwOffloadGroup() pulumi.StringOutput
- func (o InterfaceBridgePortOutput) Inactive() pulumi.BoolOutput
- func (o InterfaceBridgePortOutput) IngressFiltering() pulumi.BoolOutput
- func (o InterfaceBridgePortOutput) Interface() pulumi.StringOutput
- func (o InterfaceBridgePortOutput) InternalPathCost() pulumi.IntPtrOutput
- func (o InterfaceBridgePortOutput) Learn() pulumi.StringPtrOutput
- func (o InterfaceBridgePortOutput) Learning() pulumi.BoolOutput
- func (o InterfaceBridgePortOutput) MulticastRouter() pulumi.StringPtrOutput
- func (o InterfaceBridgePortOutput) Nextid() pulumi.StringOutput
- func (o InterfaceBridgePortOutput) PathCost() pulumi.StringPtrOutput
- func (o InterfaceBridgePortOutput) PointToPoint() pulumi.StringPtrOutput
- func (o InterfaceBridgePortOutput) PointToPointPort() pulumi.BoolOutput
- func (o InterfaceBridgePortOutput) PortNumber() pulumi.IntOutput
- func (o InterfaceBridgePortOutput) Priority() pulumi.StringPtrOutput
- func (o InterfaceBridgePortOutput) Pvid() pulumi.IntOutput
- func (o InterfaceBridgePortOutput) RestrictedRole() pulumi.BoolPtrOutput
- func (o InterfaceBridgePortOutput) RestrictedTcn() pulumi.BoolPtrOutput
- func (o InterfaceBridgePortOutput) Role() pulumi.StringOutput
- func (o InterfaceBridgePortOutput) RootPathCost() pulumi.IntOutput
- func (o InterfaceBridgePortOutput) SendingRstp() pulumi.StringOutput
- func (o InterfaceBridgePortOutput) Status() pulumi.StringOutput
- func (o InterfaceBridgePortOutput) TagStacking() pulumi.BoolPtrOutput
- func (o InterfaceBridgePortOutput) ToInterfaceBridgePortOutput() InterfaceBridgePortOutput
- func (o InterfaceBridgePortOutput) ToInterfaceBridgePortOutputWithContext(ctx context.Context) InterfaceBridgePortOutput
- func (o InterfaceBridgePortOutput) Trusted() pulumi.BoolPtrOutput
- func (o InterfaceBridgePortOutput) UnknownMulticastFlood() pulumi.BoolPtrOutput
- func (o InterfaceBridgePortOutput) UnknownUnicastFlood() pulumi.BoolPtrOutput
- type InterfaceBridgePortState
- type InterfaceBridgeState
- type InterfaceBridgeVlan
- type InterfaceBridgeVlanArgs
- type InterfaceBridgeVlanArray
- type InterfaceBridgeVlanArrayInput
- type InterfaceBridgeVlanArrayOutput
- func (InterfaceBridgeVlanArrayOutput) ElementType() reflect.Type
- func (o InterfaceBridgeVlanArrayOutput) Index(i pulumi.IntInput) InterfaceBridgeVlanOutput
- func (o InterfaceBridgeVlanArrayOutput) ToInterfaceBridgeVlanArrayOutput() InterfaceBridgeVlanArrayOutput
- func (o InterfaceBridgeVlanArrayOutput) ToInterfaceBridgeVlanArrayOutputWithContext(ctx context.Context) InterfaceBridgeVlanArrayOutput
- type InterfaceBridgeVlanInput
- type InterfaceBridgeVlanMap
- type InterfaceBridgeVlanMapInput
- type InterfaceBridgeVlanMapOutput
- func (InterfaceBridgeVlanMapOutput) ElementType() reflect.Type
- func (o InterfaceBridgeVlanMapOutput) MapIndex(k pulumi.StringInput) InterfaceBridgeVlanOutput
- func (o InterfaceBridgeVlanMapOutput) ToInterfaceBridgeVlanMapOutput() InterfaceBridgeVlanMapOutput
- func (o InterfaceBridgeVlanMapOutput) ToInterfaceBridgeVlanMapOutputWithContext(ctx context.Context) InterfaceBridgeVlanMapOutput
- type InterfaceBridgeVlanOutput
- func (o InterfaceBridgeVlanOutput) Bridge() pulumi.StringOutput
- func (o InterfaceBridgeVlanOutput) Comment() pulumi.StringPtrOutput
- func (o InterfaceBridgeVlanOutput) CurrentTaggeds() pulumi.StringArrayOutput
- func (o InterfaceBridgeVlanOutput) CurrentUntaggeds() pulumi.StringArrayOutput
- func (o InterfaceBridgeVlanOutput) Disabled() pulumi.BoolPtrOutput
- func (o InterfaceBridgeVlanOutput) Dynamic() pulumi.BoolOutput
- func (InterfaceBridgeVlanOutput) ElementType() reflect.Type
- func (o InterfaceBridgeVlanOutput) Taggeds() pulumi.StringArrayOutput
- func (o InterfaceBridgeVlanOutput) ToInterfaceBridgeVlanOutput() InterfaceBridgeVlanOutput
- func (o InterfaceBridgeVlanOutput) ToInterfaceBridgeVlanOutputWithContext(ctx context.Context) InterfaceBridgeVlanOutput
- func (o InterfaceBridgeVlanOutput) Untaggeds() pulumi.StringArrayOutput
- func (o InterfaceBridgeVlanOutput) VlanIds() pulumi.StringOutput
- type InterfaceBridgeVlanState
- type InterfaceGre
- type InterfaceGreArgs
- type InterfaceGreArray
- type InterfaceGreArrayInput
- type InterfaceGreArrayOutput
- func (InterfaceGreArrayOutput) ElementType() reflect.Type
- func (o InterfaceGreArrayOutput) Index(i pulumi.IntInput) InterfaceGreOutput
- func (o InterfaceGreArrayOutput) ToInterfaceGreArrayOutput() InterfaceGreArrayOutput
- func (o InterfaceGreArrayOutput) ToInterfaceGreArrayOutputWithContext(ctx context.Context) InterfaceGreArrayOutput
- type InterfaceGreInput
- type InterfaceGreMap
- type InterfaceGreMapInput
- type InterfaceGreMapOutput
- func (InterfaceGreMapOutput) ElementType() reflect.Type
- func (o InterfaceGreMapOutput) MapIndex(k pulumi.StringInput) InterfaceGreOutput
- func (o InterfaceGreMapOutput) ToInterfaceGreMapOutput() InterfaceGreMapOutput
- func (o InterfaceGreMapOutput) ToInterfaceGreMapOutputWithContext(ctx context.Context) InterfaceGreMapOutput
- type InterfaceGreOutput
- func (o InterfaceGreOutput) ActualMtu() pulumi.IntOutput
- func (o InterfaceGreOutput) AllowFastPath() pulumi.BoolPtrOutput
- func (o InterfaceGreOutput) ClampTcpMss() pulumi.BoolPtrOutput
- func (o InterfaceGreOutput) Comment() pulumi.StringPtrOutput
- func (o InterfaceGreOutput) Disabled() pulumi.BoolPtrOutput
- func (o InterfaceGreOutput) DontFragment() pulumi.StringPtrOutput
- func (o InterfaceGreOutput) Dscp() pulumi.StringPtrOutput
- func (InterfaceGreOutput) ElementType() reflect.Type
- func (o InterfaceGreOutput) IpsecSecret() pulumi.StringPtrOutput
- func (o InterfaceGreOutput) Keepalive() pulumi.StringPtrOutput
- func (o InterfaceGreOutput) L2mtu() pulumi.IntOutput
- func (o InterfaceGreOutput) LocalAddress() pulumi.StringPtrOutput
- func (o InterfaceGreOutput) Mtu() pulumi.StringOutput
- func (o InterfaceGreOutput) Name() pulumi.StringOutput
- func (o InterfaceGreOutput) RemoteAddress() pulumi.StringOutput
- func (o InterfaceGreOutput) Running() pulumi.BoolOutput
- func (o InterfaceGreOutput) ToInterfaceGreOutput() InterfaceGreOutput
- func (o InterfaceGreOutput) ToInterfaceGreOutputWithContext(ctx context.Context) InterfaceGreOutput
- type InterfaceGreState
- type InterfaceVlan
- type InterfaceVlanArgs
- type InterfaceVlanArray
- type InterfaceVlanArrayInput
- type InterfaceVlanArrayOutput
- func (InterfaceVlanArrayOutput) ElementType() reflect.Type
- func (o InterfaceVlanArrayOutput) Index(i pulumi.IntInput) InterfaceVlanOutput
- func (o InterfaceVlanArrayOutput) ToInterfaceVlanArrayOutput() InterfaceVlanArrayOutput
- func (o InterfaceVlanArrayOutput) ToInterfaceVlanArrayOutputWithContext(ctx context.Context) InterfaceVlanArrayOutput
- type InterfaceVlanInput
- type InterfaceVlanMap
- type InterfaceVlanMapInput
- type InterfaceVlanMapOutput
- func (InterfaceVlanMapOutput) ElementType() reflect.Type
- func (o InterfaceVlanMapOutput) MapIndex(k pulumi.StringInput) InterfaceVlanOutput
- func (o InterfaceVlanMapOutput) ToInterfaceVlanMapOutput() InterfaceVlanMapOutput
- func (o InterfaceVlanMapOutput) ToInterfaceVlanMapOutputWithContext(ctx context.Context) InterfaceVlanMapOutput
- type InterfaceVlanOutput
- func (o InterfaceVlanOutput) Arp() pulumi.StringPtrOutput
- func (o InterfaceVlanOutput) ArpTimeout() pulumi.StringPtrOutput
- func (o InterfaceVlanOutput) Comment() pulumi.StringPtrOutput
- func (o InterfaceVlanOutput) Disabled() pulumi.BoolPtrOutput
- func (InterfaceVlanOutput) ElementType() reflect.Type
- func (o InterfaceVlanOutput) Interface() pulumi.StringOutput
- func (o InterfaceVlanOutput) L2mtu() pulumi.IntOutput
- func (o InterfaceVlanOutput) LoopProtect() pulumi.StringPtrOutput
- func (o InterfaceVlanOutput) LoopProtectDisableTime() pulumi.StringPtrOutput
- func (o InterfaceVlanOutput) LoopProtectSendInterval() pulumi.StringPtrOutput
- func (o InterfaceVlanOutput) LoopProtectStatus() pulumi.StringOutput
- func (o InterfaceVlanOutput) MacAddress() pulumi.StringOutput
- func (o InterfaceVlanOutput) Mtu() pulumi.StringOutput
- func (o InterfaceVlanOutput) Name() pulumi.StringOutput
- func (o InterfaceVlanOutput) Running() pulumi.BoolOutput
- func (o InterfaceVlanOutput) ToInterfaceVlanOutput() InterfaceVlanOutput
- func (o InterfaceVlanOutput) ToInterfaceVlanOutputWithContext(ctx context.Context) InterfaceVlanOutput
- func (o InterfaceVlanOutput) UseServiceTag() pulumi.BoolPtrOutput
- func (o InterfaceVlanOutput) VlanId() pulumi.IntOutput
- type InterfaceVlanState
- type InterfaceVrrp
- type InterfaceVrrpArgs
- type InterfaceVrrpArray
- type InterfaceVrrpArrayInput
- type InterfaceVrrpArrayOutput
- func (InterfaceVrrpArrayOutput) ElementType() reflect.Type
- func (o InterfaceVrrpArrayOutput) Index(i pulumi.IntInput) InterfaceVrrpOutput
- func (o InterfaceVrrpArrayOutput) ToInterfaceVrrpArrayOutput() InterfaceVrrpArrayOutput
- func (o InterfaceVrrpArrayOutput) ToInterfaceVrrpArrayOutputWithContext(ctx context.Context) InterfaceVrrpArrayOutput
- type InterfaceVrrpInput
- type InterfaceVrrpMap
- type InterfaceVrrpMapInput
- type InterfaceVrrpMapOutput
- func (InterfaceVrrpMapOutput) ElementType() reflect.Type
- func (o InterfaceVrrpMapOutput) MapIndex(k pulumi.StringInput) InterfaceVrrpOutput
- func (o InterfaceVrrpMapOutput) ToInterfaceVrrpMapOutput() InterfaceVrrpMapOutput
- func (o InterfaceVrrpMapOutput) ToInterfaceVrrpMapOutputWithContext(ctx context.Context) InterfaceVrrpMapOutput
- type InterfaceVrrpOutput
- func (o InterfaceVrrpOutput) Arp() pulumi.StringPtrOutput
- func (o InterfaceVrrpOutput) ArpTimeout() pulumi.StringPtrOutput
- func (o InterfaceVrrpOutput) Authentication() pulumi.StringPtrOutput
- func (o InterfaceVrrpOutput) Comment() pulumi.StringPtrOutput
- func (o InterfaceVrrpOutput) Disabled() pulumi.BoolPtrOutput
- func (InterfaceVrrpOutput) ElementType() reflect.Type
- func (o InterfaceVrrpOutput) GroupMaster() pulumi.StringOutput
- func (o InterfaceVrrpOutput) Interface() pulumi.StringOutput
- func (o InterfaceVrrpOutput) Interval() pulumi.StringPtrOutput
- func (o InterfaceVrrpOutput) Invalid() pulumi.BoolOutput
- func (o InterfaceVrrpOutput) MacAddress() pulumi.StringOutput
- func (o InterfaceVrrpOutput) Mtu() pulumi.StringOutput
- func (o InterfaceVrrpOutput) Name() pulumi.StringOutput
- func (o InterfaceVrrpOutput) OnBackup() pulumi.StringPtrOutput
- func (o InterfaceVrrpOutput) OnFail() pulumi.StringPtrOutput
- func (o InterfaceVrrpOutput) OnMaster() pulumi.StringPtrOutput
- func (o InterfaceVrrpOutput) Password() pulumi.StringPtrOutput
- func (o InterfaceVrrpOutput) PreemptionMode() pulumi.BoolPtrOutput
- func (o InterfaceVrrpOutput) Priority() pulumi.IntPtrOutput
- func (o InterfaceVrrpOutput) RemoteAddress() pulumi.StringPtrOutput
- func (o InterfaceVrrpOutput) Running() pulumi.BoolOutput
- func (o InterfaceVrrpOutput) SyncConnectionTracking() pulumi.BoolPtrOutput
- func (o InterfaceVrrpOutput) ToInterfaceVrrpOutput() InterfaceVrrpOutput
- func (o InterfaceVrrpOutput) ToInterfaceVrrpOutputWithContext(ctx context.Context) InterfaceVrrpOutput
- func (o InterfaceVrrpOutput) V3Protocol() pulumi.StringPtrOutput
- func (o InterfaceVrrpOutput) Version() pulumi.IntPtrOutput
- func (o InterfaceVrrpOutput) Vrid() pulumi.IntPtrOutput
- type InterfaceVrrpState
- type InterfaceWireguard
- type InterfaceWireguardArgs
- type InterfaceWireguardArray
- type InterfaceWireguardArrayInput
- type InterfaceWireguardArrayOutput
- func (InterfaceWireguardArrayOutput) ElementType() reflect.Type
- func (o InterfaceWireguardArrayOutput) Index(i pulumi.IntInput) InterfaceWireguardOutput
- func (o InterfaceWireguardArrayOutput) ToInterfaceWireguardArrayOutput() InterfaceWireguardArrayOutput
- func (o InterfaceWireguardArrayOutput) ToInterfaceWireguardArrayOutputWithContext(ctx context.Context) InterfaceWireguardArrayOutput
- type InterfaceWireguardInput
- type InterfaceWireguardMap
- type InterfaceWireguardMapInput
- type InterfaceWireguardMapOutput
- func (InterfaceWireguardMapOutput) ElementType() reflect.Type
- func (o InterfaceWireguardMapOutput) MapIndex(k pulumi.StringInput) InterfaceWireguardOutput
- func (o InterfaceWireguardMapOutput) ToInterfaceWireguardMapOutput() InterfaceWireguardMapOutput
- func (o InterfaceWireguardMapOutput) ToInterfaceWireguardMapOutputWithContext(ctx context.Context) InterfaceWireguardMapOutput
- type InterfaceWireguardOutput
- func (o InterfaceWireguardOutput) Comment() pulumi.StringPtrOutput
- func (o InterfaceWireguardOutput) Disabled() pulumi.BoolPtrOutput
- func (InterfaceWireguardOutput) ElementType() reflect.Type
- func (o InterfaceWireguardOutput) ListenPort() pulumi.IntOutput
- func (o InterfaceWireguardOutput) Mtu() pulumi.StringOutput
- func (o InterfaceWireguardOutput) Name() pulumi.StringOutput
- func (o InterfaceWireguardOutput) PrivateKey() pulumi.StringOutput
- func (o InterfaceWireguardOutput) PublicKey() pulumi.StringOutput
- func (o InterfaceWireguardOutput) Running() pulumi.BoolOutput
- func (o InterfaceWireguardOutput) ToInterfaceWireguardOutput() InterfaceWireguardOutput
- func (o InterfaceWireguardOutput) ToInterfaceWireguardOutputWithContext(ctx context.Context) InterfaceWireguardOutput
- type InterfaceWireguardPeer
- type InterfaceWireguardPeerArgs
- type InterfaceWireguardPeerArray
- func (InterfaceWireguardPeerArray) ElementType() reflect.Type
- func (i InterfaceWireguardPeerArray) ToInterfaceWireguardPeerArrayOutput() InterfaceWireguardPeerArrayOutput
- func (i InterfaceWireguardPeerArray) ToInterfaceWireguardPeerArrayOutputWithContext(ctx context.Context) InterfaceWireguardPeerArrayOutput
- type InterfaceWireguardPeerArrayInput
- type InterfaceWireguardPeerArrayOutput
- func (InterfaceWireguardPeerArrayOutput) ElementType() reflect.Type
- func (o InterfaceWireguardPeerArrayOutput) Index(i pulumi.IntInput) InterfaceWireguardPeerOutput
- func (o InterfaceWireguardPeerArrayOutput) ToInterfaceWireguardPeerArrayOutput() InterfaceWireguardPeerArrayOutput
- func (o InterfaceWireguardPeerArrayOutput) ToInterfaceWireguardPeerArrayOutputWithContext(ctx context.Context) InterfaceWireguardPeerArrayOutput
- type InterfaceWireguardPeerInput
- type InterfaceWireguardPeerMap
- type InterfaceWireguardPeerMapInput
- type InterfaceWireguardPeerMapOutput
- func (InterfaceWireguardPeerMapOutput) ElementType() reflect.Type
- func (o InterfaceWireguardPeerMapOutput) MapIndex(k pulumi.StringInput) InterfaceWireguardPeerOutput
- func (o InterfaceWireguardPeerMapOutput) ToInterfaceWireguardPeerMapOutput() InterfaceWireguardPeerMapOutput
- func (o InterfaceWireguardPeerMapOutput) ToInterfaceWireguardPeerMapOutputWithContext(ctx context.Context) InterfaceWireguardPeerMapOutput
- type InterfaceWireguardPeerOutput
- func (o InterfaceWireguardPeerOutput) AllowedAddresses() pulumi.StringArrayOutput
- func (o InterfaceWireguardPeerOutput) Comment() pulumi.StringPtrOutput
- func (o InterfaceWireguardPeerOutput) CurrentEndpointAddress() pulumi.StringOutput
- func (o InterfaceWireguardPeerOutput) CurrentEndpointPort() pulumi.IntOutput
- func (o InterfaceWireguardPeerOutput) Disabled() pulumi.BoolPtrOutput
- func (InterfaceWireguardPeerOutput) ElementType() reflect.Type
- func (o InterfaceWireguardPeerOutput) EndpointAddress() pulumi.StringOutput
- func (o InterfaceWireguardPeerOutput) EndpointPort() pulumi.StringOutput
- func (o InterfaceWireguardPeerOutput) Interface() pulumi.StringOutput
- func (o InterfaceWireguardPeerOutput) LastHandshake() pulumi.StringOutput
- func (o InterfaceWireguardPeerOutput) PersistentKeepalive() pulumi.StringPtrOutput
- func (o InterfaceWireguardPeerOutput) PresharedKey() pulumi.StringPtrOutput
- func (o InterfaceWireguardPeerOutput) PublicKey() pulumi.StringOutput
- func (o InterfaceWireguardPeerOutput) Rx() pulumi.StringOutput
- func (o InterfaceWireguardPeerOutput) ToInterfaceWireguardPeerOutput() InterfaceWireguardPeerOutput
- func (o InterfaceWireguardPeerOutput) ToInterfaceWireguardPeerOutputWithContext(ctx context.Context) InterfaceWireguardPeerOutput
- func (o InterfaceWireguardPeerOutput) Tx() pulumi.StringOutput
- type InterfaceWireguardPeerState
- type InterfaceWireguardState
- type List
- type ListArgs
- type ListArray
- type ListArrayInput
- type ListArrayOutput
- type ListInput
- type ListMap
- type ListMapInput
- type ListMapOutput
- type ListMember
- type ListMemberArgs
- type ListMemberArray
- type ListMemberArrayInput
- type ListMemberArrayOutput
- func (ListMemberArrayOutput) ElementType() reflect.Type
- func (o ListMemberArrayOutput) Index(i pulumi.IntInput) ListMemberOutput
- func (o ListMemberArrayOutput) ToListMemberArrayOutput() ListMemberArrayOutput
- func (o ListMemberArrayOutput) ToListMemberArrayOutputWithContext(ctx context.Context) ListMemberArrayOutput
- type ListMemberInput
- type ListMemberMap
- type ListMemberMapInput
- type ListMemberMapOutput
- func (ListMemberMapOutput) ElementType() reflect.Type
- func (o ListMemberMapOutput) MapIndex(k pulumi.StringInput) ListMemberOutput
- func (o ListMemberMapOutput) ToListMemberMapOutput() ListMemberMapOutput
- func (o ListMemberMapOutput) ToListMemberMapOutputWithContext(ctx context.Context) ListMemberMapOutput
- type ListMemberOutput
- func (o ListMemberOutput) Disabled() pulumi.BoolPtrOutput
- func (o ListMemberOutput) Dynamic() pulumi.BoolOutput
- func (ListMemberOutput) ElementType() reflect.Type
- func (o ListMemberOutput) Interface() pulumi.StringOutput
- func (o ListMemberOutput) List() pulumi.StringOutput
- func (o ListMemberOutput) ToListMemberOutput() ListMemberOutput
- func (o ListMemberOutput) ToListMemberOutputWithContext(ctx context.Context) ListMemberOutput
- type ListMemberState
- type ListOutput
- func (o ListOutput) Builtin() pulumi.BoolOutput
- func (o ListOutput) Comment() pulumi.StringPtrOutput
- func (o ListOutput) Dynamic() pulumi.BoolOutput
- func (ListOutput) ElementType() reflect.Type
- func (o ListOutput) Exclude() pulumi.StringPtrOutput
- func (o ListOutput) Include() pulumi.StringPtrOutput
- func (o ListOutput) Name() pulumi.StringOutput
- func (o ListOutput) ToListOutput() ListOutput
- func (o ListOutput) ToListOutputWithContext(ctx context.Context) ListOutput
- type ListState
- type OpenVpnServer
- type OpenVpnServerArgs
- type OpenVpnServerArray
- type OpenVpnServerArrayInput
- type OpenVpnServerArrayOutput
- func (OpenVpnServerArrayOutput) ElementType() reflect.Type
- func (o OpenVpnServerArrayOutput) Index(i pulumi.IntInput) OpenVpnServerOutput
- func (o OpenVpnServerArrayOutput) ToOpenVpnServerArrayOutput() OpenVpnServerArrayOutput
- func (o OpenVpnServerArrayOutput) ToOpenVpnServerArrayOutputWithContext(ctx context.Context) OpenVpnServerArrayOutput
- type OpenVpnServerInput
- type OpenVpnServerMap
- type OpenVpnServerMapInput
- type OpenVpnServerMapOutput
- func (OpenVpnServerMapOutput) ElementType() reflect.Type
- func (o OpenVpnServerMapOutput) MapIndex(k pulumi.StringInput) OpenVpnServerOutput
- func (o OpenVpnServerMapOutput) ToOpenVpnServerMapOutput() OpenVpnServerMapOutput
- func (o OpenVpnServerMapOutput) ToOpenVpnServerMapOutputWithContext(ctx context.Context) OpenVpnServerMapOutput
- type OpenVpnServerOutput
- func (o OpenVpnServerOutput) ClientAddress() pulumi.StringOutput
- func (o OpenVpnServerOutput) Comment() pulumi.StringPtrOutput
- func (o OpenVpnServerOutput) Disabled() pulumi.BoolPtrOutput
- func (OpenVpnServerOutput) ElementType() reflect.Type
- func (o OpenVpnServerOutput) Encoding() pulumi.StringOutput
- func (o OpenVpnServerOutput) Mtu() pulumi.IntOutput
- func (o OpenVpnServerOutput) Name() pulumi.StringOutput
- func (o OpenVpnServerOutput) Running() pulumi.BoolOutput
- func (o OpenVpnServerOutput) ToOpenVpnServerOutput() OpenVpnServerOutput
- func (o OpenVpnServerOutput) ToOpenVpnServerOutputWithContext(ctx context.Context) OpenVpnServerOutput
- func (o OpenVpnServerOutput) Uptime() pulumi.StringOutput
- func (o OpenVpnServerOutput) User() pulumi.StringPtrOutput
- type OpenVpnServerState
- type Vlan
- type VlanArgs
- type VlanArray
- type VlanArrayInput
- type VlanArrayOutput
- type VlanInput
- type VlanMap
- type VlanMapInput
- type VlanMapOutput
- type VlanOutput
- func (o VlanOutput) Arp() pulumi.StringPtrOutput
- func (o VlanOutput) ArpTimeout() pulumi.StringPtrOutput
- func (o VlanOutput) Comment() pulumi.StringPtrOutput
- func (o VlanOutput) Disabled() pulumi.BoolPtrOutput
- func (VlanOutput) ElementType() reflect.Type
- func (o VlanOutput) Interface() pulumi.StringOutput
- func (o VlanOutput) L2mtu() pulumi.IntOutput
- func (o VlanOutput) LoopProtect() pulumi.StringPtrOutput
- func (o VlanOutput) LoopProtectDisableTime() pulumi.StringPtrOutput
- func (o VlanOutput) LoopProtectSendInterval() pulumi.StringPtrOutput
- func (o VlanOutput) LoopProtectStatus() pulumi.StringOutput
- func (o VlanOutput) MacAddress() pulumi.StringOutput
- func (o VlanOutput) Mtu() pulumi.StringOutput
- func (o VlanOutput) Name() pulumi.StringOutput
- func (o VlanOutput) Running() pulumi.BoolOutput
- func (o VlanOutput) ToVlanOutput() VlanOutput
- func (o VlanOutput) ToVlanOutputWithContext(ctx context.Context) VlanOutput
- func (o VlanOutput) UseServiceTag() pulumi.BoolPtrOutput
- func (o VlanOutput) VlanId() pulumi.IntOutput
- type VlanState
- type Vrrp
- type VrrpArgs
- type VrrpArray
- type VrrpArrayInput
- type VrrpArrayOutput
- type VrrpInput
- type VrrpMap
- type VrrpMapInput
- type VrrpMapOutput
- type VrrpOutput
- func (o VrrpOutput) Arp() pulumi.StringPtrOutput
- func (o VrrpOutput) ArpTimeout() pulumi.StringPtrOutput
- func (o VrrpOutput) Authentication() pulumi.StringPtrOutput
- func (o VrrpOutput) Comment() pulumi.StringPtrOutput
- func (o VrrpOutput) Disabled() pulumi.BoolPtrOutput
- func (VrrpOutput) ElementType() reflect.Type
- func (o VrrpOutput) GroupMaster() pulumi.StringOutput
- func (o VrrpOutput) Interface() pulumi.StringOutput
- func (o VrrpOutput) Interval() pulumi.StringPtrOutput
- func (o VrrpOutput) Invalid() pulumi.BoolOutput
- func (o VrrpOutput) MacAddress() pulumi.StringOutput
- func (o VrrpOutput) Mtu() pulumi.StringOutput
- func (o VrrpOutput) Name() pulumi.StringOutput
- func (o VrrpOutput) OnBackup() pulumi.StringPtrOutput
- func (o VrrpOutput) OnFail() pulumi.StringPtrOutput
- func (o VrrpOutput) OnMaster() pulumi.StringPtrOutput
- func (o VrrpOutput) Password() pulumi.StringPtrOutput
- func (o VrrpOutput) PreemptionMode() pulumi.BoolPtrOutput
- func (o VrrpOutput) Priority() pulumi.IntPtrOutput
- func (o VrrpOutput) RemoteAddress() pulumi.StringPtrOutput
- func (o VrrpOutput) Running() pulumi.BoolOutput
- func (o VrrpOutput) SyncConnectionTracking() pulumi.BoolPtrOutput
- func (o VrrpOutput) ToVrrpOutput() VrrpOutput
- func (o VrrpOutput) ToVrrpOutputWithContext(ctx context.Context) VrrpOutput
- func (o VrrpOutput) V3Protocol() pulumi.StringPtrOutput
- func (o VrrpOutput) Version() pulumi.IntPtrOutput
- func (o VrrpOutput) Vrid() pulumi.IntPtrOutput
- type VrrpState
- type Wireguard
- type WireguardArgs
- type WireguardArray
- type WireguardArrayInput
- type WireguardArrayOutput
- func (WireguardArrayOutput) ElementType() reflect.Type
- func (o WireguardArrayOutput) Index(i pulumi.IntInput) WireguardOutput
- func (o WireguardArrayOutput) ToWireguardArrayOutput() WireguardArrayOutput
- func (o WireguardArrayOutput) ToWireguardArrayOutputWithContext(ctx context.Context) WireguardArrayOutput
- type WireguardInput
- type WireguardMap
- type WireguardMapInput
- type WireguardMapOutput
- type WireguardOutput
- func (o WireguardOutput) Comment() pulumi.StringPtrOutput
- func (o WireguardOutput) Disabled() pulumi.BoolPtrOutput
- func (WireguardOutput) ElementType() reflect.Type
- func (o WireguardOutput) ListenPort() pulumi.IntOutput
- func (o WireguardOutput) Mtu() pulumi.StringOutput
- func (o WireguardOutput) Name() pulumi.StringOutput
- func (o WireguardOutput) PrivateKey() pulumi.StringOutput
- func (o WireguardOutput) PublicKey() pulumi.StringOutput
- func (o WireguardOutput) Running() pulumi.BoolOutput
- func (o WireguardOutput) ToWireguardOutput() WireguardOutput
- func (o WireguardOutput) ToWireguardOutputWithContext(ctx context.Context) WireguardOutput
- type WireguardPeer
- type WireguardPeerArgs
- type WireguardPeerArray
- type WireguardPeerArrayInput
- type WireguardPeerArrayOutput
- func (WireguardPeerArrayOutput) ElementType() reflect.Type
- func (o WireguardPeerArrayOutput) Index(i pulumi.IntInput) WireguardPeerOutput
- func (o WireguardPeerArrayOutput) ToWireguardPeerArrayOutput() WireguardPeerArrayOutput
- func (o WireguardPeerArrayOutput) ToWireguardPeerArrayOutputWithContext(ctx context.Context) WireguardPeerArrayOutput
- type WireguardPeerInput
- type WireguardPeerMap
- type WireguardPeerMapInput
- type WireguardPeerMapOutput
- func (WireguardPeerMapOutput) ElementType() reflect.Type
- func (o WireguardPeerMapOutput) MapIndex(k pulumi.StringInput) WireguardPeerOutput
- func (o WireguardPeerMapOutput) ToWireguardPeerMapOutput() WireguardPeerMapOutput
- func (o WireguardPeerMapOutput) ToWireguardPeerMapOutputWithContext(ctx context.Context) WireguardPeerMapOutput
- type WireguardPeerOutput
- func (o WireguardPeerOutput) AllowedAddresses() pulumi.StringArrayOutput
- func (o WireguardPeerOutput) Comment() pulumi.StringPtrOutput
- func (o WireguardPeerOutput) CurrentEndpointAddress() pulumi.StringOutput
- func (o WireguardPeerOutput) CurrentEndpointPort() pulumi.IntOutput
- func (o WireguardPeerOutput) Disabled() pulumi.BoolPtrOutput
- func (WireguardPeerOutput) ElementType() reflect.Type
- func (o WireguardPeerOutput) EndpointAddress() pulumi.StringOutput
- func (o WireguardPeerOutput) EndpointPort() pulumi.StringOutput
- func (o WireguardPeerOutput) Interface() pulumi.StringOutput
- func (o WireguardPeerOutput) LastHandshake() pulumi.StringOutput
- func (o WireguardPeerOutput) PersistentKeepalive() pulumi.StringPtrOutput
- func (o WireguardPeerOutput) PresharedKey() pulumi.StringPtrOutput
- func (o WireguardPeerOutput) PublicKey() pulumi.StringOutput
- func (o WireguardPeerOutput) Rx() pulumi.StringOutput
- func (o WireguardPeerOutput) ToWireguardPeerOutput() WireguardPeerOutput
- func (o WireguardPeerOutput) ToWireguardPeerOutputWithContext(ctx context.Context) WireguardPeerOutput
- func (o WireguardPeerOutput) Tx() pulumi.StringOutput
- type WireguardPeerState
- type WireguardState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridge ¶
type Bridge struct { pulumi.CustomResourceState ActualMtu pulumi.IntOutput `pulumi:"actualMtu"` // Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together // with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when // dhcp-snooping is set to yes. AddDhcpOption82 pulumi.BoolPtrOutput `pulumi:"addDhcpOption82"` // Static MAC address of the bridge. This property only has effect when auto-mac is set to no. AdminMac pulumi.StringOutput `pulumi:"adminMac"` // How long a host's information will be kept in the bridge database. AgeingTime pulumi.StringPtrOutput `pulumi:"ageingTime"` // ARP resolution protocol mode. Arp pulumi.StringPtrOutput `pulumi:"arp"` // ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to // the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, // minutes, hours or days. If no postfix is set then seconds (s) is used. ArpTimeout pulumi.StringPtrOutput `pulumi:"arpTimeout"` // Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first // added bridge port. After a device reboot, the bridge MAC can change depending on the port-number. AutoMac pulumi.BoolPtrOutput `pulumi:"autoMac"` Comment pulumi.StringPtrOutput `pulumi:"comment"` DhcpSnooping pulumi.BoolPtrOutput `pulumi:"dhcpSnooping"` Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // This property only has effect when vlan-filtering is set to yes. EtherType pulumi.StringPtrOutput `pulumi:"etherType"` FastForward pulumi.BoolOutput `pulumi:"fastForward"` // Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the // interface) in listening/learning state before the bridge will start functioning normally. ForwardDelay pulumi.StringPtrOutput `pulumi:"forwardDelay"` // Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes. FrameTypes pulumi.StringPtrOutput `pulumi:"frameTypes"` // Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge. IgmpSnooping pulumi.BoolPtrOutput `pulumi:"igmpSnooping"` // Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when // igmp-snooping is set to yes. IgmpVersion pulumi.IntOutput `pulumi:"igmpVersion"` // Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the // bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This // property only has effect when vlan-filtering is set to yes. IngressFiltering pulumi.BoolPtrOutput `pulumi:"ingressFiltering"` // Layer2 Maximum transmission unit. L2mtu pulumi.IntOutput `pulumi:"l2mtu"` // If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge // will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port. LastMemberInterval pulumi.StringOutput `pulumi:"lastMemberInterval"` // How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast // stream. This property only has effect when igmp-snooping is set to yes. LastMemberQueryCount pulumi.IntOutput `pulumi:"lastMemberQueryCount"` MacAddress pulumi.StringOutput `pulumi:"macAddress"` // Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This // property only has effect when protocol-mode is set to mstp. MaxHops pulumi.IntOutput `pulumi:"maxHops"` // Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when // protocol-mode is set to stp or rstp. Value: 6s..40s MaxMessageAge pulumi.StringPtrOutput `pulumi:"maxMessageAge"` // Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on // a certain port. This property only has effect when igmp-snooping is set to yes. MembershipInterval pulumi.StringOutput `pulumi:"membershipInterval"` // Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when // RouterOS IPv6 package is enabled and igmp-snooping is set to yes. MldVersion pulumi.IntOutput `pulumi:"mldVersion"` // The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot // exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than // the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act // as if mtu=auto is set. Mtu pulumi.StringPtrOutput `pulumi:"mtu"` // Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP // membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an // effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing // multicast-querier property. MulticastQuerier pulumi.BoolPtrOutput `pulumi:"multicastQuerier"` // A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast // streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a // bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the // bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set // to yes. MulticastRouter pulumi.StringOutput `pulumi:"multicastRouter"` // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringOutput `pulumi:"name"` // Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This // property has no effect when protocol-mode is set to none. Priority pulumi.StringPtrOutput `pulumi:"priority"` // Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any // bridged LAN. ProtocolMode pulumi.StringPtrOutput `pulumi:"protocolMode"` // Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent // from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes. Pvid pulumi.IntPtrOutput `pulumi:"pvid"` // Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has // effect when igmp-snooping and multicast-querier is set to yes. QuerierInterval pulumi.StringOutput `pulumi:"querierInterval"` // Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when // igmp-snooping and multicast-querier is set to yes. QueryInterval pulumi.StringOutput `pulumi:"queryInterval"` // Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has // effect when igmp-snooping and multicast-querier is set to yes. QueryResponseInterval pulumi.StringOutput `pulumi:"queryResponseInterval"` // MSTP region name. This property only has effect when protocol-mode is set to mstp. RegionName pulumi.StringPtrOutput `pulumi:"regionName"` // MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp. RegionRevision pulumi.IntPtrOutput `pulumi:"regionRevision"` Running pulumi.BoolOutput `pulumi:"running"` // Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership // queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes. StartupQueryCount pulumi.IntOutput `pulumi:"startupQueryCount"` // Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is // enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes. StartupQueryInterval pulumi.StringOutput `pulumi:"startupQueryInterval"` // The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate. TransmitHoldCount pulumi.IntPtrOutput `pulumi:"transmitHoldCount"` // Globally enables or disables VLAN functionality for bridge. VlanFiltering pulumi.BoolPtrOutput `pulumi:"vlanFiltering"` // contains filtered or unexported fields }
## # Iface.Bridge (Resource)
***
#### This is an alias for backwards compatibility between plugin versions. Please see documentation for Iface.InterfaceBridge
func GetBridge ¶
func GetBridge(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BridgeState, opts ...pulumi.ResourceOption) (*Bridge, error)
GetBridge gets an existing Bridge 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 NewBridge ¶
func NewBridge(ctx *pulumi.Context, name string, args *BridgeArgs, opts ...pulumi.ResourceOption) (*Bridge, error)
NewBridge registers a new resource with the given unique name, arguments, and options.
func (*Bridge) ElementType ¶
func (*Bridge) ToBridgeOutput ¶
func (i *Bridge) ToBridgeOutput() BridgeOutput
func (*Bridge) ToBridgeOutputWithContext ¶
func (i *Bridge) ToBridgeOutputWithContext(ctx context.Context) BridgeOutput
type BridgeArgs ¶
type BridgeArgs struct { // Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together // with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when // dhcp-snooping is set to yes. AddDhcpOption82 pulumi.BoolPtrInput // Static MAC address of the bridge. This property only has effect when auto-mac is set to no. AdminMac pulumi.StringPtrInput // How long a host's information will be kept in the bridge database. AgeingTime pulumi.StringPtrInput // ARP resolution protocol mode. Arp pulumi.StringPtrInput // ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to // the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, // minutes, hours or days. If no postfix is set then seconds (s) is used. ArpTimeout pulumi.StringPtrInput // Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first // added bridge port. After a device reboot, the bridge MAC can change depending on the port-number. AutoMac pulumi.BoolPtrInput Comment pulumi.StringPtrInput DhcpSnooping pulumi.BoolPtrInput Disabled pulumi.BoolPtrInput // This property only has effect when vlan-filtering is set to yes. EtherType pulumi.StringPtrInput FastForward pulumi.BoolPtrInput // Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the // interface) in listening/learning state before the bridge will start functioning normally. ForwardDelay pulumi.StringPtrInput // Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes. FrameTypes pulumi.StringPtrInput // Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge. IgmpSnooping pulumi.BoolPtrInput // Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when // igmp-snooping is set to yes. IgmpVersion pulumi.IntPtrInput // Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the // bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This // property only has effect when vlan-filtering is set to yes. IngressFiltering pulumi.BoolPtrInput // If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge // will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port. LastMemberInterval pulumi.StringPtrInput // How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast // stream. This property only has effect when igmp-snooping is set to yes. LastMemberQueryCount pulumi.IntPtrInput // Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This // property only has effect when protocol-mode is set to mstp. MaxHops pulumi.IntPtrInput // Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when // protocol-mode is set to stp or rstp. Value: 6s..40s MaxMessageAge pulumi.StringPtrInput // Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on // a certain port. This property only has effect when igmp-snooping is set to yes. MembershipInterval pulumi.StringPtrInput // Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when // RouterOS IPv6 package is enabled and igmp-snooping is set to yes. MldVersion pulumi.IntPtrInput // The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot // exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than // the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act // as if mtu=auto is set. Mtu pulumi.StringPtrInput // Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP // membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an // effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing // multicast-querier property. MulticastQuerier pulumi.BoolPtrInput // A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast // streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a // bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the // bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set // to yes. MulticastRouter pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput // Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This // property has no effect when protocol-mode is set to none. Priority pulumi.StringPtrInput // Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any // bridged LAN. ProtocolMode pulumi.StringPtrInput // Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent // from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes. Pvid pulumi.IntPtrInput // Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has // effect when igmp-snooping and multicast-querier is set to yes. QuerierInterval pulumi.StringPtrInput // Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when // igmp-snooping and multicast-querier is set to yes. QueryInterval pulumi.StringPtrInput // Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has // effect when igmp-snooping and multicast-querier is set to yes. QueryResponseInterval pulumi.StringPtrInput // MSTP region name. This property only has effect when protocol-mode is set to mstp. RegionName pulumi.StringPtrInput // MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp. RegionRevision pulumi.IntPtrInput // Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership // queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes. StartupQueryCount pulumi.IntPtrInput // Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is // enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes. StartupQueryInterval pulumi.StringPtrInput // The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate. TransmitHoldCount pulumi.IntPtrInput // Globally enables or disables VLAN functionality for bridge. VlanFiltering pulumi.BoolPtrInput // contains filtered or unexported fields }
The set of arguments for constructing a Bridge resource.
func (BridgeArgs) ElementType ¶
func (BridgeArgs) ElementType() reflect.Type
type BridgeArray ¶
type BridgeArray []BridgeInput
func (BridgeArray) ElementType ¶
func (BridgeArray) ElementType() reflect.Type
func (BridgeArray) ToBridgeArrayOutput ¶
func (i BridgeArray) ToBridgeArrayOutput() BridgeArrayOutput
func (BridgeArray) ToBridgeArrayOutputWithContext ¶
func (i BridgeArray) ToBridgeArrayOutputWithContext(ctx context.Context) BridgeArrayOutput
type BridgeArrayInput ¶
type BridgeArrayInput interface { pulumi.Input ToBridgeArrayOutput() BridgeArrayOutput ToBridgeArrayOutputWithContext(context.Context) BridgeArrayOutput }
BridgeArrayInput is an input type that accepts BridgeArray and BridgeArrayOutput values. You can construct a concrete instance of `BridgeArrayInput` via:
BridgeArray{ BridgeArgs{...} }
type BridgeArrayOutput ¶
type BridgeArrayOutput struct{ *pulumi.OutputState }
func (BridgeArrayOutput) ElementType ¶
func (BridgeArrayOutput) ElementType() reflect.Type
func (BridgeArrayOutput) Index ¶
func (o BridgeArrayOutput) Index(i pulumi.IntInput) BridgeOutput
func (BridgeArrayOutput) ToBridgeArrayOutput ¶
func (o BridgeArrayOutput) ToBridgeArrayOutput() BridgeArrayOutput
func (BridgeArrayOutput) ToBridgeArrayOutputWithContext ¶
func (o BridgeArrayOutput) ToBridgeArrayOutputWithContext(ctx context.Context) BridgeArrayOutput
type BridgeInput ¶
type BridgeInput interface { pulumi.Input ToBridgeOutput() BridgeOutput ToBridgeOutputWithContext(ctx context.Context) BridgeOutput }
type BridgeMap ¶
type BridgeMap map[string]BridgeInput
func (BridgeMap) ElementType ¶
func (BridgeMap) ToBridgeMapOutput ¶
func (i BridgeMap) ToBridgeMapOutput() BridgeMapOutput
func (BridgeMap) ToBridgeMapOutputWithContext ¶
func (i BridgeMap) ToBridgeMapOutputWithContext(ctx context.Context) BridgeMapOutput
type BridgeMapInput ¶
type BridgeMapInput interface { pulumi.Input ToBridgeMapOutput() BridgeMapOutput ToBridgeMapOutputWithContext(context.Context) BridgeMapOutput }
BridgeMapInput is an input type that accepts BridgeMap and BridgeMapOutput values. You can construct a concrete instance of `BridgeMapInput` via:
BridgeMap{ "key": BridgeArgs{...} }
type BridgeMapOutput ¶
type BridgeMapOutput struct{ *pulumi.OutputState }
func (BridgeMapOutput) ElementType ¶
func (BridgeMapOutput) ElementType() reflect.Type
func (BridgeMapOutput) MapIndex ¶
func (o BridgeMapOutput) MapIndex(k pulumi.StringInput) BridgeOutput
func (BridgeMapOutput) ToBridgeMapOutput ¶
func (o BridgeMapOutput) ToBridgeMapOutput() BridgeMapOutput
func (BridgeMapOutput) ToBridgeMapOutputWithContext ¶
func (o BridgeMapOutput) ToBridgeMapOutputWithContext(ctx context.Context) BridgeMapOutput
type BridgeOutput ¶
type BridgeOutput struct{ *pulumi.OutputState }
func (BridgeOutput) ActualMtu ¶
func (o BridgeOutput) ActualMtu() pulumi.IntOutput
func (BridgeOutput) AddDhcpOption82 ¶
func (o BridgeOutput) AddDhcpOption82() pulumi.BoolPtrOutput
Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when dhcp-snooping is set to yes.
func (BridgeOutput) AdminMac ¶
func (o BridgeOutput) AdminMac() pulumi.StringOutput
Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
func (BridgeOutput) AgeingTime ¶
func (o BridgeOutput) AgeingTime() pulumi.StringPtrOutput
How long a host's information will be kept in the bridge database.
func (BridgeOutput) Arp ¶
func (o BridgeOutput) Arp() pulumi.StringPtrOutput
ARP resolution protocol mode.
func (BridgeOutput) ArpTimeout ¶
func (o BridgeOutput) ArpTimeout() pulumi.StringPtrOutput
ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
func (BridgeOutput) AutoMac ¶
func (o BridgeOutput) AutoMac() pulumi.BoolPtrOutput
Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first added bridge port. After a device reboot, the bridge MAC can change depending on the port-number.
func (BridgeOutput) Comment ¶
func (o BridgeOutput) Comment() pulumi.StringPtrOutput
func (BridgeOutput) DhcpSnooping ¶
func (o BridgeOutput) DhcpSnooping() pulumi.BoolPtrOutput
func (BridgeOutput) Disabled ¶
func (o BridgeOutput) Disabled() pulumi.BoolPtrOutput
func (BridgeOutput) ElementType ¶
func (BridgeOutput) ElementType() reflect.Type
func (BridgeOutput) EtherType ¶
func (o BridgeOutput) EtherType() pulumi.StringPtrOutput
This property only has effect when vlan-filtering is set to yes.
func (BridgeOutput) FastForward ¶
func (o BridgeOutput) FastForward() pulumi.BoolOutput
func (BridgeOutput) ForwardDelay ¶
func (o BridgeOutput) ForwardDelay() pulumi.StringPtrOutput
Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the interface) in listening/learning state before the bridge will start functioning normally.
func (BridgeOutput) FrameTypes ¶
func (o BridgeOutput) FrameTypes() pulumi.StringPtrOutput
Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
func (BridgeOutput) IgmpSnooping ¶
func (o BridgeOutput) IgmpSnooping() pulumi.BoolPtrOutput
Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
func (BridgeOutput) IgmpVersion ¶
func (o BridgeOutput) IgmpVersion() pulumi.IntOutput
Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when igmp-snooping is set to yes.
func (BridgeOutput) IngressFiltering ¶
func (o BridgeOutput) IngressFiltering() pulumi.BoolPtrOutput
Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes.
func (BridgeOutput) L2mtu ¶
func (o BridgeOutput) L2mtu() pulumi.IntOutput
Layer2 Maximum transmission unit.
func (BridgeOutput) LastMemberInterval ¶
func (o BridgeOutput) LastMemberInterval() pulumi.StringOutput
If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port.
func (BridgeOutput) LastMemberQueryCount ¶
func (o BridgeOutput) LastMemberQueryCount() pulumi.IntOutput
How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast stream. This property only has effect when igmp-snooping is set to yes.
func (BridgeOutput) MacAddress ¶
func (o BridgeOutput) MacAddress() pulumi.StringOutput
func (BridgeOutput) MaxHops ¶
func (o BridgeOutput) MaxHops() pulumi.IntOutput
Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This property only has effect when protocol-mode is set to mstp.
func (BridgeOutput) MaxMessageAge ¶
func (o BridgeOutput) MaxMessageAge() pulumi.StringPtrOutput
Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when protocol-mode is set to stp or rstp. Value: 6s..40s
func (BridgeOutput) MembershipInterval ¶
func (o BridgeOutput) MembershipInterval() pulumi.StringOutput
Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on a certain port. This property only has effect when igmp-snooping is set to yes.
func (BridgeOutput) MldVersion ¶
func (o BridgeOutput) MldVersion() pulumi.IntOutput
Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when RouterOS IPv6 package is enabled and igmp-snooping is set to yes.
func (BridgeOutput) Mtu ¶
func (o BridgeOutput) Mtu() pulumi.StringPtrOutput
The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act as if mtu=auto is set.
func (BridgeOutput) MulticastQuerier ¶
func (o BridgeOutput) MulticastQuerier() pulumi.BoolPtrOutput
Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing multicast-querier property.
func (BridgeOutput) MulticastRouter ¶
func (o BridgeOutput) MulticastRouter() pulumi.StringOutput
A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set to yes.
func (BridgeOutput) Name ¶
func (o BridgeOutput) Name() pulumi.StringOutput
Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control integrity for that resource!
func (BridgeOutput) Priority ¶
func (o BridgeOutput) Priority() pulumi.StringPtrOutput
Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This property has no effect when protocol-mode is set to none.
func (BridgeOutput) ProtocolMode ¶
func (o BridgeOutput) ProtocolMode() pulumi.StringPtrOutput
Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any bridged LAN.
func (BridgeOutput) Pvid ¶
func (o BridgeOutput) Pvid() pulumi.IntPtrOutput
Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes.
func (BridgeOutput) QuerierInterval ¶
func (o BridgeOutput) QuerierInterval() pulumi.StringOutput
Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has effect when igmp-snooping and multicast-querier is set to yes.
func (BridgeOutput) QueryInterval ¶
func (o BridgeOutput) QueryInterval() pulumi.StringOutput
Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when igmp-snooping and multicast-querier is set to yes.
func (BridgeOutput) QueryResponseInterval ¶
func (o BridgeOutput) QueryResponseInterval() pulumi.StringOutput
Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has effect when igmp-snooping and multicast-querier is set to yes.
func (BridgeOutput) RegionName ¶
func (o BridgeOutput) RegionName() pulumi.StringPtrOutput
MSTP region name. This property only has effect when protocol-mode is set to mstp.
func (BridgeOutput) RegionRevision ¶
func (o BridgeOutput) RegionRevision() pulumi.IntPtrOutput
MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
func (BridgeOutput) Running ¶
func (o BridgeOutput) Running() pulumi.BoolOutput
func (BridgeOutput) StartupQueryCount ¶
func (o BridgeOutput) StartupQueryCount() pulumi.IntOutput
Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes.
func (BridgeOutput) StartupQueryInterval ¶
func (o BridgeOutput) StartupQueryInterval() pulumi.StringOutput
Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes.
func (BridgeOutput) ToBridgeOutput ¶
func (o BridgeOutput) ToBridgeOutput() BridgeOutput
func (BridgeOutput) ToBridgeOutputWithContext ¶
func (o BridgeOutput) ToBridgeOutputWithContext(ctx context.Context) BridgeOutput
func (BridgeOutput) TransmitHoldCount ¶
func (o BridgeOutput) TransmitHoldCount() pulumi.IntPtrOutput
The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
func (BridgeOutput) VlanFiltering ¶
func (o BridgeOutput) VlanFiltering() pulumi.BoolPtrOutput
Globally enables or disables VLAN functionality for bridge.
type BridgePort ¶
type BridgePort struct { pulumi.CustomResourceState // When enabled, prevents a port moving from discarding into forwarding state if no BPDUs are received from the neighboring // bridge. The port will change into a forwarding state only when a BPDU is received. This property only has an effect when // protocol-mode is set to rstp or mstp and edge is set to no. AutoIsolate pulumi.BoolPtrOutput `pulumi:"autoIsolate"` // This property has no effect when protocol-mode is set to none. BpduGuard pulumi.BoolPtrOutput `pulumi:"bpduGuard"` Bridge pulumi.StringOutput `pulumi:"bridge"` // When enabled, bridge floods broadcast traffic to all bridge egress ports. When disabled, drops broadcast traffic on // egress ports. BroadcastFlood pulumi.BoolPtrOutput `pulumi:"broadcastFlood"` Comment pulumi.StringPtrOutput `pulumi:"comment"` DebugInfo pulumi.StringOutput `pulumi:"debugInfo"` // Root bridge ID (bridge priority and the bridge MAC address). DesignatedBridge pulumi.StringOutput `pulumi:"designatedBridge"` // Designated cost. DesignatedCost pulumi.StringOutput `pulumi:"designatedCost"` // Designated port number. DesignatedPortNumber pulumi.IntOutput `pulumi:"designatedPortNumber"` 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"` // Set port as edge port or non-edge port, or enable edge discovery. Edge ports are connected to a LAN that has no other // bridges attached. Edge pulumi.StringPtrOutput `pulumi:"edge"` // Whether port is an edge port or not. EdgePort pulumi.BoolOutput `pulumi:"edgePort"` // Whether port is set to automatically detect edge ports. EdgePortDiscovery pulumi.BoolOutput `pulumi:"edgePortDiscovery"` // Whether registration table is used instead of forwarding data base. ExternalFdbStatus pulumi.BoolOutput `pulumi:"externalFdbStatus"` // Enables IGMP Fast leave feature on the port. FastLeave pulumi.BoolPtrOutput `pulumi:"fastLeave"` // Shows if the port is not blocked by (R/M)STP. Forwarding pulumi.BoolOutput `pulumi:"forwarding"` // Specifies allowed ingress frame types on a bridge port. This property only has effect when vlan-filtering is set to yes. FrameTypes pulumi.StringPtrOutput `pulumi:"frameTypes"` // Use split horizon bridging to prevent bridging loops. Set the same value for group of ports, to prevent them from // sending data to ports with the same horizon value. Split horizon is a software feature that disables hardware // offloading. This value is integer '0'..'429496729' or 'none'. Horizon pulumi.StringPtrOutput `pulumi:"horizon"` // Enable or disable Hardware Offloading of the interface. Hw pulumi.BoolOutput `pulumi:"hw"` // Hardware offloading state. HwOffload pulumi.BoolOutput `pulumi:"hwOffload"` // Switch chip used by the port. HwOffloadGroup pulumi.StringOutput `pulumi:"hwOffloadGroup"` Inactive pulumi.BoolOutput `pulumi:"inactive"` // Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the // bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This // property only has effect when vlan-filtering is set to yes. IngressFiltering pulumi.BoolOutput `pulumi:"ingressFiltering"` // Name of the interface. Interface pulumi.StringOutput `pulumi:"interface"` // Path cost to the interface for MSTI0 inside a region. This property only has effect when protocol-mode is set to mstp. InternalPathCost pulumi.IntPtrOutput `pulumi:"internalPathCost"` // Changes MAC learning behaviour on a bridge port Learn pulumi.StringPtrOutput `pulumi:"learn"` // Shows whether the port is capable of learning MAC addresses. Learning pulumi.BoolOutput `pulumi:"learning"` // Changes the state of a bridge port whether IGMP membership reports are going to be forwarded to this port. MulticastRouter pulumi.StringPtrOutput `pulumi:"multicastRouter"` Nextid pulumi.StringOutput `pulumi:"nextid"` // Path cost to the interface, used by STP to determine the "best" path, used by MSTP todetermine "best" path between // regions. This property has no effect when protocol-mode is set to none. PathCost pulumi.StringPtrOutput `pulumi:"pathCost"` // Specifies if a bridge port is connected to a bridge using a point-to-point link for faster convergence in case of // failure. This property has no effect when protocol-mode is set to none. PointToPoint pulumi.StringPtrOutput `pulumi:"pointToPoint"` // Whether the port is connected to a bridge port using full-duplex (true) or half-duplex (false). PointToPointPort pulumi.BoolOutput `pulumi:"pointToPointPort"` // Port number will be assigned in the order that ports got added to the bridge, but this is only true until reboot. After // reboot internal numbering will be used. PortNumber pulumi.IntOutput `pulumi:"portNumber"` // The priority of the interface, used by STP to determine the root port, used by MSTP to determine root port between // regions. Priority pulumi.StringPtrOutput `pulumi:"priority"` // ort VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. This property only has effect when // vlan-filtering is set to yes. Pvid pulumi.IntOutput `pulumi:"pvid"` // Enable the restricted role on a port, used by STP to forbid a port becoming a root port. This property only has effect // when protocol-mode is set to mstp. RestrictedRole pulumi.BoolPtrOutput `pulumi:"restrictedRole"` // Disable topology change notification (TCN) sending on a port, used by STP to forbid network topology changes to // propagate. This property only has effect when protocol-mode is set to mstp. RestrictedTcn pulumi.BoolPtrOutput `pulumi:"restrictedTcn"` // (R/M)STP algorithm assigned role of the port Role pulumi.StringOutput `pulumi:"role"` // The total cost of the path to the root-bridge. RootPathCost pulumi.IntOutput `pulumi:"rootPathCost"` // Whether the port is sending RSTP or MSTP BPDU types. A port will transit to STP type when RSTP/MSTP enabled port // receives a STP BPDU SendingRstp pulumi.StringOutput `pulumi:"sendingRstp"` // Port status ('in-bridge' - port is enabled). Status pulumi.StringOutput `pulumi:"status"` // Forces all packets to be treated as untagged packets. Packets on ingress port will be tagged with another VLAN tag // regardless if a VLAN tag already exists, packets will be tagged with a VLAN ID that matches the pvid value and will use // EtherType that is specified in ether-type. This property only has effect when vlan-filtering is set to yes. TagStacking pulumi.BoolPtrOutput `pulumi:"tagStacking"` // When enabled, it allows to forward DHCP packets towards DHCP server through this port. Mainly used to limit unauthorized // servers to provide malicious information for users. This property only has effect when dhcp-snooping is set to yes. Trusted pulumi.BoolPtrOutput `pulumi:"trusted"` // When enabled, bridge floods unknown multicast traffic to all bridge egress ports. UnknownMulticastFlood pulumi.BoolPtrOutput `pulumi:"unknownMulticastFlood"` // When enabled, bridge floods unknown unicast traffic to all bridge egress ports. UnknownUnicastFlood pulumi.BoolPtrOutput `pulumi:"unknownUnicastFlood"` // contains filtered or unexported fields }
## # Iface.BridgePort (Resource)
***
#### This is an alias for backwards compatibility between plugin versions. Please see documentation for Iface.InterfaceBridgePort
func GetBridgePort ¶
func GetBridgePort(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BridgePortState, opts ...pulumi.ResourceOption) (*BridgePort, error)
GetBridgePort gets an existing BridgePort 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 NewBridgePort ¶
func NewBridgePort(ctx *pulumi.Context, name string, args *BridgePortArgs, opts ...pulumi.ResourceOption) (*BridgePort, error)
NewBridgePort registers a new resource with the given unique name, arguments, and options.
func (*BridgePort) ElementType ¶
func (*BridgePort) ElementType() reflect.Type
func (*BridgePort) ToBridgePortOutput ¶
func (i *BridgePort) ToBridgePortOutput() BridgePortOutput
func (*BridgePort) ToBridgePortOutputWithContext ¶
func (i *BridgePort) ToBridgePortOutputWithContext(ctx context.Context) BridgePortOutput
type BridgePortArgs ¶
type BridgePortArgs struct { // When enabled, prevents a port moving from discarding into forwarding state if no BPDUs are received from the neighboring // bridge. The port will change into a forwarding state only when a BPDU is received. This property only has an effect when // protocol-mode is set to rstp or mstp and edge is set to no. AutoIsolate pulumi.BoolPtrInput // This property has no effect when protocol-mode is set to none. BpduGuard pulumi.BoolPtrInput Bridge pulumi.StringInput // When enabled, bridge floods broadcast traffic to all bridge egress ports. When disabled, drops broadcast traffic on // egress ports. BroadcastFlood pulumi.BoolPtrInput Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Set port as edge port or non-edge port, or enable edge discovery. Edge ports are connected to a LAN that has no other // bridges attached. Edge pulumi.StringPtrInput // Enables IGMP Fast leave feature on the port. FastLeave pulumi.BoolPtrInput // Specifies allowed ingress frame types on a bridge port. This property only has effect when vlan-filtering is set to yes. FrameTypes pulumi.StringPtrInput // Use split horizon bridging to prevent bridging loops. Set the same value for group of ports, to prevent them from // sending data to ports with the same horizon value. Split horizon is a software feature that disables hardware // offloading. This value is integer '0'..'429496729' or 'none'. Horizon pulumi.StringPtrInput // Enable or disable Hardware Offloading of the interface. Hw pulumi.BoolPtrInput // Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the // bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This // property only has effect when vlan-filtering is set to yes. IngressFiltering pulumi.BoolPtrInput // Name of the interface. Interface pulumi.StringInput // Path cost to the interface for MSTI0 inside a region. This property only has effect when protocol-mode is set to mstp. InternalPathCost pulumi.IntPtrInput // Changes MAC learning behaviour on a bridge port Learn pulumi.StringPtrInput // Changes the state of a bridge port whether IGMP membership reports are going to be forwarded to this port. MulticastRouter pulumi.StringPtrInput // Path cost to the interface, used by STP to determine the "best" path, used by MSTP todetermine "best" path between // regions. This property has no effect when protocol-mode is set to none. PathCost pulumi.StringPtrInput // Specifies if a bridge port is connected to a bridge using a point-to-point link for faster convergence in case of // failure. This property has no effect when protocol-mode is set to none. PointToPoint pulumi.StringPtrInput // The priority of the interface, used by STP to determine the root port, used by MSTP to determine root port between // regions. Priority pulumi.StringPtrInput // ort VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. This property only has effect when // vlan-filtering is set to yes. Pvid pulumi.IntInput // Enable the restricted role on a port, used by STP to forbid a port becoming a root port. This property only has effect // when protocol-mode is set to mstp. RestrictedRole pulumi.BoolPtrInput // Disable topology change notification (TCN) sending on a port, used by STP to forbid network topology changes to // propagate. This property only has effect when protocol-mode is set to mstp. RestrictedTcn pulumi.BoolPtrInput // Forces all packets to be treated as untagged packets. Packets on ingress port will be tagged with another VLAN tag // regardless if a VLAN tag already exists, packets will be tagged with a VLAN ID that matches the pvid value and will use // EtherType that is specified in ether-type. This property only has effect when vlan-filtering is set to yes. TagStacking pulumi.BoolPtrInput // When enabled, it allows to forward DHCP packets towards DHCP server through this port. Mainly used to limit unauthorized // servers to provide malicious information for users. This property only has effect when dhcp-snooping is set to yes. Trusted pulumi.BoolPtrInput // When enabled, bridge floods unknown multicast traffic to all bridge egress ports. UnknownMulticastFlood pulumi.BoolPtrInput // When enabled, bridge floods unknown unicast traffic to all bridge egress ports. UnknownUnicastFlood pulumi.BoolPtrInput // contains filtered or unexported fields }
The set of arguments for constructing a BridgePort resource.
func (BridgePortArgs) ElementType ¶
func (BridgePortArgs) ElementType() reflect.Type
type BridgePortArray ¶
type BridgePortArray []BridgePortInput
func (BridgePortArray) ElementType ¶
func (BridgePortArray) ElementType() reflect.Type
func (BridgePortArray) ToBridgePortArrayOutput ¶
func (i BridgePortArray) ToBridgePortArrayOutput() BridgePortArrayOutput
func (BridgePortArray) ToBridgePortArrayOutputWithContext ¶
func (i BridgePortArray) ToBridgePortArrayOutputWithContext(ctx context.Context) BridgePortArrayOutput
type BridgePortArrayInput ¶
type BridgePortArrayInput interface { pulumi.Input ToBridgePortArrayOutput() BridgePortArrayOutput ToBridgePortArrayOutputWithContext(context.Context) BridgePortArrayOutput }
BridgePortArrayInput is an input type that accepts BridgePortArray and BridgePortArrayOutput values. You can construct a concrete instance of `BridgePortArrayInput` via:
BridgePortArray{ BridgePortArgs{...} }
type BridgePortArrayOutput ¶
type BridgePortArrayOutput struct{ *pulumi.OutputState }
func (BridgePortArrayOutput) ElementType ¶
func (BridgePortArrayOutput) ElementType() reflect.Type
func (BridgePortArrayOutput) Index ¶
func (o BridgePortArrayOutput) Index(i pulumi.IntInput) BridgePortOutput
func (BridgePortArrayOutput) ToBridgePortArrayOutput ¶
func (o BridgePortArrayOutput) ToBridgePortArrayOutput() BridgePortArrayOutput
func (BridgePortArrayOutput) ToBridgePortArrayOutputWithContext ¶
func (o BridgePortArrayOutput) ToBridgePortArrayOutputWithContext(ctx context.Context) BridgePortArrayOutput
type BridgePortInput ¶
type BridgePortInput interface { pulumi.Input ToBridgePortOutput() BridgePortOutput ToBridgePortOutputWithContext(ctx context.Context) BridgePortOutput }
type BridgePortMap ¶
type BridgePortMap map[string]BridgePortInput
func (BridgePortMap) ElementType ¶
func (BridgePortMap) ElementType() reflect.Type
func (BridgePortMap) ToBridgePortMapOutput ¶
func (i BridgePortMap) ToBridgePortMapOutput() BridgePortMapOutput
func (BridgePortMap) ToBridgePortMapOutputWithContext ¶
func (i BridgePortMap) ToBridgePortMapOutputWithContext(ctx context.Context) BridgePortMapOutput
type BridgePortMapInput ¶
type BridgePortMapInput interface { pulumi.Input ToBridgePortMapOutput() BridgePortMapOutput ToBridgePortMapOutputWithContext(context.Context) BridgePortMapOutput }
BridgePortMapInput is an input type that accepts BridgePortMap and BridgePortMapOutput values. You can construct a concrete instance of `BridgePortMapInput` via:
BridgePortMap{ "key": BridgePortArgs{...} }
type BridgePortMapOutput ¶
type BridgePortMapOutput struct{ *pulumi.OutputState }
func (BridgePortMapOutput) ElementType ¶
func (BridgePortMapOutput) ElementType() reflect.Type
func (BridgePortMapOutput) MapIndex ¶
func (o BridgePortMapOutput) MapIndex(k pulumi.StringInput) BridgePortOutput
func (BridgePortMapOutput) ToBridgePortMapOutput ¶
func (o BridgePortMapOutput) ToBridgePortMapOutput() BridgePortMapOutput
func (BridgePortMapOutput) ToBridgePortMapOutputWithContext ¶
func (o BridgePortMapOutput) ToBridgePortMapOutputWithContext(ctx context.Context) BridgePortMapOutput
type BridgePortOutput ¶
type BridgePortOutput struct{ *pulumi.OutputState }
func (BridgePortOutput) AutoIsolate ¶
func (o BridgePortOutput) AutoIsolate() pulumi.BoolPtrOutput
When enabled, prevents a port moving from discarding into forwarding state if no BPDUs are received from the neighboring bridge. The port will change into a forwarding state only when a BPDU is received. This property only has an effect when protocol-mode is set to rstp or mstp and edge is set to no.
func (BridgePortOutput) BpduGuard ¶
func (o BridgePortOutput) BpduGuard() pulumi.BoolPtrOutput
This property has no effect when protocol-mode is set to none.
func (BridgePortOutput) Bridge ¶
func (o BridgePortOutput) Bridge() pulumi.StringOutput
func (BridgePortOutput) BroadcastFlood ¶
func (o BridgePortOutput) BroadcastFlood() pulumi.BoolPtrOutput
When enabled, bridge floods broadcast traffic to all bridge egress ports. When disabled, drops broadcast traffic on egress ports.
func (BridgePortOutput) Comment ¶
func (o BridgePortOutput) Comment() pulumi.StringPtrOutput
func (BridgePortOutput) DebugInfo ¶
func (o BridgePortOutput) DebugInfo() pulumi.StringOutput
func (BridgePortOutput) DesignatedBridge ¶
func (o BridgePortOutput) DesignatedBridge() pulumi.StringOutput
Root bridge ID (bridge priority and the bridge MAC address).
func (BridgePortOutput) DesignatedCost ¶
func (o BridgePortOutput) DesignatedCost() pulumi.StringOutput
Designated cost.
func (BridgePortOutput) DesignatedPortNumber ¶
func (o BridgePortOutput) DesignatedPortNumber() pulumi.IntOutput
Designated port number.
func (BridgePortOutput) Disabled ¶
func (o BridgePortOutput) Disabled() pulumi.BoolPtrOutput
func (BridgePortOutput) Dynamic ¶
func (o BridgePortOutput) Dynamic() pulumi.BoolOutput
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
func (BridgePortOutput) Edge ¶
func (o BridgePortOutput) Edge() pulumi.StringPtrOutput
Set port as edge port or non-edge port, or enable edge discovery. Edge ports are connected to a LAN that has no other bridges attached.
func (BridgePortOutput) EdgePort ¶
func (o BridgePortOutput) EdgePort() pulumi.BoolOutput
Whether port is an edge port or not.
func (BridgePortOutput) EdgePortDiscovery ¶
func (o BridgePortOutput) EdgePortDiscovery() pulumi.BoolOutput
Whether port is set to automatically detect edge ports.
func (BridgePortOutput) ElementType ¶
func (BridgePortOutput) ElementType() reflect.Type
func (BridgePortOutput) ExternalFdbStatus ¶
func (o BridgePortOutput) ExternalFdbStatus() pulumi.BoolOutput
Whether registration table is used instead of forwarding data base.
func (BridgePortOutput) FastLeave ¶
func (o BridgePortOutput) FastLeave() pulumi.BoolPtrOutput
Enables IGMP Fast leave feature on the port.
func (BridgePortOutput) Forwarding ¶
func (o BridgePortOutput) Forwarding() pulumi.BoolOutput
Shows if the port is not blocked by (R/M)STP.
func (BridgePortOutput) FrameTypes ¶
func (o BridgePortOutput) FrameTypes() pulumi.StringPtrOutput
Specifies allowed ingress frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
func (BridgePortOutput) Horizon ¶
func (o BridgePortOutput) Horizon() pulumi.StringPtrOutput
Use split horizon bridging to prevent bridging loops. Set the same value for group of ports, to prevent them from sending data to ports with the same horizon value. Split horizon is a software feature that disables hardware offloading. This value is integer '0'..'429496729' or 'none'.
func (BridgePortOutput) Hw ¶
func (o BridgePortOutput) Hw() pulumi.BoolOutput
Enable or disable Hardware Offloading of the interface.
func (BridgePortOutput) HwOffload ¶
func (o BridgePortOutput) HwOffload() pulumi.BoolOutput
Hardware offloading state.
func (BridgePortOutput) HwOffloadGroup ¶
func (o BridgePortOutput) HwOffloadGroup() pulumi.StringOutput
Switch chip used by the port.
func (BridgePortOutput) Inactive ¶
func (o BridgePortOutput) Inactive() pulumi.BoolOutput
func (BridgePortOutput) IngressFiltering ¶
func (o BridgePortOutput) IngressFiltering() pulumi.BoolOutput
Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes.
func (BridgePortOutput) Interface ¶
func (o BridgePortOutput) Interface() pulumi.StringOutput
Name of the interface.
func (BridgePortOutput) InternalPathCost ¶
func (o BridgePortOutput) InternalPathCost() pulumi.IntPtrOutput
Path cost to the interface for MSTI0 inside a region. This property only has effect when protocol-mode is set to mstp.
func (BridgePortOutput) Learn ¶
func (o BridgePortOutput) Learn() pulumi.StringPtrOutput
Changes MAC learning behaviour on a bridge port
func (BridgePortOutput) Learning ¶
func (o BridgePortOutput) Learning() pulumi.BoolOutput
Shows whether the port is capable of learning MAC addresses.
func (BridgePortOutput) MulticastRouter ¶
func (o BridgePortOutput) MulticastRouter() pulumi.StringPtrOutput
Changes the state of a bridge port whether IGMP membership reports are going to be forwarded to this port.
func (BridgePortOutput) Nextid ¶
func (o BridgePortOutput) Nextid() pulumi.StringOutput
func (BridgePortOutput) PathCost ¶
func (o BridgePortOutput) PathCost() pulumi.StringPtrOutput
Path cost to the interface, used by STP to determine the "best" path, used by MSTP todetermine "best" path between regions. This property has no effect when protocol-mode is set to none.
func (BridgePortOutput) PointToPoint ¶
func (o BridgePortOutput) PointToPoint() pulumi.StringPtrOutput
Specifies if a bridge port is connected to a bridge using a point-to-point link for faster convergence in case of failure. This property has no effect when protocol-mode is set to none.
func (BridgePortOutput) PointToPointPort ¶
func (o BridgePortOutput) PointToPointPort() pulumi.BoolOutput
Whether the port is connected to a bridge port using full-duplex (true) or half-duplex (false).
func (BridgePortOutput) PortNumber ¶
func (o BridgePortOutput) PortNumber() pulumi.IntOutput
Port number will be assigned in the order that ports got added to the bridge, but this is only true until reboot. After reboot internal numbering will be used.
func (BridgePortOutput) Priority ¶
func (o BridgePortOutput) Priority() pulumi.StringPtrOutput
The priority of the interface, used by STP to determine the root port, used by MSTP to determine root port between regions.
func (BridgePortOutput) Pvid ¶
func (o BridgePortOutput) Pvid() pulumi.IntOutput
ort VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. This property only has effect when vlan-filtering is set to yes.
func (BridgePortOutput) RestrictedRole ¶
func (o BridgePortOutput) RestrictedRole() pulumi.BoolPtrOutput
Enable the restricted role on a port, used by STP to forbid a port becoming a root port. This property only has effect when protocol-mode is set to mstp.
func (BridgePortOutput) RestrictedTcn ¶
func (o BridgePortOutput) RestrictedTcn() pulumi.BoolPtrOutput
Disable topology change notification (TCN) sending on a port, used by STP to forbid network topology changes to propagate. This property only has effect when protocol-mode is set to mstp.
func (BridgePortOutput) Role ¶
func (o BridgePortOutput) Role() pulumi.StringOutput
(R/M)STP algorithm assigned role of the port
func (BridgePortOutput) RootPathCost ¶
func (o BridgePortOutput) RootPathCost() pulumi.IntOutput
The total cost of the path to the root-bridge.
func (BridgePortOutput) SendingRstp ¶
func (o BridgePortOutput) SendingRstp() pulumi.StringOutput
Whether the port is sending RSTP or MSTP BPDU types. A port will transit to STP type when RSTP/MSTP enabled port receives a STP BPDU
func (BridgePortOutput) Status ¶
func (o BridgePortOutput) Status() pulumi.StringOutput
Port status ('in-bridge' - port is enabled).
func (BridgePortOutput) TagStacking ¶
func (o BridgePortOutput) TagStacking() pulumi.BoolPtrOutput
Forces all packets to be treated as untagged packets. Packets on ingress port will be tagged with another VLAN tag regardless if a VLAN tag already exists, packets will be tagged with a VLAN ID that matches the pvid value and will use EtherType that is specified in ether-type. This property only has effect when vlan-filtering is set to yes.
func (BridgePortOutput) ToBridgePortOutput ¶
func (o BridgePortOutput) ToBridgePortOutput() BridgePortOutput
func (BridgePortOutput) ToBridgePortOutputWithContext ¶
func (o BridgePortOutput) ToBridgePortOutputWithContext(ctx context.Context) BridgePortOutput
func (BridgePortOutput) Trusted ¶
func (o BridgePortOutput) Trusted() pulumi.BoolPtrOutput
When enabled, it allows to forward DHCP packets towards DHCP server through this port. Mainly used to limit unauthorized servers to provide malicious information for users. This property only has effect when dhcp-snooping is set to yes.
func (BridgePortOutput) UnknownMulticastFlood ¶
func (o BridgePortOutput) UnknownMulticastFlood() pulumi.BoolPtrOutput
When enabled, bridge floods unknown multicast traffic to all bridge egress ports.
func (BridgePortOutput) UnknownUnicastFlood ¶
func (o BridgePortOutput) UnknownUnicastFlood() pulumi.BoolPtrOutput
When enabled, bridge floods unknown unicast traffic to all bridge egress ports.
type BridgePortState ¶
type BridgePortState struct { // When enabled, prevents a port moving from discarding into forwarding state if no BPDUs are received from the neighboring // bridge. The port will change into a forwarding state only when a BPDU is received. This property only has an effect when // protocol-mode is set to rstp or mstp and edge is set to no. AutoIsolate pulumi.BoolPtrInput // This property has no effect when protocol-mode is set to none. BpduGuard pulumi.BoolPtrInput Bridge pulumi.StringPtrInput // When enabled, bridge floods broadcast traffic to all bridge egress ports. When disabled, drops broadcast traffic on // egress ports. BroadcastFlood pulumi.BoolPtrInput Comment pulumi.StringPtrInput DebugInfo pulumi.StringPtrInput // Root bridge ID (bridge priority and the bridge MAC address). DesignatedBridge pulumi.StringPtrInput // Designated cost. DesignatedCost pulumi.StringPtrInput // Designated port number. DesignatedPortNumber pulumi.IntPtrInput Disabled pulumi.BoolPtrInput // Configuration item created by software, not by management interface. It is not exported, and cannot be directly // modified. Dynamic pulumi.BoolPtrInput // Set port as edge port or non-edge port, or enable edge discovery. Edge ports are connected to a LAN that has no other // bridges attached. Edge pulumi.StringPtrInput // Whether port is an edge port or not. EdgePort pulumi.BoolPtrInput // Whether port is set to automatically detect edge ports. EdgePortDiscovery pulumi.BoolPtrInput // Whether registration table is used instead of forwarding data base. ExternalFdbStatus pulumi.BoolPtrInput // Enables IGMP Fast leave feature on the port. FastLeave pulumi.BoolPtrInput // Shows if the port is not blocked by (R/M)STP. Forwarding pulumi.BoolPtrInput // Specifies allowed ingress frame types on a bridge port. This property only has effect when vlan-filtering is set to yes. FrameTypes pulumi.StringPtrInput // Use split horizon bridging to prevent bridging loops. Set the same value for group of ports, to prevent them from // sending data to ports with the same horizon value. Split horizon is a software feature that disables hardware // offloading. This value is integer '0'..'429496729' or 'none'. Horizon pulumi.StringPtrInput // Enable or disable Hardware Offloading of the interface. Hw pulumi.BoolPtrInput // Hardware offloading state. HwOffload pulumi.BoolPtrInput // Switch chip used by the port. HwOffloadGroup pulumi.StringPtrInput Inactive pulumi.BoolPtrInput // Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the // bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This // property only has effect when vlan-filtering is set to yes. IngressFiltering pulumi.BoolPtrInput // Name of the interface. Interface pulumi.StringPtrInput // Path cost to the interface for MSTI0 inside a region. This property only has effect when protocol-mode is set to mstp. InternalPathCost pulumi.IntPtrInput // Changes MAC learning behaviour on a bridge port Learn pulumi.StringPtrInput // Shows whether the port is capable of learning MAC addresses. Learning pulumi.BoolPtrInput // Changes the state of a bridge port whether IGMP membership reports are going to be forwarded to this port. MulticastRouter pulumi.StringPtrInput Nextid pulumi.StringPtrInput // Path cost to the interface, used by STP to determine the "best" path, used by MSTP todetermine "best" path between // regions. This property has no effect when protocol-mode is set to none. PathCost pulumi.StringPtrInput // Specifies if a bridge port is connected to a bridge using a point-to-point link for faster convergence in case of // failure. This property has no effect when protocol-mode is set to none. PointToPoint pulumi.StringPtrInput // Whether the port is connected to a bridge port using full-duplex (true) or half-duplex (false). PointToPointPort pulumi.BoolPtrInput // Port number will be assigned in the order that ports got added to the bridge, but this is only true until reboot. After // reboot internal numbering will be used. PortNumber pulumi.IntPtrInput // The priority of the interface, used by STP to determine the root port, used by MSTP to determine root port between // regions. Priority pulumi.StringPtrInput // ort VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. This property only has effect when // vlan-filtering is set to yes. Pvid pulumi.IntPtrInput // Enable the restricted role on a port, used by STP to forbid a port becoming a root port. This property only has effect // when protocol-mode is set to mstp. RestrictedRole pulumi.BoolPtrInput // Disable topology change notification (TCN) sending on a port, used by STP to forbid network topology changes to // propagate. This property only has effect when protocol-mode is set to mstp. RestrictedTcn pulumi.BoolPtrInput // (R/M)STP algorithm assigned role of the port Role pulumi.StringPtrInput // The total cost of the path to the root-bridge. RootPathCost pulumi.IntPtrInput // Whether the port is sending RSTP or MSTP BPDU types. A port will transit to STP type when RSTP/MSTP enabled port // receives a STP BPDU SendingRstp pulumi.StringPtrInput // Port status ('in-bridge' - port is enabled). Status pulumi.StringPtrInput // Forces all packets to be treated as untagged packets. Packets on ingress port will be tagged with another VLAN tag // regardless if a VLAN tag already exists, packets will be tagged with a VLAN ID that matches the pvid value and will use // EtherType that is specified in ether-type. This property only has effect when vlan-filtering is set to yes. TagStacking pulumi.BoolPtrInput // When enabled, it allows to forward DHCP packets towards DHCP server through this port. Mainly used to limit unauthorized // servers to provide malicious information for users. This property only has effect when dhcp-snooping is set to yes. Trusted pulumi.BoolPtrInput // When enabled, bridge floods unknown multicast traffic to all bridge egress ports. UnknownMulticastFlood pulumi.BoolPtrInput // When enabled, bridge floods unknown unicast traffic to all bridge egress ports. UnknownUnicastFlood pulumi.BoolPtrInput // contains filtered or unexported fields }
func (BridgePortState) ElementType ¶
func (BridgePortState) ElementType() reflect.Type
type BridgeState ¶
type BridgeState struct { ActualMtu pulumi.IntPtrInput // Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together // with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when // dhcp-snooping is set to yes. AddDhcpOption82 pulumi.BoolPtrInput // Static MAC address of the bridge. This property only has effect when auto-mac is set to no. AdminMac pulumi.StringPtrInput // How long a host's information will be kept in the bridge database. AgeingTime pulumi.StringPtrInput // ARP resolution protocol mode. Arp pulumi.StringPtrInput // ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to // the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, // minutes, hours or days. If no postfix is set then seconds (s) is used. ArpTimeout pulumi.StringPtrInput // Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first // added bridge port. After a device reboot, the bridge MAC can change depending on the port-number. AutoMac pulumi.BoolPtrInput Comment pulumi.StringPtrInput DhcpSnooping pulumi.BoolPtrInput Disabled pulumi.BoolPtrInput // This property only has effect when vlan-filtering is set to yes. EtherType pulumi.StringPtrInput FastForward pulumi.BoolPtrInput // Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the // interface) in listening/learning state before the bridge will start functioning normally. ForwardDelay pulumi.StringPtrInput // Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes. FrameTypes pulumi.StringPtrInput // Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge. IgmpSnooping pulumi.BoolPtrInput // Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when // igmp-snooping is set to yes. IgmpVersion pulumi.IntPtrInput // Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the // bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This // property only has effect when vlan-filtering is set to yes. IngressFiltering pulumi.BoolPtrInput // Layer2 Maximum transmission unit. L2mtu pulumi.IntPtrInput // If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge // will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port. LastMemberInterval pulumi.StringPtrInput // How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast // stream. This property only has effect when igmp-snooping is set to yes. LastMemberQueryCount pulumi.IntPtrInput MacAddress pulumi.StringPtrInput // Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This // property only has effect when protocol-mode is set to mstp. MaxHops pulumi.IntPtrInput // Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when // protocol-mode is set to stp or rstp. Value: 6s..40s MaxMessageAge pulumi.StringPtrInput // Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on // a certain port. This property only has effect when igmp-snooping is set to yes. MembershipInterval pulumi.StringPtrInput // Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when // RouterOS IPv6 package is enabled and igmp-snooping is set to yes. MldVersion pulumi.IntPtrInput // The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot // exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than // the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act // as if mtu=auto is set. Mtu pulumi.StringPtrInput // Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP // membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an // effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing // multicast-querier property. MulticastQuerier pulumi.BoolPtrInput // A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast // streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a // bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the // bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set // to yes. MulticastRouter pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput // Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This // property has no effect when protocol-mode is set to none. Priority pulumi.StringPtrInput // Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any // bridged LAN. ProtocolMode pulumi.StringPtrInput // Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent // from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes. Pvid pulumi.IntPtrInput // Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has // effect when igmp-snooping and multicast-querier is set to yes. QuerierInterval pulumi.StringPtrInput // Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when // igmp-snooping and multicast-querier is set to yes. QueryInterval pulumi.StringPtrInput // Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has // effect when igmp-snooping and multicast-querier is set to yes. QueryResponseInterval pulumi.StringPtrInput // MSTP region name. This property only has effect when protocol-mode is set to mstp. RegionName pulumi.StringPtrInput // MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp. RegionRevision pulumi.IntPtrInput Running pulumi.BoolPtrInput // Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership // queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes. StartupQueryCount pulumi.IntPtrInput // Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is // enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes. StartupQueryInterval pulumi.StringPtrInput // The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate. TransmitHoldCount pulumi.IntPtrInput // Globally enables or disables VLAN functionality for bridge. VlanFiltering pulumi.BoolPtrInput // contains filtered or unexported fields }
func (BridgeState) ElementType ¶
func (BridgeState) ElementType() reflect.Type
type BridgeVlan ¶
type BridgeVlan struct { pulumi.CustomResourceState // The bridge interface which the respective VLAN entry is intended for. Bridge pulumi.StringOutput `pulumi:"bridge"` Comment pulumi.StringPtrOutput `pulumi:"comment"` CurrentTaggeds pulumi.StringArrayOutput `pulumi:"currentTaggeds"` CurrentUntaggeds pulumi.StringArrayOutput `pulumi:"currentUntaggeds"` 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"` // Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. // tagged=ether1,ether2. Taggeds pulumi.StringArrayOutput `pulumi:"taggeds"` // Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. // untagged=ether3,ether4 Untaggeds pulumi.StringArrayOutput `pulumi:"untaggeds"` // The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated // values. E.g. vlan-ids=100-115,120,122,128-130. VlanIds pulumi.StringOutput `pulumi:"vlanIds"` // contains filtered or unexported fields }
## # Iface.BridgeVlan (Resource)
***
#### This is an alias for backwards compatibility between plugin versions. Please see documentation for Iface.InterfaceBridgeVlan
func GetBridgeVlan ¶
func GetBridgeVlan(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BridgeVlanState, opts ...pulumi.ResourceOption) (*BridgeVlan, error)
GetBridgeVlan gets an existing BridgeVlan 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 NewBridgeVlan ¶
func NewBridgeVlan(ctx *pulumi.Context, name string, args *BridgeVlanArgs, opts ...pulumi.ResourceOption) (*BridgeVlan, error)
NewBridgeVlan registers a new resource with the given unique name, arguments, and options.
func (*BridgeVlan) ElementType ¶
func (*BridgeVlan) ElementType() reflect.Type
func (*BridgeVlan) ToBridgeVlanOutput ¶
func (i *BridgeVlan) ToBridgeVlanOutput() BridgeVlanOutput
func (*BridgeVlan) ToBridgeVlanOutputWithContext ¶
func (i *BridgeVlan) ToBridgeVlanOutputWithContext(ctx context.Context) BridgeVlanOutput
type BridgeVlanArgs ¶
type BridgeVlanArgs struct { // The bridge interface which the respective VLAN entry is intended for. Bridge pulumi.StringInput Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. // tagged=ether1,ether2. Taggeds pulumi.StringArrayInput // Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. // untagged=ether3,ether4 Untaggeds pulumi.StringArrayInput // The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated // values. E.g. vlan-ids=100-115,120,122,128-130. VlanIds pulumi.StringInput // contains filtered or unexported fields }
The set of arguments for constructing a BridgeVlan resource.
func (BridgeVlanArgs) ElementType ¶
func (BridgeVlanArgs) ElementType() reflect.Type
type BridgeVlanArray ¶
type BridgeVlanArray []BridgeVlanInput
func (BridgeVlanArray) ElementType ¶
func (BridgeVlanArray) ElementType() reflect.Type
func (BridgeVlanArray) ToBridgeVlanArrayOutput ¶
func (i BridgeVlanArray) ToBridgeVlanArrayOutput() BridgeVlanArrayOutput
func (BridgeVlanArray) ToBridgeVlanArrayOutputWithContext ¶
func (i BridgeVlanArray) ToBridgeVlanArrayOutputWithContext(ctx context.Context) BridgeVlanArrayOutput
type BridgeVlanArrayInput ¶
type BridgeVlanArrayInput interface { pulumi.Input ToBridgeVlanArrayOutput() BridgeVlanArrayOutput ToBridgeVlanArrayOutputWithContext(context.Context) BridgeVlanArrayOutput }
BridgeVlanArrayInput is an input type that accepts BridgeVlanArray and BridgeVlanArrayOutput values. You can construct a concrete instance of `BridgeVlanArrayInput` via:
BridgeVlanArray{ BridgeVlanArgs{...} }
type BridgeVlanArrayOutput ¶
type BridgeVlanArrayOutput struct{ *pulumi.OutputState }
func (BridgeVlanArrayOutput) ElementType ¶
func (BridgeVlanArrayOutput) ElementType() reflect.Type
func (BridgeVlanArrayOutput) Index ¶
func (o BridgeVlanArrayOutput) Index(i pulumi.IntInput) BridgeVlanOutput
func (BridgeVlanArrayOutput) ToBridgeVlanArrayOutput ¶
func (o BridgeVlanArrayOutput) ToBridgeVlanArrayOutput() BridgeVlanArrayOutput
func (BridgeVlanArrayOutput) ToBridgeVlanArrayOutputWithContext ¶
func (o BridgeVlanArrayOutput) ToBridgeVlanArrayOutputWithContext(ctx context.Context) BridgeVlanArrayOutput
type BridgeVlanInput ¶
type BridgeVlanInput interface { pulumi.Input ToBridgeVlanOutput() BridgeVlanOutput ToBridgeVlanOutputWithContext(ctx context.Context) BridgeVlanOutput }
type BridgeVlanMap ¶
type BridgeVlanMap map[string]BridgeVlanInput
func (BridgeVlanMap) ElementType ¶
func (BridgeVlanMap) ElementType() reflect.Type
func (BridgeVlanMap) ToBridgeVlanMapOutput ¶
func (i BridgeVlanMap) ToBridgeVlanMapOutput() BridgeVlanMapOutput
func (BridgeVlanMap) ToBridgeVlanMapOutputWithContext ¶
func (i BridgeVlanMap) ToBridgeVlanMapOutputWithContext(ctx context.Context) BridgeVlanMapOutput
type BridgeVlanMapInput ¶
type BridgeVlanMapInput interface { pulumi.Input ToBridgeVlanMapOutput() BridgeVlanMapOutput ToBridgeVlanMapOutputWithContext(context.Context) BridgeVlanMapOutput }
BridgeVlanMapInput is an input type that accepts BridgeVlanMap and BridgeVlanMapOutput values. You can construct a concrete instance of `BridgeVlanMapInput` via:
BridgeVlanMap{ "key": BridgeVlanArgs{...} }
type BridgeVlanMapOutput ¶
type BridgeVlanMapOutput struct{ *pulumi.OutputState }
func (BridgeVlanMapOutput) ElementType ¶
func (BridgeVlanMapOutput) ElementType() reflect.Type
func (BridgeVlanMapOutput) MapIndex ¶
func (o BridgeVlanMapOutput) MapIndex(k pulumi.StringInput) BridgeVlanOutput
func (BridgeVlanMapOutput) ToBridgeVlanMapOutput ¶
func (o BridgeVlanMapOutput) ToBridgeVlanMapOutput() BridgeVlanMapOutput
func (BridgeVlanMapOutput) ToBridgeVlanMapOutputWithContext ¶
func (o BridgeVlanMapOutput) ToBridgeVlanMapOutputWithContext(ctx context.Context) BridgeVlanMapOutput
type BridgeVlanOutput ¶
type BridgeVlanOutput struct{ *pulumi.OutputState }
func (BridgeVlanOutput) Bridge ¶
func (o BridgeVlanOutput) Bridge() pulumi.StringOutput
The bridge interface which the respective VLAN entry is intended for.
func (BridgeVlanOutput) Comment ¶
func (o BridgeVlanOutput) Comment() pulumi.StringPtrOutput
func (BridgeVlanOutput) CurrentTaggeds ¶
func (o BridgeVlanOutput) CurrentTaggeds() pulumi.StringArrayOutput
func (BridgeVlanOutput) CurrentUntaggeds ¶
func (o BridgeVlanOutput) CurrentUntaggeds() pulumi.StringArrayOutput
func (BridgeVlanOutput) Disabled ¶
func (o BridgeVlanOutput) Disabled() pulumi.BoolPtrOutput
func (BridgeVlanOutput) Dynamic ¶
func (o BridgeVlanOutput) Dynamic() pulumi.BoolOutput
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
func (BridgeVlanOutput) ElementType ¶
func (BridgeVlanOutput) ElementType() reflect.Type
func (BridgeVlanOutput) Taggeds ¶
func (o BridgeVlanOutput) Taggeds() pulumi.StringArrayOutput
Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. tagged=ether1,ether2.
func (BridgeVlanOutput) ToBridgeVlanOutput ¶
func (o BridgeVlanOutput) ToBridgeVlanOutput() BridgeVlanOutput
func (BridgeVlanOutput) ToBridgeVlanOutputWithContext ¶
func (o BridgeVlanOutput) ToBridgeVlanOutputWithContext(ctx context.Context) BridgeVlanOutput
func (BridgeVlanOutput) Untaggeds ¶
func (o BridgeVlanOutput) Untaggeds() pulumi.StringArrayOutput
Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. untagged=ether3,ether4
func (BridgeVlanOutput) VlanIds ¶
func (o BridgeVlanOutput) VlanIds() pulumi.StringOutput
The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated values. E.g. vlan-ids=100-115,120,122,128-130.
type BridgeVlanState ¶
type BridgeVlanState struct { // The bridge interface which the respective VLAN entry is intended for. Bridge pulumi.StringPtrInput Comment pulumi.StringPtrInput CurrentTaggeds pulumi.StringArrayInput CurrentUntaggeds pulumi.StringArrayInput Disabled pulumi.BoolPtrInput // Configuration item created by software, not by management interface. It is not exported, and cannot be directly // modified. Dynamic pulumi.BoolPtrInput // Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. // tagged=ether1,ether2. Taggeds pulumi.StringArrayInput // Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. // untagged=ether3,ether4 Untaggeds pulumi.StringArrayInput // The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated // values. E.g. vlan-ids=100-115,120,122,128-130. VlanIds pulumi.StringPtrInput // contains filtered or unexported fields }
func (BridgeVlanState) ElementType ¶
func (BridgeVlanState) ElementType() reflect.Type
type GetInterfacesArgs ¶
type GetInterfacesArgs struct { // Additional request filtering options. Filter map[string]interface{} `pulumi:"filter"` // contains filtered or unexported fields }
A collection of arguments for invoking getInterfaces.
type GetInterfacesInterface ¶
type GetInterfacesInterface struct { ActualMtu int `pulumi:"actualMtu"` Comment string `pulumi:"comment"` DefaultName string `pulumi:"defaultName"` Disabled bool `pulumi:"disabled"` FpRxByte int `pulumi:"fpRxByte"` FpRxPacket int `pulumi:"fpRxPacket"` FpTxByte int `pulumi:"fpTxByte"` FpTxPacket int `pulumi:"fpTxPacket"` // The ID of this resource. Id string `pulumi:"id"` L2mtu int `pulumi:"l2mtu"` LastLinkDownTime string `pulumi:"lastLinkDownTime"` LastLinkUpTime string `pulumi:"lastLinkUpTime"` LinkDowns int `pulumi:"linkDowns"` MacAddress string `pulumi:"macAddress"` MaxL2mtu int `pulumi:"maxL2mtu"` Mtu string `pulumi:"mtu"` Name string `pulumi:"name"` Running bool `pulumi:"running"` RxByte int `pulumi:"rxByte"` RxDrop int `pulumi:"rxDrop"` RxError int `pulumi:"rxError"` RxPacket int `pulumi:"rxPacket"` Slave bool `pulumi:"slave"` TxByte int `pulumi:"txByte"` TxDrop int `pulumi:"txDrop"` TxError int `pulumi:"txError"` TxPacket int `pulumi:"txPacket"` TxQueueDrop int `pulumi:"txQueueDrop"` Type string `pulumi:"type"` }
type GetInterfacesInterfaceArgs ¶
type GetInterfacesInterfaceArgs struct { ActualMtu pulumi.IntInput `pulumi:"actualMtu"` Comment pulumi.StringInput `pulumi:"comment"` DefaultName pulumi.StringInput `pulumi:"defaultName"` Disabled pulumi.BoolInput `pulumi:"disabled"` FpRxByte pulumi.IntInput `pulumi:"fpRxByte"` FpRxPacket pulumi.IntInput `pulumi:"fpRxPacket"` FpTxByte pulumi.IntInput `pulumi:"fpTxByte"` FpTxPacket pulumi.IntInput `pulumi:"fpTxPacket"` // The ID of this resource. Id pulumi.StringInput `pulumi:"id"` L2mtu pulumi.IntInput `pulumi:"l2mtu"` LastLinkDownTime pulumi.StringInput `pulumi:"lastLinkDownTime"` LastLinkUpTime pulumi.StringInput `pulumi:"lastLinkUpTime"` LinkDowns pulumi.IntInput `pulumi:"linkDowns"` MacAddress pulumi.StringInput `pulumi:"macAddress"` MaxL2mtu pulumi.IntInput `pulumi:"maxL2mtu"` Mtu pulumi.StringInput `pulumi:"mtu"` Name pulumi.StringInput `pulumi:"name"` Running pulumi.BoolInput `pulumi:"running"` RxByte pulumi.IntInput `pulumi:"rxByte"` RxDrop pulumi.IntInput `pulumi:"rxDrop"` RxError pulumi.IntInput `pulumi:"rxError"` RxPacket pulumi.IntInput `pulumi:"rxPacket"` Slave pulumi.BoolInput `pulumi:"slave"` TxByte pulumi.IntInput `pulumi:"txByte"` TxDrop pulumi.IntInput `pulumi:"txDrop"` TxError pulumi.IntInput `pulumi:"txError"` TxPacket pulumi.IntInput `pulumi:"txPacket"` TxQueueDrop pulumi.IntInput `pulumi:"txQueueDrop"` Type pulumi.StringInput `pulumi:"type"` }
func (GetInterfacesInterfaceArgs) ElementType ¶
func (GetInterfacesInterfaceArgs) ElementType() reflect.Type
func (GetInterfacesInterfaceArgs) ToGetInterfacesInterfaceOutput ¶
func (i GetInterfacesInterfaceArgs) ToGetInterfacesInterfaceOutput() GetInterfacesInterfaceOutput
func (GetInterfacesInterfaceArgs) ToGetInterfacesInterfaceOutputWithContext ¶
func (i GetInterfacesInterfaceArgs) ToGetInterfacesInterfaceOutputWithContext(ctx context.Context) GetInterfacesInterfaceOutput
type GetInterfacesInterfaceArray ¶
type GetInterfacesInterfaceArray []GetInterfacesInterfaceInput
func (GetInterfacesInterfaceArray) ElementType ¶
func (GetInterfacesInterfaceArray) ElementType() reflect.Type
func (GetInterfacesInterfaceArray) ToGetInterfacesInterfaceArrayOutput ¶
func (i GetInterfacesInterfaceArray) ToGetInterfacesInterfaceArrayOutput() GetInterfacesInterfaceArrayOutput
func (GetInterfacesInterfaceArray) ToGetInterfacesInterfaceArrayOutputWithContext ¶
func (i GetInterfacesInterfaceArray) ToGetInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetInterfacesInterfaceArrayOutput
type GetInterfacesInterfaceArrayInput ¶
type GetInterfacesInterfaceArrayInput interface { pulumi.Input ToGetInterfacesInterfaceArrayOutput() GetInterfacesInterfaceArrayOutput ToGetInterfacesInterfaceArrayOutputWithContext(context.Context) GetInterfacesInterfaceArrayOutput }
GetInterfacesInterfaceArrayInput is an input type that accepts GetInterfacesInterfaceArray and GetInterfacesInterfaceArrayOutput values. You can construct a concrete instance of `GetInterfacesInterfaceArrayInput` via:
GetInterfacesInterfaceArray{ GetInterfacesInterfaceArgs{...} }
type GetInterfacesInterfaceArrayOutput ¶
type GetInterfacesInterfaceArrayOutput struct{ *pulumi.OutputState }
func (GetInterfacesInterfaceArrayOutput) ElementType ¶
func (GetInterfacesInterfaceArrayOutput) ElementType() reflect.Type
func (GetInterfacesInterfaceArrayOutput) Index ¶
func (o GetInterfacesInterfaceArrayOutput) Index(i pulumi.IntInput) GetInterfacesInterfaceOutput
func (GetInterfacesInterfaceArrayOutput) ToGetInterfacesInterfaceArrayOutput ¶
func (o GetInterfacesInterfaceArrayOutput) ToGetInterfacesInterfaceArrayOutput() GetInterfacesInterfaceArrayOutput
func (GetInterfacesInterfaceArrayOutput) ToGetInterfacesInterfaceArrayOutputWithContext ¶
func (o GetInterfacesInterfaceArrayOutput) ToGetInterfacesInterfaceArrayOutputWithContext(ctx context.Context) GetInterfacesInterfaceArrayOutput
type GetInterfacesInterfaceInput ¶
type GetInterfacesInterfaceInput interface { pulumi.Input ToGetInterfacesInterfaceOutput() GetInterfacesInterfaceOutput ToGetInterfacesInterfaceOutputWithContext(context.Context) GetInterfacesInterfaceOutput }
GetInterfacesInterfaceInput is an input type that accepts GetInterfacesInterfaceArgs and GetInterfacesInterfaceOutput values. You can construct a concrete instance of `GetInterfacesInterfaceInput` via:
GetInterfacesInterfaceArgs{...}
type GetInterfacesInterfaceOutput ¶
type GetInterfacesInterfaceOutput struct{ *pulumi.OutputState }
func (GetInterfacesInterfaceOutput) ActualMtu ¶
func (o GetInterfacesInterfaceOutput) ActualMtu() pulumi.IntOutput
func (GetInterfacesInterfaceOutput) Comment ¶
func (o GetInterfacesInterfaceOutput) Comment() pulumi.StringOutput
func (GetInterfacesInterfaceOutput) DefaultName ¶
func (o GetInterfacesInterfaceOutput) DefaultName() pulumi.StringOutput
func (GetInterfacesInterfaceOutput) Disabled ¶
func (o GetInterfacesInterfaceOutput) Disabled() pulumi.BoolOutput
func (GetInterfacesInterfaceOutput) ElementType ¶
func (GetInterfacesInterfaceOutput) ElementType() reflect.Type
func (GetInterfacesInterfaceOutput) FpRxByte ¶
func (o GetInterfacesInterfaceOutput) FpRxByte() pulumi.IntOutput
func (GetInterfacesInterfaceOutput) FpRxPacket ¶
func (o GetInterfacesInterfaceOutput) FpRxPacket() pulumi.IntOutput
func (GetInterfacesInterfaceOutput) FpTxByte ¶
func (o GetInterfacesInterfaceOutput) FpTxByte() pulumi.IntOutput
func (GetInterfacesInterfaceOutput) FpTxPacket ¶
func (o GetInterfacesInterfaceOutput) FpTxPacket() pulumi.IntOutput
func (GetInterfacesInterfaceOutput) Id ¶
func (o GetInterfacesInterfaceOutput) Id() pulumi.StringOutput
The ID of this resource.
func (GetInterfacesInterfaceOutput) L2mtu ¶
func (o GetInterfacesInterfaceOutput) L2mtu() pulumi.IntOutput
func (GetInterfacesInterfaceOutput) LastLinkDownTime ¶
func (o GetInterfacesInterfaceOutput) LastLinkDownTime() pulumi.StringOutput
func (GetInterfacesInterfaceOutput) LastLinkUpTime ¶
func (o GetInterfacesInterfaceOutput) LastLinkUpTime() pulumi.StringOutput
func (GetInterfacesInterfaceOutput) LinkDowns ¶
func (o GetInterfacesInterfaceOutput) LinkDowns() pulumi.IntOutput
func (GetInterfacesInterfaceOutput) MacAddress ¶
func (o GetInterfacesInterfaceOutput) MacAddress() pulumi.StringOutput
func (GetInterfacesInterfaceOutput) MaxL2mtu ¶
func (o GetInterfacesInterfaceOutput) MaxL2mtu() pulumi.IntOutput
func (GetInterfacesInterfaceOutput) Mtu ¶
func (o GetInterfacesInterfaceOutput) Mtu() pulumi.StringOutput
func (GetInterfacesInterfaceOutput) Name ¶
func (o GetInterfacesInterfaceOutput) Name() pulumi.StringOutput
func (GetInterfacesInterfaceOutput) Running ¶
func (o GetInterfacesInterfaceOutput) Running() pulumi.BoolOutput
func (GetInterfacesInterfaceOutput) RxByte ¶
func (o GetInterfacesInterfaceOutput) RxByte() pulumi.IntOutput
func (GetInterfacesInterfaceOutput) RxDrop ¶
func (o GetInterfacesInterfaceOutput) RxDrop() pulumi.IntOutput
func (GetInterfacesInterfaceOutput) RxError ¶
func (o GetInterfacesInterfaceOutput) RxError() pulumi.IntOutput
func (GetInterfacesInterfaceOutput) RxPacket ¶
func (o GetInterfacesInterfaceOutput) RxPacket() pulumi.IntOutput
func (GetInterfacesInterfaceOutput) Slave ¶
func (o GetInterfacesInterfaceOutput) Slave() pulumi.BoolOutput
func (GetInterfacesInterfaceOutput) ToGetInterfacesInterfaceOutput ¶
func (o GetInterfacesInterfaceOutput) ToGetInterfacesInterfaceOutput() GetInterfacesInterfaceOutput
func (GetInterfacesInterfaceOutput) ToGetInterfacesInterfaceOutputWithContext ¶
func (o GetInterfacesInterfaceOutput) ToGetInterfacesInterfaceOutputWithContext(ctx context.Context) GetInterfacesInterfaceOutput
func (GetInterfacesInterfaceOutput) TxByte ¶
func (o GetInterfacesInterfaceOutput) TxByte() pulumi.IntOutput
func (GetInterfacesInterfaceOutput) TxDrop ¶
func (o GetInterfacesInterfaceOutput) TxDrop() pulumi.IntOutput
func (GetInterfacesInterfaceOutput) TxError ¶
func (o GetInterfacesInterfaceOutput) TxError() pulumi.IntOutput
func (GetInterfacesInterfaceOutput) TxPacket ¶
func (o GetInterfacesInterfaceOutput) TxPacket() pulumi.IntOutput
func (GetInterfacesInterfaceOutput) TxQueueDrop ¶
func (o GetInterfacesInterfaceOutput) TxQueueDrop() pulumi.IntOutput
func (GetInterfacesInterfaceOutput) Type ¶
func (o GetInterfacesInterfaceOutput) Type() pulumi.StringOutput
type GetInterfacesOutputArgs ¶
type GetInterfacesOutputArgs struct { // Additional request filtering options. Filter pulumi.MapInput `pulumi:"filter"` // contains filtered or unexported fields }
A collection of arguments for invoking getInterfaces.
func (GetInterfacesOutputArgs) ElementType ¶
func (GetInterfacesOutputArgs) ElementType() reflect.Type
type GetInterfacesResult ¶
type GetInterfacesResult struct { // Additional request filtering options. Filter map[string]interface{} `pulumi:"filter"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Interfaces []GetInterfacesInterface `pulumi:"interfaces"` // contains filtered or unexported fields }
A collection of values returned by getInterfaces.
func GetInterfaces ¶
func GetInterfaces(ctx *pulumi.Context, args *GetInterfacesArgs, opts ...pulumi.InvokeOption) (*GetInterfacesResult, error)
type GetInterfacesResultOutput ¶
type GetInterfacesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInterfaces.
func GetInterfacesOutput ¶
func GetInterfacesOutput(ctx *pulumi.Context, args GetInterfacesOutputArgs, opts ...pulumi.InvokeOption) GetInterfacesResultOutput
func (GetInterfacesResultOutput) ElementType ¶
func (GetInterfacesResultOutput) ElementType() reflect.Type
func (GetInterfacesResultOutput) Filter ¶
func (o GetInterfacesResultOutput) Filter() pulumi.MapOutput
Additional request filtering options.
func (GetInterfacesResultOutput) Id ¶
func (o GetInterfacesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInterfacesResultOutput) Interfaces ¶
func (o GetInterfacesResultOutput) Interfaces() GetInterfacesInterfaceArrayOutput
func (GetInterfacesResultOutput) ToGetInterfacesResultOutput ¶
func (o GetInterfacesResultOutput) ToGetInterfacesResultOutput() GetInterfacesResultOutput
func (GetInterfacesResultOutput) ToGetInterfacesResultOutputWithContext ¶
func (o GetInterfacesResultOutput) ToGetInterfacesResultOutputWithContext(ctx context.Context) GetInterfacesResultOutput
type Gre ¶
type Gre struct { pulumi.CustomResourceState ActualMtu pulumi.IntOutput `pulumi:"actualMtu"` // Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used. AllowFastPath pulumi.BoolPtrOutput `pulumi:"allowFastPath"` // Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for // received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP // overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is // changed. ClampTcpMss pulumi.BoolPtrOutput `pulumi:"clampTcpMss"` Comment pulumi.StringPtrOutput `pulumi:"comment"` Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` DontFragment pulumi.StringPtrOutput `pulumi:"dontFragment"` // Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic. Dscp pulumi.StringPtrOutput `pulumi:"dscp"` // When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default // phase2 uses sha1/aes128cbc). IpsecSecret pulumi.StringPtrOutput `pulumi:"ipsecSecret"` // Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of // tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in // following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - // number of retry attempts. KeepaliveInterval is integer 0..4294967295 Keepalive pulumi.StringPtrOutput `pulumi:"keepalive"` // Layer2 Maximum transmission unit. L2mtu pulumi.IntOutput `pulumi:"l2mtu"` LocalAddress pulumi.StringPtrOutput `pulumi:"localAddress"` // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringOutput `pulumi:"mtu"` // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringOutput `pulumi:"name"` RemoteAddress pulumi.StringOutput `pulumi:"remoteAddress"` Running pulumi.BoolOutput `pulumi:"running"` // contains filtered or unexported fields }
## # Iface.Gre (Resource)
***
#### This is an alias for backwards compatibility between plugin versions. Please see documentation for Iface.InterfaceGre
func GetGre ¶
func GetGre(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GreState, opts ...pulumi.ResourceOption) (*Gre, error)
GetGre gets an existing Gre 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 NewGre ¶
func NewGre(ctx *pulumi.Context, name string, args *GreArgs, opts ...pulumi.ResourceOption) (*Gre, error)
NewGre registers a new resource with the given unique name, arguments, and options.
func (*Gre) ElementType ¶
func (*Gre) ToGreOutput ¶
type GreArgs ¶
type GreArgs struct { // Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used. AllowFastPath pulumi.BoolPtrInput // Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for // received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP // overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is // changed. ClampTcpMss pulumi.BoolPtrInput Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput DontFragment pulumi.StringPtrInput // Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic. Dscp pulumi.StringPtrInput // When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default // phase2 uses sha1/aes128cbc). IpsecSecret pulumi.StringPtrInput // Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of // tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in // following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - // number of retry attempts. KeepaliveInterval is integer 0..4294967295 Keepalive pulumi.StringPtrInput LocalAddress pulumi.StringPtrInput // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput RemoteAddress pulumi.StringInput // contains filtered or unexported fields }
The set of arguments for constructing a Gre resource.
func (GreArgs) ElementType ¶
type GreArray ¶
type GreArray []GreInput
func (GreArray) ElementType ¶
func (GreArray) ToGreArrayOutput ¶
func (i GreArray) ToGreArrayOutput() GreArrayOutput
func (GreArray) ToGreArrayOutputWithContext ¶
func (i GreArray) ToGreArrayOutputWithContext(ctx context.Context) GreArrayOutput
type GreArrayInput ¶
type GreArrayInput interface { pulumi.Input ToGreArrayOutput() GreArrayOutput ToGreArrayOutputWithContext(context.Context) GreArrayOutput }
GreArrayInput is an input type that accepts GreArray and GreArrayOutput values. You can construct a concrete instance of `GreArrayInput` via:
GreArray{ GreArgs{...} }
type GreArrayOutput ¶
type GreArrayOutput struct{ *pulumi.OutputState }
func (GreArrayOutput) ElementType ¶
func (GreArrayOutput) ElementType() reflect.Type
func (GreArrayOutput) ToGreArrayOutput ¶
func (o GreArrayOutput) ToGreArrayOutput() GreArrayOutput
func (GreArrayOutput) ToGreArrayOutputWithContext ¶
func (o GreArrayOutput) ToGreArrayOutputWithContext(ctx context.Context) GreArrayOutput
type GreMap ¶
func (GreMap) ElementType ¶
func (GreMap) ToGreMapOutput ¶
func (i GreMap) ToGreMapOutput() GreMapOutput
func (GreMap) ToGreMapOutputWithContext ¶
func (i GreMap) ToGreMapOutputWithContext(ctx context.Context) GreMapOutput
type GreMapInput ¶
type GreMapInput interface { pulumi.Input ToGreMapOutput() GreMapOutput ToGreMapOutputWithContext(context.Context) GreMapOutput }
GreMapInput is an input type that accepts GreMap and GreMapOutput values. You can construct a concrete instance of `GreMapInput` via:
GreMap{ "key": GreArgs{...} }
type GreMapOutput ¶
type GreMapOutput struct{ *pulumi.OutputState }
func (GreMapOutput) ElementType ¶
func (GreMapOutput) ElementType() reflect.Type
func (GreMapOutput) MapIndex ¶
func (o GreMapOutput) MapIndex(k pulumi.StringInput) GreOutput
func (GreMapOutput) ToGreMapOutput ¶
func (o GreMapOutput) ToGreMapOutput() GreMapOutput
func (GreMapOutput) ToGreMapOutputWithContext ¶
func (o GreMapOutput) ToGreMapOutputWithContext(ctx context.Context) GreMapOutput
type GreOutput ¶
type GreOutput struct{ *pulumi.OutputState }
func (GreOutput) AllowFastPath ¶
func (o GreOutput) AllowFastPath() pulumi.BoolPtrOutput
Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
func (GreOutput) ClampTcpMss ¶
func (o GreOutput) ClampTcpMss() pulumi.BoolPtrOutput
Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
func (GreOutput) Comment ¶
func (o GreOutput) Comment() pulumi.StringPtrOutput
func (GreOutput) Disabled ¶
func (o GreOutput) Disabled() pulumi.BoolPtrOutput
func (GreOutput) DontFragment ¶
func (o GreOutput) DontFragment() pulumi.StringPtrOutput
func (GreOutput) Dscp ¶
func (o GreOutput) Dscp() pulumi.StringPtrOutput
Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
func (GreOutput) ElementType ¶
func (GreOutput) IpsecSecret ¶
func (o GreOutput) IpsecSecret() pulumi.StringPtrOutput
When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
func (GreOutput) Keepalive ¶
func (o GreOutput) Keepalive() pulumi.StringPtrOutput
Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
func (GreOutput) LocalAddress ¶
func (o GreOutput) LocalAddress() pulumi.StringPtrOutput
func (GreOutput) Mtu ¶
func (o GreOutput) Mtu() pulumi.StringOutput
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
func (GreOutput) Name ¶
func (o GreOutput) Name() pulumi.StringOutput
Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control integrity for that resource!
func (GreOutput) RemoteAddress ¶
func (o GreOutput) RemoteAddress() pulumi.StringOutput
func (GreOutput) Running ¶
func (o GreOutput) Running() pulumi.BoolOutput
func (GreOutput) ToGreOutput ¶
type GreState ¶
type GreState struct { ActualMtu pulumi.IntPtrInput // Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used. AllowFastPath pulumi.BoolPtrInput // Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for // received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP // overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is // changed. ClampTcpMss pulumi.BoolPtrInput Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput DontFragment pulumi.StringPtrInput // Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic. Dscp pulumi.StringPtrInput // When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default // phase2 uses sha1/aes128cbc). IpsecSecret pulumi.StringPtrInput // Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of // tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in // following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - // number of retry attempts. KeepaliveInterval is integer 0..4294967295 Keepalive pulumi.StringPtrInput // Layer2 Maximum transmission unit. L2mtu pulumi.IntPtrInput LocalAddress pulumi.StringPtrInput // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput RemoteAddress pulumi.StringPtrInput Running pulumi.BoolPtrInput // contains filtered or unexported fields }
func (GreState) ElementType ¶
type InterfaceBridge ¶
type InterfaceBridge struct { pulumi.CustomResourceState ActualMtu pulumi.IntOutput `pulumi:"actualMtu"` // Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when dhcp-snooping is set to yes. AddDhcpOption82 pulumi.BoolPtrOutput `pulumi:"addDhcpOption82"` // Static MAC address of the bridge. This property only has effect when auto-mac is set to no. AdminMac pulumi.StringOutput `pulumi:"adminMac"` // How long a host's information will be kept in the bridge database. AgeingTime pulumi.StringPtrOutput `pulumi:"ageingTime"` // ARP resolution protocol mode. Arp pulumi.StringPtrOutput `pulumi:"arp"` // ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. ArpTimeout pulumi.StringPtrOutput `pulumi:"arpTimeout"` // Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first added bridge port. After a device reboot, the bridge MAC can change depending on the port-number. AutoMac pulumi.BoolPtrOutput `pulumi:"autoMac"` Comment pulumi.StringPtrOutput `pulumi:"comment"` DhcpSnooping pulumi.BoolPtrOutput `pulumi:"dhcpSnooping"` Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // This property only has effect when vlan-filtering is set to yes. EtherType pulumi.StringPtrOutput `pulumi:"etherType"` FastForward pulumi.BoolOutput `pulumi:"fastForward"` // Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the interface) in listening/learning state before the bridge will start functioning normally. ForwardDelay pulumi.StringPtrOutput `pulumi:"forwardDelay"` // Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes. FrameTypes pulumi.StringPtrOutput `pulumi:"frameTypes"` // Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge. IgmpSnooping pulumi.BoolPtrOutput `pulumi:"igmpSnooping"` // Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when igmp-snooping is set to yes. IgmpVersion pulumi.IntOutput `pulumi:"igmpVersion"` // Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes. IngressFiltering pulumi.BoolPtrOutput `pulumi:"ingressFiltering"` // Layer2 Maximum transmission unit. L2mtu pulumi.IntOutput `pulumi:"l2mtu"` // If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port. LastMemberInterval pulumi.StringOutput `pulumi:"lastMemberInterval"` // How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast stream. This property only has effect when igmp-snooping is set to yes. LastMemberQueryCount pulumi.IntOutput `pulumi:"lastMemberQueryCount"` MacAddress pulumi.StringOutput `pulumi:"macAddress"` // Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This property only has effect when protocol-mode is set to mstp. MaxHops pulumi.IntOutput `pulumi:"maxHops"` // Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when protocol-mode is set to stp or rstp. Value: 6s..40s MaxMessageAge pulumi.StringPtrOutput `pulumi:"maxMessageAge"` // Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on a certain port. This property only has effect when igmp-snooping is set to yes. MembershipInterval pulumi.StringOutput `pulumi:"membershipInterval"` // Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when RouterOS IPv6 package is enabled and igmp-snooping is set to yes. MldVersion pulumi.IntOutput `pulumi:"mldVersion"` // The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act as if mtu=auto is set. Mtu pulumi.StringPtrOutput `pulumi:"mtu"` // Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing multicast-querier property. MulticastQuerier pulumi.BoolPtrOutput `pulumi:"multicastQuerier"` // A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set to yes. MulticastRouter pulumi.StringOutput `pulumi:"multicastRouter"` // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringOutput `pulumi:"name"` // Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This property has no effect when protocol-mode is set to none. Priority pulumi.StringPtrOutput `pulumi:"priority"` // Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any bridged LAN. ProtocolMode pulumi.StringPtrOutput `pulumi:"protocolMode"` // Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes. Pvid pulumi.IntPtrOutput `pulumi:"pvid"` // Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has effect when igmp-snooping and multicast-querier is set to yes. QuerierInterval pulumi.StringOutput `pulumi:"querierInterval"` // Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when igmp-snooping and multicast-querier is set to yes. QueryInterval pulumi.StringOutput `pulumi:"queryInterval"` // Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has effect when igmp-snooping and multicast-querier is set to yes. QueryResponseInterval pulumi.StringOutput `pulumi:"queryResponseInterval"` // MSTP region name. This property only has effect when protocol-mode is set to mstp. RegionName pulumi.StringPtrOutput `pulumi:"regionName"` // MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp. RegionRevision pulumi.IntPtrOutput `pulumi:"regionRevision"` Running pulumi.BoolOutput `pulumi:"running"` // Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes. StartupQueryCount pulumi.IntOutput `pulumi:"startupQueryCount"` // Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes. StartupQueryInterval pulumi.StringOutput `pulumi:"startupQueryInterval"` // The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate. TransmitHoldCount pulumi.IntPtrOutput `pulumi:"transmitHoldCount"` // Globally enables or disables VLAN functionality for bridge. VlanFiltering pulumi.BoolPtrOutput `pulumi:"vlanFiltering"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/Iface" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Iface.NewInterfaceBridge(ctx, "bridge", &Iface.InterfaceBridgeArgs{ VlanFiltering: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
Import with the name of the bridge in case of the example use bridge ¶
```sh
$ pulumi import routeros:Iface/interfaceBridge:InterfaceBridge bridge bridge
```
func GetInterfaceBridge ¶
func GetInterfaceBridge(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InterfaceBridgeState, opts ...pulumi.ResourceOption) (*InterfaceBridge, error)
GetInterfaceBridge gets an existing InterfaceBridge 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 NewInterfaceBridge ¶
func NewInterfaceBridge(ctx *pulumi.Context, name string, args *InterfaceBridgeArgs, opts ...pulumi.ResourceOption) (*InterfaceBridge, error)
NewInterfaceBridge registers a new resource with the given unique name, arguments, and options.
func (*InterfaceBridge) ElementType ¶
func (*InterfaceBridge) ElementType() reflect.Type
func (*InterfaceBridge) ToInterfaceBridgeOutput ¶
func (i *InterfaceBridge) ToInterfaceBridgeOutput() InterfaceBridgeOutput
func (*InterfaceBridge) ToInterfaceBridgeOutputWithContext ¶
func (i *InterfaceBridge) ToInterfaceBridgeOutputWithContext(ctx context.Context) InterfaceBridgeOutput
type InterfaceBridgeArgs ¶
type InterfaceBridgeArgs struct { // Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when dhcp-snooping is set to yes. AddDhcpOption82 pulumi.BoolPtrInput // Static MAC address of the bridge. This property only has effect when auto-mac is set to no. AdminMac pulumi.StringPtrInput // How long a host's information will be kept in the bridge database. AgeingTime pulumi.StringPtrInput // ARP resolution protocol mode. Arp pulumi.StringPtrInput // ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. ArpTimeout pulumi.StringPtrInput // Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first added bridge port. After a device reboot, the bridge MAC can change depending on the port-number. AutoMac pulumi.BoolPtrInput Comment pulumi.StringPtrInput DhcpSnooping pulumi.BoolPtrInput Disabled pulumi.BoolPtrInput // This property only has effect when vlan-filtering is set to yes. EtherType pulumi.StringPtrInput FastForward pulumi.BoolPtrInput // Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the interface) in listening/learning state before the bridge will start functioning normally. ForwardDelay pulumi.StringPtrInput // Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes. FrameTypes pulumi.StringPtrInput // Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge. IgmpSnooping pulumi.BoolPtrInput // Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when igmp-snooping is set to yes. IgmpVersion pulumi.IntPtrInput // Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes. IngressFiltering pulumi.BoolPtrInput // If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port. LastMemberInterval pulumi.StringPtrInput // How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast stream. This property only has effect when igmp-snooping is set to yes. LastMemberQueryCount pulumi.IntPtrInput // Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This property only has effect when protocol-mode is set to mstp. MaxHops pulumi.IntPtrInput // Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when protocol-mode is set to stp or rstp. Value: 6s..40s MaxMessageAge pulumi.StringPtrInput // Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on a certain port. This property only has effect when igmp-snooping is set to yes. MembershipInterval pulumi.StringPtrInput // Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when RouterOS IPv6 package is enabled and igmp-snooping is set to yes. MldVersion pulumi.IntPtrInput // The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act as if mtu=auto is set. Mtu pulumi.StringPtrInput // Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing multicast-querier property. MulticastQuerier pulumi.BoolPtrInput // A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set to yes. MulticastRouter pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput // Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This property has no effect when protocol-mode is set to none. Priority pulumi.StringPtrInput // Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any bridged LAN. ProtocolMode pulumi.StringPtrInput // Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes. Pvid pulumi.IntPtrInput // Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has effect when igmp-snooping and multicast-querier is set to yes. QuerierInterval pulumi.StringPtrInput // Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when igmp-snooping and multicast-querier is set to yes. QueryInterval pulumi.StringPtrInput // Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has effect when igmp-snooping and multicast-querier is set to yes. QueryResponseInterval pulumi.StringPtrInput // MSTP region name. This property only has effect when protocol-mode is set to mstp. RegionName pulumi.StringPtrInput // MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp. RegionRevision pulumi.IntPtrInput // Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes. StartupQueryCount pulumi.IntPtrInput // Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes. StartupQueryInterval pulumi.StringPtrInput // The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate. TransmitHoldCount pulumi.IntPtrInput // Globally enables or disables VLAN functionality for bridge. VlanFiltering pulumi.BoolPtrInput // contains filtered or unexported fields }
The set of arguments for constructing a InterfaceBridge resource.
func (InterfaceBridgeArgs) ElementType ¶
func (InterfaceBridgeArgs) ElementType() reflect.Type
type InterfaceBridgeArray ¶
type InterfaceBridgeArray []InterfaceBridgeInput
func (InterfaceBridgeArray) ElementType ¶
func (InterfaceBridgeArray) ElementType() reflect.Type
func (InterfaceBridgeArray) ToInterfaceBridgeArrayOutput ¶
func (i InterfaceBridgeArray) ToInterfaceBridgeArrayOutput() InterfaceBridgeArrayOutput
func (InterfaceBridgeArray) ToInterfaceBridgeArrayOutputWithContext ¶
func (i InterfaceBridgeArray) ToInterfaceBridgeArrayOutputWithContext(ctx context.Context) InterfaceBridgeArrayOutput
type InterfaceBridgeArrayInput ¶
type InterfaceBridgeArrayInput interface { pulumi.Input ToInterfaceBridgeArrayOutput() InterfaceBridgeArrayOutput ToInterfaceBridgeArrayOutputWithContext(context.Context) InterfaceBridgeArrayOutput }
InterfaceBridgeArrayInput is an input type that accepts InterfaceBridgeArray and InterfaceBridgeArrayOutput values. You can construct a concrete instance of `InterfaceBridgeArrayInput` via:
InterfaceBridgeArray{ InterfaceBridgeArgs{...} }
type InterfaceBridgeArrayOutput ¶
type InterfaceBridgeArrayOutput struct{ *pulumi.OutputState }
func (InterfaceBridgeArrayOutput) ElementType ¶
func (InterfaceBridgeArrayOutput) ElementType() reflect.Type
func (InterfaceBridgeArrayOutput) Index ¶
func (o InterfaceBridgeArrayOutput) Index(i pulumi.IntInput) InterfaceBridgeOutput
func (InterfaceBridgeArrayOutput) ToInterfaceBridgeArrayOutput ¶
func (o InterfaceBridgeArrayOutput) ToInterfaceBridgeArrayOutput() InterfaceBridgeArrayOutput
func (InterfaceBridgeArrayOutput) ToInterfaceBridgeArrayOutputWithContext ¶
func (o InterfaceBridgeArrayOutput) ToInterfaceBridgeArrayOutputWithContext(ctx context.Context) InterfaceBridgeArrayOutput
type InterfaceBridgeInput ¶
type InterfaceBridgeInput interface { pulumi.Input ToInterfaceBridgeOutput() InterfaceBridgeOutput ToInterfaceBridgeOutputWithContext(ctx context.Context) InterfaceBridgeOutput }
type InterfaceBridgeMap ¶
type InterfaceBridgeMap map[string]InterfaceBridgeInput
func (InterfaceBridgeMap) ElementType ¶
func (InterfaceBridgeMap) ElementType() reflect.Type
func (InterfaceBridgeMap) ToInterfaceBridgeMapOutput ¶
func (i InterfaceBridgeMap) ToInterfaceBridgeMapOutput() InterfaceBridgeMapOutput
func (InterfaceBridgeMap) ToInterfaceBridgeMapOutputWithContext ¶
func (i InterfaceBridgeMap) ToInterfaceBridgeMapOutputWithContext(ctx context.Context) InterfaceBridgeMapOutput
type InterfaceBridgeMapInput ¶
type InterfaceBridgeMapInput interface { pulumi.Input ToInterfaceBridgeMapOutput() InterfaceBridgeMapOutput ToInterfaceBridgeMapOutputWithContext(context.Context) InterfaceBridgeMapOutput }
InterfaceBridgeMapInput is an input type that accepts InterfaceBridgeMap and InterfaceBridgeMapOutput values. You can construct a concrete instance of `InterfaceBridgeMapInput` via:
InterfaceBridgeMap{ "key": InterfaceBridgeArgs{...} }
type InterfaceBridgeMapOutput ¶
type InterfaceBridgeMapOutput struct{ *pulumi.OutputState }
func (InterfaceBridgeMapOutput) ElementType ¶
func (InterfaceBridgeMapOutput) ElementType() reflect.Type
func (InterfaceBridgeMapOutput) MapIndex ¶
func (o InterfaceBridgeMapOutput) MapIndex(k pulumi.StringInput) InterfaceBridgeOutput
func (InterfaceBridgeMapOutput) ToInterfaceBridgeMapOutput ¶
func (o InterfaceBridgeMapOutput) ToInterfaceBridgeMapOutput() InterfaceBridgeMapOutput
func (InterfaceBridgeMapOutput) ToInterfaceBridgeMapOutputWithContext ¶
func (o InterfaceBridgeMapOutput) ToInterfaceBridgeMapOutputWithContext(ctx context.Context) InterfaceBridgeMapOutput
type InterfaceBridgeOutput ¶
type InterfaceBridgeOutput struct{ *pulumi.OutputState }
func (InterfaceBridgeOutput) ActualMtu ¶
func (o InterfaceBridgeOutput) ActualMtu() pulumi.IntOutput
func (InterfaceBridgeOutput) AddDhcpOption82 ¶
func (o InterfaceBridgeOutput) AddDhcpOption82() pulumi.BoolPtrOutput
Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when dhcp-snooping is set to yes.
func (InterfaceBridgeOutput) AdminMac ¶
func (o InterfaceBridgeOutput) AdminMac() pulumi.StringOutput
Static MAC address of the bridge. This property only has effect when auto-mac is set to no.
func (InterfaceBridgeOutput) AgeingTime ¶
func (o InterfaceBridgeOutput) AgeingTime() pulumi.StringPtrOutput
How long a host's information will be kept in the bridge database.
func (InterfaceBridgeOutput) Arp ¶
func (o InterfaceBridgeOutput) Arp() pulumi.StringPtrOutput
ARP resolution protocol mode.
func (InterfaceBridgeOutput) ArpTimeout ¶
func (o InterfaceBridgeOutput) ArpTimeout() pulumi.StringPtrOutput
ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
func (InterfaceBridgeOutput) AutoMac ¶
func (o InterfaceBridgeOutput) AutoMac() pulumi.BoolPtrOutput
Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first added bridge port. After a device reboot, the bridge MAC can change depending on the port-number.
func (InterfaceBridgeOutput) Comment ¶
func (o InterfaceBridgeOutput) Comment() pulumi.StringPtrOutput
func (InterfaceBridgeOutput) DhcpSnooping ¶
func (o InterfaceBridgeOutput) DhcpSnooping() pulumi.BoolPtrOutput
func (InterfaceBridgeOutput) Disabled ¶
func (o InterfaceBridgeOutput) Disabled() pulumi.BoolPtrOutput
func (InterfaceBridgeOutput) ElementType ¶
func (InterfaceBridgeOutput) ElementType() reflect.Type
func (InterfaceBridgeOutput) EtherType ¶
func (o InterfaceBridgeOutput) EtherType() pulumi.StringPtrOutput
This property only has effect when vlan-filtering is set to yes.
func (InterfaceBridgeOutput) FastForward ¶
func (o InterfaceBridgeOutput) FastForward() pulumi.BoolOutput
func (InterfaceBridgeOutput) ForwardDelay ¶
func (o InterfaceBridgeOutput) ForwardDelay() pulumi.StringPtrOutput
Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the interface) in listening/learning state before the bridge will start functioning normally.
func (InterfaceBridgeOutput) FrameTypes ¶
func (o InterfaceBridgeOutput) FrameTypes() pulumi.StringPtrOutput
Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
func (InterfaceBridgeOutput) IgmpSnooping ¶
func (o InterfaceBridgeOutput) IgmpSnooping() pulumi.BoolPtrOutput
Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge.
func (InterfaceBridgeOutput) IgmpVersion ¶
func (o InterfaceBridgeOutput) IgmpVersion() pulumi.IntOutput
Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when igmp-snooping is set to yes.
func (InterfaceBridgeOutput) IngressFiltering ¶
func (o InterfaceBridgeOutput) IngressFiltering() pulumi.BoolPtrOutput
Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes.
func (InterfaceBridgeOutput) L2mtu ¶
func (o InterfaceBridgeOutput) L2mtu() pulumi.IntOutput
Layer2 Maximum transmission unit.
func (InterfaceBridgeOutput) LastMemberInterval ¶
func (o InterfaceBridgeOutput) LastMemberInterval() pulumi.StringOutput
If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port.
func (InterfaceBridgeOutput) LastMemberQueryCount ¶
func (o InterfaceBridgeOutput) LastMemberQueryCount() pulumi.IntOutput
How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast stream. This property only has effect when igmp-snooping is set to yes.
func (InterfaceBridgeOutput) MacAddress ¶
func (o InterfaceBridgeOutput) MacAddress() pulumi.StringOutput
func (InterfaceBridgeOutput) MaxHops ¶
func (o InterfaceBridgeOutput) MaxHops() pulumi.IntOutput
Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This property only has effect when protocol-mode is set to mstp.
func (InterfaceBridgeOutput) MaxMessageAge ¶
func (o InterfaceBridgeOutput) MaxMessageAge() pulumi.StringPtrOutput
Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when protocol-mode is set to stp or rstp. Value: 6s..40s
func (InterfaceBridgeOutput) MembershipInterval ¶
func (o InterfaceBridgeOutput) MembershipInterval() pulumi.StringOutput
Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on a certain port. This property only has effect when igmp-snooping is set to yes.
func (InterfaceBridgeOutput) MldVersion ¶
func (o InterfaceBridgeOutput) MldVersion() pulumi.IntOutput
Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when RouterOS IPv6 package is enabled and igmp-snooping is set to yes.
func (InterfaceBridgeOutput) Mtu ¶
func (o InterfaceBridgeOutput) Mtu() pulumi.StringPtrOutput
The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act as if mtu=auto is set.
func (InterfaceBridgeOutput) MulticastQuerier ¶
func (o InterfaceBridgeOutput) MulticastQuerier() pulumi.BoolPtrOutput
Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing multicast-querier property.
func (InterfaceBridgeOutput) MulticastRouter ¶
func (o InterfaceBridgeOutput) MulticastRouter() pulumi.StringOutput
A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set to yes.
func (InterfaceBridgeOutput) Name ¶
func (o InterfaceBridgeOutput) Name() pulumi.StringOutput
Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control integrity for that resource!
func (InterfaceBridgeOutput) Priority ¶
func (o InterfaceBridgeOutput) Priority() pulumi.StringPtrOutput
Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This property has no effect when protocol-mode is set to none.
func (InterfaceBridgeOutput) ProtocolMode ¶
func (o InterfaceBridgeOutput) ProtocolMode() pulumi.StringPtrOutput
Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any bridged LAN.
func (InterfaceBridgeOutput) Pvid ¶
func (o InterfaceBridgeOutput) Pvid() pulumi.IntPtrOutput
Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes.
func (InterfaceBridgeOutput) QuerierInterval ¶
func (o InterfaceBridgeOutput) QuerierInterval() pulumi.StringOutput
Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has effect when igmp-snooping and multicast-querier is set to yes.
func (InterfaceBridgeOutput) QueryInterval ¶
func (o InterfaceBridgeOutput) QueryInterval() pulumi.StringOutput
Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when igmp-snooping and multicast-querier is set to yes.
func (InterfaceBridgeOutput) QueryResponseInterval ¶
func (o InterfaceBridgeOutput) QueryResponseInterval() pulumi.StringOutput
Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has effect when igmp-snooping and multicast-querier is set to yes.
func (InterfaceBridgeOutput) RegionName ¶
func (o InterfaceBridgeOutput) RegionName() pulumi.StringPtrOutput
MSTP region name. This property only has effect when protocol-mode is set to mstp.
func (InterfaceBridgeOutput) RegionRevision ¶
func (o InterfaceBridgeOutput) RegionRevision() pulumi.IntPtrOutput
MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp.
func (InterfaceBridgeOutput) Running ¶
func (o InterfaceBridgeOutput) Running() pulumi.BoolOutput
func (InterfaceBridgeOutput) StartupQueryCount ¶
func (o InterfaceBridgeOutput) StartupQueryCount() pulumi.IntOutput
Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes.
func (InterfaceBridgeOutput) StartupQueryInterval ¶
func (o InterfaceBridgeOutput) StartupQueryInterval() pulumi.StringOutput
Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes.
func (InterfaceBridgeOutput) ToInterfaceBridgeOutput ¶
func (o InterfaceBridgeOutput) ToInterfaceBridgeOutput() InterfaceBridgeOutput
func (InterfaceBridgeOutput) ToInterfaceBridgeOutputWithContext ¶
func (o InterfaceBridgeOutput) ToInterfaceBridgeOutputWithContext(ctx context.Context) InterfaceBridgeOutput
func (InterfaceBridgeOutput) TransmitHoldCount ¶
func (o InterfaceBridgeOutput) TransmitHoldCount() pulumi.IntPtrOutput
The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate.
func (InterfaceBridgeOutput) VlanFiltering ¶
func (o InterfaceBridgeOutput) VlanFiltering() pulumi.BoolPtrOutput
Globally enables or disables VLAN functionality for bridge.
type InterfaceBridgePort ¶
type InterfaceBridgePort struct { pulumi.CustomResourceState // When enabled, prevents a port moving from discarding into forwarding state if no BPDUs are received from the neighboring bridge. The port will change into a forwarding state only when a BPDU is received. This property only has an effect when protocol-mode is set to rstp or mstp and edge is set to no. AutoIsolate pulumi.BoolPtrOutput `pulumi:"autoIsolate"` // This property has no effect when protocol-mode is set to none. BpduGuard pulumi.BoolPtrOutput `pulumi:"bpduGuard"` Bridge pulumi.StringOutput `pulumi:"bridge"` // When enabled, bridge floods broadcast traffic to all bridge egress ports. When disabled, drops broadcast traffic on egress ports. BroadcastFlood pulumi.BoolPtrOutput `pulumi:"broadcastFlood"` Comment pulumi.StringPtrOutput `pulumi:"comment"` DebugInfo pulumi.StringOutput `pulumi:"debugInfo"` // Root bridge ID (bridge priority and the bridge MAC address). DesignatedBridge pulumi.StringOutput `pulumi:"designatedBridge"` // Designated cost. DesignatedCost pulumi.StringOutput `pulumi:"designatedCost"` // Designated port number. DesignatedPortNumber pulumi.IntOutput `pulumi:"designatedPortNumber"` 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"` // Set port as edge port or non-edge port, or enable edge discovery. Edge ports are connected to a LAN that has no other bridges attached. Edge pulumi.StringPtrOutput `pulumi:"edge"` // Whether port is an edge port or not. EdgePort pulumi.BoolOutput `pulumi:"edgePort"` // Whether port is set to automatically detect edge ports. EdgePortDiscovery pulumi.BoolOutput `pulumi:"edgePortDiscovery"` // Whether registration table is used instead of forwarding data base. ExternalFdbStatus pulumi.BoolOutput `pulumi:"externalFdbStatus"` // Enables IGMP Fast leave feature on the port. FastLeave pulumi.BoolPtrOutput `pulumi:"fastLeave"` // Shows if the port is not blocked by (R/M)STP. Forwarding pulumi.BoolOutput `pulumi:"forwarding"` // Specifies allowed ingress frame types on a bridge port. This property only has effect when vlan-filtering is set to yes. FrameTypes pulumi.StringPtrOutput `pulumi:"frameTypes"` // Use split horizon bridging to prevent bridging loops. Set the same value for group of ports, to prevent them from sending data to ports with the same horizon value. Split horizon is a software feature that disables hardware offloading. This value is integer '0'..'429496729' or 'none'. Horizon pulumi.StringPtrOutput `pulumi:"horizon"` // Enable or disable Hardware Offloading of the interface. Hw pulumi.BoolOutput `pulumi:"hw"` // Hardware offloading state. HwOffload pulumi.BoolOutput `pulumi:"hwOffload"` // Switch chip used by the port. HwOffloadGroup pulumi.StringOutput `pulumi:"hwOffloadGroup"` Inactive pulumi.BoolOutput `pulumi:"inactive"` // Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes. IngressFiltering pulumi.BoolOutput `pulumi:"ingressFiltering"` // Name of the interface. Interface pulumi.StringOutput `pulumi:"interface"` // Path cost to the interface for MSTI0 inside a region. This property only has effect when protocol-mode is set to mstp. InternalPathCost pulumi.IntPtrOutput `pulumi:"internalPathCost"` // Changes MAC learning behaviour on a bridge port Learn pulumi.StringPtrOutput `pulumi:"learn"` // Shows whether the port is capable of learning MAC addresses. Learning pulumi.BoolOutput `pulumi:"learning"` // Changes the state of a bridge port whether IGMP membership reports are going to be forwarded to this port. MulticastRouter pulumi.StringPtrOutput `pulumi:"multicastRouter"` Nextid pulumi.StringOutput `pulumi:"nextid"` // Path cost to the interface, used by STP to determine the "best" path, used by MSTP todetermine "best" path between regions. This property has no effect when protocol-mode is set to none. PathCost pulumi.StringPtrOutput `pulumi:"pathCost"` // Specifies if a bridge port is connected to a bridge using a point-to-point link for faster convergence in case of failure. This property has no effect when protocol-mode is set to none. PointToPoint pulumi.StringPtrOutput `pulumi:"pointToPoint"` // Whether the port is connected to a bridge port using full-duplex (true) or half-duplex (false). PointToPointPort pulumi.BoolOutput `pulumi:"pointToPointPort"` // Port number will be assigned in the order that ports got added to the bridge, but this is only true until reboot. After reboot internal numbering will be used. PortNumber pulumi.IntOutput `pulumi:"portNumber"` // The priority of the interface, used by STP to determine the root port, used by MSTP to determine root port between regions. Priority pulumi.StringPtrOutput `pulumi:"priority"` // ort VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. This property only has effect when vlan-filtering is set to yes. Pvid pulumi.IntOutput `pulumi:"pvid"` // Enable the restricted role on a port, used by STP to forbid a port becoming a root port. This property only has effect when protocol-mode is set to mstp. RestrictedRole pulumi.BoolPtrOutput `pulumi:"restrictedRole"` // Disable topology change notification (TCN) sending on a port, used by STP to forbid network topology changes to propagate. This property only has effect when protocol-mode is set to mstp. RestrictedTcn pulumi.BoolPtrOutput `pulumi:"restrictedTcn"` // (R/M)STP algorithm assigned role of the port Role pulumi.StringOutput `pulumi:"role"` // The total cost of the path to the root-bridge. RootPathCost pulumi.IntOutput `pulumi:"rootPathCost"` // Whether the port is sending RSTP or MSTP BPDU types. A port will transit to STP type when RSTP/MSTP enabled port receives a STP BPDU SendingRstp pulumi.StringOutput `pulumi:"sendingRstp"` // Port status ('in-bridge' - port is enabled). Status pulumi.StringOutput `pulumi:"status"` // Forces all packets to be treated as untagged packets. Packets on ingress port will be tagged with another VLAN tag regardless if a VLAN tag already exists, packets will be tagged with a VLAN ID that matches the pvid value and will use EtherType that is specified in ether-type. This property only has effect when vlan-filtering is set to yes. TagStacking pulumi.BoolPtrOutput `pulumi:"tagStacking"` // When enabled, it allows to forward DHCP packets towards DHCP server through this port. Mainly used to limit unauthorized servers to provide malicious information for users. This property only has effect when dhcp-snooping is set to yes. Trusted pulumi.BoolPtrOutput `pulumi:"trusted"` // When enabled, bridge floods unknown multicast traffic to all bridge egress ports. UnknownMulticastFlood pulumi.BoolPtrOutput `pulumi:"unknownMulticastFlood"` // When enabled, bridge floods unknown unicast traffic to all bridge egress ports. UnknownUnicastFlood pulumi.BoolPtrOutput `pulumi:"unknownUnicastFlood"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/Iface" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Iface.NewInterfaceBridgePort(ctx, "bridgePort", &Iface.InterfaceBridgePortArgs{ Bridge: pulumi.String("bridge"), Interface: pulumi.String("ether5"), Pvid: pulumi.Int(50), }) 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 [/interface/bridge/port get [print show-ids]]
```sh
$ pulumi import routeros:Iface/interfaceBridgePort:InterfaceBridgePort bridge_port "*0"
```
func GetInterfaceBridgePort ¶
func GetInterfaceBridgePort(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InterfaceBridgePortState, opts ...pulumi.ResourceOption) (*InterfaceBridgePort, error)
GetInterfaceBridgePort gets an existing InterfaceBridgePort 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 NewInterfaceBridgePort ¶
func NewInterfaceBridgePort(ctx *pulumi.Context, name string, args *InterfaceBridgePortArgs, opts ...pulumi.ResourceOption) (*InterfaceBridgePort, error)
NewInterfaceBridgePort registers a new resource with the given unique name, arguments, and options.
func (*InterfaceBridgePort) ElementType ¶
func (*InterfaceBridgePort) ElementType() reflect.Type
func (*InterfaceBridgePort) ToInterfaceBridgePortOutput ¶
func (i *InterfaceBridgePort) ToInterfaceBridgePortOutput() InterfaceBridgePortOutput
func (*InterfaceBridgePort) ToInterfaceBridgePortOutputWithContext ¶
func (i *InterfaceBridgePort) ToInterfaceBridgePortOutputWithContext(ctx context.Context) InterfaceBridgePortOutput
type InterfaceBridgePortArgs ¶
type InterfaceBridgePortArgs struct { // When enabled, prevents a port moving from discarding into forwarding state if no BPDUs are received from the neighboring bridge. The port will change into a forwarding state only when a BPDU is received. This property only has an effect when protocol-mode is set to rstp or mstp and edge is set to no. AutoIsolate pulumi.BoolPtrInput // This property has no effect when protocol-mode is set to none. BpduGuard pulumi.BoolPtrInput Bridge pulumi.StringInput // When enabled, bridge floods broadcast traffic to all bridge egress ports. When disabled, drops broadcast traffic on egress ports. BroadcastFlood pulumi.BoolPtrInput Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Set port as edge port or non-edge port, or enable edge discovery. Edge ports are connected to a LAN that has no other bridges attached. Edge pulumi.StringPtrInput // Enables IGMP Fast leave feature on the port. FastLeave pulumi.BoolPtrInput // Specifies allowed ingress frame types on a bridge port. This property only has effect when vlan-filtering is set to yes. FrameTypes pulumi.StringPtrInput // Use split horizon bridging to prevent bridging loops. Set the same value for group of ports, to prevent them from sending data to ports with the same horizon value. Split horizon is a software feature that disables hardware offloading. This value is integer '0'..'429496729' or 'none'. Horizon pulumi.StringPtrInput // Enable or disable Hardware Offloading of the interface. Hw pulumi.BoolPtrInput // Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes. IngressFiltering pulumi.BoolPtrInput // Name of the interface. Interface pulumi.StringInput // Path cost to the interface for MSTI0 inside a region. This property only has effect when protocol-mode is set to mstp. InternalPathCost pulumi.IntPtrInput // Changes MAC learning behaviour on a bridge port Learn pulumi.StringPtrInput // Changes the state of a bridge port whether IGMP membership reports are going to be forwarded to this port. MulticastRouter pulumi.StringPtrInput // Path cost to the interface, used by STP to determine the "best" path, used by MSTP todetermine "best" path between regions. This property has no effect when protocol-mode is set to none. PathCost pulumi.StringPtrInput // Specifies if a bridge port is connected to a bridge using a point-to-point link for faster convergence in case of failure. This property has no effect when protocol-mode is set to none. PointToPoint pulumi.StringPtrInput // The priority of the interface, used by STP to determine the root port, used by MSTP to determine root port between regions. Priority pulumi.StringPtrInput // ort VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. This property only has effect when vlan-filtering is set to yes. Pvid pulumi.IntInput // Enable the restricted role on a port, used by STP to forbid a port becoming a root port. This property only has effect when protocol-mode is set to mstp. RestrictedRole pulumi.BoolPtrInput // Disable topology change notification (TCN) sending on a port, used by STP to forbid network topology changes to propagate. This property only has effect when protocol-mode is set to mstp. RestrictedTcn pulumi.BoolPtrInput // Forces all packets to be treated as untagged packets. Packets on ingress port will be tagged with another VLAN tag regardless if a VLAN tag already exists, packets will be tagged with a VLAN ID that matches the pvid value and will use EtherType that is specified in ether-type. This property only has effect when vlan-filtering is set to yes. TagStacking pulumi.BoolPtrInput // When enabled, it allows to forward DHCP packets towards DHCP server through this port. Mainly used to limit unauthorized servers to provide malicious information for users. This property only has effect when dhcp-snooping is set to yes. Trusted pulumi.BoolPtrInput // When enabled, bridge floods unknown multicast traffic to all bridge egress ports. UnknownMulticastFlood pulumi.BoolPtrInput // When enabled, bridge floods unknown unicast traffic to all bridge egress ports. UnknownUnicastFlood pulumi.BoolPtrInput // contains filtered or unexported fields }
The set of arguments for constructing a InterfaceBridgePort resource.
func (InterfaceBridgePortArgs) ElementType ¶
func (InterfaceBridgePortArgs) ElementType() reflect.Type
type InterfaceBridgePortArray ¶
type InterfaceBridgePortArray []InterfaceBridgePortInput
func (InterfaceBridgePortArray) ElementType ¶
func (InterfaceBridgePortArray) ElementType() reflect.Type
func (InterfaceBridgePortArray) ToInterfaceBridgePortArrayOutput ¶
func (i InterfaceBridgePortArray) ToInterfaceBridgePortArrayOutput() InterfaceBridgePortArrayOutput
func (InterfaceBridgePortArray) ToInterfaceBridgePortArrayOutputWithContext ¶
func (i InterfaceBridgePortArray) ToInterfaceBridgePortArrayOutputWithContext(ctx context.Context) InterfaceBridgePortArrayOutput
type InterfaceBridgePortArrayInput ¶
type InterfaceBridgePortArrayInput interface { pulumi.Input ToInterfaceBridgePortArrayOutput() InterfaceBridgePortArrayOutput ToInterfaceBridgePortArrayOutputWithContext(context.Context) InterfaceBridgePortArrayOutput }
InterfaceBridgePortArrayInput is an input type that accepts InterfaceBridgePortArray and InterfaceBridgePortArrayOutput values. You can construct a concrete instance of `InterfaceBridgePortArrayInput` via:
InterfaceBridgePortArray{ InterfaceBridgePortArgs{...} }
type InterfaceBridgePortArrayOutput ¶
type InterfaceBridgePortArrayOutput struct{ *pulumi.OutputState }
func (InterfaceBridgePortArrayOutput) ElementType ¶
func (InterfaceBridgePortArrayOutput) ElementType() reflect.Type
func (InterfaceBridgePortArrayOutput) Index ¶
func (o InterfaceBridgePortArrayOutput) Index(i pulumi.IntInput) InterfaceBridgePortOutput
func (InterfaceBridgePortArrayOutput) ToInterfaceBridgePortArrayOutput ¶
func (o InterfaceBridgePortArrayOutput) ToInterfaceBridgePortArrayOutput() InterfaceBridgePortArrayOutput
func (InterfaceBridgePortArrayOutput) ToInterfaceBridgePortArrayOutputWithContext ¶
func (o InterfaceBridgePortArrayOutput) ToInterfaceBridgePortArrayOutputWithContext(ctx context.Context) InterfaceBridgePortArrayOutput
type InterfaceBridgePortInput ¶
type InterfaceBridgePortInput interface { pulumi.Input ToInterfaceBridgePortOutput() InterfaceBridgePortOutput ToInterfaceBridgePortOutputWithContext(ctx context.Context) InterfaceBridgePortOutput }
type InterfaceBridgePortMap ¶
type InterfaceBridgePortMap map[string]InterfaceBridgePortInput
func (InterfaceBridgePortMap) ElementType ¶
func (InterfaceBridgePortMap) ElementType() reflect.Type
func (InterfaceBridgePortMap) ToInterfaceBridgePortMapOutput ¶
func (i InterfaceBridgePortMap) ToInterfaceBridgePortMapOutput() InterfaceBridgePortMapOutput
func (InterfaceBridgePortMap) ToInterfaceBridgePortMapOutputWithContext ¶
func (i InterfaceBridgePortMap) ToInterfaceBridgePortMapOutputWithContext(ctx context.Context) InterfaceBridgePortMapOutput
type InterfaceBridgePortMapInput ¶
type InterfaceBridgePortMapInput interface { pulumi.Input ToInterfaceBridgePortMapOutput() InterfaceBridgePortMapOutput ToInterfaceBridgePortMapOutputWithContext(context.Context) InterfaceBridgePortMapOutput }
InterfaceBridgePortMapInput is an input type that accepts InterfaceBridgePortMap and InterfaceBridgePortMapOutput values. You can construct a concrete instance of `InterfaceBridgePortMapInput` via:
InterfaceBridgePortMap{ "key": InterfaceBridgePortArgs{...} }
type InterfaceBridgePortMapOutput ¶
type InterfaceBridgePortMapOutput struct{ *pulumi.OutputState }
func (InterfaceBridgePortMapOutput) ElementType ¶
func (InterfaceBridgePortMapOutput) ElementType() reflect.Type
func (InterfaceBridgePortMapOutput) MapIndex ¶
func (o InterfaceBridgePortMapOutput) MapIndex(k pulumi.StringInput) InterfaceBridgePortOutput
func (InterfaceBridgePortMapOutput) ToInterfaceBridgePortMapOutput ¶
func (o InterfaceBridgePortMapOutput) ToInterfaceBridgePortMapOutput() InterfaceBridgePortMapOutput
func (InterfaceBridgePortMapOutput) ToInterfaceBridgePortMapOutputWithContext ¶
func (o InterfaceBridgePortMapOutput) ToInterfaceBridgePortMapOutputWithContext(ctx context.Context) InterfaceBridgePortMapOutput
type InterfaceBridgePortOutput ¶
type InterfaceBridgePortOutput struct{ *pulumi.OutputState }
func (InterfaceBridgePortOutput) AutoIsolate ¶
func (o InterfaceBridgePortOutput) AutoIsolate() pulumi.BoolPtrOutput
When enabled, prevents a port moving from discarding into forwarding state if no BPDUs are received from the neighboring bridge. The port will change into a forwarding state only when a BPDU is received. This property only has an effect when protocol-mode is set to rstp or mstp and edge is set to no.
func (InterfaceBridgePortOutput) BpduGuard ¶
func (o InterfaceBridgePortOutput) BpduGuard() pulumi.BoolPtrOutput
This property has no effect when protocol-mode is set to none.
func (InterfaceBridgePortOutput) Bridge ¶
func (o InterfaceBridgePortOutput) Bridge() pulumi.StringOutput
func (InterfaceBridgePortOutput) BroadcastFlood ¶
func (o InterfaceBridgePortOutput) BroadcastFlood() pulumi.BoolPtrOutput
When enabled, bridge floods broadcast traffic to all bridge egress ports. When disabled, drops broadcast traffic on egress ports.
func (InterfaceBridgePortOutput) Comment ¶
func (o InterfaceBridgePortOutput) Comment() pulumi.StringPtrOutput
func (InterfaceBridgePortOutput) DebugInfo ¶
func (o InterfaceBridgePortOutput) DebugInfo() pulumi.StringOutput
func (InterfaceBridgePortOutput) DesignatedBridge ¶
func (o InterfaceBridgePortOutput) DesignatedBridge() pulumi.StringOutput
Root bridge ID (bridge priority and the bridge MAC address).
func (InterfaceBridgePortOutput) DesignatedCost ¶
func (o InterfaceBridgePortOutput) DesignatedCost() pulumi.StringOutput
Designated cost.
func (InterfaceBridgePortOutput) DesignatedPortNumber ¶
func (o InterfaceBridgePortOutput) DesignatedPortNumber() pulumi.IntOutput
Designated port number.
func (InterfaceBridgePortOutput) Disabled ¶
func (o InterfaceBridgePortOutput) Disabled() pulumi.BoolPtrOutput
func (InterfaceBridgePortOutput) Dynamic ¶
func (o InterfaceBridgePortOutput) Dynamic() pulumi.BoolOutput
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
func (InterfaceBridgePortOutput) Edge ¶
func (o InterfaceBridgePortOutput) Edge() pulumi.StringPtrOutput
Set port as edge port or non-edge port, or enable edge discovery. Edge ports are connected to a LAN that has no other bridges attached.
func (InterfaceBridgePortOutput) EdgePort ¶
func (o InterfaceBridgePortOutput) EdgePort() pulumi.BoolOutput
Whether port is an edge port or not.
func (InterfaceBridgePortOutput) EdgePortDiscovery ¶
func (o InterfaceBridgePortOutput) EdgePortDiscovery() pulumi.BoolOutput
Whether port is set to automatically detect edge ports.
func (InterfaceBridgePortOutput) ElementType ¶
func (InterfaceBridgePortOutput) ElementType() reflect.Type
func (InterfaceBridgePortOutput) ExternalFdbStatus ¶
func (o InterfaceBridgePortOutput) ExternalFdbStatus() pulumi.BoolOutput
Whether registration table is used instead of forwarding data base.
func (InterfaceBridgePortOutput) FastLeave ¶
func (o InterfaceBridgePortOutput) FastLeave() pulumi.BoolPtrOutput
Enables IGMP Fast leave feature on the port.
func (InterfaceBridgePortOutput) Forwarding ¶
func (o InterfaceBridgePortOutput) Forwarding() pulumi.BoolOutput
Shows if the port is not blocked by (R/M)STP.
func (InterfaceBridgePortOutput) FrameTypes ¶
func (o InterfaceBridgePortOutput) FrameTypes() pulumi.StringPtrOutput
Specifies allowed ingress frame types on a bridge port. This property only has effect when vlan-filtering is set to yes.
func (InterfaceBridgePortOutput) Horizon ¶
func (o InterfaceBridgePortOutput) Horizon() pulumi.StringPtrOutput
Use split horizon bridging to prevent bridging loops. Set the same value for group of ports, to prevent them from sending data to ports with the same horizon value. Split horizon is a software feature that disables hardware offloading. This value is integer '0'..'429496729' or 'none'.
func (InterfaceBridgePortOutput) Hw ¶
func (o InterfaceBridgePortOutput) Hw() pulumi.BoolOutput
Enable or disable Hardware Offloading of the interface.
func (InterfaceBridgePortOutput) HwOffload ¶
func (o InterfaceBridgePortOutput) HwOffload() pulumi.BoolOutput
Hardware offloading state.
func (InterfaceBridgePortOutput) HwOffloadGroup ¶
func (o InterfaceBridgePortOutput) HwOffloadGroup() pulumi.StringOutput
Switch chip used by the port.
func (InterfaceBridgePortOutput) Inactive ¶
func (o InterfaceBridgePortOutput) Inactive() pulumi.BoolOutput
func (InterfaceBridgePortOutput) IngressFiltering ¶
func (o InterfaceBridgePortOutput) IngressFiltering() pulumi.BoolOutput
Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes.
func (InterfaceBridgePortOutput) Interface ¶
func (o InterfaceBridgePortOutput) Interface() pulumi.StringOutput
Name of the interface.
func (InterfaceBridgePortOutput) InternalPathCost ¶
func (o InterfaceBridgePortOutput) InternalPathCost() pulumi.IntPtrOutput
Path cost to the interface for MSTI0 inside a region. This property only has effect when protocol-mode is set to mstp.
func (InterfaceBridgePortOutput) Learn ¶
func (o InterfaceBridgePortOutput) Learn() pulumi.StringPtrOutput
Changes MAC learning behaviour on a bridge port
func (InterfaceBridgePortOutput) Learning ¶
func (o InterfaceBridgePortOutput) Learning() pulumi.BoolOutput
Shows whether the port is capable of learning MAC addresses.
func (InterfaceBridgePortOutput) MulticastRouter ¶
func (o InterfaceBridgePortOutput) MulticastRouter() pulumi.StringPtrOutput
Changes the state of a bridge port whether IGMP membership reports are going to be forwarded to this port.
func (InterfaceBridgePortOutput) Nextid ¶
func (o InterfaceBridgePortOutput) Nextid() pulumi.StringOutput
func (InterfaceBridgePortOutput) PathCost ¶
func (o InterfaceBridgePortOutput) PathCost() pulumi.StringPtrOutput
Path cost to the interface, used by STP to determine the "best" path, used by MSTP todetermine "best" path between regions. This property has no effect when protocol-mode is set to none.
func (InterfaceBridgePortOutput) PointToPoint ¶
func (o InterfaceBridgePortOutput) PointToPoint() pulumi.StringPtrOutput
Specifies if a bridge port is connected to a bridge using a point-to-point link for faster convergence in case of failure. This property has no effect when protocol-mode is set to none.
func (InterfaceBridgePortOutput) PointToPointPort ¶
func (o InterfaceBridgePortOutput) PointToPointPort() pulumi.BoolOutput
Whether the port is connected to a bridge port using full-duplex (true) or half-duplex (false).
func (InterfaceBridgePortOutput) PortNumber ¶
func (o InterfaceBridgePortOutput) PortNumber() pulumi.IntOutput
Port number will be assigned in the order that ports got added to the bridge, but this is only true until reboot. After reboot internal numbering will be used.
func (InterfaceBridgePortOutput) Priority ¶
func (o InterfaceBridgePortOutput) Priority() pulumi.StringPtrOutput
The priority of the interface, used by STP to determine the root port, used by MSTP to determine root port between regions.
func (InterfaceBridgePortOutput) Pvid ¶
func (o InterfaceBridgePortOutput) Pvid() pulumi.IntOutput
ort VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. This property only has effect when vlan-filtering is set to yes.
func (InterfaceBridgePortOutput) RestrictedRole ¶
func (o InterfaceBridgePortOutput) RestrictedRole() pulumi.BoolPtrOutput
Enable the restricted role on a port, used by STP to forbid a port becoming a root port. This property only has effect when protocol-mode is set to mstp.
func (InterfaceBridgePortOutput) RestrictedTcn ¶
func (o InterfaceBridgePortOutput) RestrictedTcn() pulumi.BoolPtrOutput
Disable topology change notification (TCN) sending on a port, used by STP to forbid network topology changes to propagate. This property only has effect when protocol-mode is set to mstp.
func (InterfaceBridgePortOutput) Role ¶
func (o InterfaceBridgePortOutput) Role() pulumi.StringOutput
(R/M)STP algorithm assigned role of the port
func (InterfaceBridgePortOutput) RootPathCost ¶
func (o InterfaceBridgePortOutput) RootPathCost() pulumi.IntOutput
The total cost of the path to the root-bridge.
func (InterfaceBridgePortOutput) SendingRstp ¶
func (o InterfaceBridgePortOutput) SendingRstp() pulumi.StringOutput
Whether the port is sending RSTP or MSTP BPDU types. A port will transit to STP type when RSTP/MSTP enabled port receives a STP BPDU
func (InterfaceBridgePortOutput) Status ¶
func (o InterfaceBridgePortOutput) Status() pulumi.StringOutput
Port status ('in-bridge' - port is enabled).
func (InterfaceBridgePortOutput) TagStacking ¶
func (o InterfaceBridgePortOutput) TagStacking() pulumi.BoolPtrOutput
Forces all packets to be treated as untagged packets. Packets on ingress port will be tagged with another VLAN tag regardless if a VLAN tag already exists, packets will be tagged with a VLAN ID that matches the pvid value and will use EtherType that is specified in ether-type. This property only has effect when vlan-filtering is set to yes.
func (InterfaceBridgePortOutput) ToInterfaceBridgePortOutput ¶
func (o InterfaceBridgePortOutput) ToInterfaceBridgePortOutput() InterfaceBridgePortOutput
func (InterfaceBridgePortOutput) ToInterfaceBridgePortOutputWithContext ¶
func (o InterfaceBridgePortOutput) ToInterfaceBridgePortOutputWithContext(ctx context.Context) InterfaceBridgePortOutput
func (InterfaceBridgePortOutput) Trusted ¶
func (o InterfaceBridgePortOutput) Trusted() pulumi.BoolPtrOutput
When enabled, it allows to forward DHCP packets towards DHCP server through this port. Mainly used to limit unauthorized servers to provide malicious information for users. This property only has effect when dhcp-snooping is set to yes.
func (InterfaceBridgePortOutput) UnknownMulticastFlood ¶
func (o InterfaceBridgePortOutput) UnknownMulticastFlood() pulumi.BoolPtrOutput
When enabled, bridge floods unknown multicast traffic to all bridge egress ports.
func (InterfaceBridgePortOutput) UnknownUnicastFlood ¶
func (o InterfaceBridgePortOutput) UnknownUnicastFlood() pulumi.BoolPtrOutput
When enabled, bridge floods unknown unicast traffic to all bridge egress ports.
type InterfaceBridgePortState ¶
type InterfaceBridgePortState struct { // When enabled, prevents a port moving from discarding into forwarding state if no BPDUs are received from the neighboring bridge. The port will change into a forwarding state only when a BPDU is received. This property only has an effect when protocol-mode is set to rstp or mstp and edge is set to no. AutoIsolate pulumi.BoolPtrInput // This property has no effect when protocol-mode is set to none. BpduGuard pulumi.BoolPtrInput Bridge pulumi.StringPtrInput // When enabled, bridge floods broadcast traffic to all bridge egress ports. When disabled, drops broadcast traffic on egress ports. BroadcastFlood pulumi.BoolPtrInput Comment pulumi.StringPtrInput DebugInfo pulumi.StringPtrInput // Root bridge ID (bridge priority and the bridge MAC address). DesignatedBridge pulumi.StringPtrInput // Designated cost. DesignatedCost pulumi.StringPtrInput // Designated port number. DesignatedPortNumber pulumi.IntPtrInput Disabled pulumi.BoolPtrInput // Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified. Dynamic pulumi.BoolPtrInput // Set port as edge port or non-edge port, or enable edge discovery. Edge ports are connected to a LAN that has no other bridges attached. Edge pulumi.StringPtrInput // Whether port is an edge port or not. EdgePort pulumi.BoolPtrInput // Whether port is set to automatically detect edge ports. EdgePortDiscovery pulumi.BoolPtrInput // Whether registration table is used instead of forwarding data base. ExternalFdbStatus pulumi.BoolPtrInput // Enables IGMP Fast leave feature on the port. FastLeave pulumi.BoolPtrInput // Shows if the port is not blocked by (R/M)STP. Forwarding pulumi.BoolPtrInput // Specifies allowed ingress frame types on a bridge port. This property only has effect when vlan-filtering is set to yes. FrameTypes pulumi.StringPtrInput // Use split horizon bridging to prevent bridging loops. Set the same value for group of ports, to prevent them from sending data to ports with the same horizon value. Split horizon is a software feature that disables hardware offloading. This value is integer '0'..'429496729' or 'none'. Horizon pulumi.StringPtrInput // Enable or disable Hardware Offloading of the interface. Hw pulumi.BoolPtrInput // Hardware offloading state. HwOffload pulumi.BoolPtrInput // Switch chip used by the port. HwOffloadGroup pulumi.StringPtrInput Inactive pulumi.BoolPtrInput // Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes. IngressFiltering pulumi.BoolPtrInput // Name of the interface. Interface pulumi.StringPtrInput // Path cost to the interface for MSTI0 inside a region. This property only has effect when protocol-mode is set to mstp. InternalPathCost pulumi.IntPtrInput // Changes MAC learning behaviour on a bridge port Learn pulumi.StringPtrInput // Shows whether the port is capable of learning MAC addresses. Learning pulumi.BoolPtrInput // Changes the state of a bridge port whether IGMP membership reports are going to be forwarded to this port. MulticastRouter pulumi.StringPtrInput Nextid pulumi.StringPtrInput // Path cost to the interface, used by STP to determine the "best" path, used by MSTP todetermine "best" path between regions. This property has no effect when protocol-mode is set to none. PathCost pulumi.StringPtrInput // Specifies if a bridge port is connected to a bridge using a point-to-point link for faster convergence in case of failure. This property has no effect when protocol-mode is set to none. PointToPoint pulumi.StringPtrInput // Whether the port is connected to a bridge port using full-duplex (true) or half-duplex (false). PointToPointPort pulumi.BoolPtrInput // Port number will be assigned in the order that ports got added to the bridge, but this is only true until reboot. After reboot internal numbering will be used. PortNumber pulumi.IntPtrInput // The priority of the interface, used by STP to determine the root port, used by MSTP to determine root port between regions. Priority pulumi.StringPtrInput // ort VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. This property only has effect when vlan-filtering is set to yes. Pvid pulumi.IntPtrInput // Enable the restricted role on a port, used by STP to forbid a port becoming a root port. This property only has effect when protocol-mode is set to mstp. RestrictedRole pulumi.BoolPtrInput // Disable topology change notification (TCN) sending on a port, used by STP to forbid network topology changes to propagate. This property only has effect when protocol-mode is set to mstp. RestrictedTcn pulumi.BoolPtrInput // (R/M)STP algorithm assigned role of the port Role pulumi.StringPtrInput // The total cost of the path to the root-bridge. RootPathCost pulumi.IntPtrInput // Whether the port is sending RSTP or MSTP BPDU types. A port will transit to STP type when RSTP/MSTP enabled port receives a STP BPDU SendingRstp pulumi.StringPtrInput // Port status ('in-bridge' - port is enabled). Status pulumi.StringPtrInput // Forces all packets to be treated as untagged packets. Packets on ingress port will be tagged with another VLAN tag regardless if a VLAN tag already exists, packets will be tagged with a VLAN ID that matches the pvid value and will use EtherType that is specified in ether-type. This property only has effect when vlan-filtering is set to yes. TagStacking pulumi.BoolPtrInput // When enabled, it allows to forward DHCP packets towards DHCP server through this port. Mainly used to limit unauthorized servers to provide malicious information for users. This property only has effect when dhcp-snooping is set to yes. Trusted pulumi.BoolPtrInput // When enabled, bridge floods unknown multicast traffic to all bridge egress ports. UnknownMulticastFlood pulumi.BoolPtrInput // When enabled, bridge floods unknown unicast traffic to all bridge egress ports. UnknownUnicastFlood pulumi.BoolPtrInput // contains filtered or unexported fields }
func (InterfaceBridgePortState) ElementType ¶
func (InterfaceBridgePortState) ElementType() reflect.Type
type InterfaceBridgeState ¶
type InterfaceBridgeState struct { ActualMtu pulumi.IntPtrInput // Whether to add DHCP Option-82 information (Agent Remote ID and Agent Circuit ID) to DHCP packets. Can be used together with Option-82 capable DHCP server to assign IP addresses and implement policies. This property only has effect when dhcp-snooping is set to yes. AddDhcpOption82 pulumi.BoolPtrInput // Static MAC address of the bridge. This property only has effect when auto-mac is set to no. AdminMac pulumi.StringPtrInput // How long a host's information will be kept in the bridge database. AgeingTime pulumi.StringPtrInput // ARP resolution protocol mode. Arp pulumi.StringPtrInput // ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. ArpTimeout pulumi.StringPtrInput // Automatically select one MAC address of bridge ports as a bridge MAC address, bridge MAC will be chosen from the first added bridge port. After a device reboot, the bridge MAC can change depending on the port-number. AutoMac pulumi.BoolPtrInput Comment pulumi.StringPtrInput DhcpSnooping pulumi.BoolPtrInput Disabled pulumi.BoolPtrInput // This property only has effect when vlan-filtering is set to yes. EtherType pulumi.StringPtrInput FastForward pulumi.BoolPtrInput // Time which is spent during the initialization phase of the bridge interface (i.e., after router startup or enabling the interface) in listening/learning state before the bridge will start functioning normally. ForwardDelay pulumi.StringPtrInput // Specifies allowed frame types on a bridge port. This property only has effect when vlan-filtering is set to yes. FrameTypes pulumi.StringPtrInput // Enables multicast group and port learning to prevent multicast traffic from flooding all interfaces in a bridge. IgmpSnooping pulumi.BoolPtrInput // Selects the IGMP version in which IGMP general membership queries will be generated. This property only has effect when igmp-snooping is set to yes. IgmpVersion pulumi.IntPtrInput // Enables or disables VLAN ingress filtering, which checks if the ingress port is a member of the received VLAN ID in the bridge VLAN table. Should be used with frame-types to specify if the ingress traffic should be tagged or untagged. This property only has effect when vlan-filtering is set to yes. IngressFiltering pulumi.BoolPtrInput // Layer2 Maximum transmission unit. L2mtu pulumi.IntPtrInput // If a port has fast-leave set to no and a bridge port receives a IGMP Leave message, then a IGMP Snooping enabled bridge will send a IGMP query to make sure that no devices has subscribed to a certain multicast stream on a bridge port. LastMemberInterval pulumi.StringPtrInput // How many times should last-member-interval pass until a IGMP Snooping bridge will stop forwarding a certain multicast stream. This property only has effect when igmp-snooping is set to yes. LastMemberQueryCount pulumi.IntPtrInput MacAddress pulumi.StringPtrInput // Bridge count which BPDU can pass in a MSTP enabled network in the same region before BPDU is being ignored. This property only has effect when protocol-mode is set to mstp. MaxHops pulumi.IntPtrInput // Changes the Max Age value in BPDU packets, which is transmitted by the root bridge. This property only has effect when protocol-mode is set to stp or rstp. Value: 6s..40s MaxMessageAge pulumi.StringPtrInput // Amount of time after an entry in the Multicast Database (MDB) is removed if a IGMP membership report is not received on a certain port. This property only has effect when igmp-snooping is set to yes. MembershipInterval pulumi.StringPtrInput // Selects the MLD version. Version 2 adds support for source-specific multicast. This property only has effect when RouterOS IPv6 package is enabled and igmp-snooping is set to yes. MldVersion pulumi.IntPtrInput // The default bridge MTU value without any bridge ports added is 1500. The MTU value can be set manually, but it cannot exceed the bridge L2MTU or the lowest bridge port L2MTU. If a new bridge port is added with L2MTU which is smaller than the actual-mtu of the bridge (set by the mtu property), then manually set value will be ignored and the bridge will act as if mtu=auto is set. Mtu pulumi.StringPtrInput // Multicast querier generates IGMP general membership queries to which all IGMP capable devices respond with an IGMP membership report, usually a PIM (multicast) router or IGMP proxy generates these queries. This property only has an effect when igmp-snooping is set to yes. Additionally, the igmp-snooping should be disabled/enabled after changing multicast-querier property. MulticastQuerier pulumi.BoolPtrInput // A multicast router port is a port where a multicast router or querier is connected. On this port, unregistered multicast streams and IGMP/MLD membership reports will be sent. This setting changes the state of the multicast router for a bridge interface itself. This property can be used to send IGMP/MLD membership reports and multicast traffic to the bridge interface for further multicast routing or proxying. This property only has an effect when igmp-snooping is set to yes. MulticastRouter pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput // Bridge priority, used by STP to determine root bridge, used by MSTP to determine CIST and IST regional root bridge. This property has no effect when protocol-mode is set to none. Priority pulumi.StringPtrInput // Select Spanning tree protocol (STP) or Rapid spanning tree protocol (RSTP) to ensure a loop-free topology for any bridged LAN. ProtocolMode pulumi.StringPtrInput // Port VLAN ID (pvid) specifies which VLAN the untagged ingress traffic is assigned to. It applies e.g. to frames sent from bridge IP and destined to a bridge port. This property only has effect when vlan-filtering is set to yes. Pvid pulumi.IntPtrInput // Used to change the interval how often a bridge checks if it is the active multicast querier. This property only has effect when igmp-snooping and multicast-querier is set to yes. QuerierInterval pulumi.StringPtrInput // Used to change the interval how often IGMP general membership queries are sent out. This property only has effect when igmp-snooping and multicast-querier is set to yes. QueryInterval pulumi.StringPtrInput // Interval in which a IGMP capable device must reply to a IGMP query with a IGMP membership report. This property only has effect when igmp-snooping and multicast-querier is set to yes. QueryResponseInterval pulumi.StringPtrInput // MSTP region name. This property only has effect when protocol-mode is set to mstp. RegionName pulumi.StringPtrInput // MSTP configuration revision number. This property only has effect when protocol-mode is set to mstp. RegionRevision pulumi.IntPtrInput Running pulumi.BoolPtrInput // Specifies how many times must startup-query-interval pass until the bridge starts sending out IGMP general membership queries periodically. This property only has effect when igmp-snooping and multicast-querier is set to yes. StartupQueryCount pulumi.IntPtrInput // Used to change the amount of time after a bridge starts sending out IGMP general membership queries after the bridge is enabled. This property only has effect when igmp-snooping and multicast-querier is set to yes. StartupQueryInterval pulumi.StringPtrInput // The Transmit Hold Count used by the Port Transmit state machine to limit transmission rate. TransmitHoldCount pulumi.IntPtrInput // Globally enables or disables VLAN functionality for bridge. VlanFiltering pulumi.BoolPtrInput // contains filtered or unexported fields }
func (InterfaceBridgeState) ElementType ¶
func (InterfaceBridgeState) ElementType() reflect.Type
type InterfaceBridgeVlan ¶
type InterfaceBridgeVlan struct { pulumi.CustomResourceState // The bridge interface which the respective VLAN entry is intended for. Bridge pulumi.StringOutput `pulumi:"bridge"` Comment pulumi.StringPtrOutput `pulumi:"comment"` CurrentTaggeds pulumi.StringArrayOutput `pulumi:"currentTaggeds"` CurrentUntaggeds pulumi.StringArrayOutput `pulumi:"currentUntaggeds"` 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"` // Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. tagged=ether1,ether2. Taggeds pulumi.StringArrayOutput `pulumi:"taggeds"` // Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. untagged=ether3,ether4 Untaggeds pulumi.StringArrayOutput `pulumi:"untaggeds"` // The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated values. E.g. vlan-ids=100-115,120,122,128-130. VlanIds pulumi.StringOutput `pulumi:"vlanIds"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/Iface" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Iface.NewInterfaceBridgeVlan(ctx, "bridgeVlan", &Iface.InterfaceBridgeVlanArgs{ Bridge: pulumi.String("bridge"), Taggeds: pulumi.StringArray{ pulumi.String("bridge"), pulumi.String("ether1"), }, Untaggeds: pulumi.StringArray{ pulumi.String("ether5"), }, VlanIds: pulumi.String("50"), }) 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 [/interface/bridge/vlan get [print show-ids]]
```sh
$ pulumi import routeros:Iface/interfaceBridgeVlan:InterfaceBridgeVlan bridge_vlan "*0"
```
func GetInterfaceBridgeVlan ¶
func GetInterfaceBridgeVlan(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InterfaceBridgeVlanState, opts ...pulumi.ResourceOption) (*InterfaceBridgeVlan, error)
GetInterfaceBridgeVlan gets an existing InterfaceBridgeVlan 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 NewInterfaceBridgeVlan ¶
func NewInterfaceBridgeVlan(ctx *pulumi.Context, name string, args *InterfaceBridgeVlanArgs, opts ...pulumi.ResourceOption) (*InterfaceBridgeVlan, error)
NewInterfaceBridgeVlan registers a new resource with the given unique name, arguments, and options.
func (*InterfaceBridgeVlan) ElementType ¶
func (*InterfaceBridgeVlan) ElementType() reflect.Type
func (*InterfaceBridgeVlan) ToInterfaceBridgeVlanOutput ¶
func (i *InterfaceBridgeVlan) ToInterfaceBridgeVlanOutput() InterfaceBridgeVlanOutput
func (*InterfaceBridgeVlan) ToInterfaceBridgeVlanOutputWithContext ¶
func (i *InterfaceBridgeVlan) ToInterfaceBridgeVlanOutputWithContext(ctx context.Context) InterfaceBridgeVlanOutput
type InterfaceBridgeVlanArgs ¶
type InterfaceBridgeVlanArgs struct { // The bridge interface which the respective VLAN entry is intended for. Bridge pulumi.StringInput Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. tagged=ether1,ether2. Taggeds pulumi.StringArrayInput // Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. untagged=ether3,ether4 Untaggeds pulumi.StringArrayInput // The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated values. E.g. vlan-ids=100-115,120,122,128-130. VlanIds pulumi.StringInput // contains filtered or unexported fields }
The set of arguments for constructing a InterfaceBridgeVlan resource.
func (InterfaceBridgeVlanArgs) ElementType ¶
func (InterfaceBridgeVlanArgs) ElementType() reflect.Type
type InterfaceBridgeVlanArray ¶
type InterfaceBridgeVlanArray []InterfaceBridgeVlanInput
func (InterfaceBridgeVlanArray) ElementType ¶
func (InterfaceBridgeVlanArray) ElementType() reflect.Type
func (InterfaceBridgeVlanArray) ToInterfaceBridgeVlanArrayOutput ¶
func (i InterfaceBridgeVlanArray) ToInterfaceBridgeVlanArrayOutput() InterfaceBridgeVlanArrayOutput
func (InterfaceBridgeVlanArray) ToInterfaceBridgeVlanArrayOutputWithContext ¶
func (i InterfaceBridgeVlanArray) ToInterfaceBridgeVlanArrayOutputWithContext(ctx context.Context) InterfaceBridgeVlanArrayOutput
type InterfaceBridgeVlanArrayInput ¶
type InterfaceBridgeVlanArrayInput interface { pulumi.Input ToInterfaceBridgeVlanArrayOutput() InterfaceBridgeVlanArrayOutput ToInterfaceBridgeVlanArrayOutputWithContext(context.Context) InterfaceBridgeVlanArrayOutput }
InterfaceBridgeVlanArrayInput is an input type that accepts InterfaceBridgeVlanArray and InterfaceBridgeVlanArrayOutput values. You can construct a concrete instance of `InterfaceBridgeVlanArrayInput` via:
InterfaceBridgeVlanArray{ InterfaceBridgeVlanArgs{...} }
type InterfaceBridgeVlanArrayOutput ¶
type InterfaceBridgeVlanArrayOutput struct{ *pulumi.OutputState }
func (InterfaceBridgeVlanArrayOutput) ElementType ¶
func (InterfaceBridgeVlanArrayOutput) ElementType() reflect.Type
func (InterfaceBridgeVlanArrayOutput) Index ¶
func (o InterfaceBridgeVlanArrayOutput) Index(i pulumi.IntInput) InterfaceBridgeVlanOutput
func (InterfaceBridgeVlanArrayOutput) ToInterfaceBridgeVlanArrayOutput ¶
func (o InterfaceBridgeVlanArrayOutput) ToInterfaceBridgeVlanArrayOutput() InterfaceBridgeVlanArrayOutput
func (InterfaceBridgeVlanArrayOutput) ToInterfaceBridgeVlanArrayOutputWithContext ¶
func (o InterfaceBridgeVlanArrayOutput) ToInterfaceBridgeVlanArrayOutputWithContext(ctx context.Context) InterfaceBridgeVlanArrayOutput
type InterfaceBridgeVlanInput ¶
type InterfaceBridgeVlanInput interface { pulumi.Input ToInterfaceBridgeVlanOutput() InterfaceBridgeVlanOutput ToInterfaceBridgeVlanOutputWithContext(ctx context.Context) InterfaceBridgeVlanOutput }
type InterfaceBridgeVlanMap ¶
type InterfaceBridgeVlanMap map[string]InterfaceBridgeVlanInput
func (InterfaceBridgeVlanMap) ElementType ¶
func (InterfaceBridgeVlanMap) ElementType() reflect.Type
func (InterfaceBridgeVlanMap) ToInterfaceBridgeVlanMapOutput ¶
func (i InterfaceBridgeVlanMap) ToInterfaceBridgeVlanMapOutput() InterfaceBridgeVlanMapOutput
func (InterfaceBridgeVlanMap) ToInterfaceBridgeVlanMapOutputWithContext ¶
func (i InterfaceBridgeVlanMap) ToInterfaceBridgeVlanMapOutputWithContext(ctx context.Context) InterfaceBridgeVlanMapOutput
type InterfaceBridgeVlanMapInput ¶
type InterfaceBridgeVlanMapInput interface { pulumi.Input ToInterfaceBridgeVlanMapOutput() InterfaceBridgeVlanMapOutput ToInterfaceBridgeVlanMapOutputWithContext(context.Context) InterfaceBridgeVlanMapOutput }
InterfaceBridgeVlanMapInput is an input type that accepts InterfaceBridgeVlanMap and InterfaceBridgeVlanMapOutput values. You can construct a concrete instance of `InterfaceBridgeVlanMapInput` via:
InterfaceBridgeVlanMap{ "key": InterfaceBridgeVlanArgs{...} }
type InterfaceBridgeVlanMapOutput ¶
type InterfaceBridgeVlanMapOutput struct{ *pulumi.OutputState }
func (InterfaceBridgeVlanMapOutput) ElementType ¶
func (InterfaceBridgeVlanMapOutput) ElementType() reflect.Type
func (InterfaceBridgeVlanMapOutput) MapIndex ¶
func (o InterfaceBridgeVlanMapOutput) MapIndex(k pulumi.StringInput) InterfaceBridgeVlanOutput
func (InterfaceBridgeVlanMapOutput) ToInterfaceBridgeVlanMapOutput ¶
func (o InterfaceBridgeVlanMapOutput) ToInterfaceBridgeVlanMapOutput() InterfaceBridgeVlanMapOutput
func (InterfaceBridgeVlanMapOutput) ToInterfaceBridgeVlanMapOutputWithContext ¶
func (o InterfaceBridgeVlanMapOutput) ToInterfaceBridgeVlanMapOutputWithContext(ctx context.Context) InterfaceBridgeVlanMapOutput
type InterfaceBridgeVlanOutput ¶
type InterfaceBridgeVlanOutput struct{ *pulumi.OutputState }
func (InterfaceBridgeVlanOutput) Bridge ¶
func (o InterfaceBridgeVlanOutput) Bridge() pulumi.StringOutput
The bridge interface which the respective VLAN entry is intended for.
func (InterfaceBridgeVlanOutput) Comment ¶
func (o InterfaceBridgeVlanOutput) Comment() pulumi.StringPtrOutput
func (InterfaceBridgeVlanOutput) CurrentTaggeds ¶
func (o InterfaceBridgeVlanOutput) CurrentTaggeds() pulumi.StringArrayOutput
func (InterfaceBridgeVlanOutput) CurrentUntaggeds ¶
func (o InterfaceBridgeVlanOutput) CurrentUntaggeds() pulumi.StringArrayOutput
func (InterfaceBridgeVlanOutput) Disabled ¶
func (o InterfaceBridgeVlanOutput) Disabled() pulumi.BoolPtrOutput
func (InterfaceBridgeVlanOutput) Dynamic ¶
func (o InterfaceBridgeVlanOutput) Dynamic() pulumi.BoolOutput
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
func (InterfaceBridgeVlanOutput) ElementType ¶
func (InterfaceBridgeVlanOutput) ElementType() reflect.Type
func (InterfaceBridgeVlanOutput) Taggeds ¶
func (o InterfaceBridgeVlanOutput) Taggeds() pulumi.StringArrayOutput
Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. tagged=ether1,ether2.
func (InterfaceBridgeVlanOutput) ToInterfaceBridgeVlanOutput ¶
func (o InterfaceBridgeVlanOutput) ToInterfaceBridgeVlanOutput() InterfaceBridgeVlanOutput
func (InterfaceBridgeVlanOutput) ToInterfaceBridgeVlanOutputWithContext ¶
func (o InterfaceBridgeVlanOutput) ToInterfaceBridgeVlanOutputWithContext(ctx context.Context) InterfaceBridgeVlanOutput
func (InterfaceBridgeVlanOutput) Untaggeds ¶
func (o InterfaceBridgeVlanOutput) Untaggeds() pulumi.StringArrayOutput
Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. untagged=ether3,ether4
func (InterfaceBridgeVlanOutput) VlanIds ¶
func (o InterfaceBridgeVlanOutput) VlanIds() pulumi.StringOutput
The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated values. E.g. vlan-ids=100-115,120,122,128-130.
type InterfaceBridgeVlanState ¶
type InterfaceBridgeVlanState struct { // The bridge interface which the respective VLAN entry is intended for. Bridge pulumi.StringPtrInput Comment pulumi.StringPtrInput CurrentTaggeds pulumi.StringArrayInput CurrentUntaggeds pulumi.StringArrayInput Disabled pulumi.BoolPtrInput // Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified. Dynamic pulumi.BoolPtrInput // Interface list with a VLAN tag adding action in egress. This setting accepts comma separated values. E.g. tagged=ether1,ether2. Taggeds pulumi.StringArrayInput // Interface list with a VLAN tag removing action in egress. This setting accepts comma separated values. E.g. untagged=ether3,ether4 Untaggeds pulumi.StringArrayInput // The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range as well as comma separated values. E.g. vlan-ids=100-115,120,122,128-130. VlanIds pulumi.StringPtrInput // contains filtered or unexported fields }
func (InterfaceBridgeVlanState) ElementType ¶
func (InterfaceBridgeVlanState) ElementType() reflect.Type
type InterfaceGre ¶
type InterfaceGre struct { pulumi.CustomResourceState ActualMtu pulumi.IntOutput `pulumi:"actualMtu"` // Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used. AllowFastPath pulumi.BoolPtrOutput `pulumi:"allowFastPath"` // Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed. ClampTcpMss pulumi.BoolPtrOutput `pulumi:"clampTcpMss"` Comment pulumi.StringPtrOutput `pulumi:"comment"` Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` DontFragment pulumi.StringPtrOutput `pulumi:"dontFragment"` // Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic. Dscp pulumi.StringPtrOutput `pulumi:"dscp"` // When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc). IpsecSecret pulumi.StringPtrOutput `pulumi:"ipsecSecret"` // Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295 Keepalive pulumi.StringPtrOutput `pulumi:"keepalive"` // Layer2 Maximum transmission unit. L2mtu pulumi.IntOutput `pulumi:"l2mtu"` LocalAddress pulumi.StringPtrOutput `pulumi:"localAddress"` // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringOutput `pulumi:"mtu"` // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringOutput `pulumi:"name"` RemoteAddress pulumi.StringOutput `pulumi:"remoteAddress"` Running pulumi.BoolOutput `pulumi:"running"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/Iface" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Iface.NewInterfaceGre(ctx, "greHq", &Iface.InterfaceGreArgs{ Disabled: pulumi.Bool(true), RemoteAddress: pulumi.String("10.77.3.26"), }) if err != nil { return err } return nil }) }
```
## Import
Import with the name of the gre interface in case of the example use gre-hq-1 ¶
```sh
$ pulumi import routeros:Iface/interfaceGre:InterfaceGre gre_hq gre-hq-1
```
func GetInterfaceGre ¶
func GetInterfaceGre(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InterfaceGreState, opts ...pulumi.ResourceOption) (*InterfaceGre, error)
GetInterfaceGre gets an existing InterfaceGre 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 NewInterfaceGre ¶
func NewInterfaceGre(ctx *pulumi.Context, name string, args *InterfaceGreArgs, opts ...pulumi.ResourceOption) (*InterfaceGre, error)
NewInterfaceGre registers a new resource with the given unique name, arguments, and options.
func (*InterfaceGre) ElementType ¶
func (*InterfaceGre) ElementType() reflect.Type
func (*InterfaceGre) ToInterfaceGreOutput ¶
func (i *InterfaceGre) ToInterfaceGreOutput() InterfaceGreOutput
func (*InterfaceGre) ToInterfaceGreOutputWithContext ¶
func (i *InterfaceGre) ToInterfaceGreOutputWithContext(ctx context.Context) InterfaceGreOutput
type InterfaceGreArgs ¶
type InterfaceGreArgs struct { // Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used. AllowFastPath pulumi.BoolPtrInput // Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed. ClampTcpMss pulumi.BoolPtrInput Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput DontFragment pulumi.StringPtrInput // Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic. Dscp pulumi.StringPtrInput // When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc). IpsecSecret pulumi.StringPtrInput // Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295 Keepalive pulumi.StringPtrInput LocalAddress pulumi.StringPtrInput // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput RemoteAddress pulumi.StringInput // contains filtered or unexported fields }
The set of arguments for constructing a InterfaceGre resource.
func (InterfaceGreArgs) ElementType ¶
func (InterfaceGreArgs) ElementType() reflect.Type
type InterfaceGreArray ¶
type InterfaceGreArray []InterfaceGreInput
func (InterfaceGreArray) ElementType ¶
func (InterfaceGreArray) ElementType() reflect.Type
func (InterfaceGreArray) ToInterfaceGreArrayOutput ¶
func (i InterfaceGreArray) ToInterfaceGreArrayOutput() InterfaceGreArrayOutput
func (InterfaceGreArray) ToInterfaceGreArrayOutputWithContext ¶
func (i InterfaceGreArray) ToInterfaceGreArrayOutputWithContext(ctx context.Context) InterfaceGreArrayOutput
type InterfaceGreArrayInput ¶
type InterfaceGreArrayInput interface { pulumi.Input ToInterfaceGreArrayOutput() InterfaceGreArrayOutput ToInterfaceGreArrayOutputWithContext(context.Context) InterfaceGreArrayOutput }
InterfaceGreArrayInput is an input type that accepts InterfaceGreArray and InterfaceGreArrayOutput values. You can construct a concrete instance of `InterfaceGreArrayInput` via:
InterfaceGreArray{ InterfaceGreArgs{...} }
type InterfaceGreArrayOutput ¶
type InterfaceGreArrayOutput struct{ *pulumi.OutputState }
func (InterfaceGreArrayOutput) ElementType ¶
func (InterfaceGreArrayOutput) ElementType() reflect.Type
func (InterfaceGreArrayOutput) Index ¶
func (o InterfaceGreArrayOutput) Index(i pulumi.IntInput) InterfaceGreOutput
func (InterfaceGreArrayOutput) ToInterfaceGreArrayOutput ¶
func (o InterfaceGreArrayOutput) ToInterfaceGreArrayOutput() InterfaceGreArrayOutput
func (InterfaceGreArrayOutput) ToInterfaceGreArrayOutputWithContext ¶
func (o InterfaceGreArrayOutput) ToInterfaceGreArrayOutputWithContext(ctx context.Context) InterfaceGreArrayOutput
type InterfaceGreInput ¶
type InterfaceGreInput interface { pulumi.Input ToInterfaceGreOutput() InterfaceGreOutput ToInterfaceGreOutputWithContext(ctx context.Context) InterfaceGreOutput }
type InterfaceGreMap ¶
type InterfaceGreMap map[string]InterfaceGreInput
func (InterfaceGreMap) ElementType ¶
func (InterfaceGreMap) ElementType() reflect.Type
func (InterfaceGreMap) ToInterfaceGreMapOutput ¶
func (i InterfaceGreMap) ToInterfaceGreMapOutput() InterfaceGreMapOutput
func (InterfaceGreMap) ToInterfaceGreMapOutputWithContext ¶
func (i InterfaceGreMap) ToInterfaceGreMapOutputWithContext(ctx context.Context) InterfaceGreMapOutput
type InterfaceGreMapInput ¶
type InterfaceGreMapInput interface { pulumi.Input ToInterfaceGreMapOutput() InterfaceGreMapOutput ToInterfaceGreMapOutputWithContext(context.Context) InterfaceGreMapOutput }
InterfaceGreMapInput is an input type that accepts InterfaceGreMap and InterfaceGreMapOutput values. You can construct a concrete instance of `InterfaceGreMapInput` via:
InterfaceGreMap{ "key": InterfaceGreArgs{...} }
type InterfaceGreMapOutput ¶
type InterfaceGreMapOutput struct{ *pulumi.OutputState }
func (InterfaceGreMapOutput) ElementType ¶
func (InterfaceGreMapOutput) ElementType() reflect.Type
func (InterfaceGreMapOutput) MapIndex ¶
func (o InterfaceGreMapOutput) MapIndex(k pulumi.StringInput) InterfaceGreOutput
func (InterfaceGreMapOutput) ToInterfaceGreMapOutput ¶
func (o InterfaceGreMapOutput) ToInterfaceGreMapOutput() InterfaceGreMapOutput
func (InterfaceGreMapOutput) ToInterfaceGreMapOutputWithContext ¶
func (o InterfaceGreMapOutput) ToInterfaceGreMapOutputWithContext(ctx context.Context) InterfaceGreMapOutput
type InterfaceGreOutput ¶
type InterfaceGreOutput struct{ *pulumi.OutputState }
func (InterfaceGreOutput) ActualMtu ¶
func (o InterfaceGreOutput) ActualMtu() pulumi.IntOutput
func (InterfaceGreOutput) AllowFastPath ¶
func (o InterfaceGreOutput) AllowFastPath() pulumi.BoolPtrOutput
Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used.
func (InterfaceGreOutput) ClampTcpMss ¶
func (o InterfaceGreOutput) ClampTcpMss() pulumi.BoolPtrOutput
Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed.
func (InterfaceGreOutput) Comment ¶
func (o InterfaceGreOutput) Comment() pulumi.StringPtrOutput
func (InterfaceGreOutput) Disabled ¶
func (o InterfaceGreOutput) Disabled() pulumi.BoolPtrOutput
func (InterfaceGreOutput) DontFragment ¶
func (o InterfaceGreOutput) DontFragment() pulumi.StringPtrOutput
func (InterfaceGreOutput) Dscp ¶
func (o InterfaceGreOutput) Dscp() pulumi.StringPtrOutput
Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic.
func (InterfaceGreOutput) ElementType ¶
func (InterfaceGreOutput) ElementType() reflect.Type
func (InterfaceGreOutput) IpsecSecret ¶
func (o InterfaceGreOutput) IpsecSecret() pulumi.StringPtrOutput
When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc).
func (InterfaceGreOutput) Keepalive ¶
func (o InterfaceGreOutput) Keepalive() pulumi.StringPtrOutput
Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295
func (InterfaceGreOutput) L2mtu ¶
func (o InterfaceGreOutput) L2mtu() pulumi.IntOutput
Layer2 Maximum transmission unit.
func (InterfaceGreOutput) LocalAddress ¶
func (o InterfaceGreOutput) LocalAddress() pulumi.StringPtrOutput
func (InterfaceGreOutput) Mtu ¶
func (o InterfaceGreOutput) Mtu() pulumi.StringOutput
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
func (InterfaceGreOutput) Name ¶
func (o InterfaceGreOutput) Name() pulumi.StringOutput
Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control integrity for that resource!
func (InterfaceGreOutput) RemoteAddress ¶
func (o InterfaceGreOutput) RemoteAddress() pulumi.StringOutput
func (InterfaceGreOutput) Running ¶
func (o InterfaceGreOutput) Running() pulumi.BoolOutput
func (InterfaceGreOutput) ToInterfaceGreOutput ¶
func (o InterfaceGreOutput) ToInterfaceGreOutput() InterfaceGreOutput
func (InterfaceGreOutput) ToInterfaceGreOutputWithContext ¶
func (o InterfaceGreOutput) ToInterfaceGreOutputWithContext(ctx context.Context) InterfaceGreOutput
type InterfaceGreState ¶
type InterfaceGreState struct { ActualMtu pulumi.IntPtrInput // Whether to allow FastPath processing. Must be disabled if IPsec tunneling is used. AllowFastPath pulumi.BoolPtrInput // Controls whether to change MSS size for received TCP SYN packets. When enabled, a router will change the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet will still contain the original MSS, and only after decapsulation the MSS is changed. ClampTcpMss pulumi.BoolPtrInput Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput DontFragment pulumi.StringPtrInput // Set dscp value in GRE header to a fixed value '0..63' or 'inherit' from dscp value taken from tunnelled traffic. Dscp pulumi.StringPtrInput // When secret is specified, router adds dynamic IPsec peer to remote-address with pre-shared key and policy (by default phase2 uses sha1/aes128cbc). IpsecSecret pulumi.StringPtrInput // Tunnel keepalive parameter sets the time interval in which the tunnel running flag will remain even if the remote end of tunnel goes down. If configured time,retries fail, interface running flag is removed. Parameters are written in following format: KeepaliveInterval,KeepaliveRetries where KeepaliveInterval is time interval and KeepaliveRetries - number of retry attempts. KeepaliveInterval is integer 0..4294967295 Keepalive pulumi.StringPtrInput // Layer2 Maximum transmission unit. L2mtu pulumi.IntPtrInput LocalAddress pulumi.StringPtrInput // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput RemoteAddress pulumi.StringPtrInput Running pulumi.BoolPtrInput // contains filtered or unexported fields }
func (InterfaceGreState) ElementType ¶
func (InterfaceGreState) ElementType() reflect.Type
type InterfaceVlan ¶
type InterfaceVlan struct { pulumi.CustomResourceState // ARP resolution protocol mode. Arp pulumi.StringPtrOutput `pulumi:"arp"` // ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. ArpTimeout pulumi.StringPtrOutput `pulumi:"arpTimeout"` Comment pulumi.StringPtrOutput `pulumi:"comment"` Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // Name of the interface. Interface pulumi.StringOutput `pulumi:"interface"` // Layer2 Maximum transmission unit. L2mtu pulumi.IntOutput `pulumi:"l2mtu"` LoopProtect pulumi.StringPtrOutput `pulumi:"loopProtect"` LoopProtectDisableTime pulumi.StringPtrOutput `pulumi:"loopProtectDisableTime"` LoopProtectSendInterval pulumi.StringPtrOutput `pulumi:"loopProtectSendInterval"` LoopProtectStatus pulumi.StringOutput `pulumi:"loopProtectStatus"` MacAddress pulumi.StringOutput `pulumi:"macAddress"` // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringOutput `pulumi:"mtu"` // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringOutput `pulumi:"name"` Running pulumi.BoolOutput `pulumi:"running"` UseServiceTag pulumi.BoolPtrOutput `pulumi:"useServiceTag"` VlanId pulumi.IntOutput `pulumi:"vlanId"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/Iface" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Iface.NewInterfaceVlan(ctx, "interfaceVlan", &Iface.InterfaceVlanArgs{ Interface: pulumi.String("bridge"), VlanId: pulumi.Int(50), }) if err != nil { return err } return nil }) }
```
## Import
Import with the name of the vlan interface in case of the example use VLAN_TEST
```sh
$ pulumi import routeros:Iface/interfaceVlan:InterfaceVlan interface_vlan VLAN_TEST
```
func GetInterfaceVlan ¶
func GetInterfaceVlan(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InterfaceVlanState, opts ...pulumi.ResourceOption) (*InterfaceVlan, error)
GetInterfaceVlan gets an existing InterfaceVlan 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 NewInterfaceVlan ¶
func NewInterfaceVlan(ctx *pulumi.Context, name string, args *InterfaceVlanArgs, opts ...pulumi.ResourceOption) (*InterfaceVlan, error)
NewInterfaceVlan registers a new resource with the given unique name, arguments, and options.
func (*InterfaceVlan) ElementType ¶
func (*InterfaceVlan) ElementType() reflect.Type
func (*InterfaceVlan) ToInterfaceVlanOutput ¶
func (i *InterfaceVlan) ToInterfaceVlanOutput() InterfaceVlanOutput
func (*InterfaceVlan) ToInterfaceVlanOutputWithContext ¶
func (i *InterfaceVlan) ToInterfaceVlanOutputWithContext(ctx context.Context) InterfaceVlanOutput
type InterfaceVlanArgs ¶
type InterfaceVlanArgs struct { // ARP resolution protocol mode. Arp pulumi.StringPtrInput // ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. ArpTimeout pulumi.StringPtrInput Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Name of the interface. Interface pulumi.StringInput LoopProtect pulumi.StringPtrInput LoopProtectDisableTime pulumi.StringPtrInput LoopProtectSendInterval pulumi.StringPtrInput // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput UseServiceTag pulumi.BoolPtrInput VlanId pulumi.IntInput // contains filtered or unexported fields }
The set of arguments for constructing a InterfaceVlan resource.
func (InterfaceVlanArgs) ElementType ¶
func (InterfaceVlanArgs) ElementType() reflect.Type
type InterfaceVlanArray ¶
type InterfaceVlanArray []InterfaceVlanInput
func (InterfaceVlanArray) ElementType ¶
func (InterfaceVlanArray) ElementType() reflect.Type
func (InterfaceVlanArray) ToInterfaceVlanArrayOutput ¶
func (i InterfaceVlanArray) ToInterfaceVlanArrayOutput() InterfaceVlanArrayOutput
func (InterfaceVlanArray) ToInterfaceVlanArrayOutputWithContext ¶
func (i InterfaceVlanArray) ToInterfaceVlanArrayOutputWithContext(ctx context.Context) InterfaceVlanArrayOutput
type InterfaceVlanArrayInput ¶
type InterfaceVlanArrayInput interface { pulumi.Input ToInterfaceVlanArrayOutput() InterfaceVlanArrayOutput ToInterfaceVlanArrayOutputWithContext(context.Context) InterfaceVlanArrayOutput }
InterfaceVlanArrayInput is an input type that accepts InterfaceVlanArray and InterfaceVlanArrayOutput values. You can construct a concrete instance of `InterfaceVlanArrayInput` via:
InterfaceVlanArray{ InterfaceVlanArgs{...} }
type InterfaceVlanArrayOutput ¶
type InterfaceVlanArrayOutput struct{ *pulumi.OutputState }
func (InterfaceVlanArrayOutput) ElementType ¶
func (InterfaceVlanArrayOutput) ElementType() reflect.Type
func (InterfaceVlanArrayOutput) Index ¶
func (o InterfaceVlanArrayOutput) Index(i pulumi.IntInput) InterfaceVlanOutput
func (InterfaceVlanArrayOutput) ToInterfaceVlanArrayOutput ¶
func (o InterfaceVlanArrayOutput) ToInterfaceVlanArrayOutput() InterfaceVlanArrayOutput
func (InterfaceVlanArrayOutput) ToInterfaceVlanArrayOutputWithContext ¶
func (o InterfaceVlanArrayOutput) ToInterfaceVlanArrayOutputWithContext(ctx context.Context) InterfaceVlanArrayOutput
type InterfaceVlanInput ¶
type InterfaceVlanInput interface { pulumi.Input ToInterfaceVlanOutput() InterfaceVlanOutput ToInterfaceVlanOutputWithContext(ctx context.Context) InterfaceVlanOutput }
type InterfaceVlanMap ¶
type InterfaceVlanMap map[string]InterfaceVlanInput
func (InterfaceVlanMap) ElementType ¶
func (InterfaceVlanMap) ElementType() reflect.Type
func (InterfaceVlanMap) ToInterfaceVlanMapOutput ¶
func (i InterfaceVlanMap) ToInterfaceVlanMapOutput() InterfaceVlanMapOutput
func (InterfaceVlanMap) ToInterfaceVlanMapOutputWithContext ¶
func (i InterfaceVlanMap) ToInterfaceVlanMapOutputWithContext(ctx context.Context) InterfaceVlanMapOutput
type InterfaceVlanMapInput ¶
type InterfaceVlanMapInput interface { pulumi.Input ToInterfaceVlanMapOutput() InterfaceVlanMapOutput ToInterfaceVlanMapOutputWithContext(context.Context) InterfaceVlanMapOutput }
InterfaceVlanMapInput is an input type that accepts InterfaceVlanMap and InterfaceVlanMapOutput values. You can construct a concrete instance of `InterfaceVlanMapInput` via:
InterfaceVlanMap{ "key": InterfaceVlanArgs{...} }
type InterfaceVlanMapOutput ¶
type InterfaceVlanMapOutput struct{ *pulumi.OutputState }
func (InterfaceVlanMapOutput) ElementType ¶
func (InterfaceVlanMapOutput) ElementType() reflect.Type
func (InterfaceVlanMapOutput) MapIndex ¶
func (o InterfaceVlanMapOutput) MapIndex(k pulumi.StringInput) InterfaceVlanOutput
func (InterfaceVlanMapOutput) ToInterfaceVlanMapOutput ¶
func (o InterfaceVlanMapOutput) ToInterfaceVlanMapOutput() InterfaceVlanMapOutput
func (InterfaceVlanMapOutput) ToInterfaceVlanMapOutputWithContext ¶
func (o InterfaceVlanMapOutput) ToInterfaceVlanMapOutputWithContext(ctx context.Context) InterfaceVlanMapOutput
type InterfaceVlanOutput ¶
type InterfaceVlanOutput struct{ *pulumi.OutputState }
func (InterfaceVlanOutput) Arp ¶
func (o InterfaceVlanOutput) Arp() pulumi.StringPtrOutput
ARP resolution protocol mode.
func (InterfaceVlanOutput) ArpTimeout ¶
func (o InterfaceVlanOutput) ArpTimeout() pulumi.StringPtrOutput
ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
func (InterfaceVlanOutput) Comment ¶
func (o InterfaceVlanOutput) Comment() pulumi.StringPtrOutput
func (InterfaceVlanOutput) Disabled ¶
func (o InterfaceVlanOutput) Disabled() pulumi.BoolPtrOutput
func (InterfaceVlanOutput) ElementType ¶
func (InterfaceVlanOutput) ElementType() reflect.Type
func (InterfaceVlanOutput) Interface ¶
func (o InterfaceVlanOutput) Interface() pulumi.StringOutput
Name of the interface.
func (InterfaceVlanOutput) L2mtu ¶
func (o InterfaceVlanOutput) L2mtu() pulumi.IntOutput
Layer2 Maximum transmission unit.
func (InterfaceVlanOutput) LoopProtect ¶
func (o InterfaceVlanOutput) LoopProtect() pulumi.StringPtrOutput
func (InterfaceVlanOutput) LoopProtectDisableTime ¶
func (o InterfaceVlanOutput) LoopProtectDisableTime() pulumi.StringPtrOutput
func (InterfaceVlanOutput) LoopProtectSendInterval ¶
func (o InterfaceVlanOutput) LoopProtectSendInterval() pulumi.StringPtrOutput
func (InterfaceVlanOutput) LoopProtectStatus ¶
func (o InterfaceVlanOutput) LoopProtectStatus() pulumi.StringOutput
func (InterfaceVlanOutput) MacAddress ¶
func (o InterfaceVlanOutput) MacAddress() pulumi.StringOutput
func (InterfaceVlanOutput) Mtu ¶
func (o InterfaceVlanOutput) Mtu() pulumi.StringOutput
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
func (InterfaceVlanOutput) Name ¶
func (o InterfaceVlanOutput) Name() pulumi.StringOutput
Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control integrity for that resource!
func (InterfaceVlanOutput) Running ¶
func (o InterfaceVlanOutput) Running() pulumi.BoolOutput
func (InterfaceVlanOutput) ToInterfaceVlanOutput ¶
func (o InterfaceVlanOutput) ToInterfaceVlanOutput() InterfaceVlanOutput
func (InterfaceVlanOutput) ToInterfaceVlanOutputWithContext ¶
func (o InterfaceVlanOutput) ToInterfaceVlanOutputWithContext(ctx context.Context) InterfaceVlanOutput
func (InterfaceVlanOutput) UseServiceTag ¶
func (o InterfaceVlanOutput) UseServiceTag() pulumi.BoolPtrOutput
func (InterfaceVlanOutput) VlanId ¶
func (o InterfaceVlanOutput) VlanId() pulumi.IntOutput
type InterfaceVlanState ¶
type InterfaceVlanState struct { // ARP resolution protocol mode. Arp pulumi.StringPtrInput // ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. ArpTimeout pulumi.StringPtrInput Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Name of the interface. Interface pulumi.StringPtrInput // Layer2 Maximum transmission unit. L2mtu pulumi.IntPtrInput LoopProtect pulumi.StringPtrInput LoopProtectDisableTime pulumi.StringPtrInput LoopProtectSendInterval pulumi.StringPtrInput LoopProtectStatus pulumi.StringPtrInput MacAddress pulumi.StringPtrInput // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput Running pulumi.BoolPtrInput UseServiceTag pulumi.BoolPtrInput VlanId pulumi.IntPtrInput // contains filtered or unexported fields }
func (InterfaceVlanState) ElementType ¶
func (InterfaceVlanState) ElementType() reflect.Type
type InterfaceVrrp ¶
type InterfaceVrrp struct { pulumi.CustomResourceState // ARP resolution protocol mode. Arp pulumi.StringPtrOutput `pulumi:"arp"` // ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. ArpTimeout pulumi.StringPtrOutput `pulumi:"arpTimeout"` // Authentication method to use for VRRP advertisement packets. Authentication pulumi.StringPtrOutput `pulumi:"authentication"` Comment pulumi.StringPtrOutput `pulumi:"comment"` Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. GroupMaster pulumi.StringOutput `pulumi:"groupMaster"` // Name of the interface. Interface pulumi.StringOutput `pulumi:"interface"` // VRRP update interval in seconds. Defines how often master sends advertisement packets. Interval pulumi.StringPtrOutput `pulumi:"interval"` Invalid pulumi.BoolOutput `pulumi:"invalid"` MacAddress pulumi.StringOutput `pulumi:"macAddress"` // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringOutput `pulumi:"mtu"` // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringOutput `pulumi:"name"` // Script to execute when the node is switched to the backup state. OnBackup pulumi.StringPtrOutput `pulumi:"onBackup"` // Script to execute when the node fails. OnFail pulumi.StringPtrOutput `pulumi:"onFail"` // Script to execute when the node is switched to master state. OnMaster pulumi.StringPtrOutput `pulumi:"onMaster"` // Password required for authentication. Can be ignored if authentication is not used. Password pulumi.StringPtrOutput `pulumi:"password"` // Whether the master node always has the priority. When set to 'no' the backup node will not be elected to be a master until the current master fails, even if the backup node has higher priority than the current master. This setting is ignored if the owner router becomes available PreemptionMode pulumi.BoolPtrOutput `pulumi:"preemptionMode"` // Priority of VRRP node used in Master election algorithm. A higher number means higher priority. '255' is reserved for the router that owns VR IP and '0' is reserved for the Master router to indicate that it is releasing responsibility. Priority pulumi.IntPtrOutput `pulumi:"priority"` // Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system autodetects the remote address via VRRP. The remote address is used only if sync-connection-tracking=yes.Sync connection tracking uses UDP port 8275. RemoteAddress pulumi.StringPtrOutput `pulumi:"remoteAddress"` Running pulumi.BoolOutput `pulumi:"running"` // Synchronize connection tracking entries from Master to Backup device. SyncConnectionTracking pulumi.BoolPtrOutput `pulumi:"syncConnectionTracking"` // A protocol that will be used by VRRPv3. Valid only if the version is 3. V3Protocol pulumi.StringPtrOutput `pulumi:"v3Protocol"` // Which VRRP version to use. Version pulumi.IntPtrOutput `pulumi:"version"` // Virtual Router identifier. Each Virtual router must have a unique id number. Vrid pulumi.IntPtrOutput `pulumi:"vrid"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/Iface" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Iface.NewInterfaceVrrp(ctx, "interfaceVrrp", &Iface.InterfaceVrrpArgs{ Interface: pulumi.String("bridge"), }) 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 [/interface/vrrp get [print show-ids]]
```sh
$ pulumi import routeros:Iface/interfaceVrrp:InterfaceVrrp interface_vrrp "*0"
```
func GetInterfaceVrrp ¶
func GetInterfaceVrrp(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InterfaceVrrpState, opts ...pulumi.ResourceOption) (*InterfaceVrrp, error)
GetInterfaceVrrp gets an existing InterfaceVrrp 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 NewInterfaceVrrp ¶
func NewInterfaceVrrp(ctx *pulumi.Context, name string, args *InterfaceVrrpArgs, opts ...pulumi.ResourceOption) (*InterfaceVrrp, error)
NewInterfaceVrrp registers a new resource with the given unique name, arguments, and options.
func (*InterfaceVrrp) ElementType ¶
func (*InterfaceVrrp) ElementType() reflect.Type
func (*InterfaceVrrp) ToInterfaceVrrpOutput ¶
func (i *InterfaceVrrp) ToInterfaceVrrpOutput() InterfaceVrrpOutput
func (*InterfaceVrrp) ToInterfaceVrrpOutputWithContext ¶
func (i *InterfaceVrrp) ToInterfaceVrrpOutputWithContext(ctx context.Context) InterfaceVrrpOutput
type InterfaceVrrpArgs ¶
type InterfaceVrrpArgs struct { // ARP resolution protocol mode. Arp pulumi.StringPtrInput // ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. ArpTimeout pulumi.StringPtrInput // Authentication method to use for VRRP advertisement packets. Authentication pulumi.StringPtrInput Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. GroupMaster pulumi.StringPtrInput // Name of the interface. Interface pulumi.StringInput // VRRP update interval in seconds. Defines how often master sends advertisement packets. Interval pulumi.StringPtrInput // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput // Script to execute when the node is switched to the backup state. OnBackup pulumi.StringPtrInput // Script to execute when the node fails. OnFail pulumi.StringPtrInput // Script to execute when the node is switched to master state. OnMaster pulumi.StringPtrInput // Password required for authentication. Can be ignored if authentication is not used. Password pulumi.StringPtrInput // Whether the master node always has the priority. When set to 'no' the backup node will not be elected to be a master until the current master fails, even if the backup node has higher priority than the current master. This setting is ignored if the owner router becomes available PreemptionMode pulumi.BoolPtrInput // Priority of VRRP node used in Master election algorithm. A higher number means higher priority. '255' is reserved for the router that owns VR IP and '0' is reserved for the Master router to indicate that it is releasing responsibility. Priority pulumi.IntPtrInput // Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system autodetects the remote address via VRRP. The remote address is used only if sync-connection-tracking=yes.Sync connection tracking uses UDP port 8275. RemoteAddress pulumi.StringPtrInput // Synchronize connection tracking entries from Master to Backup device. SyncConnectionTracking pulumi.BoolPtrInput // A protocol that will be used by VRRPv3. Valid only if the version is 3. V3Protocol pulumi.StringPtrInput // Which VRRP version to use. Version pulumi.IntPtrInput // Virtual Router identifier. Each Virtual router must have a unique id number. Vrid pulumi.IntPtrInput // contains filtered or unexported fields }
The set of arguments for constructing a InterfaceVrrp resource.
func (InterfaceVrrpArgs) ElementType ¶
func (InterfaceVrrpArgs) ElementType() reflect.Type
type InterfaceVrrpArray ¶
type InterfaceVrrpArray []InterfaceVrrpInput
func (InterfaceVrrpArray) ElementType ¶
func (InterfaceVrrpArray) ElementType() reflect.Type
func (InterfaceVrrpArray) ToInterfaceVrrpArrayOutput ¶
func (i InterfaceVrrpArray) ToInterfaceVrrpArrayOutput() InterfaceVrrpArrayOutput
func (InterfaceVrrpArray) ToInterfaceVrrpArrayOutputWithContext ¶
func (i InterfaceVrrpArray) ToInterfaceVrrpArrayOutputWithContext(ctx context.Context) InterfaceVrrpArrayOutput
type InterfaceVrrpArrayInput ¶
type InterfaceVrrpArrayInput interface { pulumi.Input ToInterfaceVrrpArrayOutput() InterfaceVrrpArrayOutput ToInterfaceVrrpArrayOutputWithContext(context.Context) InterfaceVrrpArrayOutput }
InterfaceVrrpArrayInput is an input type that accepts InterfaceVrrpArray and InterfaceVrrpArrayOutput values. You can construct a concrete instance of `InterfaceVrrpArrayInput` via:
InterfaceVrrpArray{ InterfaceVrrpArgs{...} }
type InterfaceVrrpArrayOutput ¶
type InterfaceVrrpArrayOutput struct{ *pulumi.OutputState }
func (InterfaceVrrpArrayOutput) ElementType ¶
func (InterfaceVrrpArrayOutput) ElementType() reflect.Type
func (InterfaceVrrpArrayOutput) Index ¶
func (o InterfaceVrrpArrayOutput) Index(i pulumi.IntInput) InterfaceVrrpOutput
func (InterfaceVrrpArrayOutput) ToInterfaceVrrpArrayOutput ¶
func (o InterfaceVrrpArrayOutput) ToInterfaceVrrpArrayOutput() InterfaceVrrpArrayOutput
func (InterfaceVrrpArrayOutput) ToInterfaceVrrpArrayOutputWithContext ¶
func (o InterfaceVrrpArrayOutput) ToInterfaceVrrpArrayOutputWithContext(ctx context.Context) InterfaceVrrpArrayOutput
type InterfaceVrrpInput ¶
type InterfaceVrrpInput interface { pulumi.Input ToInterfaceVrrpOutput() InterfaceVrrpOutput ToInterfaceVrrpOutputWithContext(ctx context.Context) InterfaceVrrpOutput }
type InterfaceVrrpMap ¶
type InterfaceVrrpMap map[string]InterfaceVrrpInput
func (InterfaceVrrpMap) ElementType ¶
func (InterfaceVrrpMap) ElementType() reflect.Type
func (InterfaceVrrpMap) ToInterfaceVrrpMapOutput ¶
func (i InterfaceVrrpMap) ToInterfaceVrrpMapOutput() InterfaceVrrpMapOutput
func (InterfaceVrrpMap) ToInterfaceVrrpMapOutputWithContext ¶
func (i InterfaceVrrpMap) ToInterfaceVrrpMapOutputWithContext(ctx context.Context) InterfaceVrrpMapOutput
type InterfaceVrrpMapInput ¶
type InterfaceVrrpMapInput interface { pulumi.Input ToInterfaceVrrpMapOutput() InterfaceVrrpMapOutput ToInterfaceVrrpMapOutputWithContext(context.Context) InterfaceVrrpMapOutput }
InterfaceVrrpMapInput is an input type that accepts InterfaceVrrpMap and InterfaceVrrpMapOutput values. You can construct a concrete instance of `InterfaceVrrpMapInput` via:
InterfaceVrrpMap{ "key": InterfaceVrrpArgs{...} }
type InterfaceVrrpMapOutput ¶
type InterfaceVrrpMapOutput struct{ *pulumi.OutputState }
func (InterfaceVrrpMapOutput) ElementType ¶
func (InterfaceVrrpMapOutput) ElementType() reflect.Type
func (InterfaceVrrpMapOutput) MapIndex ¶
func (o InterfaceVrrpMapOutput) MapIndex(k pulumi.StringInput) InterfaceVrrpOutput
func (InterfaceVrrpMapOutput) ToInterfaceVrrpMapOutput ¶
func (o InterfaceVrrpMapOutput) ToInterfaceVrrpMapOutput() InterfaceVrrpMapOutput
func (InterfaceVrrpMapOutput) ToInterfaceVrrpMapOutputWithContext ¶
func (o InterfaceVrrpMapOutput) ToInterfaceVrrpMapOutputWithContext(ctx context.Context) InterfaceVrrpMapOutput
type InterfaceVrrpOutput ¶
type InterfaceVrrpOutput struct{ *pulumi.OutputState }
func (InterfaceVrrpOutput) Arp ¶
func (o InterfaceVrrpOutput) Arp() pulumi.StringPtrOutput
ARP resolution protocol mode.
func (InterfaceVrrpOutput) ArpTimeout ¶
func (o InterfaceVrrpOutput) ArpTimeout() pulumi.StringPtrOutput
ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
func (InterfaceVrrpOutput) Authentication ¶
func (o InterfaceVrrpOutput) Authentication() pulumi.StringPtrOutput
Authentication method to use for VRRP advertisement packets.
func (InterfaceVrrpOutput) Comment ¶
func (o InterfaceVrrpOutput) Comment() pulumi.StringPtrOutput
func (InterfaceVrrpOutput) Disabled ¶
func (o InterfaceVrrpOutput) Disabled() pulumi.BoolPtrOutput
func (InterfaceVrrpOutput) ElementType ¶
func (InterfaceVrrpOutput) ElementType() reflect.Type
func (InterfaceVrrpOutput) GroupMaster ¶
func (o InterfaceVrrpOutput) GroupMaster() pulumi.StringOutput
Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group.
func (InterfaceVrrpOutput) Interface ¶
func (o InterfaceVrrpOutput) Interface() pulumi.StringOutput
Name of the interface.
func (InterfaceVrrpOutput) Interval ¶
func (o InterfaceVrrpOutput) Interval() pulumi.StringPtrOutput
VRRP update interval in seconds. Defines how often master sends advertisement packets.
func (InterfaceVrrpOutput) Invalid ¶
func (o InterfaceVrrpOutput) Invalid() pulumi.BoolOutput
func (InterfaceVrrpOutput) MacAddress ¶
func (o InterfaceVrrpOutput) MacAddress() pulumi.StringOutput
func (InterfaceVrrpOutput) Mtu ¶
func (o InterfaceVrrpOutput) Mtu() pulumi.StringOutput
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
func (InterfaceVrrpOutput) Name ¶
func (o InterfaceVrrpOutput) Name() pulumi.StringOutput
Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control integrity for that resource!
func (InterfaceVrrpOutput) OnBackup ¶
func (o InterfaceVrrpOutput) OnBackup() pulumi.StringPtrOutput
Script to execute when the node is switched to the backup state.
func (InterfaceVrrpOutput) OnFail ¶
func (o InterfaceVrrpOutput) OnFail() pulumi.StringPtrOutput
Script to execute when the node fails.
func (InterfaceVrrpOutput) OnMaster ¶
func (o InterfaceVrrpOutput) OnMaster() pulumi.StringPtrOutput
Script to execute when the node is switched to master state.
func (InterfaceVrrpOutput) Password ¶
func (o InterfaceVrrpOutput) Password() pulumi.StringPtrOutput
Password required for authentication. Can be ignored if authentication is not used.
func (InterfaceVrrpOutput) PreemptionMode ¶
func (o InterfaceVrrpOutput) PreemptionMode() pulumi.BoolPtrOutput
Whether the master node always has the priority. When set to 'no' the backup node will not be elected to be a master until the current master fails, even if the backup node has higher priority than the current master. This setting is ignored if the owner router becomes available
func (InterfaceVrrpOutput) Priority ¶
func (o InterfaceVrrpOutput) Priority() pulumi.IntPtrOutput
Priority of VRRP node used in Master election algorithm. A higher number means higher priority. '255' is reserved for the router that owns VR IP and '0' is reserved for the Master router to indicate that it is releasing responsibility.
func (InterfaceVrrpOutput) RemoteAddress ¶
func (o InterfaceVrrpOutput) RemoteAddress() pulumi.StringPtrOutput
Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system autodetects the remote address via VRRP. The remote address is used only if sync-connection-tracking=yes.Sync connection tracking uses UDP port 8275.
func (InterfaceVrrpOutput) Running ¶
func (o InterfaceVrrpOutput) Running() pulumi.BoolOutput
func (InterfaceVrrpOutput) SyncConnectionTracking ¶
func (o InterfaceVrrpOutput) SyncConnectionTracking() pulumi.BoolPtrOutput
Synchronize connection tracking entries from Master to Backup device.
func (InterfaceVrrpOutput) ToInterfaceVrrpOutput ¶
func (o InterfaceVrrpOutput) ToInterfaceVrrpOutput() InterfaceVrrpOutput
func (InterfaceVrrpOutput) ToInterfaceVrrpOutputWithContext ¶
func (o InterfaceVrrpOutput) ToInterfaceVrrpOutputWithContext(ctx context.Context) InterfaceVrrpOutput
func (InterfaceVrrpOutput) V3Protocol ¶
func (o InterfaceVrrpOutput) V3Protocol() pulumi.StringPtrOutput
A protocol that will be used by VRRPv3. Valid only if the version is 3.
func (InterfaceVrrpOutput) Version ¶
func (o InterfaceVrrpOutput) Version() pulumi.IntPtrOutput
Which VRRP version to use.
func (InterfaceVrrpOutput) Vrid ¶
func (o InterfaceVrrpOutput) Vrid() pulumi.IntPtrOutput
Virtual Router identifier. Each Virtual router must have a unique id number.
type InterfaceVrrpState ¶
type InterfaceVrrpState struct { // ARP resolution protocol mode. Arp pulumi.StringPtrInput // ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used. ArpTimeout pulumi.StringPtrInput // Authentication method to use for VRRP advertisement packets. Authentication pulumi.StringPtrInput Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. GroupMaster pulumi.StringPtrInput // Name of the interface. Interface pulumi.StringPtrInput // VRRP update interval in seconds. Defines how often master sends advertisement packets. Interval pulumi.StringPtrInput Invalid pulumi.BoolPtrInput MacAddress pulumi.StringPtrInput // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput // Script to execute when the node is switched to the backup state. OnBackup pulumi.StringPtrInput // Script to execute when the node fails. OnFail pulumi.StringPtrInput // Script to execute when the node is switched to master state. OnMaster pulumi.StringPtrInput // Password required for authentication. Can be ignored if authentication is not used. Password pulumi.StringPtrInput // Whether the master node always has the priority. When set to 'no' the backup node will not be elected to be a master until the current master fails, even if the backup node has higher priority than the current master. This setting is ignored if the owner router becomes available PreemptionMode pulumi.BoolPtrInput // Priority of VRRP node used in Master election algorithm. A higher number means higher priority. '255' is reserved for the router that owns VR IP and '0' is reserved for the Master router to indicate that it is releasing responsibility. Priority pulumi.IntPtrInput // Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system autodetects the remote address via VRRP. The remote address is used only if sync-connection-tracking=yes.Sync connection tracking uses UDP port 8275. RemoteAddress pulumi.StringPtrInput Running pulumi.BoolPtrInput // Synchronize connection tracking entries from Master to Backup device. SyncConnectionTracking pulumi.BoolPtrInput // A protocol that will be used by VRRPv3. Valid only if the version is 3. V3Protocol pulumi.StringPtrInput // Which VRRP version to use. Version pulumi.IntPtrInput // Virtual Router identifier. Each Virtual router must have a unique id number. Vrid pulumi.IntPtrInput // contains filtered or unexported fields }
func (InterfaceVrrpState) ElementType ¶
func (InterfaceVrrpState) ElementType() reflect.Type
type InterfaceWireguard ¶
type InterfaceWireguard struct { pulumi.CustomResourceState Comment pulumi.StringPtrOutput `pulumi:"comment"` Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // Port for WireGuard service to listen on for incoming sessions. ListenPort pulumi.IntOutput `pulumi:"listenPort"` // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringOutput `pulumi:"mtu"` // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringOutput `pulumi:"name"` // A base64 private key. If not specified, it will be automatically generated upon interface creation. PrivateKey pulumi.StringOutput `pulumi:"privateKey"` // A base64 public key is calculated from the private key. PublicKey pulumi.StringOutput `pulumi:"publicKey"` Running pulumi.BoolOutput `pulumi:"running"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/Iface" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Iface.NewInterfaceWireguard(ctx, "testWgInterface", &Iface.InterfaceWireguardArgs{ ListenPort: pulumi.Int(13231), }) if err != nil { return err } return nil }) }
```
## Import
Import with the name of the wireguard interface in case of the example use test_wg_interface
```sh
$ pulumi import routeros:Iface/interfaceWireguard:InterfaceWireguard test_wg_interface test_wg_interface
```
func GetInterfaceWireguard ¶
func GetInterfaceWireguard(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InterfaceWireguardState, opts ...pulumi.ResourceOption) (*InterfaceWireguard, error)
GetInterfaceWireguard gets an existing InterfaceWireguard 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 NewInterfaceWireguard ¶
func NewInterfaceWireguard(ctx *pulumi.Context, name string, args *InterfaceWireguardArgs, opts ...pulumi.ResourceOption) (*InterfaceWireguard, error)
NewInterfaceWireguard registers a new resource with the given unique name, arguments, and options.
func (*InterfaceWireguard) ElementType ¶
func (*InterfaceWireguard) ElementType() reflect.Type
func (*InterfaceWireguard) ToInterfaceWireguardOutput ¶
func (i *InterfaceWireguard) ToInterfaceWireguardOutput() InterfaceWireguardOutput
func (*InterfaceWireguard) ToInterfaceWireguardOutputWithContext ¶
func (i *InterfaceWireguard) ToInterfaceWireguardOutputWithContext(ctx context.Context) InterfaceWireguardOutput
type InterfaceWireguardArgs ¶
type InterfaceWireguardArgs struct { Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Port for WireGuard service to listen on for incoming sessions. ListenPort pulumi.IntInput // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput // A base64 private key. If not specified, it will be automatically generated upon interface creation. PrivateKey pulumi.StringPtrInput // contains filtered or unexported fields }
The set of arguments for constructing a InterfaceWireguard resource.
func (InterfaceWireguardArgs) ElementType ¶
func (InterfaceWireguardArgs) ElementType() reflect.Type
type InterfaceWireguardArray ¶
type InterfaceWireguardArray []InterfaceWireguardInput
func (InterfaceWireguardArray) ElementType ¶
func (InterfaceWireguardArray) ElementType() reflect.Type
func (InterfaceWireguardArray) ToInterfaceWireguardArrayOutput ¶
func (i InterfaceWireguardArray) ToInterfaceWireguardArrayOutput() InterfaceWireguardArrayOutput
func (InterfaceWireguardArray) ToInterfaceWireguardArrayOutputWithContext ¶
func (i InterfaceWireguardArray) ToInterfaceWireguardArrayOutputWithContext(ctx context.Context) InterfaceWireguardArrayOutput
type InterfaceWireguardArrayInput ¶
type InterfaceWireguardArrayInput interface { pulumi.Input ToInterfaceWireguardArrayOutput() InterfaceWireguardArrayOutput ToInterfaceWireguardArrayOutputWithContext(context.Context) InterfaceWireguardArrayOutput }
InterfaceWireguardArrayInput is an input type that accepts InterfaceWireguardArray and InterfaceWireguardArrayOutput values. You can construct a concrete instance of `InterfaceWireguardArrayInput` via:
InterfaceWireguardArray{ InterfaceWireguardArgs{...} }
type InterfaceWireguardArrayOutput ¶
type InterfaceWireguardArrayOutput struct{ *pulumi.OutputState }
func (InterfaceWireguardArrayOutput) ElementType ¶
func (InterfaceWireguardArrayOutput) ElementType() reflect.Type
func (InterfaceWireguardArrayOutput) Index ¶
func (o InterfaceWireguardArrayOutput) Index(i pulumi.IntInput) InterfaceWireguardOutput
func (InterfaceWireguardArrayOutput) ToInterfaceWireguardArrayOutput ¶
func (o InterfaceWireguardArrayOutput) ToInterfaceWireguardArrayOutput() InterfaceWireguardArrayOutput
func (InterfaceWireguardArrayOutput) ToInterfaceWireguardArrayOutputWithContext ¶
func (o InterfaceWireguardArrayOutput) ToInterfaceWireguardArrayOutputWithContext(ctx context.Context) InterfaceWireguardArrayOutput
type InterfaceWireguardInput ¶
type InterfaceWireguardInput interface { pulumi.Input ToInterfaceWireguardOutput() InterfaceWireguardOutput ToInterfaceWireguardOutputWithContext(ctx context.Context) InterfaceWireguardOutput }
type InterfaceWireguardMap ¶
type InterfaceWireguardMap map[string]InterfaceWireguardInput
func (InterfaceWireguardMap) ElementType ¶
func (InterfaceWireguardMap) ElementType() reflect.Type
func (InterfaceWireguardMap) ToInterfaceWireguardMapOutput ¶
func (i InterfaceWireguardMap) ToInterfaceWireguardMapOutput() InterfaceWireguardMapOutput
func (InterfaceWireguardMap) ToInterfaceWireguardMapOutputWithContext ¶
func (i InterfaceWireguardMap) ToInterfaceWireguardMapOutputWithContext(ctx context.Context) InterfaceWireguardMapOutput
type InterfaceWireguardMapInput ¶
type InterfaceWireguardMapInput interface { pulumi.Input ToInterfaceWireguardMapOutput() InterfaceWireguardMapOutput ToInterfaceWireguardMapOutputWithContext(context.Context) InterfaceWireguardMapOutput }
InterfaceWireguardMapInput is an input type that accepts InterfaceWireguardMap and InterfaceWireguardMapOutput values. You can construct a concrete instance of `InterfaceWireguardMapInput` via:
InterfaceWireguardMap{ "key": InterfaceWireguardArgs{...} }
type InterfaceWireguardMapOutput ¶
type InterfaceWireguardMapOutput struct{ *pulumi.OutputState }
func (InterfaceWireguardMapOutput) ElementType ¶
func (InterfaceWireguardMapOutput) ElementType() reflect.Type
func (InterfaceWireguardMapOutput) MapIndex ¶
func (o InterfaceWireguardMapOutput) MapIndex(k pulumi.StringInput) InterfaceWireguardOutput
func (InterfaceWireguardMapOutput) ToInterfaceWireguardMapOutput ¶
func (o InterfaceWireguardMapOutput) ToInterfaceWireguardMapOutput() InterfaceWireguardMapOutput
func (InterfaceWireguardMapOutput) ToInterfaceWireguardMapOutputWithContext ¶
func (o InterfaceWireguardMapOutput) ToInterfaceWireguardMapOutputWithContext(ctx context.Context) InterfaceWireguardMapOutput
type InterfaceWireguardOutput ¶
type InterfaceWireguardOutput struct{ *pulumi.OutputState }
func (InterfaceWireguardOutput) Comment ¶
func (o InterfaceWireguardOutput) Comment() pulumi.StringPtrOutput
func (InterfaceWireguardOutput) Disabled ¶
func (o InterfaceWireguardOutput) Disabled() pulumi.BoolPtrOutput
func (InterfaceWireguardOutput) ElementType ¶
func (InterfaceWireguardOutput) ElementType() reflect.Type
func (InterfaceWireguardOutput) ListenPort ¶
func (o InterfaceWireguardOutput) ListenPort() pulumi.IntOutput
Port for WireGuard service to listen on for incoming sessions.
func (InterfaceWireguardOutput) Mtu ¶
func (o InterfaceWireguardOutput) Mtu() pulumi.StringOutput
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
func (InterfaceWireguardOutput) Name ¶
func (o InterfaceWireguardOutput) Name() pulumi.StringOutput
Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control integrity for that resource!
func (InterfaceWireguardOutput) PrivateKey ¶
func (o InterfaceWireguardOutput) PrivateKey() pulumi.StringOutput
A base64 private key. If not specified, it will be automatically generated upon interface creation.
func (InterfaceWireguardOutput) PublicKey ¶
func (o InterfaceWireguardOutput) PublicKey() pulumi.StringOutput
A base64 public key is calculated from the private key.
func (InterfaceWireguardOutput) Running ¶
func (o InterfaceWireguardOutput) Running() pulumi.BoolOutput
func (InterfaceWireguardOutput) ToInterfaceWireguardOutput ¶
func (o InterfaceWireguardOutput) ToInterfaceWireguardOutput() InterfaceWireguardOutput
func (InterfaceWireguardOutput) ToInterfaceWireguardOutputWithContext ¶
func (o InterfaceWireguardOutput) ToInterfaceWireguardOutputWithContext(ctx context.Context) InterfaceWireguardOutput
type InterfaceWireguardPeer ¶
type InterfaceWireguardPeer struct { pulumi.CustomResourceState // List of IP (v4 or v6) addresses with CIDR masks from which incoming traffic for this peer is allowed and to which outgoing traffic for this peer is directed. The catch-all 0.0.0.0/0 may be specified for matching all IPv4 addresses, and ::/0 may be specified for matching all IPv6 addresses. AllowedAddresses pulumi.StringArrayOutput `pulumi:"allowedAddresses"` Comment pulumi.StringPtrOutput `pulumi:"comment"` // The most recent source IP address of correctly authenticated packets from the peer. CurrentEndpointAddress pulumi.StringOutput `pulumi:"currentEndpointAddress"` // The most recent source IP port of correctly authenticated packets from the peer. CurrentEndpointPort pulumi.IntOutput `pulumi:"currentEndpointPort"` Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // An endpoint IP or hostname can be left blank to allow remote connection from any address. EndpointAddress pulumi.StringOutput `pulumi:"endpointAddress"` // An endpoint port can be left blank to allow remote connection from any port. EndpointPort pulumi.StringOutput `pulumi:"endpointPort"` // Name of the interface. Interface pulumi.StringOutput `pulumi:"interface"` // Time in seconds after the last successful handshake. LastHandshake pulumi.StringOutput `pulumi:"lastHandshake"` // A seconds interval, between 1 and 65535 inclusive, of how often to send an authenticated empty packet to the peer for the purpose of keeping a stateful firewall or NAT mapping valid persistently. For example, if the interface very rarely sends traffic, but it might at anytime receive traffic from a peer, and it is behind NAT, the interface might benefit from having a persistent keepalive interval of 25 seconds. PersistentKeepalive pulumi.StringPtrOutput `pulumi:"persistentKeepalive"` PresharedKey pulumi.StringPtrOutput `pulumi:"presharedKey"` // The remote peer's calculated public key. PublicKey pulumi.StringOutput `pulumi:"publicKey"` // The total amount of bytes received from the peer. Rx pulumi.StringOutput `pulumi:"rx"` // The total amount of bytes transmitted to the peer. Tx pulumi.StringOutput `pulumi:"tx"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/Iface" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testWgInterface, err := Iface.NewInterfaceWireguard(ctx, "testWgInterface", &Iface.InterfaceWireguardArgs{ ListenPort: pulumi.Int(13231), }) if err != nil { return err } _, err = Iface.NewInterfaceWireguardPeer(ctx, "wgPeer", &Iface.InterfaceWireguardPeerArgs{ Interface: testWgInterface.Name, PublicKey: pulumi.String("MY_BASE_64_PUBLIC_KEY"), AllowedAddresses: pulumi.StringArray{ pulumi.String("192.168.0.0/16"), pulumi.String("172.16.0.0/12"), pulumi.String("10.0.0.0/8"), }, }) 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 [/interface/wireguard/peers get [print show-ids]]
```sh
$ pulumi import routeros:Iface/interfaceWireguardPeer:InterfaceWireguardPeer wg_peer "*0"
```
func GetInterfaceWireguardPeer ¶
func GetInterfaceWireguardPeer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InterfaceWireguardPeerState, opts ...pulumi.ResourceOption) (*InterfaceWireguardPeer, error)
GetInterfaceWireguardPeer gets an existing InterfaceWireguardPeer 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 NewInterfaceWireguardPeer ¶
func NewInterfaceWireguardPeer(ctx *pulumi.Context, name string, args *InterfaceWireguardPeerArgs, opts ...pulumi.ResourceOption) (*InterfaceWireguardPeer, error)
NewInterfaceWireguardPeer registers a new resource with the given unique name, arguments, and options.
func (*InterfaceWireguardPeer) ElementType ¶
func (*InterfaceWireguardPeer) ElementType() reflect.Type
func (*InterfaceWireguardPeer) ToInterfaceWireguardPeerOutput ¶
func (i *InterfaceWireguardPeer) ToInterfaceWireguardPeerOutput() InterfaceWireguardPeerOutput
func (*InterfaceWireguardPeer) ToInterfaceWireguardPeerOutputWithContext ¶
func (i *InterfaceWireguardPeer) ToInterfaceWireguardPeerOutputWithContext(ctx context.Context) InterfaceWireguardPeerOutput
type InterfaceWireguardPeerArgs ¶
type InterfaceWireguardPeerArgs struct { // List of IP (v4 or v6) addresses with CIDR masks from which incoming traffic for this peer is allowed and to which outgoing traffic for this peer is directed. The catch-all 0.0.0.0/0 may be specified for matching all IPv4 addresses, and ::/0 may be specified for matching all IPv6 addresses. AllowedAddresses pulumi.StringArrayInput Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // An endpoint IP or hostname can be left blank to allow remote connection from any address. EndpointAddress pulumi.StringPtrInput // An endpoint port can be left blank to allow remote connection from any port. EndpointPort pulumi.StringPtrInput // Name of the interface. Interface pulumi.StringInput // A seconds interval, between 1 and 65535 inclusive, of how often to send an authenticated empty packet to the peer for the purpose of keeping a stateful firewall or NAT mapping valid persistently. For example, if the interface very rarely sends traffic, but it might at anytime receive traffic from a peer, and it is behind NAT, the interface might benefit from having a persistent keepalive interval of 25 seconds. PersistentKeepalive pulumi.StringPtrInput PresharedKey pulumi.StringPtrInput // The remote peer's calculated public key. PublicKey pulumi.StringInput // contains filtered or unexported fields }
The set of arguments for constructing a InterfaceWireguardPeer resource.
func (InterfaceWireguardPeerArgs) ElementType ¶
func (InterfaceWireguardPeerArgs) ElementType() reflect.Type
type InterfaceWireguardPeerArray ¶
type InterfaceWireguardPeerArray []InterfaceWireguardPeerInput
func (InterfaceWireguardPeerArray) ElementType ¶
func (InterfaceWireguardPeerArray) ElementType() reflect.Type
func (InterfaceWireguardPeerArray) ToInterfaceWireguardPeerArrayOutput ¶
func (i InterfaceWireguardPeerArray) ToInterfaceWireguardPeerArrayOutput() InterfaceWireguardPeerArrayOutput
func (InterfaceWireguardPeerArray) ToInterfaceWireguardPeerArrayOutputWithContext ¶
func (i InterfaceWireguardPeerArray) ToInterfaceWireguardPeerArrayOutputWithContext(ctx context.Context) InterfaceWireguardPeerArrayOutput
type InterfaceWireguardPeerArrayInput ¶
type InterfaceWireguardPeerArrayInput interface { pulumi.Input ToInterfaceWireguardPeerArrayOutput() InterfaceWireguardPeerArrayOutput ToInterfaceWireguardPeerArrayOutputWithContext(context.Context) InterfaceWireguardPeerArrayOutput }
InterfaceWireguardPeerArrayInput is an input type that accepts InterfaceWireguardPeerArray and InterfaceWireguardPeerArrayOutput values. You can construct a concrete instance of `InterfaceWireguardPeerArrayInput` via:
InterfaceWireguardPeerArray{ InterfaceWireguardPeerArgs{...} }
type InterfaceWireguardPeerArrayOutput ¶
type InterfaceWireguardPeerArrayOutput struct{ *pulumi.OutputState }
func (InterfaceWireguardPeerArrayOutput) ElementType ¶
func (InterfaceWireguardPeerArrayOutput) ElementType() reflect.Type
func (InterfaceWireguardPeerArrayOutput) Index ¶
func (o InterfaceWireguardPeerArrayOutput) Index(i pulumi.IntInput) InterfaceWireguardPeerOutput
func (InterfaceWireguardPeerArrayOutput) ToInterfaceWireguardPeerArrayOutput ¶
func (o InterfaceWireguardPeerArrayOutput) ToInterfaceWireguardPeerArrayOutput() InterfaceWireguardPeerArrayOutput
func (InterfaceWireguardPeerArrayOutput) ToInterfaceWireguardPeerArrayOutputWithContext ¶
func (o InterfaceWireguardPeerArrayOutput) ToInterfaceWireguardPeerArrayOutputWithContext(ctx context.Context) InterfaceWireguardPeerArrayOutput
type InterfaceWireguardPeerInput ¶
type InterfaceWireguardPeerInput interface { pulumi.Input ToInterfaceWireguardPeerOutput() InterfaceWireguardPeerOutput ToInterfaceWireguardPeerOutputWithContext(ctx context.Context) InterfaceWireguardPeerOutput }
type InterfaceWireguardPeerMap ¶
type InterfaceWireguardPeerMap map[string]InterfaceWireguardPeerInput
func (InterfaceWireguardPeerMap) ElementType ¶
func (InterfaceWireguardPeerMap) ElementType() reflect.Type
func (InterfaceWireguardPeerMap) ToInterfaceWireguardPeerMapOutput ¶
func (i InterfaceWireguardPeerMap) ToInterfaceWireguardPeerMapOutput() InterfaceWireguardPeerMapOutput
func (InterfaceWireguardPeerMap) ToInterfaceWireguardPeerMapOutputWithContext ¶
func (i InterfaceWireguardPeerMap) ToInterfaceWireguardPeerMapOutputWithContext(ctx context.Context) InterfaceWireguardPeerMapOutput
type InterfaceWireguardPeerMapInput ¶
type InterfaceWireguardPeerMapInput interface { pulumi.Input ToInterfaceWireguardPeerMapOutput() InterfaceWireguardPeerMapOutput ToInterfaceWireguardPeerMapOutputWithContext(context.Context) InterfaceWireguardPeerMapOutput }
InterfaceWireguardPeerMapInput is an input type that accepts InterfaceWireguardPeerMap and InterfaceWireguardPeerMapOutput values. You can construct a concrete instance of `InterfaceWireguardPeerMapInput` via:
InterfaceWireguardPeerMap{ "key": InterfaceWireguardPeerArgs{...} }
type InterfaceWireguardPeerMapOutput ¶
type InterfaceWireguardPeerMapOutput struct{ *pulumi.OutputState }
func (InterfaceWireguardPeerMapOutput) ElementType ¶
func (InterfaceWireguardPeerMapOutput) ElementType() reflect.Type
func (InterfaceWireguardPeerMapOutput) MapIndex ¶
func (o InterfaceWireguardPeerMapOutput) MapIndex(k pulumi.StringInput) InterfaceWireguardPeerOutput
func (InterfaceWireguardPeerMapOutput) ToInterfaceWireguardPeerMapOutput ¶
func (o InterfaceWireguardPeerMapOutput) ToInterfaceWireguardPeerMapOutput() InterfaceWireguardPeerMapOutput
func (InterfaceWireguardPeerMapOutput) ToInterfaceWireguardPeerMapOutputWithContext ¶
func (o InterfaceWireguardPeerMapOutput) ToInterfaceWireguardPeerMapOutputWithContext(ctx context.Context) InterfaceWireguardPeerMapOutput
type InterfaceWireguardPeerOutput ¶
type InterfaceWireguardPeerOutput struct{ *pulumi.OutputState }
func (InterfaceWireguardPeerOutput) AllowedAddresses ¶
func (o InterfaceWireguardPeerOutput) AllowedAddresses() pulumi.StringArrayOutput
List of IP (v4 or v6) addresses with CIDR masks from which incoming traffic for this peer is allowed and to which outgoing traffic for this peer is directed. The catch-all 0.0.0.0/0 may be specified for matching all IPv4 addresses, and ::/0 may be specified for matching all IPv6 addresses.
func (InterfaceWireguardPeerOutput) Comment ¶
func (o InterfaceWireguardPeerOutput) Comment() pulumi.StringPtrOutput
func (InterfaceWireguardPeerOutput) CurrentEndpointAddress ¶
func (o InterfaceWireguardPeerOutput) CurrentEndpointAddress() pulumi.StringOutput
The most recent source IP address of correctly authenticated packets from the peer.
func (InterfaceWireguardPeerOutput) CurrentEndpointPort ¶
func (o InterfaceWireguardPeerOutput) CurrentEndpointPort() pulumi.IntOutput
The most recent source IP port of correctly authenticated packets from the peer.
func (InterfaceWireguardPeerOutput) Disabled ¶
func (o InterfaceWireguardPeerOutput) Disabled() pulumi.BoolPtrOutput
func (InterfaceWireguardPeerOutput) ElementType ¶
func (InterfaceWireguardPeerOutput) ElementType() reflect.Type
func (InterfaceWireguardPeerOutput) EndpointAddress ¶
func (o InterfaceWireguardPeerOutput) EndpointAddress() pulumi.StringOutput
An endpoint IP or hostname can be left blank to allow remote connection from any address.
func (InterfaceWireguardPeerOutput) EndpointPort ¶
func (o InterfaceWireguardPeerOutput) EndpointPort() pulumi.StringOutput
An endpoint port can be left blank to allow remote connection from any port.
func (InterfaceWireguardPeerOutput) Interface ¶
func (o InterfaceWireguardPeerOutput) Interface() pulumi.StringOutput
Name of the interface.
func (InterfaceWireguardPeerOutput) LastHandshake ¶
func (o InterfaceWireguardPeerOutput) LastHandshake() pulumi.StringOutput
Time in seconds after the last successful handshake.
func (InterfaceWireguardPeerOutput) PersistentKeepalive ¶
func (o InterfaceWireguardPeerOutput) PersistentKeepalive() pulumi.StringPtrOutput
A seconds interval, between 1 and 65535 inclusive, of how often to send an authenticated empty packet to the peer for the purpose of keeping a stateful firewall or NAT mapping valid persistently. For example, if the interface very rarely sends traffic, but it might at anytime receive traffic from a peer, and it is behind NAT, the interface might benefit from having a persistent keepalive interval of 25 seconds.
func (InterfaceWireguardPeerOutput) PresharedKey ¶
func (o InterfaceWireguardPeerOutput) PresharedKey() pulumi.StringPtrOutput
A **base64** preshared key. Optional, and may be omitted. This option adds an additional layer of symmetric-key cryptography to be mixed into the already existing public-key cryptography, for post-quantum resistance.
func (InterfaceWireguardPeerOutput) PublicKey ¶
func (o InterfaceWireguardPeerOutput) PublicKey() pulumi.StringOutput
The remote peer's calculated public key.
func (InterfaceWireguardPeerOutput) Rx ¶
func (o InterfaceWireguardPeerOutput) Rx() pulumi.StringOutput
The total amount of bytes received from the peer.
func (InterfaceWireguardPeerOutput) ToInterfaceWireguardPeerOutput ¶
func (o InterfaceWireguardPeerOutput) ToInterfaceWireguardPeerOutput() InterfaceWireguardPeerOutput
func (InterfaceWireguardPeerOutput) ToInterfaceWireguardPeerOutputWithContext ¶
func (o InterfaceWireguardPeerOutput) ToInterfaceWireguardPeerOutputWithContext(ctx context.Context) InterfaceWireguardPeerOutput
func (InterfaceWireguardPeerOutput) Tx ¶
func (o InterfaceWireguardPeerOutput) Tx() pulumi.StringOutput
The total amount of bytes transmitted to the peer.
type InterfaceWireguardPeerState ¶
type InterfaceWireguardPeerState struct { // List of IP (v4 or v6) addresses with CIDR masks from which incoming traffic for this peer is allowed and to which outgoing traffic for this peer is directed. The catch-all 0.0.0.0/0 may be specified for matching all IPv4 addresses, and ::/0 may be specified for matching all IPv6 addresses. AllowedAddresses pulumi.StringArrayInput Comment pulumi.StringPtrInput // The most recent source IP address of correctly authenticated packets from the peer. CurrentEndpointAddress pulumi.StringPtrInput // The most recent source IP port of correctly authenticated packets from the peer. CurrentEndpointPort pulumi.IntPtrInput Disabled pulumi.BoolPtrInput // An endpoint IP or hostname can be left blank to allow remote connection from any address. EndpointAddress pulumi.StringPtrInput // An endpoint port can be left blank to allow remote connection from any port. EndpointPort pulumi.StringPtrInput // Name of the interface. Interface pulumi.StringPtrInput // Time in seconds after the last successful handshake. LastHandshake pulumi.StringPtrInput // A seconds interval, between 1 and 65535 inclusive, of how often to send an authenticated empty packet to the peer for the purpose of keeping a stateful firewall or NAT mapping valid persistently. For example, if the interface very rarely sends traffic, but it might at anytime receive traffic from a peer, and it is behind NAT, the interface might benefit from having a persistent keepalive interval of 25 seconds. PersistentKeepalive pulumi.StringPtrInput PresharedKey pulumi.StringPtrInput // The remote peer's calculated public key. PublicKey pulumi.StringPtrInput // The total amount of bytes received from the peer. Rx pulumi.StringPtrInput // The total amount of bytes transmitted to the peer. Tx pulumi.StringPtrInput // contains filtered or unexported fields }
func (InterfaceWireguardPeerState) ElementType ¶
func (InterfaceWireguardPeerState) ElementType() reflect.Type
type InterfaceWireguardState ¶
type InterfaceWireguardState struct { Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Port for WireGuard service to listen on for incoming sessions. ListenPort pulumi.IntPtrInput // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput // A base64 private key. If not specified, it will be automatically generated upon interface creation. PrivateKey pulumi.StringPtrInput // A base64 public key is calculated from the private key. PublicKey pulumi.StringPtrInput Running pulumi.BoolPtrInput // contains filtered or unexported fields }
func (InterfaceWireguardState) ElementType ¶
func (InterfaceWireguardState) ElementType() reflect.Type
type List ¶
type List struct { pulumi.CustomResourceState Builtin pulumi.BoolOutput `pulumi:"builtin"` Comment pulumi.StringPtrOutput `pulumi:"comment"` // Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified. Dynamic pulumi.BoolOutput `pulumi:"dynamic"` Exclude pulumi.StringPtrOutput `pulumi:"exclude"` Include pulumi.StringPtrOutput `pulumi:"include"` // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringOutput `pulumi:"name"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/Iface" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Iface.NewList(ctx, "list", nil) if err != nil { return err } return nil }) }
```
## Import
Import with the name of the interface list in case of the example use my-list ¶
```sh
$ pulumi import routeros:Iface/list:List list my-list
```
func GetList ¶
func GetList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ListState, opts ...pulumi.ResourceOption) (*List, error)
GetList gets an existing List 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 NewList ¶
func NewList(ctx *pulumi.Context, name string, args *ListArgs, opts ...pulumi.ResourceOption) (*List, error)
NewList registers a new resource with the given unique name, arguments, and options.
func (*List) ElementType ¶
func (*List) ToListOutput ¶
func (i *List) ToListOutput() ListOutput
func (*List) ToListOutputWithContext ¶
func (i *List) ToListOutputWithContext(ctx context.Context) ListOutput
type ListArgs ¶
type ListArgs struct { Comment pulumi.StringPtrInput Exclude pulumi.StringPtrInput Include pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput // contains filtered or unexported fields }
The set of arguments for constructing a List resource.
func (ListArgs) ElementType ¶
type ListArray ¶
type ListArray []ListInput
func (ListArray) ElementType ¶
func (ListArray) ToListArrayOutput ¶
func (i ListArray) ToListArrayOutput() ListArrayOutput
func (ListArray) ToListArrayOutputWithContext ¶
func (i ListArray) ToListArrayOutputWithContext(ctx context.Context) ListArrayOutput
type ListArrayInput ¶
type ListArrayInput interface { pulumi.Input ToListArrayOutput() ListArrayOutput ToListArrayOutputWithContext(context.Context) ListArrayOutput }
ListArrayInput is an input type that accepts ListArray and ListArrayOutput values. You can construct a concrete instance of `ListArrayInput` via:
ListArray{ ListArgs{...} }
type ListArrayOutput ¶
type ListArrayOutput struct{ *pulumi.OutputState }
func (ListArrayOutput) ElementType ¶
func (ListArrayOutput) ElementType() reflect.Type
func (ListArrayOutput) Index ¶
func (o ListArrayOutput) Index(i pulumi.IntInput) ListOutput
func (ListArrayOutput) ToListArrayOutput ¶
func (o ListArrayOutput) ToListArrayOutput() ListArrayOutput
func (ListArrayOutput) ToListArrayOutputWithContext ¶
func (o ListArrayOutput) ToListArrayOutputWithContext(ctx context.Context) ListArrayOutput
type ListInput ¶
type ListInput interface { pulumi.Input ToListOutput() ListOutput ToListOutputWithContext(ctx context.Context) ListOutput }
type ListMap ¶
func (ListMap) ElementType ¶
func (ListMap) ToListMapOutput ¶
func (i ListMap) ToListMapOutput() ListMapOutput
func (ListMap) ToListMapOutputWithContext ¶
func (i ListMap) ToListMapOutputWithContext(ctx context.Context) ListMapOutput
type ListMapInput ¶
type ListMapInput interface { pulumi.Input ToListMapOutput() ListMapOutput ToListMapOutputWithContext(context.Context) ListMapOutput }
ListMapInput is an input type that accepts ListMap and ListMapOutput values. You can construct a concrete instance of `ListMapInput` via:
ListMap{ "key": ListArgs{...} }
type ListMapOutput ¶
type ListMapOutput struct{ *pulumi.OutputState }
func (ListMapOutput) ElementType ¶
func (ListMapOutput) ElementType() reflect.Type
func (ListMapOutput) MapIndex ¶
func (o ListMapOutput) MapIndex(k pulumi.StringInput) ListOutput
func (ListMapOutput) ToListMapOutput ¶
func (o ListMapOutput) ToListMapOutput() ListMapOutput
func (ListMapOutput) ToListMapOutputWithContext ¶
func (o ListMapOutput) ToListMapOutputWithContext(ctx context.Context) ListMapOutput
type ListMember ¶
type ListMember struct { pulumi.CustomResourceState Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` Dynamic pulumi.BoolOutput `pulumi:"dynamic"` Interface pulumi.StringOutput `pulumi:"interface"` List pulumi.StringOutput `pulumi:"list"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/Iface" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Iface.NewListMember(ctx, "listMember", &Iface.ListMemberArgs{ Interface: pulumi.String("ether1"), List: pulumi.String("my-list"), }) 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 [/interface/list/member get [print show-ids]]
```sh
$ pulumi import routeros:Iface/listMember:ListMember list_member "*0"
```
func GetListMember ¶
func GetListMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ListMemberState, opts ...pulumi.ResourceOption) (*ListMember, error)
GetListMember gets an existing ListMember 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 NewListMember ¶
func NewListMember(ctx *pulumi.Context, name string, args *ListMemberArgs, opts ...pulumi.ResourceOption) (*ListMember, error)
NewListMember registers a new resource with the given unique name, arguments, and options.
func (*ListMember) ElementType ¶
func (*ListMember) ElementType() reflect.Type
func (*ListMember) ToListMemberOutput ¶
func (i *ListMember) ToListMemberOutput() ListMemberOutput
func (*ListMember) ToListMemberOutputWithContext ¶
func (i *ListMember) ToListMemberOutputWithContext(ctx context.Context) ListMemberOutput
type ListMemberArgs ¶
type ListMemberArgs struct { Disabled pulumi.BoolPtrInput Interface pulumi.StringInput List pulumi.StringInput // contains filtered or unexported fields }
The set of arguments for constructing a ListMember resource.
func (ListMemberArgs) ElementType ¶
func (ListMemberArgs) ElementType() reflect.Type
type ListMemberArray ¶
type ListMemberArray []ListMemberInput
func (ListMemberArray) ElementType ¶
func (ListMemberArray) ElementType() reflect.Type
func (ListMemberArray) ToListMemberArrayOutput ¶
func (i ListMemberArray) ToListMemberArrayOutput() ListMemberArrayOutput
func (ListMemberArray) ToListMemberArrayOutputWithContext ¶
func (i ListMemberArray) ToListMemberArrayOutputWithContext(ctx context.Context) ListMemberArrayOutput
type ListMemberArrayInput ¶
type ListMemberArrayInput interface { pulumi.Input ToListMemberArrayOutput() ListMemberArrayOutput ToListMemberArrayOutputWithContext(context.Context) ListMemberArrayOutput }
ListMemberArrayInput is an input type that accepts ListMemberArray and ListMemberArrayOutput values. You can construct a concrete instance of `ListMemberArrayInput` via:
ListMemberArray{ ListMemberArgs{...} }
type ListMemberArrayOutput ¶
type ListMemberArrayOutput struct{ *pulumi.OutputState }
func (ListMemberArrayOutput) ElementType ¶
func (ListMemberArrayOutput) ElementType() reflect.Type
func (ListMemberArrayOutput) Index ¶
func (o ListMemberArrayOutput) Index(i pulumi.IntInput) ListMemberOutput
func (ListMemberArrayOutput) ToListMemberArrayOutput ¶
func (o ListMemberArrayOutput) ToListMemberArrayOutput() ListMemberArrayOutput
func (ListMemberArrayOutput) ToListMemberArrayOutputWithContext ¶
func (o ListMemberArrayOutput) ToListMemberArrayOutputWithContext(ctx context.Context) ListMemberArrayOutput
type ListMemberInput ¶
type ListMemberInput interface { pulumi.Input ToListMemberOutput() ListMemberOutput ToListMemberOutputWithContext(ctx context.Context) ListMemberOutput }
type ListMemberMap ¶
type ListMemberMap map[string]ListMemberInput
func (ListMemberMap) ElementType ¶
func (ListMemberMap) ElementType() reflect.Type
func (ListMemberMap) ToListMemberMapOutput ¶
func (i ListMemberMap) ToListMemberMapOutput() ListMemberMapOutput
func (ListMemberMap) ToListMemberMapOutputWithContext ¶
func (i ListMemberMap) ToListMemberMapOutputWithContext(ctx context.Context) ListMemberMapOutput
type ListMemberMapInput ¶
type ListMemberMapInput interface { pulumi.Input ToListMemberMapOutput() ListMemberMapOutput ToListMemberMapOutputWithContext(context.Context) ListMemberMapOutput }
ListMemberMapInput is an input type that accepts ListMemberMap and ListMemberMapOutput values. You can construct a concrete instance of `ListMemberMapInput` via:
ListMemberMap{ "key": ListMemberArgs{...} }
type ListMemberMapOutput ¶
type ListMemberMapOutput struct{ *pulumi.OutputState }
func (ListMemberMapOutput) ElementType ¶
func (ListMemberMapOutput) ElementType() reflect.Type
func (ListMemberMapOutput) MapIndex ¶
func (o ListMemberMapOutput) MapIndex(k pulumi.StringInput) ListMemberOutput
func (ListMemberMapOutput) ToListMemberMapOutput ¶
func (o ListMemberMapOutput) ToListMemberMapOutput() ListMemberMapOutput
func (ListMemberMapOutput) ToListMemberMapOutputWithContext ¶
func (o ListMemberMapOutput) ToListMemberMapOutputWithContext(ctx context.Context) ListMemberMapOutput
type ListMemberOutput ¶
type ListMemberOutput struct{ *pulumi.OutputState }
func (ListMemberOutput) Disabled ¶
func (o ListMemberOutput) Disabled() pulumi.BoolPtrOutput
func (ListMemberOutput) Dynamic ¶
func (o ListMemberOutput) Dynamic() pulumi.BoolOutput
func (ListMemberOutput) ElementType ¶
func (ListMemberOutput) ElementType() reflect.Type
func (ListMemberOutput) Interface ¶
func (o ListMemberOutput) Interface() pulumi.StringOutput
func (ListMemberOutput) List ¶
func (o ListMemberOutput) List() pulumi.StringOutput
func (ListMemberOutput) ToListMemberOutput ¶
func (o ListMemberOutput) ToListMemberOutput() ListMemberOutput
func (ListMemberOutput) ToListMemberOutputWithContext ¶
func (o ListMemberOutput) ToListMemberOutputWithContext(ctx context.Context) ListMemberOutput
type ListMemberState ¶
type ListMemberState struct { Disabled pulumi.BoolPtrInput Dynamic pulumi.BoolPtrInput Interface pulumi.StringPtrInput List pulumi.StringPtrInput // contains filtered or unexported fields }
func (ListMemberState) ElementType ¶
func (ListMemberState) ElementType() reflect.Type
type ListOutput ¶
type ListOutput struct{ *pulumi.OutputState }
func (ListOutput) Builtin ¶
func (o ListOutput) Builtin() pulumi.BoolOutput
func (ListOutput) Comment ¶
func (o ListOutput) Comment() pulumi.StringPtrOutput
func (ListOutput) Dynamic ¶
func (o ListOutput) Dynamic() pulumi.BoolOutput
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
func (ListOutput) ElementType ¶
func (ListOutput) ElementType() reflect.Type
func (ListOutput) Exclude ¶
func (o ListOutput) Exclude() pulumi.StringPtrOutput
func (ListOutput) Include ¶
func (o ListOutput) Include() pulumi.StringPtrOutput
func (ListOutput) Name ¶
func (o ListOutput) Name() pulumi.StringOutput
Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control integrity for that resource!
func (ListOutput) ToListOutput ¶
func (o ListOutput) ToListOutput() ListOutput
func (ListOutput) ToListOutputWithContext ¶
func (o ListOutput) ToListOutputWithContext(ctx context.Context) ListOutput
type ListState ¶
type ListState struct { Builtin pulumi.BoolPtrInput Comment pulumi.StringPtrInput // Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified. Dynamic pulumi.BoolPtrInput Exclude pulumi.StringPtrInput Include pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput // contains filtered or unexported fields }
func (ListState) ElementType ¶
type OpenVpnServer ¶
type OpenVpnServer struct { pulumi.CustomResourceState // The address of the remote side. ClientAddress pulumi.StringOutput `pulumi:"clientAddress"` Comment pulumi.StringPtrOutput `pulumi:"comment"` Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // Encryption characteristics. Encoding pulumi.StringOutput `pulumi:"encoding"` // Layer2 Maximum transmission unit. Mtu pulumi.IntOutput `pulumi:"mtu"` // Interface name (Example: ovpn-in1). Name pulumi.StringOutput `pulumi:"name"` Running pulumi.BoolOutput `pulumi:"running"` // Connection uptime. Uptime pulumi.StringOutput `pulumi:"uptime"` // User name used for authentication. User pulumi.StringPtrOutput `pulumi:"user"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/Iface" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Iface.NewOpenVpnServer(ctx, "user1", &Iface.OpenVpnServerArgs{ User: pulumi.String("user1"), }, pulumi.DependsOn([]pulumi.Resource{ routeros_ovpn_server.Server, })) 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 [/interface/ovpn-server get [print show-ids]]
```sh
$ pulumi import routeros:Iface/openVpnServer:OpenVpnServer user1 *29
```
func GetOpenVpnServer ¶
func GetOpenVpnServer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OpenVpnServerState, opts ...pulumi.ResourceOption) (*OpenVpnServer, error)
GetOpenVpnServer gets an existing OpenVpnServer 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 NewOpenVpnServer ¶
func NewOpenVpnServer(ctx *pulumi.Context, name string, args *OpenVpnServerArgs, opts ...pulumi.ResourceOption) (*OpenVpnServer, error)
NewOpenVpnServer registers a new resource with the given unique name, arguments, and options.
func (*OpenVpnServer) ElementType ¶
func (*OpenVpnServer) ElementType() reflect.Type
func (*OpenVpnServer) ToOpenVpnServerOutput ¶
func (i *OpenVpnServer) ToOpenVpnServerOutput() OpenVpnServerOutput
func (*OpenVpnServer) ToOpenVpnServerOutputWithContext ¶
func (i *OpenVpnServer) ToOpenVpnServerOutputWithContext(ctx context.Context) OpenVpnServerOutput
type OpenVpnServerArgs ¶
type OpenVpnServerArgs struct { Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Interface name (Example: ovpn-in1). Name pulumi.StringPtrInput // User name used for authentication. User pulumi.StringPtrInput // contains filtered or unexported fields }
The set of arguments for constructing a OpenVpnServer resource.
func (OpenVpnServerArgs) ElementType ¶
func (OpenVpnServerArgs) ElementType() reflect.Type
type OpenVpnServerArray ¶
type OpenVpnServerArray []OpenVpnServerInput
func (OpenVpnServerArray) ElementType ¶
func (OpenVpnServerArray) ElementType() reflect.Type
func (OpenVpnServerArray) ToOpenVpnServerArrayOutput ¶
func (i OpenVpnServerArray) ToOpenVpnServerArrayOutput() OpenVpnServerArrayOutput
func (OpenVpnServerArray) ToOpenVpnServerArrayOutputWithContext ¶
func (i OpenVpnServerArray) ToOpenVpnServerArrayOutputWithContext(ctx context.Context) OpenVpnServerArrayOutput
type OpenVpnServerArrayInput ¶
type OpenVpnServerArrayInput interface { pulumi.Input ToOpenVpnServerArrayOutput() OpenVpnServerArrayOutput ToOpenVpnServerArrayOutputWithContext(context.Context) OpenVpnServerArrayOutput }
OpenVpnServerArrayInput is an input type that accepts OpenVpnServerArray and OpenVpnServerArrayOutput values. You can construct a concrete instance of `OpenVpnServerArrayInput` via:
OpenVpnServerArray{ OpenVpnServerArgs{...} }
type OpenVpnServerArrayOutput ¶
type OpenVpnServerArrayOutput struct{ *pulumi.OutputState }
func (OpenVpnServerArrayOutput) ElementType ¶
func (OpenVpnServerArrayOutput) ElementType() reflect.Type
func (OpenVpnServerArrayOutput) Index ¶
func (o OpenVpnServerArrayOutput) Index(i pulumi.IntInput) OpenVpnServerOutput
func (OpenVpnServerArrayOutput) ToOpenVpnServerArrayOutput ¶
func (o OpenVpnServerArrayOutput) ToOpenVpnServerArrayOutput() OpenVpnServerArrayOutput
func (OpenVpnServerArrayOutput) ToOpenVpnServerArrayOutputWithContext ¶
func (o OpenVpnServerArrayOutput) ToOpenVpnServerArrayOutputWithContext(ctx context.Context) OpenVpnServerArrayOutput
type OpenVpnServerInput ¶
type OpenVpnServerInput interface { pulumi.Input ToOpenVpnServerOutput() OpenVpnServerOutput ToOpenVpnServerOutputWithContext(ctx context.Context) OpenVpnServerOutput }
type OpenVpnServerMap ¶
type OpenVpnServerMap map[string]OpenVpnServerInput
func (OpenVpnServerMap) ElementType ¶
func (OpenVpnServerMap) ElementType() reflect.Type
func (OpenVpnServerMap) ToOpenVpnServerMapOutput ¶
func (i OpenVpnServerMap) ToOpenVpnServerMapOutput() OpenVpnServerMapOutput
func (OpenVpnServerMap) ToOpenVpnServerMapOutputWithContext ¶
func (i OpenVpnServerMap) ToOpenVpnServerMapOutputWithContext(ctx context.Context) OpenVpnServerMapOutput
type OpenVpnServerMapInput ¶
type OpenVpnServerMapInput interface { pulumi.Input ToOpenVpnServerMapOutput() OpenVpnServerMapOutput ToOpenVpnServerMapOutputWithContext(context.Context) OpenVpnServerMapOutput }
OpenVpnServerMapInput is an input type that accepts OpenVpnServerMap and OpenVpnServerMapOutput values. You can construct a concrete instance of `OpenVpnServerMapInput` via:
OpenVpnServerMap{ "key": OpenVpnServerArgs{...} }
type OpenVpnServerMapOutput ¶
type OpenVpnServerMapOutput struct{ *pulumi.OutputState }
func (OpenVpnServerMapOutput) ElementType ¶
func (OpenVpnServerMapOutput) ElementType() reflect.Type
func (OpenVpnServerMapOutput) MapIndex ¶
func (o OpenVpnServerMapOutput) MapIndex(k pulumi.StringInput) OpenVpnServerOutput
func (OpenVpnServerMapOutput) ToOpenVpnServerMapOutput ¶
func (o OpenVpnServerMapOutput) ToOpenVpnServerMapOutput() OpenVpnServerMapOutput
func (OpenVpnServerMapOutput) ToOpenVpnServerMapOutputWithContext ¶
func (o OpenVpnServerMapOutput) ToOpenVpnServerMapOutputWithContext(ctx context.Context) OpenVpnServerMapOutput
type OpenVpnServerOutput ¶
type OpenVpnServerOutput struct{ *pulumi.OutputState }
func (OpenVpnServerOutput) ClientAddress ¶
func (o OpenVpnServerOutput) ClientAddress() pulumi.StringOutput
The address of the remote side.
func (OpenVpnServerOutput) Comment ¶
func (o OpenVpnServerOutput) Comment() pulumi.StringPtrOutput
func (OpenVpnServerOutput) Disabled ¶
func (o OpenVpnServerOutput) Disabled() pulumi.BoolPtrOutput
func (OpenVpnServerOutput) ElementType ¶
func (OpenVpnServerOutput) ElementType() reflect.Type
func (OpenVpnServerOutput) Encoding ¶
func (o OpenVpnServerOutput) Encoding() pulumi.StringOutput
Encryption characteristics.
func (OpenVpnServerOutput) Mtu ¶
func (o OpenVpnServerOutput) Mtu() pulumi.IntOutput
Layer2 Maximum transmission unit.
func (OpenVpnServerOutput) Name ¶
func (o OpenVpnServerOutput) Name() pulumi.StringOutput
Interface name (Example: ovpn-in1).
func (OpenVpnServerOutput) Running ¶
func (o OpenVpnServerOutput) Running() pulumi.BoolOutput
func (OpenVpnServerOutput) ToOpenVpnServerOutput ¶
func (o OpenVpnServerOutput) ToOpenVpnServerOutput() OpenVpnServerOutput
func (OpenVpnServerOutput) ToOpenVpnServerOutputWithContext ¶
func (o OpenVpnServerOutput) ToOpenVpnServerOutputWithContext(ctx context.Context) OpenVpnServerOutput
func (OpenVpnServerOutput) Uptime ¶
func (o OpenVpnServerOutput) Uptime() pulumi.StringOutput
Connection uptime.
func (OpenVpnServerOutput) User ¶
func (o OpenVpnServerOutput) User() pulumi.StringPtrOutput
User name used for authentication.
type OpenVpnServerState ¶
type OpenVpnServerState struct { // The address of the remote side. ClientAddress pulumi.StringPtrInput Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Encryption characteristics. Encoding pulumi.StringPtrInput // Layer2 Maximum transmission unit. Mtu pulumi.IntPtrInput // Interface name (Example: ovpn-in1). Name pulumi.StringPtrInput Running pulumi.BoolPtrInput // Connection uptime. Uptime pulumi.StringPtrInput // User name used for authentication. User pulumi.StringPtrInput // contains filtered or unexported fields }
func (OpenVpnServerState) ElementType ¶
func (OpenVpnServerState) ElementType() reflect.Type
type Vlan ¶
type Vlan struct { pulumi.CustomResourceState // ARP resolution protocol mode. Arp pulumi.StringPtrOutput `pulumi:"arp"` // ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to // the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, // minutes, hours or days. If no postfix is set then seconds (s) is used. ArpTimeout pulumi.StringPtrOutput `pulumi:"arpTimeout"` Comment pulumi.StringPtrOutput `pulumi:"comment"` Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // Name of the interface. Interface pulumi.StringOutput `pulumi:"interface"` // Layer2 Maximum transmission unit. L2mtu pulumi.IntOutput `pulumi:"l2mtu"` LoopProtect pulumi.StringPtrOutput `pulumi:"loopProtect"` LoopProtectDisableTime pulumi.StringPtrOutput `pulumi:"loopProtectDisableTime"` LoopProtectSendInterval pulumi.StringPtrOutput `pulumi:"loopProtectSendInterval"` LoopProtectStatus pulumi.StringOutput `pulumi:"loopProtectStatus"` MacAddress pulumi.StringOutput `pulumi:"macAddress"` // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringOutput `pulumi:"mtu"` // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringOutput `pulumi:"name"` Running pulumi.BoolOutput `pulumi:"running"` UseServiceTag pulumi.BoolPtrOutput `pulumi:"useServiceTag"` VlanId pulumi.IntOutput `pulumi:"vlanId"` // contains filtered or unexported fields }
## # Iface.Vlan (Resource)
***
#### This is an alias for backwards compatibility between plugin versions. Please see documentation for Iface.InterfaceVlan
func GetVlan ¶
func GetVlan(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VlanState, opts ...pulumi.ResourceOption) (*Vlan, error)
GetVlan gets an existing Vlan 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 NewVlan ¶
func NewVlan(ctx *pulumi.Context, name string, args *VlanArgs, opts ...pulumi.ResourceOption) (*Vlan, error)
NewVlan registers a new resource with the given unique name, arguments, and options.
func (*Vlan) ElementType ¶
func (*Vlan) ToVlanOutput ¶
func (i *Vlan) ToVlanOutput() VlanOutput
func (*Vlan) ToVlanOutputWithContext ¶
func (i *Vlan) ToVlanOutputWithContext(ctx context.Context) VlanOutput
type VlanArgs ¶
type VlanArgs struct { // ARP resolution protocol mode. Arp pulumi.StringPtrInput // ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to // the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, // minutes, hours or days. If no postfix is set then seconds (s) is used. ArpTimeout pulumi.StringPtrInput Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Name of the interface. Interface pulumi.StringInput LoopProtect pulumi.StringPtrInput LoopProtectDisableTime pulumi.StringPtrInput LoopProtectSendInterval pulumi.StringPtrInput // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput UseServiceTag pulumi.BoolPtrInput VlanId pulumi.IntInput // contains filtered or unexported fields }
The set of arguments for constructing a Vlan resource.
func (VlanArgs) ElementType ¶
type VlanArray ¶
type VlanArray []VlanInput
func (VlanArray) ElementType ¶
func (VlanArray) ToVlanArrayOutput ¶
func (i VlanArray) ToVlanArrayOutput() VlanArrayOutput
func (VlanArray) ToVlanArrayOutputWithContext ¶
func (i VlanArray) ToVlanArrayOutputWithContext(ctx context.Context) VlanArrayOutput
type VlanArrayInput ¶
type VlanArrayInput interface { pulumi.Input ToVlanArrayOutput() VlanArrayOutput ToVlanArrayOutputWithContext(context.Context) VlanArrayOutput }
VlanArrayInput is an input type that accepts VlanArray and VlanArrayOutput values. You can construct a concrete instance of `VlanArrayInput` via:
VlanArray{ VlanArgs{...} }
type VlanArrayOutput ¶
type VlanArrayOutput struct{ *pulumi.OutputState }
func (VlanArrayOutput) ElementType ¶
func (VlanArrayOutput) ElementType() reflect.Type
func (VlanArrayOutput) Index ¶
func (o VlanArrayOutput) Index(i pulumi.IntInput) VlanOutput
func (VlanArrayOutput) ToVlanArrayOutput ¶
func (o VlanArrayOutput) ToVlanArrayOutput() VlanArrayOutput
func (VlanArrayOutput) ToVlanArrayOutputWithContext ¶
func (o VlanArrayOutput) ToVlanArrayOutputWithContext(ctx context.Context) VlanArrayOutput
type VlanInput ¶
type VlanInput interface { pulumi.Input ToVlanOutput() VlanOutput ToVlanOutputWithContext(ctx context.Context) VlanOutput }
type VlanMap ¶
func (VlanMap) ElementType ¶
func (VlanMap) ToVlanMapOutput ¶
func (i VlanMap) ToVlanMapOutput() VlanMapOutput
func (VlanMap) ToVlanMapOutputWithContext ¶
func (i VlanMap) ToVlanMapOutputWithContext(ctx context.Context) VlanMapOutput
type VlanMapInput ¶
type VlanMapInput interface { pulumi.Input ToVlanMapOutput() VlanMapOutput ToVlanMapOutputWithContext(context.Context) VlanMapOutput }
VlanMapInput is an input type that accepts VlanMap and VlanMapOutput values. You can construct a concrete instance of `VlanMapInput` via:
VlanMap{ "key": VlanArgs{...} }
type VlanMapOutput ¶
type VlanMapOutput struct{ *pulumi.OutputState }
func (VlanMapOutput) ElementType ¶
func (VlanMapOutput) ElementType() reflect.Type
func (VlanMapOutput) MapIndex ¶
func (o VlanMapOutput) MapIndex(k pulumi.StringInput) VlanOutput
func (VlanMapOutput) ToVlanMapOutput ¶
func (o VlanMapOutput) ToVlanMapOutput() VlanMapOutput
func (VlanMapOutput) ToVlanMapOutputWithContext ¶
func (o VlanMapOutput) ToVlanMapOutputWithContext(ctx context.Context) VlanMapOutput
type VlanOutput ¶
type VlanOutput struct{ *pulumi.OutputState }
func (VlanOutput) Arp ¶
func (o VlanOutput) Arp() pulumi.StringPtrOutput
ARP resolution protocol mode.
func (VlanOutput) ArpTimeout ¶
func (o VlanOutput) ArpTimeout() pulumi.StringPtrOutput
ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
func (VlanOutput) Comment ¶
func (o VlanOutput) Comment() pulumi.StringPtrOutput
func (VlanOutput) Disabled ¶
func (o VlanOutput) Disabled() pulumi.BoolPtrOutput
func (VlanOutput) ElementType ¶
func (VlanOutput) ElementType() reflect.Type
func (VlanOutput) Interface ¶
func (o VlanOutput) Interface() pulumi.StringOutput
Name of the interface.
func (VlanOutput) L2mtu ¶
func (o VlanOutput) L2mtu() pulumi.IntOutput
Layer2 Maximum transmission unit.
func (VlanOutput) LoopProtect ¶
func (o VlanOutput) LoopProtect() pulumi.StringPtrOutput
func (VlanOutput) LoopProtectDisableTime ¶
func (o VlanOutput) LoopProtectDisableTime() pulumi.StringPtrOutput
func (VlanOutput) LoopProtectSendInterval ¶
func (o VlanOutput) LoopProtectSendInterval() pulumi.StringPtrOutput
func (VlanOutput) LoopProtectStatus ¶
func (o VlanOutput) LoopProtectStatus() pulumi.StringOutput
func (VlanOutput) MacAddress ¶
func (o VlanOutput) MacAddress() pulumi.StringOutput
func (VlanOutput) Mtu ¶
func (o VlanOutput) Mtu() pulumi.StringOutput
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
func (VlanOutput) Name ¶
func (o VlanOutput) Name() pulumi.StringOutput
Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control integrity for that resource!
func (VlanOutput) Running ¶
func (o VlanOutput) Running() pulumi.BoolOutput
func (VlanOutput) ToVlanOutput ¶
func (o VlanOutput) ToVlanOutput() VlanOutput
func (VlanOutput) ToVlanOutputWithContext ¶
func (o VlanOutput) ToVlanOutputWithContext(ctx context.Context) VlanOutput
func (VlanOutput) UseServiceTag ¶
func (o VlanOutput) UseServiceTag() pulumi.BoolPtrOutput
func (VlanOutput) VlanId ¶
func (o VlanOutput) VlanId() pulumi.IntOutput
type VlanState ¶
type VlanState struct { // ARP resolution protocol mode. Arp pulumi.StringPtrInput // ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to // the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, // minutes, hours or days. If no postfix is set then seconds (s) is used. ArpTimeout pulumi.StringPtrInput Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Name of the interface. Interface pulumi.StringPtrInput // Layer2 Maximum transmission unit. L2mtu pulumi.IntPtrInput LoopProtect pulumi.StringPtrInput LoopProtectDisableTime pulumi.StringPtrInput LoopProtectSendInterval pulumi.StringPtrInput LoopProtectStatus pulumi.StringPtrInput MacAddress pulumi.StringPtrInput // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput Running pulumi.BoolPtrInput UseServiceTag pulumi.BoolPtrInput VlanId pulumi.IntPtrInput // contains filtered or unexported fields }
func (VlanState) ElementType ¶
type Vrrp ¶
type Vrrp struct { pulumi.CustomResourceState // ARP resolution protocol mode. Arp pulumi.StringPtrOutput `pulumi:"arp"` // ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to // the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, // minutes, hours or days. If no postfix is set then seconds (s) is used. ArpTimeout pulumi.StringPtrOutput `pulumi:"arpTimeout"` // Authentication method to use for VRRP advertisement packets. Authentication pulumi.StringPtrOutput `pulumi:"authentication"` Comment pulumi.StringPtrOutput `pulumi:"comment"` Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. GroupMaster pulumi.StringOutput `pulumi:"groupMaster"` // Name of the interface. Interface pulumi.StringOutput `pulumi:"interface"` // VRRP update interval in seconds. Defines how often master sends advertisement packets. Interval pulumi.StringPtrOutput `pulumi:"interval"` Invalid pulumi.BoolOutput `pulumi:"invalid"` MacAddress pulumi.StringOutput `pulumi:"macAddress"` // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringOutput `pulumi:"mtu"` // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringOutput `pulumi:"name"` // Script to execute when the node is switched to the backup state. OnBackup pulumi.StringPtrOutput `pulumi:"onBackup"` // Script to execute when the node fails. OnFail pulumi.StringPtrOutput `pulumi:"onFail"` // Script to execute when the node is switched to master state. OnMaster pulumi.StringPtrOutput `pulumi:"onMaster"` // Password required for authentication. Can be ignored if authentication is not used. Password pulumi.StringPtrOutput `pulumi:"password"` // Whether the master node always has the priority. When set to 'no' the backup node will not be elected to be a master // until the current master fails, even if the backup node has higher priority than the current master. This setting is // ignored if the owner router becomes available PreemptionMode pulumi.BoolPtrOutput `pulumi:"preemptionMode"` // Priority of VRRP node used in Master election algorithm. A higher number means higher priority. '255' is reserved for // the router that owns VR IP and '0' is reserved for the Master router to indicate that it is releasing responsibility. Priority pulumi.IntPtrOutput `pulumi:"priority"` // Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system // autodetects the remote address via VRRP. The remote address is used only if sync-connection-tracking=yes.Sync connection // tracking uses UDP port 8275. RemoteAddress pulumi.StringPtrOutput `pulumi:"remoteAddress"` Running pulumi.BoolOutput `pulumi:"running"` // Synchronize connection tracking entries from Master to Backup device. SyncConnectionTracking pulumi.BoolPtrOutput `pulumi:"syncConnectionTracking"` // A protocol that will be used by VRRPv3. Valid only if the version is 3. V3Protocol pulumi.StringPtrOutput `pulumi:"v3Protocol"` // Which VRRP version to use. Version pulumi.IntPtrOutput `pulumi:"version"` // Virtual Router identifier. Each Virtual router must have a unique id number. Vrid pulumi.IntPtrOutput `pulumi:"vrid"` // contains filtered or unexported fields }
## # Iface.Vrrp (Resource)
***
#### This is an alias for backwards compatibility between plugin versions. Please see documentation for Iface.InterfaceVrrp
func GetVrrp ¶
func GetVrrp(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VrrpState, opts ...pulumi.ResourceOption) (*Vrrp, error)
GetVrrp gets an existing Vrrp 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 NewVrrp ¶
func NewVrrp(ctx *pulumi.Context, name string, args *VrrpArgs, opts ...pulumi.ResourceOption) (*Vrrp, error)
NewVrrp registers a new resource with the given unique name, arguments, and options.
func (*Vrrp) ElementType ¶
func (*Vrrp) ToVrrpOutput ¶
func (i *Vrrp) ToVrrpOutput() VrrpOutput
func (*Vrrp) ToVrrpOutputWithContext ¶
func (i *Vrrp) ToVrrpOutputWithContext(ctx context.Context) VrrpOutput
type VrrpArgs ¶
type VrrpArgs struct { // ARP resolution protocol mode. Arp pulumi.StringPtrInput // ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to // the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, // minutes, hours or days. If no postfix is set then seconds (s) is used. ArpTimeout pulumi.StringPtrInput // Authentication method to use for VRRP advertisement packets. Authentication pulumi.StringPtrInput Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. GroupMaster pulumi.StringPtrInput // Name of the interface. Interface pulumi.StringInput // VRRP update interval in seconds. Defines how often master sends advertisement packets. Interval pulumi.StringPtrInput // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput // Script to execute when the node is switched to the backup state. OnBackup pulumi.StringPtrInput // Script to execute when the node fails. OnFail pulumi.StringPtrInput // Script to execute when the node is switched to master state. OnMaster pulumi.StringPtrInput // Password required for authentication. Can be ignored if authentication is not used. Password pulumi.StringPtrInput // Whether the master node always has the priority. When set to 'no' the backup node will not be elected to be a master // until the current master fails, even if the backup node has higher priority than the current master. This setting is // ignored if the owner router becomes available PreemptionMode pulumi.BoolPtrInput // Priority of VRRP node used in Master election algorithm. A higher number means higher priority. '255' is reserved for // the router that owns VR IP and '0' is reserved for the Master router to indicate that it is releasing responsibility. Priority pulumi.IntPtrInput // Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system // autodetects the remote address via VRRP. The remote address is used only if sync-connection-tracking=yes.Sync connection // tracking uses UDP port 8275. RemoteAddress pulumi.StringPtrInput // Synchronize connection tracking entries from Master to Backup device. SyncConnectionTracking pulumi.BoolPtrInput // A protocol that will be used by VRRPv3. Valid only if the version is 3. V3Protocol pulumi.StringPtrInput // Which VRRP version to use. Version pulumi.IntPtrInput // Virtual Router identifier. Each Virtual router must have a unique id number. Vrid pulumi.IntPtrInput // contains filtered or unexported fields }
The set of arguments for constructing a Vrrp resource.
func (VrrpArgs) ElementType ¶
type VrrpArray ¶
type VrrpArray []VrrpInput
func (VrrpArray) ElementType ¶
func (VrrpArray) ToVrrpArrayOutput ¶
func (i VrrpArray) ToVrrpArrayOutput() VrrpArrayOutput
func (VrrpArray) ToVrrpArrayOutputWithContext ¶
func (i VrrpArray) ToVrrpArrayOutputWithContext(ctx context.Context) VrrpArrayOutput
type VrrpArrayInput ¶
type VrrpArrayInput interface { pulumi.Input ToVrrpArrayOutput() VrrpArrayOutput ToVrrpArrayOutputWithContext(context.Context) VrrpArrayOutput }
VrrpArrayInput is an input type that accepts VrrpArray and VrrpArrayOutput values. You can construct a concrete instance of `VrrpArrayInput` via:
VrrpArray{ VrrpArgs{...} }
type VrrpArrayOutput ¶
type VrrpArrayOutput struct{ *pulumi.OutputState }
func (VrrpArrayOutput) ElementType ¶
func (VrrpArrayOutput) ElementType() reflect.Type
func (VrrpArrayOutput) Index ¶
func (o VrrpArrayOutput) Index(i pulumi.IntInput) VrrpOutput
func (VrrpArrayOutput) ToVrrpArrayOutput ¶
func (o VrrpArrayOutput) ToVrrpArrayOutput() VrrpArrayOutput
func (VrrpArrayOutput) ToVrrpArrayOutputWithContext ¶
func (o VrrpArrayOutput) ToVrrpArrayOutputWithContext(ctx context.Context) VrrpArrayOutput
type VrrpInput ¶
type VrrpInput interface { pulumi.Input ToVrrpOutput() VrrpOutput ToVrrpOutputWithContext(ctx context.Context) VrrpOutput }
type VrrpMap ¶
func (VrrpMap) ElementType ¶
func (VrrpMap) ToVrrpMapOutput ¶
func (i VrrpMap) ToVrrpMapOutput() VrrpMapOutput
func (VrrpMap) ToVrrpMapOutputWithContext ¶
func (i VrrpMap) ToVrrpMapOutputWithContext(ctx context.Context) VrrpMapOutput
type VrrpMapInput ¶
type VrrpMapInput interface { pulumi.Input ToVrrpMapOutput() VrrpMapOutput ToVrrpMapOutputWithContext(context.Context) VrrpMapOutput }
VrrpMapInput is an input type that accepts VrrpMap and VrrpMapOutput values. You can construct a concrete instance of `VrrpMapInput` via:
VrrpMap{ "key": VrrpArgs{...} }
type VrrpMapOutput ¶
type VrrpMapOutput struct{ *pulumi.OutputState }
func (VrrpMapOutput) ElementType ¶
func (VrrpMapOutput) ElementType() reflect.Type
func (VrrpMapOutput) MapIndex ¶
func (o VrrpMapOutput) MapIndex(k pulumi.StringInput) VrrpOutput
func (VrrpMapOutput) ToVrrpMapOutput ¶
func (o VrrpMapOutput) ToVrrpMapOutput() VrrpMapOutput
func (VrrpMapOutput) ToVrrpMapOutputWithContext ¶
func (o VrrpMapOutput) ToVrrpMapOutputWithContext(ctx context.Context) VrrpMapOutput
type VrrpOutput ¶
type VrrpOutput struct{ *pulumi.OutputState }
func (VrrpOutput) Arp ¶
func (o VrrpOutput) Arp() pulumi.StringPtrOutput
ARP resolution protocol mode.
func (VrrpOutput) ArpTimeout ¶
func (o VrrpOutput) ArpTimeout() pulumi.StringPtrOutput
ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, minutes, hours or days. If no postfix is set then seconds (s) is used.
func (VrrpOutput) Authentication ¶
func (o VrrpOutput) Authentication() pulumi.StringPtrOutput
Authentication method to use for VRRP advertisement packets.
func (VrrpOutput) Comment ¶
func (o VrrpOutput) Comment() pulumi.StringPtrOutput
func (VrrpOutput) Disabled ¶
func (o VrrpOutput) Disabled() pulumi.BoolPtrOutput
func (VrrpOutput) ElementType ¶
func (VrrpOutput) ElementType() reflect.Type
func (VrrpOutput) GroupMaster ¶
func (o VrrpOutput) GroupMaster() pulumi.StringOutput
Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group.
func (VrrpOutput) Interface ¶
func (o VrrpOutput) Interface() pulumi.StringOutput
Name of the interface.
func (VrrpOutput) Interval ¶
func (o VrrpOutput) Interval() pulumi.StringPtrOutput
VRRP update interval in seconds. Defines how often master sends advertisement packets.
func (VrrpOutput) Invalid ¶
func (o VrrpOutput) Invalid() pulumi.BoolOutput
func (VrrpOutput) MacAddress ¶
func (o VrrpOutput) MacAddress() pulumi.StringOutput
func (VrrpOutput) Mtu ¶
func (o VrrpOutput) Mtu() pulumi.StringOutput
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
func (VrrpOutput) Name ¶
func (o VrrpOutput) Name() pulumi.StringOutput
Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control integrity for that resource!
func (VrrpOutput) OnBackup ¶
func (o VrrpOutput) OnBackup() pulumi.StringPtrOutput
Script to execute when the node is switched to the backup state.
func (VrrpOutput) OnFail ¶
func (o VrrpOutput) OnFail() pulumi.StringPtrOutput
Script to execute when the node fails.
func (VrrpOutput) OnMaster ¶
func (o VrrpOutput) OnMaster() pulumi.StringPtrOutput
Script to execute when the node is switched to master state.
func (VrrpOutput) Password ¶
func (o VrrpOutput) Password() pulumi.StringPtrOutput
Password required for authentication. Can be ignored if authentication is not used.
func (VrrpOutput) PreemptionMode ¶
func (o VrrpOutput) PreemptionMode() pulumi.BoolPtrOutput
Whether the master node always has the priority. When set to 'no' the backup node will not be elected to be a master until the current master fails, even if the backup node has higher priority than the current master. This setting is ignored if the owner router becomes available
func (VrrpOutput) Priority ¶
func (o VrrpOutput) Priority() pulumi.IntPtrOutput
Priority of VRRP node used in Master election algorithm. A higher number means higher priority. '255' is reserved for the router that owns VR IP and '0' is reserved for the Master router to indicate that it is releasing responsibility.
func (VrrpOutput) RemoteAddress ¶
func (o VrrpOutput) RemoteAddress() pulumi.StringPtrOutput
Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system autodetects the remote address via VRRP. The remote address is used only if sync-connection-tracking=yes.Sync connection tracking uses UDP port 8275.
func (VrrpOutput) Running ¶
func (o VrrpOutput) Running() pulumi.BoolOutput
func (VrrpOutput) SyncConnectionTracking ¶
func (o VrrpOutput) SyncConnectionTracking() pulumi.BoolPtrOutput
Synchronize connection tracking entries from Master to Backup device.
func (VrrpOutput) ToVrrpOutput ¶
func (o VrrpOutput) ToVrrpOutput() VrrpOutput
func (VrrpOutput) ToVrrpOutputWithContext ¶
func (o VrrpOutput) ToVrrpOutputWithContext(ctx context.Context) VrrpOutput
func (VrrpOutput) V3Protocol ¶
func (o VrrpOutput) V3Protocol() pulumi.StringPtrOutput
A protocol that will be used by VRRPv3. Valid only if the version is 3.
func (VrrpOutput) Version ¶
func (o VrrpOutput) Version() pulumi.IntPtrOutput
Which VRRP version to use.
func (VrrpOutput) Vrid ¶
func (o VrrpOutput) Vrid() pulumi.IntPtrOutput
Virtual Router identifier. Each Virtual router must have a unique id number.
type VrrpState ¶
type VrrpState struct { // ARP resolution protocol mode. Arp pulumi.StringPtrInput // ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to // the value of arp-timeout in IP/Settings, default is 30s. Can use postfix ms, s, M, h, d for milliseconds, seconds, // minutes, hours or days. If no postfix is set then seconds (s) is used. ArpTimeout pulumi.StringPtrInput // Authentication method to use for VRRP advertisement packets. Authentication pulumi.StringPtrInput Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Allows combining multiple VRRP interfaces to maintain the same VRRP status within the group. GroupMaster pulumi.StringPtrInput // Name of the interface. Interface pulumi.StringPtrInput // VRRP update interval in seconds. Defines how often master sends advertisement packets. Interval pulumi.StringPtrInput Invalid pulumi.BoolPtrInput MacAddress pulumi.StringPtrInput // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput // Script to execute when the node is switched to the backup state. OnBackup pulumi.StringPtrInput // Script to execute when the node fails. OnFail pulumi.StringPtrInput // Script to execute when the node is switched to master state. OnMaster pulumi.StringPtrInput // Password required for authentication. Can be ignored if authentication is not used. Password pulumi.StringPtrInput // Whether the master node always has the priority. When set to 'no' the backup node will not be elected to be a master // until the current master fails, even if the backup node has higher priority than the current master. This setting is // ignored if the owner router becomes available PreemptionMode pulumi.BoolPtrInput // Priority of VRRP node used in Master election algorithm. A higher number means higher priority. '255' is reserved for // the router that owns VR IP and '0' is reserved for the Master router to indicate that it is releasing responsibility. Priority pulumi.IntPtrInput // Specifies the remote address of the other VRRP router for syncing connection tracking. If not set, the system // autodetects the remote address via VRRP. The remote address is used only if sync-connection-tracking=yes.Sync connection // tracking uses UDP port 8275. RemoteAddress pulumi.StringPtrInput Running pulumi.BoolPtrInput // Synchronize connection tracking entries from Master to Backup device. SyncConnectionTracking pulumi.BoolPtrInput // A protocol that will be used by VRRPv3. Valid only if the version is 3. V3Protocol pulumi.StringPtrInput // Which VRRP version to use. Version pulumi.IntPtrInput // Virtual Router identifier. Each Virtual router must have a unique id number. Vrid pulumi.IntPtrInput // contains filtered or unexported fields }
func (VrrpState) ElementType ¶
type Wireguard ¶
type Wireguard struct { pulumi.CustomResourceState Comment pulumi.StringPtrOutput `pulumi:"comment"` Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // Port for WireGuard service to listen on for incoming sessions. ListenPort pulumi.IntOutput `pulumi:"listenPort"` // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringOutput `pulumi:"mtu"` // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringOutput `pulumi:"name"` // A base64 private key. If not specified, it will be automatically generated upon interface creation. PrivateKey pulumi.StringOutput `pulumi:"privateKey"` // A base64 public key is calculated from the private key. PublicKey pulumi.StringOutput `pulumi:"publicKey"` Running pulumi.BoolOutput `pulumi:"running"` // contains filtered or unexported fields }
## # Iface.Wireguard (Resource)
***
#### This is an alias for backwards compatibility between plugin versions. Please see documentation for Iface.InterfaceWireguard
func GetWireguard ¶
func GetWireguard(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WireguardState, opts ...pulumi.ResourceOption) (*Wireguard, error)
GetWireguard gets an existing Wireguard 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 NewWireguard ¶
func NewWireguard(ctx *pulumi.Context, name string, args *WireguardArgs, opts ...pulumi.ResourceOption) (*Wireguard, error)
NewWireguard registers a new resource with the given unique name, arguments, and options.
func (*Wireguard) ElementType ¶
func (*Wireguard) ToWireguardOutput ¶
func (i *Wireguard) ToWireguardOutput() WireguardOutput
func (*Wireguard) ToWireguardOutputWithContext ¶
func (i *Wireguard) ToWireguardOutputWithContext(ctx context.Context) WireguardOutput
type WireguardArgs ¶
type WireguardArgs struct { Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Port for WireGuard service to listen on for incoming sessions. ListenPort pulumi.IntInput // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput // A base64 private key. If not specified, it will be automatically generated upon interface creation. PrivateKey pulumi.StringPtrInput // contains filtered or unexported fields }
The set of arguments for constructing a Wireguard resource.
func (WireguardArgs) ElementType ¶
func (WireguardArgs) ElementType() reflect.Type
type WireguardArray ¶
type WireguardArray []WireguardInput
func (WireguardArray) ElementType ¶
func (WireguardArray) ElementType() reflect.Type
func (WireguardArray) ToWireguardArrayOutput ¶
func (i WireguardArray) ToWireguardArrayOutput() WireguardArrayOutput
func (WireguardArray) ToWireguardArrayOutputWithContext ¶
func (i WireguardArray) ToWireguardArrayOutputWithContext(ctx context.Context) WireguardArrayOutput
type WireguardArrayInput ¶
type WireguardArrayInput interface { pulumi.Input ToWireguardArrayOutput() WireguardArrayOutput ToWireguardArrayOutputWithContext(context.Context) WireguardArrayOutput }
WireguardArrayInput is an input type that accepts WireguardArray and WireguardArrayOutput values. You can construct a concrete instance of `WireguardArrayInput` via:
WireguardArray{ WireguardArgs{...} }
type WireguardArrayOutput ¶
type WireguardArrayOutput struct{ *pulumi.OutputState }
func (WireguardArrayOutput) ElementType ¶
func (WireguardArrayOutput) ElementType() reflect.Type
func (WireguardArrayOutput) Index ¶
func (o WireguardArrayOutput) Index(i pulumi.IntInput) WireguardOutput
func (WireguardArrayOutput) ToWireguardArrayOutput ¶
func (o WireguardArrayOutput) ToWireguardArrayOutput() WireguardArrayOutput
func (WireguardArrayOutput) ToWireguardArrayOutputWithContext ¶
func (o WireguardArrayOutput) ToWireguardArrayOutputWithContext(ctx context.Context) WireguardArrayOutput
type WireguardInput ¶
type WireguardInput interface { pulumi.Input ToWireguardOutput() WireguardOutput ToWireguardOutputWithContext(ctx context.Context) WireguardOutput }
type WireguardMap ¶
type WireguardMap map[string]WireguardInput
func (WireguardMap) ElementType ¶
func (WireguardMap) ElementType() reflect.Type
func (WireguardMap) ToWireguardMapOutput ¶
func (i WireguardMap) ToWireguardMapOutput() WireguardMapOutput
func (WireguardMap) ToWireguardMapOutputWithContext ¶
func (i WireguardMap) ToWireguardMapOutputWithContext(ctx context.Context) WireguardMapOutput
type WireguardMapInput ¶
type WireguardMapInput interface { pulumi.Input ToWireguardMapOutput() WireguardMapOutput ToWireguardMapOutputWithContext(context.Context) WireguardMapOutput }
WireguardMapInput is an input type that accepts WireguardMap and WireguardMapOutput values. You can construct a concrete instance of `WireguardMapInput` via:
WireguardMap{ "key": WireguardArgs{...} }
type WireguardMapOutput ¶
type WireguardMapOutput struct{ *pulumi.OutputState }
func (WireguardMapOutput) ElementType ¶
func (WireguardMapOutput) ElementType() reflect.Type
func (WireguardMapOutput) MapIndex ¶
func (o WireguardMapOutput) MapIndex(k pulumi.StringInput) WireguardOutput
func (WireguardMapOutput) ToWireguardMapOutput ¶
func (o WireguardMapOutput) ToWireguardMapOutput() WireguardMapOutput
func (WireguardMapOutput) ToWireguardMapOutputWithContext ¶
func (o WireguardMapOutput) ToWireguardMapOutputWithContext(ctx context.Context) WireguardMapOutput
type WireguardOutput ¶
type WireguardOutput struct{ *pulumi.OutputState }
func (WireguardOutput) Comment ¶
func (o WireguardOutput) Comment() pulumi.StringPtrOutput
func (WireguardOutput) Disabled ¶
func (o WireguardOutput) Disabled() pulumi.BoolPtrOutput
func (WireguardOutput) ElementType ¶
func (WireguardOutput) ElementType() reflect.Type
func (WireguardOutput) ListenPort ¶
func (o WireguardOutput) ListenPort() pulumi.IntOutput
Port for WireGuard service to listen on for incoming sessions.
func (WireguardOutput) Mtu ¶
func (o WireguardOutput) Mtu() pulumi.StringOutput
Layer3 Maximum transmission unit ('auto', 0 .. 65535)
func (WireguardOutput) Name ¶
func (o WireguardOutput) Name() pulumi.StringOutput
Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control integrity for that resource!
func (WireguardOutput) PrivateKey ¶
func (o WireguardOutput) PrivateKey() pulumi.StringOutput
A base64 private key. If not specified, it will be automatically generated upon interface creation.
func (WireguardOutput) PublicKey ¶
func (o WireguardOutput) PublicKey() pulumi.StringOutput
A base64 public key is calculated from the private key.
func (WireguardOutput) Running ¶
func (o WireguardOutput) Running() pulumi.BoolOutput
func (WireguardOutput) ToWireguardOutput ¶
func (o WireguardOutput) ToWireguardOutput() WireguardOutput
func (WireguardOutput) ToWireguardOutputWithContext ¶
func (o WireguardOutput) ToWireguardOutputWithContext(ctx context.Context) WireguardOutput
type WireguardPeer ¶
type WireguardPeer struct { pulumi.CustomResourceState // List of IP (v4 or v6) addresses with CIDR masks from which incoming traffic for this peer is allowed and to which // outgoing traffic for this peer is directed. The catch-all 0.0.0.0/0 may be specified for matching all IPv4 addresses, // and ::/0 may be specified for matching all IPv6 addresses. AllowedAddresses pulumi.StringArrayOutput `pulumi:"allowedAddresses"` Comment pulumi.StringPtrOutput `pulumi:"comment"` // The most recent source IP address of correctly authenticated packets from the peer. CurrentEndpointAddress pulumi.StringOutput `pulumi:"currentEndpointAddress"` // The most recent source IP port of correctly authenticated packets from the peer. CurrentEndpointPort pulumi.IntOutput `pulumi:"currentEndpointPort"` Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // An endpoint IP or hostname can be left blank to allow remote connection from any address. EndpointAddress pulumi.StringOutput `pulumi:"endpointAddress"` // An endpoint port can be left blank to allow remote connection from any port. EndpointPort pulumi.StringOutput `pulumi:"endpointPort"` // Name of the interface. Interface pulumi.StringOutput `pulumi:"interface"` // Time in seconds after the last successful handshake. LastHandshake pulumi.StringOutput `pulumi:"lastHandshake"` // A seconds interval, between 1 and 65535 inclusive, of how often to send an authenticated empty packet to the peer for // the purpose of keeping a stateful firewall or NAT mapping valid persistently. For example, if the interface very rarely // sends traffic, but it might at anytime receive traffic from a peer, and it is behind NAT, the interface might benefit // from having a persistent keepalive interval of 25 seconds. PersistentKeepalive pulumi.StringPtrOutput `pulumi:"persistentKeepalive"` // cryptography to be mixed into the already existing public-key cryptography, for post-quantum resistance. PresharedKey pulumi.StringPtrOutput `pulumi:"presharedKey"` // The remote peer's calculated public key. PublicKey pulumi.StringOutput `pulumi:"publicKey"` // The total amount of bytes received from the peer. Rx pulumi.StringOutput `pulumi:"rx"` // The total amount of bytes transmitted to the peer. Tx pulumi.StringOutput `pulumi:"tx"` // contains filtered or unexported fields }
## # Iface.WireguardPeer (Resource)
***
#### This is an alias for backwards compatibility between plugin versions. Please see documentation for Iface.InterfaceWireguardPeer
func GetWireguardPeer ¶
func GetWireguardPeer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WireguardPeerState, opts ...pulumi.ResourceOption) (*WireguardPeer, error)
GetWireguardPeer gets an existing WireguardPeer 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 NewWireguardPeer ¶
func NewWireguardPeer(ctx *pulumi.Context, name string, args *WireguardPeerArgs, opts ...pulumi.ResourceOption) (*WireguardPeer, error)
NewWireguardPeer registers a new resource with the given unique name, arguments, and options.
func (*WireguardPeer) ElementType ¶
func (*WireguardPeer) ElementType() reflect.Type
func (*WireguardPeer) ToWireguardPeerOutput ¶
func (i *WireguardPeer) ToWireguardPeerOutput() WireguardPeerOutput
func (*WireguardPeer) ToWireguardPeerOutputWithContext ¶
func (i *WireguardPeer) ToWireguardPeerOutputWithContext(ctx context.Context) WireguardPeerOutput
type WireguardPeerArgs ¶
type WireguardPeerArgs struct { // List of IP (v4 or v6) addresses with CIDR masks from which incoming traffic for this peer is allowed and to which // outgoing traffic for this peer is directed. The catch-all 0.0.0.0/0 may be specified for matching all IPv4 addresses, // and ::/0 may be specified for matching all IPv6 addresses. AllowedAddresses pulumi.StringArrayInput Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // An endpoint IP or hostname can be left blank to allow remote connection from any address. EndpointAddress pulumi.StringPtrInput // An endpoint port can be left blank to allow remote connection from any port. EndpointPort pulumi.StringPtrInput // Name of the interface. Interface pulumi.StringInput // A seconds interval, between 1 and 65535 inclusive, of how often to send an authenticated empty packet to the peer for // the purpose of keeping a stateful firewall or NAT mapping valid persistently. For example, if the interface very rarely // sends traffic, but it might at anytime receive traffic from a peer, and it is behind NAT, the interface might benefit // from having a persistent keepalive interval of 25 seconds. PersistentKeepalive pulumi.StringPtrInput // cryptography to be mixed into the already existing public-key cryptography, for post-quantum resistance. PresharedKey pulumi.StringPtrInput // The remote peer's calculated public key. PublicKey pulumi.StringInput // contains filtered or unexported fields }
The set of arguments for constructing a WireguardPeer resource.
func (WireguardPeerArgs) ElementType ¶
func (WireguardPeerArgs) ElementType() reflect.Type
type WireguardPeerArray ¶
type WireguardPeerArray []WireguardPeerInput
func (WireguardPeerArray) ElementType ¶
func (WireguardPeerArray) ElementType() reflect.Type
func (WireguardPeerArray) ToWireguardPeerArrayOutput ¶
func (i WireguardPeerArray) ToWireguardPeerArrayOutput() WireguardPeerArrayOutput
func (WireguardPeerArray) ToWireguardPeerArrayOutputWithContext ¶
func (i WireguardPeerArray) ToWireguardPeerArrayOutputWithContext(ctx context.Context) WireguardPeerArrayOutput
type WireguardPeerArrayInput ¶
type WireguardPeerArrayInput interface { pulumi.Input ToWireguardPeerArrayOutput() WireguardPeerArrayOutput ToWireguardPeerArrayOutputWithContext(context.Context) WireguardPeerArrayOutput }
WireguardPeerArrayInput is an input type that accepts WireguardPeerArray and WireguardPeerArrayOutput values. You can construct a concrete instance of `WireguardPeerArrayInput` via:
WireguardPeerArray{ WireguardPeerArgs{...} }
type WireguardPeerArrayOutput ¶
type WireguardPeerArrayOutput struct{ *pulumi.OutputState }
func (WireguardPeerArrayOutput) ElementType ¶
func (WireguardPeerArrayOutput) ElementType() reflect.Type
func (WireguardPeerArrayOutput) Index ¶
func (o WireguardPeerArrayOutput) Index(i pulumi.IntInput) WireguardPeerOutput
func (WireguardPeerArrayOutput) ToWireguardPeerArrayOutput ¶
func (o WireguardPeerArrayOutput) ToWireguardPeerArrayOutput() WireguardPeerArrayOutput
func (WireguardPeerArrayOutput) ToWireguardPeerArrayOutputWithContext ¶
func (o WireguardPeerArrayOutput) ToWireguardPeerArrayOutputWithContext(ctx context.Context) WireguardPeerArrayOutput
type WireguardPeerInput ¶
type WireguardPeerInput interface { pulumi.Input ToWireguardPeerOutput() WireguardPeerOutput ToWireguardPeerOutputWithContext(ctx context.Context) WireguardPeerOutput }
type WireguardPeerMap ¶
type WireguardPeerMap map[string]WireguardPeerInput
func (WireguardPeerMap) ElementType ¶
func (WireguardPeerMap) ElementType() reflect.Type
func (WireguardPeerMap) ToWireguardPeerMapOutput ¶
func (i WireguardPeerMap) ToWireguardPeerMapOutput() WireguardPeerMapOutput
func (WireguardPeerMap) ToWireguardPeerMapOutputWithContext ¶
func (i WireguardPeerMap) ToWireguardPeerMapOutputWithContext(ctx context.Context) WireguardPeerMapOutput
type WireguardPeerMapInput ¶
type WireguardPeerMapInput interface { pulumi.Input ToWireguardPeerMapOutput() WireguardPeerMapOutput ToWireguardPeerMapOutputWithContext(context.Context) WireguardPeerMapOutput }
WireguardPeerMapInput is an input type that accepts WireguardPeerMap and WireguardPeerMapOutput values. You can construct a concrete instance of `WireguardPeerMapInput` via:
WireguardPeerMap{ "key": WireguardPeerArgs{...} }
type WireguardPeerMapOutput ¶
type WireguardPeerMapOutput struct{ *pulumi.OutputState }
func (WireguardPeerMapOutput) ElementType ¶
func (WireguardPeerMapOutput) ElementType() reflect.Type
func (WireguardPeerMapOutput) MapIndex ¶
func (o WireguardPeerMapOutput) MapIndex(k pulumi.StringInput) WireguardPeerOutput
func (WireguardPeerMapOutput) ToWireguardPeerMapOutput ¶
func (o WireguardPeerMapOutput) ToWireguardPeerMapOutput() WireguardPeerMapOutput
func (WireguardPeerMapOutput) ToWireguardPeerMapOutputWithContext ¶
func (o WireguardPeerMapOutput) ToWireguardPeerMapOutputWithContext(ctx context.Context) WireguardPeerMapOutput
type WireguardPeerOutput ¶
type WireguardPeerOutput struct{ *pulumi.OutputState }
func (WireguardPeerOutput) AllowedAddresses ¶
func (o WireguardPeerOutput) AllowedAddresses() pulumi.StringArrayOutput
List of IP (v4 or v6) addresses with CIDR masks from which incoming traffic for this peer is allowed and to which outgoing traffic for this peer is directed. The catch-all 0.0.0.0/0 may be specified for matching all IPv4 addresses, and ::/0 may be specified for matching all IPv6 addresses.
func (WireguardPeerOutput) Comment ¶
func (o WireguardPeerOutput) Comment() pulumi.StringPtrOutput
func (WireguardPeerOutput) CurrentEndpointAddress ¶
func (o WireguardPeerOutput) CurrentEndpointAddress() pulumi.StringOutput
The most recent source IP address of correctly authenticated packets from the peer.
func (WireguardPeerOutput) CurrentEndpointPort ¶
func (o WireguardPeerOutput) CurrentEndpointPort() pulumi.IntOutput
The most recent source IP port of correctly authenticated packets from the peer.
func (WireguardPeerOutput) Disabled ¶
func (o WireguardPeerOutput) Disabled() pulumi.BoolPtrOutput
func (WireguardPeerOutput) ElementType ¶
func (WireguardPeerOutput) ElementType() reflect.Type
func (WireguardPeerOutput) EndpointAddress ¶
func (o WireguardPeerOutput) EndpointAddress() pulumi.StringOutput
An endpoint IP or hostname can be left blank to allow remote connection from any address.
func (WireguardPeerOutput) EndpointPort ¶
func (o WireguardPeerOutput) EndpointPort() pulumi.StringOutput
An endpoint port can be left blank to allow remote connection from any port.
func (WireguardPeerOutput) Interface ¶
func (o WireguardPeerOutput) Interface() pulumi.StringOutput
Name of the interface.
func (WireguardPeerOutput) LastHandshake ¶
func (o WireguardPeerOutput) LastHandshake() pulumi.StringOutput
Time in seconds after the last successful handshake.
func (WireguardPeerOutput) PersistentKeepalive ¶
func (o WireguardPeerOutput) PersistentKeepalive() pulumi.StringPtrOutput
A seconds interval, between 1 and 65535 inclusive, of how often to send an authenticated empty packet to the peer for the purpose of keeping a stateful firewall or NAT mapping valid persistently. For example, if the interface very rarely sends traffic, but it might at anytime receive traffic from a peer, and it is behind NAT, the interface might benefit from having a persistent keepalive interval of 25 seconds.
func (WireguardPeerOutput) PresharedKey ¶
func (o WireguardPeerOutput) PresharedKey() pulumi.StringPtrOutput
A **base64** preshared key. Optional, and may be omitted. This option adds an additional layer of symmetric-key cryptography to be mixed into the already existing public-key cryptography, for post-quantum resistance.
func (WireguardPeerOutput) PublicKey ¶
func (o WireguardPeerOutput) PublicKey() pulumi.StringOutput
The remote peer's calculated public key.
func (WireguardPeerOutput) Rx ¶
func (o WireguardPeerOutput) Rx() pulumi.StringOutput
The total amount of bytes received from the peer.
func (WireguardPeerOutput) ToWireguardPeerOutput ¶
func (o WireguardPeerOutput) ToWireguardPeerOutput() WireguardPeerOutput
func (WireguardPeerOutput) ToWireguardPeerOutputWithContext ¶
func (o WireguardPeerOutput) ToWireguardPeerOutputWithContext(ctx context.Context) WireguardPeerOutput
func (WireguardPeerOutput) Tx ¶
func (o WireguardPeerOutput) Tx() pulumi.StringOutput
The total amount of bytes transmitted to the peer.
type WireguardPeerState ¶
type WireguardPeerState struct { // List of IP (v4 or v6) addresses with CIDR masks from which incoming traffic for this peer is allowed and to which // outgoing traffic for this peer is directed. The catch-all 0.0.0.0/0 may be specified for matching all IPv4 addresses, // and ::/0 may be specified for matching all IPv6 addresses. AllowedAddresses pulumi.StringArrayInput Comment pulumi.StringPtrInput // The most recent source IP address of correctly authenticated packets from the peer. CurrentEndpointAddress pulumi.StringPtrInput // The most recent source IP port of correctly authenticated packets from the peer. CurrentEndpointPort pulumi.IntPtrInput Disabled pulumi.BoolPtrInput // An endpoint IP or hostname can be left blank to allow remote connection from any address. EndpointAddress pulumi.StringPtrInput // An endpoint port can be left blank to allow remote connection from any port. EndpointPort pulumi.StringPtrInput // Name of the interface. Interface pulumi.StringPtrInput // Time in seconds after the last successful handshake. LastHandshake pulumi.StringPtrInput // A seconds interval, between 1 and 65535 inclusive, of how often to send an authenticated empty packet to the peer for // the purpose of keeping a stateful firewall or NAT mapping valid persistently. For example, if the interface very rarely // sends traffic, but it might at anytime receive traffic from a peer, and it is behind NAT, the interface might benefit // from having a persistent keepalive interval of 25 seconds. PersistentKeepalive pulumi.StringPtrInput // cryptography to be mixed into the already existing public-key cryptography, for post-quantum resistance. PresharedKey pulumi.StringPtrInput // The remote peer's calculated public key. PublicKey pulumi.StringPtrInput // The total amount of bytes received from the peer. Rx pulumi.StringPtrInput // The total amount of bytes transmitted to the peer. Tx pulumi.StringPtrInput // contains filtered or unexported fields }
func (WireguardPeerState) ElementType ¶
func (WireguardPeerState) ElementType() reflect.Type
type WireguardState ¶
type WireguardState struct { Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Port for WireGuard service to listen on for incoming sessions. ListenPort pulumi.IntPtrInput // Layer3 Maximum transmission unit ('auto', 0 .. 65535) Mtu pulumi.StringPtrInput // Changing the name of this resource will force it to be recreated. > The links of other configuration properties to this // resource may be lost! > Changing the name of the resource outside of a Terraform will result in a loss of control // integrity for that resource! Name pulumi.StringPtrInput // A base64 private key. If not specified, it will be automatically generated upon interface creation. PrivateKey pulumi.StringPtrInput // A base64 public key is calculated from the private key. PublicKey pulumi.StringPtrInput Running pulumi.BoolPtrInput // contains filtered or unexported fields }
func (WireguardState) ElementType ¶
func (WireguardState) ElementType() reflect.Type
Source Files ¶
- bridge.go
- bridgePort.go
- bridgeVlan.go
- getInterfaces.go
- gre.go
- init.go
- interfaceBridge.go
- interfaceBridgePort.go
- interfaceBridgeVlan.go
- interfaceGre.go
- interfaceVlan.go
- interfaceVrrp.go
- interfaceWireguard.go
- interfaceWireguardPeer.go
- list.go
- listMember.go
- openVpnServer.go
- pulumiTypes.go
- vlan.go
- vrrp.go
- wireguard.go
- wireguardPeer.go