Documentation
¶
Index ¶
- type Aaa
- type AaaArgs
- type AaaArray
- type AaaArrayInput
- type AaaArrayOutput
- type AaaInput
- type AaaMap
- type AaaMapInput
- type AaaMapOutput
- type AaaOutput
- func (o AaaOutput) CalledFormat() pulumi.StringPtrOutput
- func (AaaOutput) ElementType() reflect.Type
- func (o AaaOutput) InterimUpdate() pulumi.StringOutput
- func (o AaaOutput) MacCaching() pulumi.StringOutput
- func (o AaaOutput) MacFormat() pulumi.StringPtrOutput
- func (o AaaOutput) MacMode() pulumi.StringPtrOutput
- func (o AaaOutput) ToAaaOutput() AaaOutput
- func (o AaaOutput) ToAaaOutputWithContext(ctx context.Context) AaaOutput
- type AaaState
- type Channel
- type ChannelArgs
- type ChannelArray
- type ChannelArrayInput
- type ChannelArrayOutput
- type ChannelInput
- type ChannelMap
- type ChannelMapInput
- type ChannelMapOutput
- type ChannelOutput
- func (o ChannelOutput) Band() pulumi.StringPtrOutput
- func (o ChannelOutput) Comment() pulumi.StringPtrOutput
- func (o ChannelOutput) ControlChannelWidth() pulumi.StringPtrOutput
- func (ChannelOutput) ElementType() reflect.Type
- func (o ChannelOutput) ExtensionChannel() pulumi.StringPtrOutput
- func (o ChannelOutput) Frequency() pulumi.IntOutput
- func (o ChannelOutput) Name() pulumi.StringOutput
- func (o ChannelOutput) ReselectInterval() pulumi.StringPtrOutput
- func (o ChannelOutput) SaveSelected() pulumi.BoolPtrOutput
- func (o ChannelOutput) SecondaryFrequency() pulumi.StringPtrOutput
- func (o ChannelOutput) SkipDfsChannels() pulumi.BoolPtrOutput
- func (o ChannelOutput) ToChannelOutput() ChannelOutput
- func (o ChannelOutput) ToChannelOutputWithContext(ctx context.Context) ChannelOutput
- func (o ChannelOutput) TxPower() pulumi.IntPtrOutput
- func (o ChannelOutput) Width() pulumi.StringPtrOutput
- type ChannelState
- type Configuration
- type ConfigurationArgs
- type ConfigurationArray
- type ConfigurationArrayInput
- type ConfigurationArrayOutput
- func (ConfigurationArrayOutput) ElementType() reflect.Type
- func (o ConfigurationArrayOutput) Index(i pulumi.IntInput) ConfigurationOutput
- func (o ConfigurationArrayOutput) ToConfigurationArrayOutput() ConfigurationArrayOutput
- func (o ConfigurationArrayOutput) ToConfigurationArrayOutputWithContext(ctx context.Context) ConfigurationArrayOutput
- type ConfigurationInput
- type ConfigurationMap
- type ConfigurationMapInput
- type ConfigurationMapOutput
- func (ConfigurationMapOutput) ElementType() reflect.Type
- func (o ConfigurationMapOutput) MapIndex(k pulumi.StringInput) ConfigurationOutput
- func (o ConfigurationMapOutput) ToConfigurationMapOutput() ConfigurationMapOutput
- func (o ConfigurationMapOutput) ToConfigurationMapOutputWithContext(ctx context.Context) ConfigurationMapOutput
- type ConfigurationOutput
- func (o ConfigurationOutput) Channel() pulumi.StringMapOutput
- func (o ConfigurationOutput) Comment() pulumi.StringPtrOutput
- func (o ConfigurationOutput) Country() pulumi.StringPtrOutput
- func (o ConfigurationOutput) Datapath() pulumi.StringMapOutput
- func (o ConfigurationOutput) DisconnectTimeout() pulumi.StringPtrOutput
- func (o ConfigurationOutput) Distance() pulumi.StringPtrOutput
- func (ConfigurationOutput) ElementType() reflect.Type
- func (o ConfigurationOutput) FrameLifetime() pulumi.StringPtrOutput
- func (o ConfigurationOutput) GuardInterval() pulumi.StringPtrOutput
- func (o ConfigurationOutput) HideSsid() pulumi.BoolOutput
- func (o ConfigurationOutput) HwProtectionMode() pulumi.StringPtrOutput
- func (o ConfigurationOutput) HwRetries() pulumi.IntPtrOutput
- func (o ConfigurationOutput) Installation() pulumi.StringPtrOutput
- func (o ConfigurationOutput) KeepaliveFrames() pulumi.StringPtrOutput
- func (o ConfigurationOutput) LoadBalancingGroup() pulumi.StringPtrOutput
- func (o ConfigurationOutput) MaxStaCount() pulumi.IntPtrOutput
- func (o ConfigurationOutput) Mode() pulumi.StringPtrOutput
- func (o ConfigurationOutput) MulticastHelper() pulumi.StringPtrOutput
- func (o ConfigurationOutput) Name() pulumi.StringOutput
- func (o ConfigurationOutput) Rates() pulumi.StringMapOutput
- func (o ConfigurationOutput) RxChains() pulumi.IntArrayOutput
- func (o ConfigurationOutput) Security() pulumi.StringMapOutput
- func (o ConfigurationOutput) Ssid() pulumi.StringPtrOutput
- func (o ConfigurationOutput) ToConfigurationOutput() ConfigurationOutput
- func (o ConfigurationOutput) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput
- func (o ConfigurationOutput) TxChains() pulumi.IntArrayOutput
- type ConfigurationState
- type Datapath
- type DatapathArgs
- type DatapathArray
- type DatapathArrayInput
- type DatapathArrayOutput
- type DatapathInput
- type DatapathMap
- type DatapathMapInput
- type DatapathMapOutput
- type DatapathOutput
- func (o DatapathOutput) Arp() pulumi.StringPtrOutput
- func (o DatapathOutput) Bridge() pulumi.StringPtrOutput
- func (o DatapathOutput) BridgeCost() pulumi.IntPtrOutput
- func (o DatapathOutput) BridgeHorizon() pulumi.IntPtrOutput
- func (o DatapathOutput) ClientToClientForwarding() pulumi.BoolPtrOutput
- func (o DatapathOutput) Comment() pulumi.StringPtrOutput
- func (DatapathOutput) ElementType() reflect.Type
- func (o DatapathOutput) InterfaceList() pulumi.StringPtrOutput
- func (o DatapathOutput) L2mtu() pulumi.IntPtrOutput
- func (o DatapathOutput) LocalForwarding() pulumi.BoolPtrOutput
- func (o DatapathOutput) Mtu() pulumi.IntPtrOutput
- func (o DatapathOutput) Name() pulumi.StringOutput
- func (o DatapathOutput) OpenflowSwitch() pulumi.StringPtrOutput
- func (o DatapathOutput) ToDatapathOutput() DatapathOutput
- func (o DatapathOutput) ToDatapathOutputWithContext(ctx context.Context) DatapathOutput
- func (o DatapathOutput) VlanId() pulumi.IntPtrOutput
- func (o DatapathOutput) VlanMode() pulumi.StringPtrOutput
- type DatapathState
- type Manager
- type ManagerArgs
- type ManagerArray
- type ManagerArrayInput
- type ManagerArrayOutput
- type ManagerInput
- type ManagerInterface
- type ManagerInterfaceArgs
- type ManagerInterfaceArray
- type ManagerInterfaceArrayInput
- type ManagerInterfaceArrayOutput
- func (ManagerInterfaceArrayOutput) ElementType() reflect.Type
- func (o ManagerInterfaceArrayOutput) Index(i pulumi.IntInput) ManagerInterfaceOutput
- func (o ManagerInterfaceArrayOutput) ToManagerInterfaceArrayOutput() ManagerInterfaceArrayOutput
- func (o ManagerInterfaceArrayOutput) ToManagerInterfaceArrayOutputWithContext(ctx context.Context) ManagerInterfaceArrayOutput
- type ManagerInterfaceInput
- type ManagerInterfaceMap
- type ManagerInterfaceMapInput
- type ManagerInterfaceMapOutput
- func (ManagerInterfaceMapOutput) ElementType() reflect.Type
- func (o ManagerInterfaceMapOutput) MapIndex(k pulumi.StringInput) ManagerInterfaceOutput
- func (o ManagerInterfaceMapOutput) ToManagerInterfaceMapOutput() ManagerInterfaceMapOutput
- func (o ManagerInterfaceMapOutput) ToManagerInterfaceMapOutputWithContext(ctx context.Context) ManagerInterfaceMapOutput
- type ManagerInterfaceOutput
- func (o ManagerInterfaceOutput) Comment() pulumi.StringPtrOutput
- func (o ManagerInterfaceOutput) Default() pulumi.BoolOutput
- func (o ManagerInterfaceOutput) Disabled() pulumi.BoolPtrOutput
- func (o ManagerInterfaceOutput) Dynamic() pulumi.BoolOutput
- func (ManagerInterfaceOutput) ElementType() reflect.Type
- func (o ManagerInterfaceOutput) Forbid() pulumi.BoolPtrOutput
- func (o ManagerInterfaceOutput) Interface() pulumi.StringOutput
- func (o ManagerInterfaceOutput) ToManagerInterfaceOutput() ManagerInterfaceOutput
- func (o ManagerInterfaceOutput) ToManagerInterfaceOutputWithContext(ctx context.Context) ManagerInterfaceOutput
- type ManagerInterfaceState
- type ManagerMap
- type ManagerMapInput
- type ManagerMapOutput
- type ManagerOutput
- func (o ManagerOutput) CaCertificate() pulumi.StringPtrOutput
- func (o ManagerOutput) Certificate() pulumi.StringPtrOutput
- func (ManagerOutput) ElementType() reflect.Type
- func (o ManagerOutput) Enabled() pulumi.BoolPtrOutput
- func (o ManagerOutput) PackagePath() pulumi.StringPtrOutput
- func (o ManagerOutput) RequirePeerCertificate() pulumi.BoolPtrOutput
- func (o ManagerOutput) ToManagerOutput() ManagerOutput
- func (o ManagerOutput) ToManagerOutputWithContext(ctx context.Context) ManagerOutput
- func (o ManagerOutput) UpgradePolicy() pulumi.StringPtrOutput
- type ManagerState
- type Provisioning
- type ProvisioningArgs
- type ProvisioningArray
- type ProvisioningArrayInput
- type ProvisioningArrayOutput
- func (ProvisioningArrayOutput) ElementType() reflect.Type
- func (o ProvisioningArrayOutput) Index(i pulumi.IntInput) ProvisioningOutput
- func (o ProvisioningArrayOutput) ToProvisioningArrayOutput() ProvisioningArrayOutput
- func (o ProvisioningArrayOutput) ToProvisioningArrayOutputWithContext(ctx context.Context) ProvisioningArrayOutput
- type ProvisioningInput
- type ProvisioningMap
- type ProvisioningMapInput
- type ProvisioningMapOutput
- func (ProvisioningMapOutput) ElementType() reflect.Type
- func (o ProvisioningMapOutput) MapIndex(k pulumi.StringInput) ProvisioningOutput
- func (o ProvisioningMapOutput) ToProvisioningMapOutput() ProvisioningMapOutput
- func (o ProvisioningMapOutput) ToProvisioningMapOutputWithContext(ctx context.Context) ProvisioningMapOutput
- type ProvisioningOutput
- func (o ProvisioningOutput) Action() pulumi.StringPtrOutput
- func (o ProvisioningOutput) Comment() pulumi.StringPtrOutput
- func (o ProvisioningOutput) CommonNameRegexp() pulumi.StringPtrOutput
- func (o ProvisioningOutput) Disabled() pulumi.BoolPtrOutput
- func (ProvisioningOutput) ElementType() reflect.Type
- func (o ProvisioningOutput) HwSupportedModes() pulumi.StringPtrOutput
- func (o ProvisioningOutput) IdentityRegexp() pulumi.StringPtrOutput
- func (o ProvisioningOutput) IpAddressRanges() pulumi.StringPtrOutput
- func (o ProvisioningOutput) MasterConfiguration() pulumi.StringOutput
- func (o ProvisioningOutput) NameFormat() pulumi.StringPtrOutput
- func (o ProvisioningOutput) NamePrefix() pulumi.StringPtrOutput
- func (o ProvisioningOutput) RadioMac() pulumi.StringPtrOutput
- func (o ProvisioningOutput) SlaveConfigurations() pulumi.StringPtrOutput
- func (o ProvisioningOutput) ToProvisioningOutput() ProvisioningOutput
- func (o ProvisioningOutput) ToProvisioningOutputWithContext(ctx context.Context) ProvisioningOutput
- type ProvisioningState
- type Rates
- type RatesArgs
- type RatesArray
- type RatesArrayInput
- type RatesArrayOutput
- type RatesInput
- type RatesMap
- type RatesMapInput
- type RatesMapOutput
- type RatesOutput
- func (o RatesOutput) Basics() pulumi.StringArrayOutput
- func (o RatesOutput) Comment() pulumi.StringPtrOutput
- func (RatesOutput) ElementType() reflect.Type
- func (o RatesOutput) HtBasicMcs() pulumi.StringArrayOutput
- func (o RatesOutput) HtSupportedMcs() pulumi.StringArrayOutput
- func (o RatesOutput) Name() pulumi.StringOutput
- func (o RatesOutput) Supporteds() pulumi.StringArrayOutput
- func (o RatesOutput) ToRatesOutput() RatesOutput
- func (o RatesOutput) ToRatesOutputWithContext(ctx context.Context) RatesOutput
- func (o RatesOutput) VhtBasicMcs() pulumi.StringOutput
- func (o RatesOutput) VhtSupportedMcs() pulumi.StringOutput
- type RatesState
- type Security
- type SecurityArgs
- type SecurityArray
- type SecurityArrayInput
- type SecurityArrayOutput
- type SecurityInput
- type SecurityMap
- type SecurityMapInput
- type SecurityMapOutput
- type SecurityOutput
- func (o SecurityOutput) AuthenticationTypes() pulumi.StringArrayOutput
- func (o SecurityOutput) Comment() pulumi.StringPtrOutput
- func (o SecurityOutput) DisablePmkid() pulumi.BoolPtrOutput
- func (o SecurityOutput) EapMethods() pulumi.StringPtrOutput
- func (o SecurityOutput) EapRadiusAccounting() pulumi.BoolPtrOutput
- func (SecurityOutput) ElementType() reflect.Type
- func (o SecurityOutput) Encryptions() pulumi.StringArrayOutput
- func (o SecurityOutput) GroupEncryption() pulumi.StringPtrOutput
- func (o SecurityOutput) GroupKeyUpdate() pulumi.StringPtrOutput
- func (o SecurityOutput) Name() pulumi.StringOutput
- func (o SecurityOutput) Passphrase() pulumi.StringPtrOutput
- func (o SecurityOutput) TlsCertificate() pulumi.StringPtrOutput
- func (o SecurityOutput) TlsMode() pulumi.StringPtrOutput
- func (o SecurityOutput) ToSecurityOutput() SecurityOutput
- func (o SecurityOutput) ToSecurityOutputWithContext(ctx context.Context) SecurityOutput
- type SecurityState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aaa ¶
type Aaa struct { pulumi.CustomResourceState // Format of how the 'called-id' identifier will be passed to RADIUS. When configuring radius server clients, you can specify 'called-id' in order to separate multiple entires. CalledFormat pulumi.StringPtrOutput `pulumi:"calledFormat"` // When RADIUS accounting is used, Access Point periodically sends accounting information updates to the RADIUS server. This property specifies the default update interval that can be overridden by the RADIUS server using the Acct-Interim-Interval attribute. InterimUpdate pulumi.StringOutput `pulumi:"interimUpdate"` // If this value is set to a time interval, the Access Point will cache RADIUS MAC authentication responses for a specified time, and will not contact the RADIUS server if matching cache entry already exists. The value disabled will disable the cache, Access Point will always contact the RADIUS server. MacCaching pulumi.StringOutput `pulumi:"macCaching"` // Controls how the MAC address of the client is encoded by Access Point in the User-Name attribute of the MAC authentication and MAC accounting RADIUS requests. MacFormat pulumi.StringPtrOutput `pulumi:"macFormat"` // By default Access Point uses an empty password, when sending Access-Request during MAC authentication. When this property is set to as-username-and-password, Access Point will use the same value for the User-Password attribute as for the User-Name attribute. MacMode pulumi.StringPtrOutput `pulumi:"macMode"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/CapsMan" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := CapsMan.NewAaa(ctx, "test3a", &CapsMan.AaaArgs{ CalledFormat: pulumi.String("ssid"), MacMode: pulumi.String("as-username-and-password"), }) if err != nil { return err } return nil }) }
```
## Import
```sh
$ pulumi import routeros:CapsMan/aaa:Aaa test_3a .
```
func GetAaa ¶
func GetAaa(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AaaState, opts ...pulumi.ResourceOption) (*Aaa, error)
GetAaa gets an existing Aaa 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 NewAaa ¶
func NewAaa(ctx *pulumi.Context, name string, args *AaaArgs, opts ...pulumi.ResourceOption) (*Aaa, error)
NewAaa registers a new resource with the given unique name, arguments, and options.
func (*Aaa) ElementType ¶
func (*Aaa) ToAaaOutput ¶
type AaaArgs ¶
type AaaArgs struct { // Format of how the 'called-id' identifier will be passed to RADIUS. When configuring radius server clients, you can specify 'called-id' in order to separate multiple entires. CalledFormat pulumi.StringPtrInput // When RADIUS accounting is used, Access Point periodically sends accounting information updates to the RADIUS server. This property specifies the default update interval that can be overridden by the RADIUS server using the Acct-Interim-Interval attribute. InterimUpdate pulumi.StringPtrInput // If this value is set to a time interval, the Access Point will cache RADIUS MAC authentication responses for a specified time, and will not contact the RADIUS server if matching cache entry already exists. The value disabled will disable the cache, Access Point will always contact the RADIUS server. MacCaching pulumi.StringPtrInput // Controls how the MAC address of the client is encoded by Access Point in the User-Name attribute of the MAC authentication and MAC accounting RADIUS requests. MacFormat pulumi.StringPtrInput // By default Access Point uses an empty password, when sending Access-Request during MAC authentication. When this property is set to as-username-and-password, Access Point will use the same value for the User-Password attribute as for the User-Name attribute. MacMode pulumi.StringPtrInput // contains filtered or unexported fields }
The set of arguments for constructing a Aaa resource.
func (AaaArgs) ElementType ¶
type AaaArray ¶
type AaaArray []AaaInput
func (AaaArray) ElementType ¶
func (AaaArray) ToAaaArrayOutput ¶
func (i AaaArray) ToAaaArrayOutput() AaaArrayOutput
func (AaaArray) ToAaaArrayOutputWithContext ¶
func (i AaaArray) ToAaaArrayOutputWithContext(ctx context.Context) AaaArrayOutput
type AaaArrayInput ¶
type AaaArrayInput interface { pulumi.Input ToAaaArrayOutput() AaaArrayOutput ToAaaArrayOutputWithContext(context.Context) AaaArrayOutput }
AaaArrayInput is an input type that accepts AaaArray and AaaArrayOutput values. You can construct a concrete instance of `AaaArrayInput` via:
AaaArray{ AaaArgs{...} }
type AaaArrayOutput ¶
type AaaArrayOutput struct{ *pulumi.OutputState }
func (AaaArrayOutput) ElementType ¶
func (AaaArrayOutput) ElementType() reflect.Type
func (AaaArrayOutput) ToAaaArrayOutput ¶
func (o AaaArrayOutput) ToAaaArrayOutput() AaaArrayOutput
func (AaaArrayOutput) ToAaaArrayOutputWithContext ¶
func (o AaaArrayOutput) ToAaaArrayOutputWithContext(ctx context.Context) AaaArrayOutput
type AaaMap ¶
func (AaaMap) ElementType ¶
func (AaaMap) ToAaaMapOutput ¶
func (i AaaMap) ToAaaMapOutput() AaaMapOutput
func (AaaMap) ToAaaMapOutputWithContext ¶
func (i AaaMap) ToAaaMapOutputWithContext(ctx context.Context) AaaMapOutput
type AaaMapInput ¶
type AaaMapInput interface { pulumi.Input ToAaaMapOutput() AaaMapOutput ToAaaMapOutputWithContext(context.Context) AaaMapOutput }
AaaMapInput is an input type that accepts AaaMap and AaaMapOutput values. You can construct a concrete instance of `AaaMapInput` via:
AaaMap{ "key": AaaArgs{...} }
type AaaMapOutput ¶
type AaaMapOutput struct{ *pulumi.OutputState }
func (AaaMapOutput) ElementType ¶
func (AaaMapOutput) ElementType() reflect.Type
func (AaaMapOutput) MapIndex ¶
func (o AaaMapOutput) MapIndex(k pulumi.StringInput) AaaOutput
func (AaaMapOutput) ToAaaMapOutput ¶
func (o AaaMapOutput) ToAaaMapOutput() AaaMapOutput
func (AaaMapOutput) ToAaaMapOutputWithContext ¶
func (o AaaMapOutput) ToAaaMapOutputWithContext(ctx context.Context) AaaMapOutput
type AaaOutput ¶
type AaaOutput struct{ *pulumi.OutputState }
func (AaaOutput) CalledFormat ¶
func (o AaaOutput) CalledFormat() pulumi.StringPtrOutput
Format of how the 'called-id' identifier will be passed to RADIUS. When configuring radius server clients, you can specify 'called-id' in order to separate multiple entires.
func (AaaOutput) ElementType ¶
func (AaaOutput) InterimUpdate ¶
func (o AaaOutput) InterimUpdate() pulumi.StringOutput
When RADIUS accounting is used, Access Point periodically sends accounting information updates to the RADIUS server. This property specifies the default update interval that can be overridden by the RADIUS server using the Acct-Interim-Interval attribute.
func (AaaOutput) MacCaching ¶
func (o AaaOutput) MacCaching() pulumi.StringOutput
If this value is set to a time interval, the Access Point will cache RADIUS MAC authentication responses for a specified time, and will not contact the RADIUS server if matching cache entry already exists. The value disabled will disable the cache, Access Point will always contact the RADIUS server.
func (AaaOutput) MacFormat ¶
func (o AaaOutput) MacFormat() pulumi.StringPtrOutput
Controls how the MAC address of the client is encoded by Access Point in the User-Name attribute of the MAC authentication and MAC accounting RADIUS requests.
func (AaaOutput) MacMode ¶
func (o AaaOutput) MacMode() pulumi.StringPtrOutput
By default Access Point uses an empty password, when sending Access-Request during MAC authentication. When this property is set to as-username-and-password, Access Point will use the same value for the User-Password attribute as for the User-Name attribute.
func (AaaOutput) ToAaaOutput ¶
type AaaState ¶
type AaaState struct { // Format of how the 'called-id' identifier will be passed to RADIUS. When configuring radius server clients, you can specify 'called-id' in order to separate multiple entires. CalledFormat pulumi.StringPtrInput // When RADIUS accounting is used, Access Point periodically sends accounting information updates to the RADIUS server. This property specifies the default update interval that can be overridden by the RADIUS server using the Acct-Interim-Interval attribute. InterimUpdate pulumi.StringPtrInput // If this value is set to a time interval, the Access Point will cache RADIUS MAC authentication responses for a specified time, and will not contact the RADIUS server if matching cache entry already exists. The value disabled will disable the cache, Access Point will always contact the RADIUS server. MacCaching pulumi.StringPtrInput // Controls how the MAC address of the client is encoded by Access Point in the User-Name attribute of the MAC authentication and MAC accounting RADIUS requests. MacFormat pulumi.StringPtrInput // By default Access Point uses an empty password, when sending Access-Request during MAC authentication. When this property is set to as-username-and-password, Access Point will use the same value for the User-Password attribute as for the User-Name attribute. MacMode pulumi.StringPtrInput // contains filtered or unexported fields }
func (AaaState) ElementType ¶
type Channel ¶
type Channel struct { pulumi.CustomResourceState // Define operational radio frequency band and mode taken from hardware capability of wireless card. Band pulumi.StringPtrOutput `pulumi:"band"` Comment pulumi.StringPtrOutput `pulumi:"comment"` // Control channel width. ControlChannelWidth pulumi.StringPtrOutput `pulumi:"controlChannelWidth"` // Extension channel configuration. (E.g. Ce = extension channel is above Control channel, eC = extension channel is below Control channel) ExtensionChannel pulumi.StringPtrOutput `pulumi:"extensionChannel"` // Channel frequency value in MHz on which AP will operate. If left blank, CAPsMAN will automatically determine the best frequency that is least occupied. Frequency pulumi.IntOutput `pulumi:"frequency"` // 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"` // The interval after which the least occupied frequency is chosen, can be defined as a random interval, ex. as '30m..60m'. Works only if channel.frequency is left blank. ReselectInterval pulumi.StringPtrOutput `pulumi:"reselectInterval"` // If channel frequency is chosen automatically and channel.reselect-interval is used, then saves the last picked frequency. SaveSelected pulumi.BoolPtrOutput `pulumi:"saveSelected"` // Specifies the second frequency that will be used for 80+80MHz configuration. Set it to Disabled in order to disable 80+80MHz capability. SecondaryFrequency pulumi.StringPtrOutput `pulumi:"secondaryFrequency"` // If channel.frequency is left blank, the selection will skip DFS channels. SkipDfsChannels pulumi.BoolPtrOutput `pulumi:"skipDfsChannels"` // TX Power for CAP interface (for the whole interface not for individual chains) in dBm. It is not possible to set higher than allowed by country regulations or interface. By default max allowed by country or interface is used. TxPower pulumi.IntPtrOutput `pulumi:"txPower"` // Channel Width in MHz. Width pulumi.StringPtrOutput `pulumi:"width"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/CapsMan" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := CapsMan.NewChannel(ctx, "testChannel", &CapsMan.ChannelArgs{ Band: pulumi.String("2ghz-b/g/n"), Comment: pulumi.String("test_channel"), ControlChannelWidth: pulumi.String("10mhz"), ExtensionChannel: pulumi.String("eCee"), Frequency: pulumi.Int(2412), ReselectInterval: pulumi.String("1h"), SaveSelected: pulumi.Bool(true), SecondaryFrequency: pulumi.String("disabled"), SkipDfsChannels: pulumi.Bool(true), TxPower: pulumi.Int(20), }) if err != nil { return err } return nil }) }
```
## Import
Import with the name of the CAPsMAN channel configuration in case of the example use test-channel-config ¶
```sh
$ pulumi import routeros:CapsMan/channel:Channel test_channel test-channel-config
```
func GetChannel ¶
func GetChannel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ChannelState, opts ...pulumi.ResourceOption) (*Channel, error)
GetChannel gets an existing Channel 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 NewChannel ¶
func NewChannel(ctx *pulumi.Context, name string, args *ChannelArgs, opts ...pulumi.ResourceOption) (*Channel, error)
NewChannel registers a new resource with the given unique name, arguments, and options.
func (*Channel) ElementType ¶
func (*Channel) ToChannelOutput ¶
func (i *Channel) ToChannelOutput() ChannelOutput
func (*Channel) ToChannelOutputWithContext ¶
func (i *Channel) ToChannelOutputWithContext(ctx context.Context) ChannelOutput
type ChannelArgs ¶
type ChannelArgs struct { // Define operational radio frequency band and mode taken from hardware capability of wireless card. Band pulumi.StringPtrInput Comment pulumi.StringPtrInput // Control channel width. ControlChannelWidth pulumi.StringPtrInput // Extension channel configuration. (E.g. Ce = extension channel is above Control channel, eC = extension channel is below Control channel) ExtensionChannel pulumi.StringPtrInput // Channel frequency value in MHz on which AP will operate. If left blank, CAPsMAN will automatically determine the best frequency that is least occupied. Frequency pulumi.IntPtrInput // 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 // The interval after which the least occupied frequency is chosen, can be defined as a random interval, ex. as '30m..60m'. Works only if channel.frequency is left blank. ReselectInterval pulumi.StringPtrInput // If channel frequency is chosen automatically and channel.reselect-interval is used, then saves the last picked frequency. SaveSelected pulumi.BoolPtrInput // Specifies the second frequency that will be used for 80+80MHz configuration. Set it to Disabled in order to disable 80+80MHz capability. SecondaryFrequency pulumi.StringPtrInput // If channel.frequency is left blank, the selection will skip DFS channels. SkipDfsChannels pulumi.BoolPtrInput // TX Power for CAP interface (for the whole interface not for individual chains) in dBm. It is not possible to set higher than allowed by country regulations or interface. By default max allowed by country or interface is used. TxPower pulumi.IntPtrInput // Channel Width in MHz. Width pulumi.StringPtrInput // contains filtered or unexported fields }
The set of arguments for constructing a Channel resource.
func (ChannelArgs) ElementType ¶
func (ChannelArgs) ElementType() reflect.Type
type ChannelArray ¶
type ChannelArray []ChannelInput
func (ChannelArray) ElementType ¶
func (ChannelArray) ElementType() reflect.Type
func (ChannelArray) ToChannelArrayOutput ¶
func (i ChannelArray) ToChannelArrayOutput() ChannelArrayOutput
func (ChannelArray) ToChannelArrayOutputWithContext ¶
func (i ChannelArray) ToChannelArrayOutputWithContext(ctx context.Context) ChannelArrayOutput
type ChannelArrayInput ¶
type ChannelArrayInput interface { pulumi.Input ToChannelArrayOutput() ChannelArrayOutput ToChannelArrayOutputWithContext(context.Context) ChannelArrayOutput }
ChannelArrayInput is an input type that accepts ChannelArray and ChannelArrayOutput values. You can construct a concrete instance of `ChannelArrayInput` via:
ChannelArray{ ChannelArgs{...} }
type ChannelArrayOutput ¶
type ChannelArrayOutput struct{ *pulumi.OutputState }
func (ChannelArrayOutput) ElementType ¶
func (ChannelArrayOutput) ElementType() reflect.Type
func (ChannelArrayOutput) Index ¶
func (o ChannelArrayOutput) Index(i pulumi.IntInput) ChannelOutput
func (ChannelArrayOutput) ToChannelArrayOutput ¶
func (o ChannelArrayOutput) ToChannelArrayOutput() ChannelArrayOutput
func (ChannelArrayOutput) ToChannelArrayOutputWithContext ¶
func (o ChannelArrayOutput) ToChannelArrayOutputWithContext(ctx context.Context) ChannelArrayOutput
type ChannelInput ¶
type ChannelInput interface { pulumi.Input ToChannelOutput() ChannelOutput ToChannelOutputWithContext(ctx context.Context) ChannelOutput }
type ChannelMap ¶
type ChannelMap map[string]ChannelInput
func (ChannelMap) ElementType ¶
func (ChannelMap) ElementType() reflect.Type
func (ChannelMap) ToChannelMapOutput ¶
func (i ChannelMap) ToChannelMapOutput() ChannelMapOutput
func (ChannelMap) ToChannelMapOutputWithContext ¶
func (i ChannelMap) ToChannelMapOutputWithContext(ctx context.Context) ChannelMapOutput
type ChannelMapInput ¶
type ChannelMapInput interface { pulumi.Input ToChannelMapOutput() ChannelMapOutput ToChannelMapOutputWithContext(context.Context) ChannelMapOutput }
ChannelMapInput is an input type that accepts ChannelMap and ChannelMapOutput values. You can construct a concrete instance of `ChannelMapInput` via:
ChannelMap{ "key": ChannelArgs{...} }
type ChannelMapOutput ¶
type ChannelMapOutput struct{ *pulumi.OutputState }
func (ChannelMapOutput) ElementType ¶
func (ChannelMapOutput) ElementType() reflect.Type
func (ChannelMapOutput) MapIndex ¶
func (o ChannelMapOutput) MapIndex(k pulumi.StringInput) ChannelOutput
func (ChannelMapOutput) ToChannelMapOutput ¶
func (o ChannelMapOutput) ToChannelMapOutput() ChannelMapOutput
func (ChannelMapOutput) ToChannelMapOutputWithContext ¶
func (o ChannelMapOutput) ToChannelMapOutputWithContext(ctx context.Context) ChannelMapOutput
type ChannelOutput ¶
type ChannelOutput struct{ *pulumi.OutputState }
func (ChannelOutput) Band ¶
func (o ChannelOutput) Band() pulumi.StringPtrOutput
Define operational radio frequency band and mode taken from hardware capability of wireless card.
func (ChannelOutput) Comment ¶
func (o ChannelOutput) Comment() pulumi.StringPtrOutput
func (ChannelOutput) ControlChannelWidth ¶
func (o ChannelOutput) ControlChannelWidth() pulumi.StringPtrOutput
Control channel width.
func (ChannelOutput) ElementType ¶
func (ChannelOutput) ElementType() reflect.Type
func (ChannelOutput) ExtensionChannel ¶
func (o ChannelOutput) ExtensionChannel() pulumi.StringPtrOutput
Extension channel configuration. (E.g. Ce = extension channel is above Control channel, eC = extension channel is below Control channel)
func (ChannelOutput) Frequency ¶
func (o ChannelOutput) Frequency() pulumi.IntOutput
Channel frequency value in MHz on which AP will operate. If left blank, CAPsMAN will automatically determine the best frequency that is least occupied.
func (ChannelOutput) Name ¶
func (o ChannelOutput) 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 (ChannelOutput) ReselectInterval ¶
func (o ChannelOutput) ReselectInterval() pulumi.StringPtrOutput
The interval after which the least occupied frequency is chosen, can be defined as a random interval, ex. as '30m..60m'. Works only if channel.frequency is left blank.
func (ChannelOutput) SaveSelected ¶
func (o ChannelOutput) SaveSelected() pulumi.BoolPtrOutput
If channel frequency is chosen automatically and channel.reselect-interval is used, then saves the last picked frequency.
func (ChannelOutput) SecondaryFrequency ¶
func (o ChannelOutput) SecondaryFrequency() pulumi.StringPtrOutput
Specifies the second frequency that will be used for 80+80MHz configuration. Set it to Disabled in order to disable 80+80MHz capability.
func (ChannelOutput) SkipDfsChannels ¶
func (o ChannelOutput) SkipDfsChannels() pulumi.BoolPtrOutput
If channel.frequency is left blank, the selection will skip DFS channels.
func (ChannelOutput) ToChannelOutput ¶
func (o ChannelOutput) ToChannelOutput() ChannelOutput
func (ChannelOutput) ToChannelOutputWithContext ¶
func (o ChannelOutput) ToChannelOutputWithContext(ctx context.Context) ChannelOutput
func (ChannelOutput) TxPower ¶
func (o ChannelOutput) TxPower() pulumi.IntPtrOutput
TX Power for CAP interface (for the whole interface not for individual chains) in dBm. It is not possible to set higher than allowed by country regulations or interface. By default max allowed by country or interface is used.
func (ChannelOutput) Width ¶
func (o ChannelOutput) Width() pulumi.StringPtrOutput
Channel Width in MHz.
type ChannelState ¶
type ChannelState struct { // Define operational radio frequency band and mode taken from hardware capability of wireless card. Band pulumi.StringPtrInput Comment pulumi.StringPtrInput // Control channel width. ControlChannelWidth pulumi.StringPtrInput // Extension channel configuration. (E.g. Ce = extension channel is above Control channel, eC = extension channel is below Control channel) ExtensionChannel pulumi.StringPtrInput // Channel frequency value in MHz on which AP will operate. If left blank, CAPsMAN will automatically determine the best frequency that is least occupied. Frequency pulumi.IntPtrInput // 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 // The interval after which the least occupied frequency is chosen, can be defined as a random interval, ex. as '30m..60m'. Works only if channel.frequency is left blank. ReselectInterval pulumi.StringPtrInput // If channel frequency is chosen automatically and channel.reselect-interval is used, then saves the last picked frequency. SaveSelected pulumi.BoolPtrInput // Specifies the second frequency that will be used for 80+80MHz configuration. Set it to Disabled in order to disable 80+80MHz capability. SecondaryFrequency pulumi.StringPtrInput // If channel.frequency is left blank, the selection will skip DFS channels. SkipDfsChannels pulumi.BoolPtrInput // TX Power for CAP interface (for the whole interface not for individual chains) in dBm. It is not possible to set higher than allowed by country regulations or interface. By default max allowed by country or interface is used. TxPower pulumi.IntPtrInput // Channel Width in MHz. Width pulumi.StringPtrInput // contains filtered or unexported fields }
func (ChannelState) ElementType ¶
func (ChannelState) ElementType() reflect.Type
type Configuration ¶
type Configuration struct { pulumi.CustomResourceState // Channel inline settings. Channel pulumi.StringMapOutput `pulumi:"channel"` Comment pulumi.StringPtrOutput `pulumi:"comment"` // Limits available bands, frequencies and maximum transmit power for each frequency. Also specifies default value of scan-list. Value no*country*set is an FCC compliant set of channels. Country pulumi.StringPtrOutput `pulumi:"country"` // Datapath inline settings. Datapath pulumi.StringMapOutput `pulumi:"datapath"` // This interval is measured from third sending failure on the lowest data rate. At this point 3 * (hw-retries + 1) frame transmits on the lowest data rate had failed. During disconnect-timeout packet transmission will be retried with on-fail-retry-time interval. If no frame can be transmitted successfully during disconnect-timeout, the connection is closed, and this event is logged as "extensive data loss". Successful frame transmission resets this timer. DisconnectTimeout pulumi.StringPtrOutput `pulumi:"disconnectTimeout"` // How long to wait for confirmation of unicast frames (ACKs) before considering transmission unsuccessful, or in short ACK-Timeout. Distance pulumi.StringPtrOutput `pulumi:"distance"` // Discard frames that have been queued for sending longer than frame-lifetime. By default, when value of this property is 0, frames are discarded only after connection is closed (format: 0.00 sec). FrameLifetime pulumi.StringPtrOutput `pulumi:"frameLifetime"` // Whether to allow use of short guard interval (refer to 802.11n MCS specification to see how this may affect throughput). "any" will use either short or long, depending on data rate, "long" will use long. GuardInterval pulumi.StringPtrOutput `pulumi:"guardInterval"` // This property has effect only in AP mode. Setting it to yes can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve the security of the wireless network, because SSID is included in other frames sent by the AP. HideSsid pulumi.BoolOutput `pulumi:"hideSsid"` // Frame protection support property. [See docs](<https://wiki.mikrotik.com/wiki/Manual:Interface/Wireless#Frame_protection_support_(RTS/CTS)>). HwProtectionMode pulumi.StringPtrOutput `pulumi:"hwProtectionMode"` // Number of times sending frame is retried without considering it a transmission failure. [See docs](https://wiki.mikrotik.com/wiki/Manual:Interface/Wireless) HwRetries pulumi.IntPtrOutput `pulumi:"hwRetries"` // Adjusts scan-list to use indoor, outdoor or all frequencies for the country that is set. Installation pulumi.StringPtrOutput `pulumi:"installation"` // If a client has not communicated for around 20 seconds, AP sends a "keepalive-frame". KeepaliveFrames pulumi.StringPtrOutput `pulumi:"keepaliveFrames"` // Tags the interface to the load balancing group. For a client to connect to interface in this group, the interface should have the same number of already connected clients as all other interfaces in the group or smaller. Useful in setups where ranges of CAPs mostly overlap. LoadBalancingGroup pulumi.StringPtrOutput `pulumi:"loadBalancingGroup"` // Maximum number of associated clients. MaxStaCount pulumi.IntPtrOutput `pulumi:"maxStaCount"` // Set operational mode. Only **ap** currently supported. Mode pulumi.StringPtrOutput `pulumi:"mode"` // When set to full multicast packets will be sent with unicast destination MAC address, resolving multicast problem on a wireless link. This option should be enabled only on the access point, clients should be configured in station-bridge mode. MulticastHelper pulumi.StringPtrOutput `pulumi:"multicastHelper"` // 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"` // Rates inline settings. Rates pulumi.StringMapOutput `pulumi:"rates"` // Which antennas to use for receive. RxChains pulumi.IntArrayOutput `pulumi:"rxChains"` // Security inline settings. Security pulumi.StringMapOutput `pulumi:"security"` // SSID (service set identifier) is a name broadcast in the beacons that identifies wireless network. Ssid pulumi.StringPtrOutput `pulumi:"ssid"` // Which antennas to use for transmit. TxChains pulumi.IntArrayOutput `pulumi:"txChains"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/CapsMan" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := CapsMan.NewConfiguration(ctx, "testConfiguration", &CapsMan.ConfigurationArgs{ Comment: pulumi.String("Comment"), Country: pulumi.String("no_country_set"), DisconnectTimeout: pulumi.String("1s150ms"), Distance: pulumi.String("indoors"), FrameLifetime: pulumi.String("0.12"), GuardInterval: pulumi.String("long"), HideSsid: pulumi.Bool(true), HwProtectionMode: pulumi.String("rts-cts"), HwRetries: pulumi.Int(1), Installation: pulumi.String("indoor"), KeepaliveFrames: pulumi.String("enabled"), LoadBalancingGroup: pulumi.String(""), MaxStaCount: pulumi.Int(1), Mode: pulumi.String("ap"), MulticastHelper: pulumi.String("full"), RxChains: pulumi.IntArray{ pulumi.Int(1), pulumi.Int(3), }, Ssid: pulumi.String("SSID"), TxChains: pulumi.IntArray{ pulumi.Int(0), pulumi.Int(2), }, }) if err != nil { return err } testChannel, err := CapsMan.NewChannel(ctx, "testChannel", nil) if err != nil { return err } testDatapath, err := CapsMan.NewDatapath(ctx, "testDatapath", nil) if err != nil { return err } testRates, err := CapsMan.NewRates(ctx, "testRates", nil) if err != nil { return err } testSecurity, err := CapsMan.NewSecurity(ctx, "testSecurity", nil) if err != nil { return err } _, err = CapsMan.NewConfiguration(ctx, "testConfiguration2", &CapsMan.ConfigurationArgs{ Channel: pulumi.StringMap{ "config": testChannel.Name, "band": pulumi.String("2ghz-b/g/n"), "control_channel_width": pulumi.String("10mhz"), "extension_channel": pulumi.String("eCee"), "frequency": pulumi.String("2412"), "reselect_interval": pulumi.String("1h"), "save_selected": pulumi.String("true"), "secondary_frequency": pulumi.String("disabled"), "skip_dfs_channels": pulumi.String("true"), "tx_power": pulumi.String("20"), }, Datapath: pulumi.StringMap{ "config": testDatapath.Name, "arp": pulumi.String("local-proxy-arp"), "bridge": pulumi.String("bridge"), "bridge_cost": pulumi.String("100"), "bridge_horizon": pulumi.String("200"), "client_to_client_forwarding": pulumi.String("true"), "interface_list": pulumi.String("static"), "l2mtu": pulumi.String("1450"), "local_forwarding": pulumi.String("true"), "mtu": pulumi.String("1500"), "vlan_id": pulumi.String("101"), "vlan_mode": pulumi.String("no-tag"), }, Rates: pulumi.StringMap{ "config": testRates.Name, "basic": pulumi.String("1Mbps,5.5Mbps,6Mbps,18Mbps,36Mbps,54Mbps"), "ht_basic_mcs": pulumi.String("mcs-0,mcs-7,mcs-11,mcs-14,mcs-16,mcs-21"), "ht_supported_mcs": pulumi.String("mcs-3,mcs-8,mcs-10,mcs-13,mcs-17,mcs-18"), "supported": pulumi.String("2Mbps,11Mbps,9Mbps,12Mbps,24Mbps,48Mbps"), "vht_basic_mcs": pulumi.String("none"), "vht_supported_mcs": pulumi.String("mcs0-9,mcs0-7"), }, Security: pulumi.StringMap{ "config": testSecurity.Name, "authentication_types": pulumi.String("wpa-psk,wpa-eap"), "disable_pmkid": pulumi.String("true"), "eap_methods": pulumi.String("eap-tls,passthrough"), "eap_radius_accounting": pulumi.String("true"), "encryption": pulumi.String("aes-ccm,tkip"), "group_encryption": pulumi.String("aes-ccm"), "group_key_update": pulumi.String("1h"), "passphrase": pulumi.String("AAAAAAAAA"), "tls_certificate": pulumi.String("none"), "tls_mode": pulumi.String("verify-certificate"), }, }, pulumi.DependsOn([]pulumi.Resource{ testChannel, testDatapath, testRates, testSecurity, })) if err != nil { return err } return nil }) }
```
## Import
Import with the name of the CAPsMAN configuration in case of the example use test_configuration_name
```sh
$ pulumi import routeros:CapsMan/configuration:Configuration test_configuration_2 test_configuration_name
```
func GetConfiguration ¶
func GetConfiguration(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConfigurationState, opts ...pulumi.ResourceOption) (*Configuration, error)
GetConfiguration gets an existing Configuration 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 NewConfiguration ¶
func NewConfiguration(ctx *pulumi.Context, name string, args *ConfigurationArgs, opts ...pulumi.ResourceOption) (*Configuration, error)
NewConfiguration registers a new resource with the given unique name, arguments, and options.
func (*Configuration) ElementType ¶
func (*Configuration) ElementType() reflect.Type
func (*Configuration) ToConfigurationOutput ¶
func (i *Configuration) ToConfigurationOutput() ConfigurationOutput
func (*Configuration) ToConfigurationOutputWithContext ¶
func (i *Configuration) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput
type ConfigurationArgs ¶
type ConfigurationArgs struct { // Channel inline settings. Channel pulumi.StringMapInput Comment pulumi.StringPtrInput // Limits available bands, frequencies and maximum transmit power for each frequency. Also specifies default value of scan-list. Value no*country*set is an FCC compliant set of channels. Country pulumi.StringPtrInput // Datapath inline settings. Datapath pulumi.StringMapInput // This interval is measured from third sending failure on the lowest data rate. At this point 3 * (hw-retries + 1) frame transmits on the lowest data rate had failed. During disconnect-timeout packet transmission will be retried with on-fail-retry-time interval. If no frame can be transmitted successfully during disconnect-timeout, the connection is closed, and this event is logged as "extensive data loss". Successful frame transmission resets this timer. DisconnectTimeout pulumi.StringPtrInput // How long to wait for confirmation of unicast frames (ACKs) before considering transmission unsuccessful, or in short ACK-Timeout. Distance pulumi.StringPtrInput // Discard frames that have been queued for sending longer than frame-lifetime. By default, when value of this property is 0, frames are discarded only after connection is closed (format: 0.00 sec). FrameLifetime pulumi.StringPtrInput // Whether to allow use of short guard interval (refer to 802.11n MCS specification to see how this may affect throughput). "any" will use either short or long, depending on data rate, "long" will use long. GuardInterval pulumi.StringPtrInput // This property has effect only in AP mode. Setting it to yes can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve the security of the wireless network, because SSID is included in other frames sent by the AP. HideSsid pulumi.BoolPtrInput // Frame protection support property. [See docs](<https://wiki.mikrotik.com/wiki/Manual:Interface/Wireless#Frame_protection_support_(RTS/CTS)>). HwProtectionMode pulumi.StringPtrInput // Number of times sending frame is retried without considering it a transmission failure. [See docs](https://wiki.mikrotik.com/wiki/Manual:Interface/Wireless) HwRetries pulumi.IntPtrInput // Adjusts scan-list to use indoor, outdoor or all frequencies for the country that is set. Installation pulumi.StringPtrInput // If a client has not communicated for around 20 seconds, AP sends a "keepalive-frame". KeepaliveFrames pulumi.StringPtrInput // Tags the interface to the load balancing group. For a client to connect to interface in this group, the interface should have the same number of already connected clients as all other interfaces in the group or smaller. Useful in setups where ranges of CAPs mostly overlap. LoadBalancingGroup pulumi.StringPtrInput // Maximum number of associated clients. MaxStaCount pulumi.IntPtrInput // Set operational mode. Only **ap** currently supported. Mode pulumi.StringPtrInput // When set to full multicast packets will be sent with unicast destination MAC address, resolving multicast problem on a wireless link. This option should be enabled only on the access point, clients should be configured in station-bridge mode. MulticastHelper 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 // Rates inline settings. Rates pulumi.StringMapInput // Which antennas to use for receive. RxChains pulumi.IntArrayInput // Security inline settings. Security pulumi.StringMapInput // SSID (service set identifier) is a name broadcast in the beacons that identifies wireless network. Ssid pulumi.StringPtrInput // Which antennas to use for transmit. TxChains pulumi.IntArrayInput // contains filtered or unexported fields }
The set of arguments for constructing a Configuration resource.
func (ConfigurationArgs) ElementType ¶
func (ConfigurationArgs) ElementType() reflect.Type
type ConfigurationArray ¶
type ConfigurationArray []ConfigurationInput
func (ConfigurationArray) ElementType ¶
func (ConfigurationArray) ElementType() reflect.Type
func (ConfigurationArray) ToConfigurationArrayOutput ¶
func (i ConfigurationArray) ToConfigurationArrayOutput() ConfigurationArrayOutput
func (ConfigurationArray) ToConfigurationArrayOutputWithContext ¶
func (i ConfigurationArray) ToConfigurationArrayOutputWithContext(ctx context.Context) ConfigurationArrayOutput
type ConfigurationArrayInput ¶
type ConfigurationArrayInput interface { pulumi.Input ToConfigurationArrayOutput() ConfigurationArrayOutput ToConfigurationArrayOutputWithContext(context.Context) ConfigurationArrayOutput }
ConfigurationArrayInput is an input type that accepts ConfigurationArray and ConfigurationArrayOutput values. You can construct a concrete instance of `ConfigurationArrayInput` via:
ConfigurationArray{ ConfigurationArgs{...} }
type ConfigurationArrayOutput ¶
type ConfigurationArrayOutput struct{ *pulumi.OutputState }
func (ConfigurationArrayOutput) ElementType ¶
func (ConfigurationArrayOutput) ElementType() reflect.Type
func (ConfigurationArrayOutput) Index ¶
func (o ConfigurationArrayOutput) Index(i pulumi.IntInput) ConfigurationOutput
func (ConfigurationArrayOutput) ToConfigurationArrayOutput ¶
func (o ConfigurationArrayOutput) ToConfigurationArrayOutput() ConfigurationArrayOutput
func (ConfigurationArrayOutput) ToConfigurationArrayOutputWithContext ¶
func (o ConfigurationArrayOutput) ToConfigurationArrayOutputWithContext(ctx context.Context) ConfigurationArrayOutput
type ConfigurationInput ¶
type ConfigurationInput interface { pulumi.Input ToConfigurationOutput() ConfigurationOutput ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput }
type ConfigurationMap ¶
type ConfigurationMap map[string]ConfigurationInput
func (ConfigurationMap) ElementType ¶
func (ConfigurationMap) ElementType() reflect.Type
func (ConfigurationMap) ToConfigurationMapOutput ¶
func (i ConfigurationMap) ToConfigurationMapOutput() ConfigurationMapOutput
func (ConfigurationMap) ToConfigurationMapOutputWithContext ¶
func (i ConfigurationMap) ToConfigurationMapOutputWithContext(ctx context.Context) ConfigurationMapOutput
type ConfigurationMapInput ¶
type ConfigurationMapInput interface { pulumi.Input ToConfigurationMapOutput() ConfigurationMapOutput ToConfigurationMapOutputWithContext(context.Context) ConfigurationMapOutput }
ConfigurationMapInput is an input type that accepts ConfigurationMap and ConfigurationMapOutput values. You can construct a concrete instance of `ConfigurationMapInput` via:
ConfigurationMap{ "key": ConfigurationArgs{...} }
type ConfigurationMapOutput ¶
type ConfigurationMapOutput struct{ *pulumi.OutputState }
func (ConfigurationMapOutput) ElementType ¶
func (ConfigurationMapOutput) ElementType() reflect.Type
func (ConfigurationMapOutput) MapIndex ¶
func (o ConfigurationMapOutput) MapIndex(k pulumi.StringInput) ConfigurationOutput
func (ConfigurationMapOutput) ToConfigurationMapOutput ¶
func (o ConfigurationMapOutput) ToConfigurationMapOutput() ConfigurationMapOutput
func (ConfigurationMapOutput) ToConfigurationMapOutputWithContext ¶
func (o ConfigurationMapOutput) ToConfigurationMapOutputWithContext(ctx context.Context) ConfigurationMapOutput
type ConfigurationOutput ¶
type ConfigurationOutput struct{ *pulumi.OutputState }
func (ConfigurationOutput) Channel ¶
func (o ConfigurationOutput) Channel() pulumi.StringMapOutput
Channel inline settings.
func (ConfigurationOutput) Comment ¶
func (o ConfigurationOutput) Comment() pulumi.StringPtrOutput
func (ConfigurationOutput) Country ¶
func (o ConfigurationOutput) Country() pulumi.StringPtrOutput
Limits available bands, frequencies and maximum transmit power for each frequency. Also specifies default value of scan-list. Value no*country*set is an FCC compliant set of channels.
func (ConfigurationOutput) Datapath ¶
func (o ConfigurationOutput) Datapath() pulumi.StringMapOutput
Datapath inline settings.
func (ConfigurationOutput) DisconnectTimeout ¶
func (o ConfigurationOutput) DisconnectTimeout() pulumi.StringPtrOutput
This interval is measured from third sending failure on the lowest data rate. At this point 3 * (hw-retries + 1) frame transmits on the lowest data rate had failed. During disconnect-timeout packet transmission will be retried with on-fail-retry-time interval. If no frame can be transmitted successfully during disconnect-timeout, the connection is closed, and this event is logged as "extensive data loss". Successful frame transmission resets this timer.
func (ConfigurationOutput) Distance ¶
func (o ConfigurationOutput) Distance() pulumi.StringPtrOutput
How long to wait for confirmation of unicast frames (ACKs) before considering transmission unsuccessful, or in short ACK-Timeout.
func (ConfigurationOutput) ElementType ¶
func (ConfigurationOutput) ElementType() reflect.Type
func (ConfigurationOutput) FrameLifetime ¶
func (o ConfigurationOutput) FrameLifetime() pulumi.StringPtrOutput
Discard frames that have been queued for sending longer than frame-lifetime. By default, when value of this property is 0, frames are discarded only after connection is closed (format: 0.00 sec).
func (ConfigurationOutput) GuardInterval ¶
func (o ConfigurationOutput) GuardInterval() pulumi.StringPtrOutput
Whether to allow use of short guard interval (refer to 802.11n MCS specification to see how this may affect throughput). "any" will use either short or long, depending on data rate, "long" will use long.
func (ConfigurationOutput) HideSsid ¶
func (o ConfigurationOutput) HideSsid() pulumi.BoolOutput
This property has effect only in AP mode. Setting it to yes can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve the security of the wireless network, because SSID is included in other frames sent by the AP.
func (ConfigurationOutput) HwProtectionMode ¶
func (o ConfigurationOutput) HwProtectionMode() pulumi.StringPtrOutput
Frame protection support property. [See docs](<https://wiki.mikrotik.com/wiki/Manual:Interface/Wireless#Frame_protection_support_(RTS/CTS)>).
func (ConfigurationOutput) HwRetries ¶
func (o ConfigurationOutput) HwRetries() pulumi.IntPtrOutput
Number of times sending frame is retried without considering it a transmission failure. [See docs](https://wiki.mikrotik.com/wiki/Manual:Interface/Wireless)
func (ConfigurationOutput) Installation ¶
func (o ConfigurationOutput) Installation() pulumi.StringPtrOutput
Adjusts scan-list to use indoor, outdoor or all frequencies for the country that is set.
func (ConfigurationOutput) KeepaliveFrames ¶
func (o ConfigurationOutput) KeepaliveFrames() pulumi.StringPtrOutput
If a client has not communicated for around 20 seconds, AP sends a "keepalive-frame".
func (ConfigurationOutput) LoadBalancingGroup ¶
func (o ConfigurationOutput) LoadBalancingGroup() pulumi.StringPtrOutput
Tags the interface to the load balancing group. For a client to connect to interface in this group, the interface should have the same number of already connected clients as all other interfaces in the group or smaller. Useful in setups where ranges of CAPs mostly overlap.
func (ConfigurationOutput) MaxStaCount ¶
func (o ConfigurationOutput) MaxStaCount() pulumi.IntPtrOutput
Maximum number of associated clients.
func (ConfigurationOutput) Mode ¶
func (o ConfigurationOutput) Mode() pulumi.StringPtrOutput
Set operational mode. Only **ap** currently supported.
func (ConfigurationOutput) MulticastHelper ¶
func (o ConfigurationOutput) MulticastHelper() pulumi.StringPtrOutput
When set to full multicast packets will be sent with unicast destination MAC address, resolving multicast problem on a wireless link. This option should be enabled only on the access point, clients should be configured in station-bridge mode.
func (ConfigurationOutput) Name ¶
func (o ConfigurationOutput) 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 (ConfigurationOutput) Rates ¶
func (o ConfigurationOutput) Rates() pulumi.StringMapOutput
Rates inline settings.
func (ConfigurationOutput) RxChains ¶
func (o ConfigurationOutput) RxChains() pulumi.IntArrayOutput
Which antennas to use for receive.
func (ConfigurationOutput) Security ¶
func (o ConfigurationOutput) Security() pulumi.StringMapOutput
Security inline settings.
func (ConfigurationOutput) Ssid ¶
func (o ConfigurationOutput) Ssid() pulumi.StringPtrOutput
SSID (service set identifier) is a name broadcast in the beacons that identifies wireless network.
func (ConfigurationOutput) ToConfigurationOutput ¶
func (o ConfigurationOutput) ToConfigurationOutput() ConfigurationOutput
func (ConfigurationOutput) ToConfigurationOutputWithContext ¶
func (o ConfigurationOutput) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput
func (ConfigurationOutput) TxChains ¶
func (o ConfigurationOutput) TxChains() pulumi.IntArrayOutput
Which antennas to use for transmit.
type ConfigurationState ¶
type ConfigurationState struct { // Channel inline settings. Channel pulumi.StringMapInput Comment pulumi.StringPtrInput // Limits available bands, frequencies and maximum transmit power for each frequency. Also specifies default value of scan-list. Value no*country*set is an FCC compliant set of channels. Country pulumi.StringPtrInput // Datapath inline settings. Datapath pulumi.StringMapInput // This interval is measured from third sending failure on the lowest data rate. At this point 3 * (hw-retries + 1) frame transmits on the lowest data rate had failed. During disconnect-timeout packet transmission will be retried with on-fail-retry-time interval. If no frame can be transmitted successfully during disconnect-timeout, the connection is closed, and this event is logged as "extensive data loss". Successful frame transmission resets this timer. DisconnectTimeout pulumi.StringPtrInput // How long to wait for confirmation of unicast frames (ACKs) before considering transmission unsuccessful, or in short ACK-Timeout. Distance pulumi.StringPtrInput // Discard frames that have been queued for sending longer than frame-lifetime. By default, when value of this property is 0, frames are discarded only after connection is closed (format: 0.00 sec). FrameLifetime pulumi.StringPtrInput // Whether to allow use of short guard interval (refer to 802.11n MCS specification to see how this may affect throughput). "any" will use either short or long, depending on data rate, "long" will use long. GuardInterval pulumi.StringPtrInput // This property has effect only in AP mode. Setting it to yes can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve the security of the wireless network, because SSID is included in other frames sent by the AP. HideSsid pulumi.BoolPtrInput // Frame protection support property. [See docs](<https://wiki.mikrotik.com/wiki/Manual:Interface/Wireless#Frame_protection_support_(RTS/CTS)>). HwProtectionMode pulumi.StringPtrInput // Number of times sending frame is retried without considering it a transmission failure. [See docs](https://wiki.mikrotik.com/wiki/Manual:Interface/Wireless) HwRetries pulumi.IntPtrInput // Adjusts scan-list to use indoor, outdoor or all frequencies for the country that is set. Installation pulumi.StringPtrInput // If a client has not communicated for around 20 seconds, AP sends a "keepalive-frame". KeepaliveFrames pulumi.StringPtrInput // Tags the interface to the load balancing group. For a client to connect to interface in this group, the interface should have the same number of already connected clients as all other interfaces in the group or smaller. Useful in setups where ranges of CAPs mostly overlap. LoadBalancingGroup pulumi.StringPtrInput // Maximum number of associated clients. MaxStaCount pulumi.IntPtrInput // Set operational mode. Only **ap** currently supported. Mode pulumi.StringPtrInput // When set to full multicast packets will be sent with unicast destination MAC address, resolving multicast problem on a wireless link. This option should be enabled only on the access point, clients should be configured in station-bridge mode. MulticastHelper 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 // Rates inline settings. Rates pulumi.StringMapInput // Which antennas to use for receive. RxChains pulumi.IntArrayInput // Security inline settings. Security pulumi.StringMapInput // SSID (service set identifier) is a name broadcast in the beacons that identifies wireless network. Ssid pulumi.StringPtrInput // Which antennas to use for transmit. TxChains pulumi.IntArrayInput // contains filtered or unexported fields }
func (ConfigurationState) ElementType ¶
func (ConfigurationState) ElementType() reflect.Type
type Datapath ¶
type Datapath struct { pulumi.CustomResourceState // ARP mode. See [docs](https://wiki.mikrotik.com/wiki/Manual:IP/ARP#ARP_Modes) for info. Arp pulumi.StringPtrOutput `pulumi:"arp"` // Bridge to which particular interface should be automatically added as port. Required only when local-forwarding is not used. Bridge pulumi.StringPtrOutput `pulumi:"bridge"` // Bridge port cost to use when adding as bridge port. BridgeCost pulumi.IntPtrOutput `pulumi:"bridgeCost"` // Bridge horizon to use when adding as bridge port. BridgeHorizon pulumi.IntPtrOutput `pulumi:"bridgeHorizon"` // Controls if client-to-client forwarding between wireless clients connected to interface should be allowed, in local forwarding mode this function is performed by CAP, otherwise it is performed by CAPsMAN. ClientToClientForwarding pulumi.BoolPtrOutput `pulumi:"clientToClientForwarding"` Comment pulumi.StringPtrOutput `pulumi:"comment"` // Interface list name. InterfaceList pulumi.StringPtrOutput `pulumi:"interfaceList"` // Layer2 MTU size. L2mtu pulumi.IntPtrOutput `pulumi:"l2mtu"` // Controls forwarding mode. If disabled, all L2 and L3 data will be forwarded to CAPsMAN, and further forwarding decisions will be made only then. See [docs](https://wiki.mikrotik.com/wiki/Manual:CAPsMAN#Local_Forwarding_Mode) for info. LocalForwarding pulumi.BoolPtrOutput `pulumi:"localForwarding"` // MTU size. Mtu pulumi.IntPtrOutput `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"` // OpenFlow switch to add interface to, as port when enabled. OpenflowSwitch pulumi.StringPtrOutput `pulumi:"openflowSwitch"` // VLAN ID to assign to interface if vlan-mode enables use of VLAN tagging. VlanId pulumi.IntPtrOutput `pulumi:"vlanId"` // VLAN tagging mode specifies if VLAN tag should be assigned to interface (causes all received data to get tagged with VLAN tag and allows interface to only send out data tagged with given tag) VlanMode pulumi.StringPtrOutput `pulumi:"vlanMode"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/CapsMan" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := CapsMan.NewDatapath(ctx, "testDatapath", &CapsMan.DatapathArgs{ Arp: pulumi.String("local-proxy-arp"), Bridge: pulumi.String("bridge"), BridgeCost: pulumi.Int(100), BridgeHorizon: pulumi.Int(200), ClientToClientForwarding: pulumi.Bool(true), Comment: pulumi.String("test_datapath"), InterfaceList: pulumi.String("static"), L2mtu: pulumi.Int(1450), LocalForwarding: pulumi.Bool(true), Mtu: pulumi.Int(1500), VlanId: pulumi.Int(101), VlanMode: pulumi.String("no-tag"), }) if err != nil { return err } return nil }) }
```
## Import
Import with the name of the CAPsMAN datapath configuration in case of the example use test-datapath-config ¶
```sh
$ pulumi import routeros:CapsMan/datapath:Datapath test_datapath test-datapath-config
```
func GetDatapath ¶
func GetDatapath(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatapathState, opts ...pulumi.ResourceOption) (*Datapath, error)
GetDatapath gets an existing Datapath 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 NewDatapath ¶
func NewDatapath(ctx *pulumi.Context, name string, args *DatapathArgs, opts ...pulumi.ResourceOption) (*Datapath, error)
NewDatapath registers a new resource with the given unique name, arguments, and options.
func (*Datapath) ElementType ¶
func (*Datapath) ToDatapathOutput ¶
func (i *Datapath) ToDatapathOutput() DatapathOutput
func (*Datapath) ToDatapathOutputWithContext ¶
func (i *Datapath) ToDatapathOutputWithContext(ctx context.Context) DatapathOutput
type DatapathArgs ¶
type DatapathArgs struct { // ARP mode. See [docs](https://wiki.mikrotik.com/wiki/Manual:IP/ARP#ARP_Modes) for info. Arp pulumi.StringPtrInput // Bridge to which particular interface should be automatically added as port. Required only when local-forwarding is not used. Bridge pulumi.StringPtrInput // Bridge port cost to use when adding as bridge port. BridgeCost pulumi.IntPtrInput // Bridge horizon to use when adding as bridge port. BridgeHorizon pulumi.IntPtrInput // Controls if client-to-client forwarding between wireless clients connected to interface should be allowed, in local forwarding mode this function is performed by CAP, otherwise it is performed by CAPsMAN. ClientToClientForwarding pulumi.BoolPtrInput Comment pulumi.StringPtrInput // Interface list name. InterfaceList pulumi.StringPtrInput // Layer2 MTU size. L2mtu pulumi.IntPtrInput // Controls forwarding mode. If disabled, all L2 and L3 data will be forwarded to CAPsMAN, and further forwarding decisions will be made only then. See [docs](https://wiki.mikrotik.com/wiki/Manual:CAPsMAN#Local_Forwarding_Mode) for info. LocalForwarding pulumi.BoolPtrInput // MTU size. Mtu pulumi.IntPtrInput // 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 // OpenFlow switch to add interface to, as port when enabled. OpenflowSwitch pulumi.StringPtrInput // VLAN ID to assign to interface if vlan-mode enables use of VLAN tagging. VlanId pulumi.IntPtrInput // VLAN tagging mode specifies if VLAN tag should be assigned to interface (causes all received data to get tagged with VLAN tag and allows interface to only send out data tagged with given tag) VlanMode pulumi.StringPtrInput // contains filtered or unexported fields }
The set of arguments for constructing a Datapath resource.
func (DatapathArgs) ElementType ¶
func (DatapathArgs) ElementType() reflect.Type
type DatapathArray ¶
type DatapathArray []DatapathInput
func (DatapathArray) ElementType ¶
func (DatapathArray) ElementType() reflect.Type
func (DatapathArray) ToDatapathArrayOutput ¶
func (i DatapathArray) ToDatapathArrayOutput() DatapathArrayOutput
func (DatapathArray) ToDatapathArrayOutputWithContext ¶
func (i DatapathArray) ToDatapathArrayOutputWithContext(ctx context.Context) DatapathArrayOutput
type DatapathArrayInput ¶
type DatapathArrayInput interface { pulumi.Input ToDatapathArrayOutput() DatapathArrayOutput ToDatapathArrayOutputWithContext(context.Context) DatapathArrayOutput }
DatapathArrayInput is an input type that accepts DatapathArray and DatapathArrayOutput values. You can construct a concrete instance of `DatapathArrayInput` via:
DatapathArray{ DatapathArgs{...} }
type DatapathArrayOutput ¶
type DatapathArrayOutput struct{ *pulumi.OutputState }
func (DatapathArrayOutput) ElementType ¶
func (DatapathArrayOutput) ElementType() reflect.Type
func (DatapathArrayOutput) Index ¶
func (o DatapathArrayOutput) Index(i pulumi.IntInput) DatapathOutput
func (DatapathArrayOutput) ToDatapathArrayOutput ¶
func (o DatapathArrayOutput) ToDatapathArrayOutput() DatapathArrayOutput
func (DatapathArrayOutput) ToDatapathArrayOutputWithContext ¶
func (o DatapathArrayOutput) ToDatapathArrayOutputWithContext(ctx context.Context) DatapathArrayOutput
type DatapathInput ¶
type DatapathInput interface { pulumi.Input ToDatapathOutput() DatapathOutput ToDatapathOutputWithContext(ctx context.Context) DatapathOutput }
type DatapathMap ¶
type DatapathMap map[string]DatapathInput
func (DatapathMap) ElementType ¶
func (DatapathMap) ElementType() reflect.Type
func (DatapathMap) ToDatapathMapOutput ¶
func (i DatapathMap) ToDatapathMapOutput() DatapathMapOutput
func (DatapathMap) ToDatapathMapOutputWithContext ¶
func (i DatapathMap) ToDatapathMapOutputWithContext(ctx context.Context) DatapathMapOutput
type DatapathMapInput ¶
type DatapathMapInput interface { pulumi.Input ToDatapathMapOutput() DatapathMapOutput ToDatapathMapOutputWithContext(context.Context) DatapathMapOutput }
DatapathMapInput is an input type that accepts DatapathMap and DatapathMapOutput values. You can construct a concrete instance of `DatapathMapInput` via:
DatapathMap{ "key": DatapathArgs{...} }
type DatapathMapOutput ¶
type DatapathMapOutput struct{ *pulumi.OutputState }
func (DatapathMapOutput) ElementType ¶
func (DatapathMapOutput) ElementType() reflect.Type
func (DatapathMapOutput) MapIndex ¶
func (o DatapathMapOutput) MapIndex(k pulumi.StringInput) DatapathOutput
func (DatapathMapOutput) ToDatapathMapOutput ¶
func (o DatapathMapOutput) ToDatapathMapOutput() DatapathMapOutput
func (DatapathMapOutput) ToDatapathMapOutputWithContext ¶
func (o DatapathMapOutput) ToDatapathMapOutputWithContext(ctx context.Context) DatapathMapOutput
type DatapathOutput ¶
type DatapathOutput struct{ *pulumi.OutputState }
func (DatapathOutput) Arp ¶
func (o DatapathOutput) Arp() pulumi.StringPtrOutput
ARP mode. See [docs](https://wiki.mikrotik.com/wiki/Manual:IP/ARP#ARP_Modes) for info.
func (DatapathOutput) Bridge ¶
func (o DatapathOutput) Bridge() pulumi.StringPtrOutput
Bridge to which particular interface should be automatically added as port. Required only when local-forwarding is not used.
func (DatapathOutput) BridgeCost ¶
func (o DatapathOutput) BridgeCost() pulumi.IntPtrOutput
Bridge port cost to use when adding as bridge port.
func (DatapathOutput) BridgeHorizon ¶
func (o DatapathOutput) BridgeHorizon() pulumi.IntPtrOutput
Bridge horizon to use when adding as bridge port.
func (DatapathOutput) ClientToClientForwarding ¶
func (o DatapathOutput) ClientToClientForwarding() pulumi.BoolPtrOutput
Controls if client-to-client forwarding between wireless clients connected to interface should be allowed, in local forwarding mode this function is performed by CAP, otherwise it is performed by CAPsMAN.
func (DatapathOutput) Comment ¶
func (o DatapathOutput) Comment() pulumi.StringPtrOutput
func (DatapathOutput) ElementType ¶
func (DatapathOutput) ElementType() reflect.Type
func (DatapathOutput) InterfaceList ¶
func (o DatapathOutput) InterfaceList() pulumi.StringPtrOutput
Interface list name.
func (DatapathOutput) LocalForwarding ¶
func (o DatapathOutput) LocalForwarding() pulumi.BoolPtrOutput
Controls forwarding mode. If disabled, all L2 and L3 data will be forwarded to CAPsMAN, and further forwarding decisions will be made only then. See [docs](https://wiki.mikrotik.com/wiki/Manual:CAPsMAN#Local_Forwarding_Mode) for info.
func (DatapathOutput) Name ¶
func (o DatapathOutput) 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 (DatapathOutput) OpenflowSwitch ¶
func (o DatapathOutput) OpenflowSwitch() pulumi.StringPtrOutput
OpenFlow switch to add interface to, as port when enabled.
func (DatapathOutput) ToDatapathOutput ¶
func (o DatapathOutput) ToDatapathOutput() DatapathOutput
func (DatapathOutput) ToDatapathOutputWithContext ¶
func (o DatapathOutput) ToDatapathOutputWithContext(ctx context.Context) DatapathOutput
func (DatapathOutput) VlanId ¶
func (o DatapathOutput) VlanId() pulumi.IntPtrOutput
VLAN ID to assign to interface if vlan-mode enables use of VLAN tagging.
func (DatapathOutput) VlanMode ¶
func (o DatapathOutput) VlanMode() pulumi.StringPtrOutput
VLAN tagging mode specifies if VLAN tag should be assigned to interface (causes all received data to get tagged with VLAN tag and allows interface to only send out data tagged with given tag)
type DatapathState ¶
type DatapathState struct { // ARP mode. See [docs](https://wiki.mikrotik.com/wiki/Manual:IP/ARP#ARP_Modes) for info. Arp pulumi.StringPtrInput // Bridge to which particular interface should be automatically added as port. Required only when local-forwarding is not used. Bridge pulumi.StringPtrInput // Bridge port cost to use when adding as bridge port. BridgeCost pulumi.IntPtrInput // Bridge horizon to use when adding as bridge port. BridgeHorizon pulumi.IntPtrInput // Controls if client-to-client forwarding between wireless clients connected to interface should be allowed, in local forwarding mode this function is performed by CAP, otherwise it is performed by CAPsMAN. ClientToClientForwarding pulumi.BoolPtrInput Comment pulumi.StringPtrInput // Interface list name. InterfaceList pulumi.StringPtrInput // Layer2 MTU size. L2mtu pulumi.IntPtrInput // Controls forwarding mode. If disabled, all L2 and L3 data will be forwarded to CAPsMAN, and further forwarding decisions will be made only then. See [docs](https://wiki.mikrotik.com/wiki/Manual:CAPsMAN#Local_Forwarding_Mode) for info. LocalForwarding pulumi.BoolPtrInput // MTU size. Mtu pulumi.IntPtrInput // 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 // OpenFlow switch to add interface to, as port when enabled. OpenflowSwitch pulumi.StringPtrInput // VLAN ID to assign to interface if vlan-mode enables use of VLAN tagging. VlanId pulumi.IntPtrInput // VLAN tagging mode specifies if VLAN tag should be assigned to interface (causes all received data to get tagged with VLAN tag and allows interface to only send out data tagged with given tag) VlanMode pulumi.StringPtrInput // contains filtered or unexported fields }
func (DatapathState) ElementType ¶
func (DatapathState) ElementType() reflect.Type
type Manager ¶
type Manager struct { pulumi.CustomResourceState // Device CA certificate. CaCertificate pulumi.StringPtrOutput `pulumi:"caCertificate"` // Device certificate. Certificate pulumi.StringPtrOutput `pulumi:"certificate"` // Disable or enable CAPsMAN functionality. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // Folder location for the RouterOS packages. For example, use '/upgrade' to specify the upgrade folder from the files section. If empty string is set, CAPsMAN can use built-in RouterOS packages, note that in this case only CAPs with the same architecture as CAPsMAN will be upgraded. PackagePath pulumi.StringPtrOutput `pulumi:"packagePath"` // Require all connecting CAPs to have a valid certificate. RequirePeerCertificate pulumi.BoolPtrOutput `pulumi:"requirePeerCertificate"` // Upgrade policy options. UpgradePolicy pulumi.StringPtrOutput `pulumi:"upgradePolicy"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/CapsMan" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := CapsMan.NewManager(ctx, "testManager", &CapsMan.ManagerArgs{ Enabled: pulumi.Bool(true), UpgradePolicy: pulumi.String("require-same-version"), }) if err != nil { return err } return nil }) }
```
## Import
```sh
$ pulumi import routeros:CapsMan/manager:Manager test_manager .
```
func GetManager ¶
func GetManager(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ManagerState, opts ...pulumi.ResourceOption) (*Manager, error)
GetManager gets an existing Manager 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 NewManager ¶
func NewManager(ctx *pulumi.Context, name string, args *ManagerArgs, opts ...pulumi.ResourceOption) (*Manager, error)
NewManager registers a new resource with the given unique name, arguments, and options.
func (*Manager) ElementType ¶
func (*Manager) ToManagerOutput ¶
func (i *Manager) ToManagerOutput() ManagerOutput
func (*Manager) ToManagerOutputWithContext ¶
func (i *Manager) ToManagerOutputWithContext(ctx context.Context) ManagerOutput
type ManagerArgs ¶
type ManagerArgs struct { // Device CA certificate. CaCertificate pulumi.StringPtrInput // Device certificate. Certificate pulumi.StringPtrInput // Disable or enable CAPsMAN functionality. Enabled pulumi.BoolPtrInput // Folder location for the RouterOS packages. For example, use '/upgrade' to specify the upgrade folder from the files section. If empty string is set, CAPsMAN can use built-in RouterOS packages, note that in this case only CAPs with the same architecture as CAPsMAN will be upgraded. PackagePath pulumi.StringPtrInput // Require all connecting CAPs to have a valid certificate. RequirePeerCertificate pulumi.BoolPtrInput // Upgrade policy options. UpgradePolicy pulumi.StringPtrInput // contains filtered or unexported fields }
The set of arguments for constructing a Manager resource.
func (ManagerArgs) ElementType ¶
func (ManagerArgs) ElementType() reflect.Type
type ManagerArray ¶
type ManagerArray []ManagerInput
func (ManagerArray) ElementType ¶
func (ManagerArray) ElementType() reflect.Type
func (ManagerArray) ToManagerArrayOutput ¶
func (i ManagerArray) ToManagerArrayOutput() ManagerArrayOutput
func (ManagerArray) ToManagerArrayOutputWithContext ¶
func (i ManagerArray) ToManagerArrayOutputWithContext(ctx context.Context) ManagerArrayOutput
type ManagerArrayInput ¶
type ManagerArrayInput interface { pulumi.Input ToManagerArrayOutput() ManagerArrayOutput ToManagerArrayOutputWithContext(context.Context) ManagerArrayOutput }
ManagerArrayInput is an input type that accepts ManagerArray and ManagerArrayOutput values. You can construct a concrete instance of `ManagerArrayInput` via:
ManagerArray{ ManagerArgs{...} }
type ManagerArrayOutput ¶
type ManagerArrayOutput struct{ *pulumi.OutputState }
func (ManagerArrayOutput) ElementType ¶
func (ManagerArrayOutput) ElementType() reflect.Type
func (ManagerArrayOutput) Index ¶
func (o ManagerArrayOutput) Index(i pulumi.IntInput) ManagerOutput
func (ManagerArrayOutput) ToManagerArrayOutput ¶
func (o ManagerArrayOutput) ToManagerArrayOutput() ManagerArrayOutput
func (ManagerArrayOutput) ToManagerArrayOutputWithContext ¶
func (o ManagerArrayOutput) ToManagerArrayOutputWithContext(ctx context.Context) ManagerArrayOutput
type ManagerInput ¶
type ManagerInput interface { pulumi.Input ToManagerOutput() ManagerOutput ToManagerOutputWithContext(ctx context.Context) ManagerOutput }
type ManagerInterface ¶
type ManagerInterface struct { pulumi.CustomResourceState Comment pulumi.StringPtrOutput `pulumi:"comment"` Default pulumi.BoolOutput `pulumi:"default"` 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"` // Disable interface listening. Forbid pulumi.BoolPtrOutput `pulumi:"forbid"` // Name of the interface. Interface pulumi.StringOutput `pulumi:"interface"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/CapsMan" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := CapsMan.NewManagerInterface(ctx, "testManagerInterface", &CapsMan.ManagerInterfaceArgs{ Forbid: pulumi.Bool(true), Interface: pulumi.String("ether1"), }) if err != nil { return err } return nil }) }
```
## Import
#The ID can be found via API or the terminal #The command for the terminal is ->
:put [/caps-man/manager/interface get [print show-ids]]
```sh
$ pulumi import routeros:CapsMan/managerInterface:ManagerInterface test_manager_interface "*6"
```
func GetManagerInterface ¶
func GetManagerInterface(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ManagerInterfaceState, opts ...pulumi.ResourceOption) (*ManagerInterface, error)
GetManagerInterface gets an existing ManagerInterface 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 NewManagerInterface ¶
func NewManagerInterface(ctx *pulumi.Context, name string, args *ManagerInterfaceArgs, opts ...pulumi.ResourceOption) (*ManagerInterface, error)
NewManagerInterface registers a new resource with the given unique name, arguments, and options.
func (*ManagerInterface) ElementType ¶
func (*ManagerInterface) ElementType() reflect.Type
func (*ManagerInterface) ToManagerInterfaceOutput ¶
func (i *ManagerInterface) ToManagerInterfaceOutput() ManagerInterfaceOutput
func (*ManagerInterface) ToManagerInterfaceOutputWithContext ¶
func (i *ManagerInterface) ToManagerInterfaceOutputWithContext(ctx context.Context) ManagerInterfaceOutput
type ManagerInterfaceArgs ¶
type ManagerInterfaceArgs struct { Comment pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Disable interface listening. Forbid pulumi.BoolPtrInput // Name of the interface. Interface pulumi.StringInput // contains filtered or unexported fields }
The set of arguments for constructing a ManagerInterface resource.
func (ManagerInterfaceArgs) ElementType ¶
func (ManagerInterfaceArgs) ElementType() reflect.Type
type ManagerInterfaceArray ¶
type ManagerInterfaceArray []ManagerInterfaceInput
func (ManagerInterfaceArray) ElementType ¶
func (ManagerInterfaceArray) ElementType() reflect.Type
func (ManagerInterfaceArray) ToManagerInterfaceArrayOutput ¶
func (i ManagerInterfaceArray) ToManagerInterfaceArrayOutput() ManagerInterfaceArrayOutput
func (ManagerInterfaceArray) ToManagerInterfaceArrayOutputWithContext ¶
func (i ManagerInterfaceArray) ToManagerInterfaceArrayOutputWithContext(ctx context.Context) ManagerInterfaceArrayOutput
type ManagerInterfaceArrayInput ¶
type ManagerInterfaceArrayInput interface { pulumi.Input ToManagerInterfaceArrayOutput() ManagerInterfaceArrayOutput ToManagerInterfaceArrayOutputWithContext(context.Context) ManagerInterfaceArrayOutput }
ManagerInterfaceArrayInput is an input type that accepts ManagerInterfaceArray and ManagerInterfaceArrayOutput values. You can construct a concrete instance of `ManagerInterfaceArrayInput` via:
ManagerInterfaceArray{ ManagerInterfaceArgs{...} }
type ManagerInterfaceArrayOutput ¶
type ManagerInterfaceArrayOutput struct{ *pulumi.OutputState }
func (ManagerInterfaceArrayOutput) ElementType ¶
func (ManagerInterfaceArrayOutput) ElementType() reflect.Type
func (ManagerInterfaceArrayOutput) Index ¶
func (o ManagerInterfaceArrayOutput) Index(i pulumi.IntInput) ManagerInterfaceOutput
func (ManagerInterfaceArrayOutput) ToManagerInterfaceArrayOutput ¶
func (o ManagerInterfaceArrayOutput) ToManagerInterfaceArrayOutput() ManagerInterfaceArrayOutput
func (ManagerInterfaceArrayOutput) ToManagerInterfaceArrayOutputWithContext ¶
func (o ManagerInterfaceArrayOutput) ToManagerInterfaceArrayOutputWithContext(ctx context.Context) ManagerInterfaceArrayOutput
type ManagerInterfaceInput ¶
type ManagerInterfaceInput interface { pulumi.Input ToManagerInterfaceOutput() ManagerInterfaceOutput ToManagerInterfaceOutputWithContext(ctx context.Context) ManagerInterfaceOutput }
type ManagerInterfaceMap ¶
type ManagerInterfaceMap map[string]ManagerInterfaceInput
func (ManagerInterfaceMap) ElementType ¶
func (ManagerInterfaceMap) ElementType() reflect.Type
func (ManagerInterfaceMap) ToManagerInterfaceMapOutput ¶
func (i ManagerInterfaceMap) ToManagerInterfaceMapOutput() ManagerInterfaceMapOutput
func (ManagerInterfaceMap) ToManagerInterfaceMapOutputWithContext ¶
func (i ManagerInterfaceMap) ToManagerInterfaceMapOutputWithContext(ctx context.Context) ManagerInterfaceMapOutput
type ManagerInterfaceMapInput ¶
type ManagerInterfaceMapInput interface { pulumi.Input ToManagerInterfaceMapOutput() ManagerInterfaceMapOutput ToManagerInterfaceMapOutputWithContext(context.Context) ManagerInterfaceMapOutput }
ManagerInterfaceMapInput is an input type that accepts ManagerInterfaceMap and ManagerInterfaceMapOutput values. You can construct a concrete instance of `ManagerInterfaceMapInput` via:
ManagerInterfaceMap{ "key": ManagerInterfaceArgs{...} }
type ManagerInterfaceMapOutput ¶
type ManagerInterfaceMapOutput struct{ *pulumi.OutputState }
func (ManagerInterfaceMapOutput) ElementType ¶
func (ManagerInterfaceMapOutput) ElementType() reflect.Type
func (ManagerInterfaceMapOutput) MapIndex ¶
func (o ManagerInterfaceMapOutput) MapIndex(k pulumi.StringInput) ManagerInterfaceOutput
func (ManagerInterfaceMapOutput) ToManagerInterfaceMapOutput ¶
func (o ManagerInterfaceMapOutput) ToManagerInterfaceMapOutput() ManagerInterfaceMapOutput
func (ManagerInterfaceMapOutput) ToManagerInterfaceMapOutputWithContext ¶
func (o ManagerInterfaceMapOutput) ToManagerInterfaceMapOutputWithContext(ctx context.Context) ManagerInterfaceMapOutput
type ManagerInterfaceOutput ¶
type ManagerInterfaceOutput struct{ *pulumi.OutputState }
func (ManagerInterfaceOutput) Comment ¶
func (o ManagerInterfaceOutput) Comment() pulumi.StringPtrOutput
func (ManagerInterfaceOutput) Default ¶
func (o ManagerInterfaceOutput) Default() pulumi.BoolOutput
func (ManagerInterfaceOutput) Disabled ¶
func (o ManagerInterfaceOutput) Disabled() pulumi.BoolPtrOutput
func (ManagerInterfaceOutput) Dynamic ¶
func (o ManagerInterfaceOutput) Dynamic() pulumi.BoolOutput
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
func (ManagerInterfaceOutput) ElementType ¶
func (ManagerInterfaceOutput) ElementType() reflect.Type
func (ManagerInterfaceOutput) Forbid ¶
func (o ManagerInterfaceOutput) Forbid() pulumi.BoolPtrOutput
Disable interface listening.
func (ManagerInterfaceOutput) Interface ¶
func (o ManagerInterfaceOutput) Interface() pulumi.StringOutput
Name of the interface.
func (ManagerInterfaceOutput) ToManagerInterfaceOutput ¶
func (o ManagerInterfaceOutput) ToManagerInterfaceOutput() ManagerInterfaceOutput
func (ManagerInterfaceOutput) ToManagerInterfaceOutputWithContext ¶
func (o ManagerInterfaceOutput) ToManagerInterfaceOutputWithContext(ctx context.Context) ManagerInterfaceOutput
type ManagerInterfaceState ¶
type ManagerInterfaceState struct { Comment pulumi.StringPtrInput Default pulumi.BoolPtrInput Disabled pulumi.BoolPtrInput // Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified. Dynamic pulumi.BoolPtrInput // Disable interface listening. Forbid pulumi.BoolPtrInput // Name of the interface. Interface pulumi.StringPtrInput // contains filtered or unexported fields }
func (ManagerInterfaceState) ElementType ¶
func (ManagerInterfaceState) ElementType() reflect.Type
type ManagerMap ¶
type ManagerMap map[string]ManagerInput
func (ManagerMap) ElementType ¶
func (ManagerMap) ElementType() reflect.Type
func (ManagerMap) ToManagerMapOutput ¶
func (i ManagerMap) ToManagerMapOutput() ManagerMapOutput
func (ManagerMap) ToManagerMapOutputWithContext ¶
func (i ManagerMap) ToManagerMapOutputWithContext(ctx context.Context) ManagerMapOutput
type ManagerMapInput ¶
type ManagerMapInput interface { pulumi.Input ToManagerMapOutput() ManagerMapOutput ToManagerMapOutputWithContext(context.Context) ManagerMapOutput }
ManagerMapInput is an input type that accepts ManagerMap and ManagerMapOutput values. You can construct a concrete instance of `ManagerMapInput` via:
ManagerMap{ "key": ManagerArgs{...} }
type ManagerMapOutput ¶
type ManagerMapOutput struct{ *pulumi.OutputState }
func (ManagerMapOutput) ElementType ¶
func (ManagerMapOutput) ElementType() reflect.Type
func (ManagerMapOutput) MapIndex ¶
func (o ManagerMapOutput) MapIndex(k pulumi.StringInput) ManagerOutput
func (ManagerMapOutput) ToManagerMapOutput ¶
func (o ManagerMapOutput) ToManagerMapOutput() ManagerMapOutput
func (ManagerMapOutput) ToManagerMapOutputWithContext ¶
func (o ManagerMapOutput) ToManagerMapOutputWithContext(ctx context.Context) ManagerMapOutput
type ManagerOutput ¶
type ManagerOutput struct{ *pulumi.OutputState }
func (ManagerOutput) CaCertificate ¶
func (o ManagerOutput) CaCertificate() pulumi.StringPtrOutput
Device CA certificate.
func (ManagerOutput) Certificate ¶
func (o ManagerOutput) Certificate() pulumi.StringPtrOutput
Device certificate.
func (ManagerOutput) ElementType ¶
func (ManagerOutput) ElementType() reflect.Type
func (ManagerOutput) Enabled ¶
func (o ManagerOutput) Enabled() pulumi.BoolPtrOutput
Disable or enable CAPsMAN functionality.
func (ManagerOutput) PackagePath ¶
func (o ManagerOutput) PackagePath() pulumi.StringPtrOutput
Folder location for the RouterOS packages. For example, use '/upgrade' to specify the upgrade folder from the files section. If empty string is set, CAPsMAN can use built-in RouterOS packages, note that in this case only CAPs with the same architecture as CAPsMAN will be upgraded.
func (ManagerOutput) RequirePeerCertificate ¶
func (o ManagerOutput) RequirePeerCertificate() pulumi.BoolPtrOutput
Require all connecting CAPs to have a valid certificate.
func (ManagerOutput) ToManagerOutput ¶
func (o ManagerOutput) ToManagerOutput() ManagerOutput
func (ManagerOutput) ToManagerOutputWithContext ¶
func (o ManagerOutput) ToManagerOutputWithContext(ctx context.Context) ManagerOutput
func (ManagerOutput) UpgradePolicy ¶
func (o ManagerOutput) UpgradePolicy() pulumi.StringPtrOutput
Upgrade policy options.
type ManagerState ¶
type ManagerState struct { // Device CA certificate. CaCertificate pulumi.StringPtrInput // Device certificate. Certificate pulumi.StringPtrInput // Disable or enable CAPsMAN functionality. Enabled pulumi.BoolPtrInput // Folder location for the RouterOS packages. For example, use '/upgrade' to specify the upgrade folder from the files section. If empty string is set, CAPsMAN can use built-in RouterOS packages, note that in this case only CAPs with the same architecture as CAPsMAN will be upgraded. PackagePath pulumi.StringPtrInput // Require all connecting CAPs to have a valid certificate. RequirePeerCertificate pulumi.BoolPtrInput // Upgrade policy options. UpgradePolicy pulumi.StringPtrInput // contains filtered or unexported fields }
func (ManagerState) ElementType ¶
func (ManagerState) ElementType() reflect.Type
type Provisioning ¶
type Provisioning struct { pulumi.CustomResourceState // Provisioning action. Action pulumi.StringPtrOutput `pulumi:"action"` Comment pulumi.StringPtrOutput `pulumi:"comment"` // Regular expression to match radios by common name. Each CAP's common name identifier can be found under "/caps-man radio" as value "REMOTE-CAP-NAME" CommonNameRegexp pulumi.StringPtrOutput `pulumi:"commonNameRegexp"` Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // Match radios by supported wireless modes. HwSupportedModes pulumi.StringPtrOutput `pulumi:"hwSupportedModes"` // Regular expression to match radios by router identity. IdentityRegexp pulumi.StringPtrOutput `pulumi:"identityRegexp"` // Match CAPs with IPs within configured address range. IpAddressRanges pulumi.StringPtrOutput `pulumi:"ipAddressRanges"` // If action specifies to create interfaces, then a new master interface with its configuration set to this configuration profile will be created MasterConfiguration pulumi.StringOutput `pulumi:"masterConfiguration"` // Specify the syntax of the CAP interface name creation. NameFormat pulumi.StringPtrOutput `pulumi:"nameFormat"` // Name prefix which can be used in the name-format for creating the CAP interface names. NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"` // MAC address of radio to be matched, empty MAC (00:00:00:00:00:00) means match all MAC addresses. RadioMac pulumi.StringPtrOutput `pulumi:"radioMac"` // If action specifies to create interfaces, then a new slave interface for each configuration profile in this list is created. SlaveConfigurations pulumi.StringPtrOutput `pulumi:"slaveConfigurations"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/CapsMan" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testConfiguration, err := CapsMan.NewConfiguration(ctx, "testConfiguration", nil) if err != nil { return err } _, err = CapsMan.NewProvisioning(ctx, "testProvisioning", &CapsMan.ProvisioningArgs{ MasterConfiguration: pulumi.String("cfg1"), Action: pulumi.String("create-disabled"), NamePrefix: pulumi.String("cap-"), }, pulumi.DependsOn([]pulumi.Resource{ testConfiguration, })) 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 [/caps-man/provisioning get [print show-ids]]
```sh
$ pulumi import routeros:CapsMan/provisioning:Provisioning test_provisioning "*B"
```
func GetProvisioning ¶
func GetProvisioning(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProvisioningState, opts ...pulumi.ResourceOption) (*Provisioning, error)
GetProvisioning gets an existing Provisioning 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 NewProvisioning ¶
func NewProvisioning(ctx *pulumi.Context, name string, args *ProvisioningArgs, opts ...pulumi.ResourceOption) (*Provisioning, error)
NewProvisioning registers a new resource with the given unique name, arguments, and options.
func (*Provisioning) ElementType ¶
func (*Provisioning) ElementType() reflect.Type
func (*Provisioning) ToProvisioningOutput ¶
func (i *Provisioning) ToProvisioningOutput() ProvisioningOutput
func (*Provisioning) ToProvisioningOutputWithContext ¶
func (i *Provisioning) ToProvisioningOutputWithContext(ctx context.Context) ProvisioningOutput
type ProvisioningArgs ¶
type ProvisioningArgs struct { // Provisioning action. Action pulumi.StringPtrInput Comment pulumi.StringPtrInput // Regular expression to match radios by common name. Each CAP's common name identifier can be found under "/caps-man radio" as value "REMOTE-CAP-NAME" CommonNameRegexp pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Match radios by supported wireless modes. HwSupportedModes pulumi.StringPtrInput // Regular expression to match radios by router identity. IdentityRegexp pulumi.StringPtrInput // Match CAPs with IPs within configured address range. IpAddressRanges pulumi.StringPtrInput // If action specifies to create interfaces, then a new master interface with its configuration set to this configuration profile will be created MasterConfiguration pulumi.StringInput // Specify the syntax of the CAP interface name creation. NameFormat pulumi.StringPtrInput // Name prefix which can be used in the name-format for creating the CAP interface names. NamePrefix pulumi.StringPtrInput // MAC address of radio to be matched, empty MAC (00:00:00:00:00:00) means match all MAC addresses. RadioMac pulumi.StringPtrInput // If action specifies to create interfaces, then a new slave interface for each configuration profile in this list is created. SlaveConfigurations pulumi.StringPtrInput // contains filtered or unexported fields }
The set of arguments for constructing a Provisioning resource.
func (ProvisioningArgs) ElementType ¶
func (ProvisioningArgs) ElementType() reflect.Type
type ProvisioningArray ¶
type ProvisioningArray []ProvisioningInput
func (ProvisioningArray) ElementType ¶
func (ProvisioningArray) ElementType() reflect.Type
func (ProvisioningArray) ToProvisioningArrayOutput ¶
func (i ProvisioningArray) ToProvisioningArrayOutput() ProvisioningArrayOutput
func (ProvisioningArray) ToProvisioningArrayOutputWithContext ¶
func (i ProvisioningArray) ToProvisioningArrayOutputWithContext(ctx context.Context) ProvisioningArrayOutput
type ProvisioningArrayInput ¶
type ProvisioningArrayInput interface { pulumi.Input ToProvisioningArrayOutput() ProvisioningArrayOutput ToProvisioningArrayOutputWithContext(context.Context) ProvisioningArrayOutput }
ProvisioningArrayInput is an input type that accepts ProvisioningArray and ProvisioningArrayOutput values. You can construct a concrete instance of `ProvisioningArrayInput` via:
ProvisioningArray{ ProvisioningArgs{...} }
type ProvisioningArrayOutput ¶
type ProvisioningArrayOutput struct{ *pulumi.OutputState }
func (ProvisioningArrayOutput) ElementType ¶
func (ProvisioningArrayOutput) ElementType() reflect.Type
func (ProvisioningArrayOutput) Index ¶
func (o ProvisioningArrayOutput) Index(i pulumi.IntInput) ProvisioningOutput
func (ProvisioningArrayOutput) ToProvisioningArrayOutput ¶
func (o ProvisioningArrayOutput) ToProvisioningArrayOutput() ProvisioningArrayOutput
func (ProvisioningArrayOutput) ToProvisioningArrayOutputWithContext ¶
func (o ProvisioningArrayOutput) ToProvisioningArrayOutputWithContext(ctx context.Context) ProvisioningArrayOutput
type ProvisioningInput ¶
type ProvisioningInput interface { pulumi.Input ToProvisioningOutput() ProvisioningOutput ToProvisioningOutputWithContext(ctx context.Context) ProvisioningOutput }
type ProvisioningMap ¶
type ProvisioningMap map[string]ProvisioningInput
func (ProvisioningMap) ElementType ¶
func (ProvisioningMap) ElementType() reflect.Type
func (ProvisioningMap) ToProvisioningMapOutput ¶
func (i ProvisioningMap) ToProvisioningMapOutput() ProvisioningMapOutput
func (ProvisioningMap) ToProvisioningMapOutputWithContext ¶
func (i ProvisioningMap) ToProvisioningMapOutputWithContext(ctx context.Context) ProvisioningMapOutput
type ProvisioningMapInput ¶
type ProvisioningMapInput interface { pulumi.Input ToProvisioningMapOutput() ProvisioningMapOutput ToProvisioningMapOutputWithContext(context.Context) ProvisioningMapOutput }
ProvisioningMapInput is an input type that accepts ProvisioningMap and ProvisioningMapOutput values. You can construct a concrete instance of `ProvisioningMapInput` via:
ProvisioningMap{ "key": ProvisioningArgs{...} }
type ProvisioningMapOutput ¶
type ProvisioningMapOutput struct{ *pulumi.OutputState }
func (ProvisioningMapOutput) ElementType ¶
func (ProvisioningMapOutput) ElementType() reflect.Type
func (ProvisioningMapOutput) MapIndex ¶
func (o ProvisioningMapOutput) MapIndex(k pulumi.StringInput) ProvisioningOutput
func (ProvisioningMapOutput) ToProvisioningMapOutput ¶
func (o ProvisioningMapOutput) ToProvisioningMapOutput() ProvisioningMapOutput
func (ProvisioningMapOutput) ToProvisioningMapOutputWithContext ¶
func (o ProvisioningMapOutput) ToProvisioningMapOutputWithContext(ctx context.Context) ProvisioningMapOutput
type ProvisioningOutput ¶
type ProvisioningOutput struct{ *pulumi.OutputState }
func (ProvisioningOutput) Action ¶
func (o ProvisioningOutput) Action() pulumi.StringPtrOutput
Provisioning action.
func (ProvisioningOutput) Comment ¶
func (o ProvisioningOutput) Comment() pulumi.StringPtrOutput
func (ProvisioningOutput) CommonNameRegexp ¶
func (o ProvisioningOutput) CommonNameRegexp() pulumi.StringPtrOutput
Regular expression to match radios by common name. Each CAP's common name identifier can be found under "/caps-man radio" as value "REMOTE-CAP-NAME"
func (ProvisioningOutput) Disabled ¶
func (o ProvisioningOutput) Disabled() pulumi.BoolPtrOutput
func (ProvisioningOutput) ElementType ¶
func (ProvisioningOutput) ElementType() reflect.Type
func (ProvisioningOutput) HwSupportedModes ¶
func (o ProvisioningOutput) HwSupportedModes() pulumi.StringPtrOutput
Match radios by supported wireless modes.
func (ProvisioningOutput) IdentityRegexp ¶
func (o ProvisioningOutput) IdentityRegexp() pulumi.StringPtrOutput
Regular expression to match radios by router identity.
func (ProvisioningOutput) IpAddressRanges ¶
func (o ProvisioningOutput) IpAddressRanges() pulumi.StringPtrOutput
Match CAPs with IPs within configured address range.
func (ProvisioningOutput) MasterConfiguration ¶
func (o ProvisioningOutput) MasterConfiguration() pulumi.StringOutput
If action specifies to create interfaces, then a new master interface with its configuration set to this configuration profile will be created
func (ProvisioningOutput) NameFormat ¶
func (o ProvisioningOutput) NameFormat() pulumi.StringPtrOutput
Specify the syntax of the CAP interface name creation.
func (ProvisioningOutput) NamePrefix ¶
func (o ProvisioningOutput) NamePrefix() pulumi.StringPtrOutput
Name prefix which can be used in the name-format for creating the CAP interface names.
func (ProvisioningOutput) RadioMac ¶
func (o ProvisioningOutput) RadioMac() pulumi.StringPtrOutput
MAC address of radio to be matched, empty MAC (00:00:00:00:00:00) means match all MAC addresses.
func (ProvisioningOutput) SlaveConfigurations ¶
func (o ProvisioningOutput) SlaveConfigurations() pulumi.StringPtrOutput
If action specifies to create interfaces, then a new slave interface for each configuration profile in this list is created.
func (ProvisioningOutput) ToProvisioningOutput ¶
func (o ProvisioningOutput) ToProvisioningOutput() ProvisioningOutput
func (ProvisioningOutput) ToProvisioningOutputWithContext ¶
func (o ProvisioningOutput) ToProvisioningOutputWithContext(ctx context.Context) ProvisioningOutput
type ProvisioningState ¶
type ProvisioningState struct { // Provisioning action. Action pulumi.StringPtrInput Comment pulumi.StringPtrInput // Regular expression to match radios by common name. Each CAP's common name identifier can be found under "/caps-man radio" as value "REMOTE-CAP-NAME" CommonNameRegexp pulumi.StringPtrInput Disabled pulumi.BoolPtrInput // Match radios by supported wireless modes. HwSupportedModes pulumi.StringPtrInput // Regular expression to match radios by router identity. IdentityRegexp pulumi.StringPtrInput // Match CAPs with IPs within configured address range. IpAddressRanges pulumi.StringPtrInput // If action specifies to create interfaces, then a new master interface with its configuration set to this configuration profile will be created MasterConfiguration pulumi.StringPtrInput // Specify the syntax of the CAP interface name creation. NameFormat pulumi.StringPtrInput // Name prefix which can be used in the name-format for creating the CAP interface names. NamePrefix pulumi.StringPtrInput // MAC address of radio to be matched, empty MAC (00:00:00:00:00:00) means match all MAC addresses. RadioMac pulumi.StringPtrInput // If action specifies to create interfaces, then a new slave interface for each configuration profile in this list is created. SlaveConfigurations pulumi.StringPtrInput // contains filtered or unexported fields }
func (ProvisioningState) ElementType ¶
func (ProvisioningState) ElementType() reflect.Type
type Rates ¶
type Rates struct { pulumi.CustomResourceState // List of basic rates. Client will connect to AP only if it supports all basic rates announced by the AP. AP will establish WDS link only if it supports all basic rates of the other AP. Basics pulumi.StringArrayOutput `pulumi:"basics"` Comment pulumi.StringPtrOutput `pulumi:"comment"` // Modulation and Coding Schemes that every connecting client must support. Refer to 802.11n for MCS specification. HtBasicMcs pulumi.StringArrayOutput `pulumi:"htBasicMcs"` // Modulation and Coding Schemes that this device advertises as supported. Refer to 802.11n for MCS specification. HtSupportedMcs pulumi.StringArrayOutput `pulumi:"htSupportedMcs"` // 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"` // List of supported rates. Two devices will communicate only using rates that are supported by both devices. Supporteds pulumi.StringArrayOutput `pulumi:"supporteds"` // Modulation and Coding Schemes that every connecting client must support. Refer to 802.11ac for MCS specification. You can set MCS interval for each of Spatial Stream none - will not use selected Spatial Stream MCS 0-7 - client must support MCS-0 to MCS-7 MCS 0-8 - client must support MCS-0 to MCS-8 MCS 0-9 - client must support MCS-0 to MCS-9 VhtBasicMcs pulumi.StringOutput `pulumi:"vhtBasicMcs"` // Modulation and Coding Schemes that this device advertises as supported. Refer to 802.11ac for MCS specification. You can set MCS interval for each of Spatial Stream none - will not use selected Spatial Stream MCS 0-7 - devices will advertise as supported MCS-0 to MCS-7 MCS 0-8 - devices will advertise as supported MCS-0 to MCS-8 MCS 0-9 - devices will advertise as supported MCS-0 to MCS-9 VhtSupportedMcs pulumi.StringOutput `pulumi:"vhtSupportedMcs"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/CapsMan" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := CapsMan.NewRates(ctx, "testRates", &CapsMan.RatesArgs{ Basics: pulumi.StringArray{ pulumi.String("1Mbps"), pulumi.String("5.5Mbps"), pulumi.String("6Mbps"), pulumi.String("18Mbps"), pulumi.String("36Mbps"), pulumi.String("54Mbps"), }, Comment: pulumi.String("test_rates"), HtBasicMcs: pulumi.StringArray{ pulumi.String("mcs-0"), pulumi.String("mcs-7"), pulumi.String("mcs-11"), pulumi.String("mcs-14"), pulumi.String("mcs-16"), pulumi.String("mcs-21"), }, HtSupportedMcs: pulumi.StringArray{ pulumi.String("mcs-3"), pulumi.String("mcs-8"), pulumi.String("mcs-10"), pulumi.String("mcs-13"), pulumi.String("mcs-17"), pulumi.String("mcs-18"), }, Supporteds: pulumi.StringArray{ pulumi.String("2Mbps"), pulumi.String("11Mbps"), pulumi.String("9Mbps"), pulumi.String("12Mbps"), pulumi.String("24Mbps"), pulumi.String("48Mbps"), }, VhtBasicMcs: pulumi.String("none"), VhtSupportedMcs: pulumi.String("mcs0-9,mcs0-7"), }) if err != nil { return err } return nil }) }
```
## Import
Import with the name of the CAPsMAN rates configuration in case of the example use test-rates-config ¶
```sh
$ pulumi import routeros:CapsMan/rates:Rates test_rates test-rates-config
```
func GetRates ¶
func GetRates(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RatesState, opts ...pulumi.ResourceOption) (*Rates, error)
GetRates gets an existing Rates 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 NewRates ¶
func NewRates(ctx *pulumi.Context, name string, args *RatesArgs, opts ...pulumi.ResourceOption) (*Rates, error)
NewRates registers a new resource with the given unique name, arguments, and options.
func (*Rates) ElementType ¶
func (*Rates) ToRatesOutput ¶
func (i *Rates) ToRatesOutput() RatesOutput
func (*Rates) ToRatesOutputWithContext ¶
func (i *Rates) ToRatesOutputWithContext(ctx context.Context) RatesOutput
type RatesArgs ¶
type RatesArgs struct { // List of basic rates. Client will connect to AP only if it supports all basic rates announced by the AP. AP will establish WDS link only if it supports all basic rates of the other AP. Basics pulumi.StringArrayInput Comment pulumi.StringPtrInput // Modulation and Coding Schemes that every connecting client must support. Refer to 802.11n for MCS specification. HtBasicMcs pulumi.StringArrayInput // Modulation and Coding Schemes that this device advertises as supported. Refer to 802.11n for MCS specification. HtSupportedMcs pulumi.StringArrayInput // 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 // List of supported rates. Two devices will communicate only using rates that are supported by both devices. Supporteds pulumi.StringArrayInput // Modulation and Coding Schemes that every connecting client must support. Refer to 802.11ac for MCS specification. You can set MCS interval for each of Spatial Stream none - will not use selected Spatial Stream MCS 0-7 - client must support MCS-0 to MCS-7 MCS 0-8 - client must support MCS-0 to MCS-8 MCS 0-9 - client must support MCS-0 to MCS-9 VhtBasicMcs pulumi.StringPtrInput // Modulation and Coding Schemes that this device advertises as supported. Refer to 802.11ac for MCS specification. You can set MCS interval for each of Spatial Stream none - will not use selected Spatial Stream MCS 0-7 - devices will advertise as supported MCS-0 to MCS-7 MCS 0-8 - devices will advertise as supported MCS-0 to MCS-8 MCS 0-9 - devices will advertise as supported MCS-0 to MCS-9 VhtSupportedMcs pulumi.StringPtrInput // contains filtered or unexported fields }
The set of arguments for constructing a Rates resource.
func (RatesArgs) ElementType ¶
type RatesArray ¶
type RatesArray []RatesInput
func (RatesArray) ElementType ¶
func (RatesArray) ElementType() reflect.Type
func (RatesArray) ToRatesArrayOutput ¶
func (i RatesArray) ToRatesArrayOutput() RatesArrayOutput
func (RatesArray) ToRatesArrayOutputWithContext ¶
func (i RatesArray) ToRatesArrayOutputWithContext(ctx context.Context) RatesArrayOutput
type RatesArrayInput ¶
type RatesArrayInput interface { pulumi.Input ToRatesArrayOutput() RatesArrayOutput ToRatesArrayOutputWithContext(context.Context) RatesArrayOutput }
RatesArrayInput is an input type that accepts RatesArray and RatesArrayOutput values. You can construct a concrete instance of `RatesArrayInput` via:
RatesArray{ RatesArgs{...} }
type RatesArrayOutput ¶
type RatesArrayOutput struct{ *pulumi.OutputState }
func (RatesArrayOutput) ElementType ¶
func (RatesArrayOutput) ElementType() reflect.Type
func (RatesArrayOutput) Index ¶
func (o RatesArrayOutput) Index(i pulumi.IntInput) RatesOutput
func (RatesArrayOutput) ToRatesArrayOutput ¶
func (o RatesArrayOutput) ToRatesArrayOutput() RatesArrayOutput
func (RatesArrayOutput) ToRatesArrayOutputWithContext ¶
func (o RatesArrayOutput) ToRatesArrayOutputWithContext(ctx context.Context) RatesArrayOutput
type RatesInput ¶
type RatesInput interface { pulumi.Input ToRatesOutput() RatesOutput ToRatesOutputWithContext(ctx context.Context) RatesOutput }
type RatesMap ¶
type RatesMap map[string]RatesInput
func (RatesMap) ElementType ¶
func (RatesMap) ToRatesMapOutput ¶
func (i RatesMap) ToRatesMapOutput() RatesMapOutput
func (RatesMap) ToRatesMapOutputWithContext ¶
func (i RatesMap) ToRatesMapOutputWithContext(ctx context.Context) RatesMapOutput
type RatesMapInput ¶
type RatesMapInput interface { pulumi.Input ToRatesMapOutput() RatesMapOutput ToRatesMapOutputWithContext(context.Context) RatesMapOutput }
RatesMapInput is an input type that accepts RatesMap and RatesMapOutput values. You can construct a concrete instance of `RatesMapInput` via:
RatesMap{ "key": RatesArgs{...} }
type RatesMapOutput ¶
type RatesMapOutput struct{ *pulumi.OutputState }
func (RatesMapOutput) ElementType ¶
func (RatesMapOutput) ElementType() reflect.Type
func (RatesMapOutput) MapIndex ¶
func (o RatesMapOutput) MapIndex(k pulumi.StringInput) RatesOutput
func (RatesMapOutput) ToRatesMapOutput ¶
func (o RatesMapOutput) ToRatesMapOutput() RatesMapOutput
func (RatesMapOutput) ToRatesMapOutputWithContext ¶
func (o RatesMapOutput) ToRatesMapOutputWithContext(ctx context.Context) RatesMapOutput
type RatesOutput ¶
type RatesOutput struct{ *pulumi.OutputState }
func (RatesOutput) Basics ¶
func (o RatesOutput) Basics() pulumi.StringArrayOutput
List of basic rates. Client will connect to AP only if it supports all basic rates announced by the AP. AP will establish WDS link only if it supports all basic rates of the other AP.
func (RatesOutput) Comment ¶
func (o RatesOutput) Comment() pulumi.StringPtrOutput
func (RatesOutput) ElementType ¶
func (RatesOutput) ElementType() reflect.Type
func (RatesOutput) HtBasicMcs ¶
func (o RatesOutput) HtBasicMcs() pulumi.StringArrayOutput
Modulation and Coding Schemes that every connecting client must support. Refer to 802.11n for MCS specification.
func (RatesOutput) HtSupportedMcs ¶
func (o RatesOutput) HtSupportedMcs() pulumi.StringArrayOutput
Modulation and Coding Schemes that this device advertises as supported. Refer to 802.11n for MCS specification.
func (RatesOutput) Name ¶
func (o RatesOutput) 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 (RatesOutput) Supporteds ¶
func (o RatesOutput) Supporteds() pulumi.StringArrayOutput
List of supported rates. Two devices will communicate only using rates that are supported by both devices.
func (RatesOutput) ToRatesOutput ¶
func (o RatesOutput) ToRatesOutput() RatesOutput
func (RatesOutput) ToRatesOutputWithContext ¶
func (o RatesOutput) ToRatesOutputWithContext(ctx context.Context) RatesOutput
func (RatesOutput) VhtBasicMcs ¶
func (o RatesOutput) VhtBasicMcs() pulumi.StringOutput
Modulation and Coding Schemes that every connecting client must support. Refer to 802.11ac for MCS specification. You can set MCS interval for each of Spatial Stream none - will not use selected Spatial Stream MCS 0-7 - client must support MCS-0 to MCS-7 MCS 0-8 - client must support MCS-0 to MCS-8 MCS 0-9 - client must support MCS-0 to MCS-9
func (RatesOutput) VhtSupportedMcs ¶
func (o RatesOutput) VhtSupportedMcs() pulumi.StringOutput
Modulation and Coding Schemes that this device advertises as supported. Refer to 802.11ac for MCS specification. You can set MCS interval for each of Spatial Stream none - will not use selected Spatial Stream MCS 0-7 - devices will advertise as supported MCS-0 to MCS-7 MCS 0-8 - devices will advertise as supported MCS-0 to MCS-8 MCS 0-9 - devices will advertise as supported MCS-0 to MCS-9
type RatesState ¶
type RatesState struct { // List of basic rates. Client will connect to AP only if it supports all basic rates announced by the AP. AP will establish WDS link only if it supports all basic rates of the other AP. Basics pulumi.StringArrayInput Comment pulumi.StringPtrInput // Modulation and Coding Schemes that every connecting client must support. Refer to 802.11n for MCS specification. HtBasicMcs pulumi.StringArrayInput // Modulation and Coding Schemes that this device advertises as supported. Refer to 802.11n for MCS specification. HtSupportedMcs pulumi.StringArrayInput // 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 // List of supported rates. Two devices will communicate only using rates that are supported by both devices. Supporteds pulumi.StringArrayInput // Modulation and Coding Schemes that every connecting client must support. Refer to 802.11ac for MCS specification. You can set MCS interval for each of Spatial Stream none - will not use selected Spatial Stream MCS 0-7 - client must support MCS-0 to MCS-7 MCS 0-8 - client must support MCS-0 to MCS-8 MCS 0-9 - client must support MCS-0 to MCS-9 VhtBasicMcs pulumi.StringPtrInput // Modulation and Coding Schemes that this device advertises as supported. Refer to 802.11ac for MCS specification. You can set MCS interval for each of Spatial Stream none - will not use selected Spatial Stream MCS 0-7 - devices will advertise as supported MCS-0 to MCS-7 MCS 0-8 - devices will advertise as supported MCS-0 to MCS-8 MCS 0-9 - devices will advertise as supported MCS-0 to MCS-9 VhtSupportedMcs pulumi.StringPtrInput // contains filtered or unexported fields }
func (RatesState) ElementType ¶
func (RatesState) ElementType() reflect.Type
type Security ¶
type Security struct { pulumi.CustomResourceState // Specify the type of Authentication from wpa-psk, wpa2-psk, wpa-eap or wpa2-eap. AuthenticationTypes pulumi.StringArrayOutput `pulumi:"authenticationTypes"` Comment pulumi.StringPtrOutput `pulumi:"comment"` // Whether to include PMKID into the EAPOL frame sent out by the Access Point. Disabling PMKID can cause compatibility issues with devices that use the PMKID to connect to an Access Point. DisablePmkid pulumi.BoolPtrOutput `pulumi:"disablePmkid"` // eap-tls - Use built-in EAP TLS authentication; passthrough - Access point will relay authentication process to the RADIUS server. EapMethods pulumi.StringPtrOutput `pulumi:"eapMethods"` // Specifies if RADIUS traffic accounting should be used if RADIUS authentication gets done for this client EapRadiusAccounting pulumi.BoolPtrOutput `pulumi:"eapRadiusAccounting"` // Set type of unicast encryption algorithm used. Encryptions pulumi.StringArrayOutput `pulumi:"encryptions"` // Access Point advertises one of these ciphers, multiple values can be selected. Access Point uses it to encrypt all broadcast and multicast frames. Client attempts connection only to Access Points that use one of the specified group ciphers. GroupEncryption pulumi.StringPtrOutput `pulumi:"groupEncryption"` // Controls how often Access Point updates the group key. This key is used to encrypt all broadcast and multicast frames. property only has effect for Access Points. (30s..1h) GroupKeyUpdate pulumi.StringPtrOutput `pulumi:"groupKeyUpdate"` // 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"` // WPA or WPA2 pre-shared key. Passphrase pulumi.StringPtrOutput `pulumi:"passphrase"` // Access Point always needs a certificate when security.tls-mode is set to value other than no-certificates. TlsCertificate pulumi.StringPtrOutput `pulumi:"tlsCertificate"` // This property has effect only when security.eap-methods contains eap-tls. TlsMode pulumi.StringPtrOutput `pulumi:"tlsMode"` // contains filtered or unexported fields }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-routeros/sdk/go/routeros/CapsMan" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := CapsMan.NewSecurity(ctx, "testSecurity", &CapsMan.SecurityArgs{ AuthenticationTypes: pulumi.StringArray{ pulumi.String("wpa-psk"), pulumi.String("wpa-eap"), pulumi.String("wpa2-psk"), }, Comment: pulumi.String("test_security"), DisablePmkid: pulumi.Bool(true), EapMethods: pulumi.String("eap-tls,passthrough"), EapRadiusAccounting: pulumi.Bool(true), Encryptions: pulumi.StringArray{ pulumi.String("tkip"), pulumi.String("aes-ccm"), }, GroupEncryption: pulumi.String("aes-ccm"), GroupKeyUpdate: pulumi.String("1h"), Passphrase: pulumi.String("0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDE"), TlsCertificate: pulumi.String("none"), TlsMode: pulumi.String("verify-certificate"), }) if err != nil { return err } return nil }) }
```
## Import
Import with the name of the CAPsMAN security profile in case of the example use test-security-config ¶
```sh
$ pulumi import routeros:CapsMan/security:Security test_security test-security-config
```
func GetSecurity ¶
func GetSecurity(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecurityState, opts ...pulumi.ResourceOption) (*Security, error)
GetSecurity gets an existing Security 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 NewSecurity ¶
func NewSecurity(ctx *pulumi.Context, name string, args *SecurityArgs, opts ...pulumi.ResourceOption) (*Security, error)
NewSecurity registers a new resource with the given unique name, arguments, and options.
func (*Security) ElementType ¶
func (*Security) ToSecurityOutput ¶
func (i *Security) ToSecurityOutput() SecurityOutput
func (*Security) ToSecurityOutputWithContext ¶
func (i *Security) ToSecurityOutputWithContext(ctx context.Context) SecurityOutput
type SecurityArgs ¶
type SecurityArgs struct { // Specify the type of Authentication from wpa-psk, wpa2-psk, wpa-eap or wpa2-eap. AuthenticationTypes pulumi.StringArrayInput Comment pulumi.StringPtrInput // Whether to include PMKID into the EAPOL frame sent out by the Access Point. Disabling PMKID can cause compatibility issues with devices that use the PMKID to connect to an Access Point. DisablePmkid pulumi.BoolPtrInput // eap-tls - Use built-in EAP TLS authentication; passthrough - Access point will relay authentication process to the RADIUS server. EapMethods pulumi.StringPtrInput // Specifies if RADIUS traffic accounting should be used if RADIUS authentication gets done for this client EapRadiusAccounting pulumi.BoolPtrInput // Set type of unicast encryption algorithm used. Encryptions pulumi.StringArrayInput // Access Point advertises one of these ciphers, multiple values can be selected. Access Point uses it to encrypt all broadcast and multicast frames. Client attempts connection only to Access Points that use one of the specified group ciphers. GroupEncryption pulumi.StringPtrInput // Controls how often Access Point updates the group key. This key is used to encrypt all broadcast and multicast frames. property only has effect for Access Points. (30s..1h) GroupKeyUpdate 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 // WPA or WPA2 pre-shared key. Passphrase pulumi.StringPtrInput // Access Point always needs a certificate when security.tls-mode is set to value other than no-certificates. TlsCertificate pulumi.StringPtrInput // This property has effect only when security.eap-methods contains eap-tls. TlsMode pulumi.StringPtrInput // contains filtered or unexported fields }
The set of arguments for constructing a Security resource.
func (SecurityArgs) ElementType ¶
func (SecurityArgs) ElementType() reflect.Type
type SecurityArray ¶
type SecurityArray []SecurityInput
func (SecurityArray) ElementType ¶
func (SecurityArray) ElementType() reflect.Type
func (SecurityArray) ToSecurityArrayOutput ¶
func (i SecurityArray) ToSecurityArrayOutput() SecurityArrayOutput
func (SecurityArray) ToSecurityArrayOutputWithContext ¶
func (i SecurityArray) ToSecurityArrayOutputWithContext(ctx context.Context) SecurityArrayOutput
type SecurityArrayInput ¶
type SecurityArrayInput interface { pulumi.Input ToSecurityArrayOutput() SecurityArrayOutput ToSecurityArrayOutputWithContext(context.Context) SecurityArrayOutput }
SecurityArrayInput is an input type that accepts SecurityArray and SecurityArrayOutput values. You can construct a concrete instance of `SecurityArrayInput` via:
SecurityArray{ SecurityArgs{...} }
type SecurityArrayOutput ¶
type SecurityArrayOutput struct{ *pulumi.OutputState }
func (SecurityArrayOutput) ElementType ¶
func (SecurityArrayOutput) ElementType() reflect.Type
func (SecurityArrayOutput) Index ¶
func (o SecurityArrayOutput) Index(i pulumi.IntInput) SecurityOutput
func (SecurityArrayOutput) ToSecurityArrayOutput ¶
func (o SecurityArrayOutput) ToSecurityArrayOutput() SecurityArrayOutput
func (SecurityArrayOutput) ToSecurityArrayOutputWithContext ¶
func (o SecurityArrayOutput) ToSecurityArrayOutputWithContext(ctx context.Context) SecurityArrayOutput
type SecurityInput ¶
type SecurityInput interface { pulumi.Input ToSecurityOutput() SecurityOutput ToSecurityOutputWithContext(ctx context.Context) SecurityOutput }
type SecurityMap ¶
type SecurityMap map[string]SecurityInput
func (SecurityMap) ElementType ¶
func (SecurityMap) ElementType() reflect.Type
func (SecurityMap) ToSecurityMapOutput ¶
func (i SecurityMap) ToSecurityMapOutput() SecurityMapOutput
func (SecurityMap) ToSecurityMapOutputWithContext ¶
func (i SecurityMap) ToSecurityMapOutputWithContext(ctx context.Context) SecurityMapOutput
type SecurityMapInput ¶
type SecurityMapInput interface { pulumi.Input ToSecurityMapOutput() SecurityMapOutput ToSecurityMapOutputWithContext(context.Context) SecurityMapOutput }
SecurityMapInput is an input type that accepts SecurityMap and SecurityMapOutput values. You can construct a concrete instance of `SecurityMapInput` via:
SecurityMap{ "key": SecurityArgs{...} }
type SecurityMapOutput ¶
type SecurityMapOutput struct{ *pulumi.OutputState }
func (SecurityMapOutput) ElementType ¶
func (SecurityMapOutput) ElementType() reflect.Type
func (SecurityMapOutput) MapIndex ¶
func (o SecurityMapOutput) MapIndex(k pulumi.StringInput) SecurityOutput
func (SecurityMapOutput) ToSecurityMapOutput ¶
func (o SecurityMapOutput) ToSecurityMapOutput() SecurityMapOutput
func (SecurityMapOutput) ToSecurityMapOutputWithContext ¶
func (o SecurityMapOutput) ToSecurityMapOutputWithContext(ctx context.Context) SecurityMapOutput
type SecurityOutput ¶
type SecurityOutput struct{ *pulumi.OutputState }
func (SecurityOutput) AuthenticationTypes ¶
func (o SecurityOutput) AuthenticationTypes() pulumi.StringArrayOutput
Specify the type of Authentication from wpa-psk, wpa2-psk, wpa-eap or wpa2-eap.
func (SecurityOutput) Comment ¶
func (o SecurityOutput) Comment() pulumi.StringPtrOutput
func (SecurityOutput) DisablePmkid ¶
func (o SecurityOutput) DisablePmkid() pulumi.BoolPtrOutput
Whether to include PMKID into the EAPOL frame sent out by the Access Point. Disabling PMKID can cause compatibility issues with devices that use the PMKID to connect to an Access Point.
func (SecurityOutput) EapMethods ¶
func (o SecurityOutput) EapMethods() pulumi.StringPtrOutput
eap-tls - Use built-in EAP TLS authentication; passthrough - Access point will relay authentication process to the RADIUS server.
func (SecurityOutput) EapRadiusAccounting ¶
func (o SecurityOutput) EapRadiusAccounting() pulumi.BoolPtrOutput
Specifies if RADIUS traffic accounting should be used if RADIUS authentication gets done for this client
func (SecurityOutput) ElementType ¶
func (SecurityOutput) ElementType() reflect.Type
func (SecurityOutput) Encryptions ¶
func (o SecurityOutput) Encryptions() pulumi.StringArrayOutput
Set type of unicast encryption algorithm used.
func (SecurityOutput) GroupEncryption ¶
func (o SecurityOutput) GroupEncryption() pulumi.StringPtrOutput
Access Point advertises one of these ciphers, multiple values can be selected. Access Point uses it to encrypt all broadcast and multicast frames. Client attempts connection only to Access Points that use one of the specified group ciphers.
func (SecurityOutput) GroupKeyUpdate ¶
func (o SecurityOutput) GroupKeyUpdate() pulumi.StringPtrOutput
Controls how often Access Point updates the group key. This key is used to encrypt all broadcast and multicast frames. property only has effect for Access Points. (30s..1h)
func (SecurityOutput) Name ¶
func (o SecurityOutput) 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 (SecurityOutput) Passphrase ¶
func (o SecurityOutput) Passphrase() pulumi.StringPtrOutput
WPA or WPA2 pre-shared key.
func (SecurityOutput) TlsCertificate ¶
func (o SecurityOutput) TlsCertificate() pulumi.StringPtrOutput
Access Point always needs a certificate when security.tls-mode is set to value other than no-certificates.
func (SecurityOutput) TlsMode ¶
func (o SecurityOutput) TlsMode() pulumi.StringPtrOutput
This property has effect only when security.eap-methods contains eap-tls.
func (SecurityOutput) ToSecurityOutput ¶
func (o SecurityOutput) ToSecurityOutput() SecurityOutput
func (SecurityOutput) ToSecurityOutputWithContext ¶
func (o SecurityOutput) ToSecurityOutputWithContext(ctx context.Context) SecurityOutput
type SecurityState ¶
type SecurityState struct { // Specify the type of Authentication from wpa-psk, wpa2-psk, wpa-eap or wpa2-eap. AuthenticationTypes pulumi.StringArrayInput Comment pulumi.StringPtrInput // Whether to include PMKID into the EAPOL frame sent out by the Access Point. Disabling PMKID can cause compatibility issues with devices that use the PMKID to connect to an Access Point. DisablePmkid pulumi.BoolPtrInput // eap-tls - Use built-in EAP TLS authentication; passthrough - Access point will relay authentication process to the RADIUS server. EapMethods pulumi.StringPtrInput // Specifies if RADIUS traffic accounting should be used if RADIUS authentication gets done for this client EapRadiusAccounting pulumi.BoolPtrInput // Set type of unicast encryption algorithm used. Encryptions pulumi.StringArrayInput // Access Point advertises one of these ciphers, multiple values can be selected. Access Point uses it to encrypt all broadcast and multicast frames. Client attempts connection only to Access Points that use one of the specified group ciphers. GroupEncryption pulumi.StringPtrInput // Controls how often Access Point updates the group key. This key is used to encrypt all broadcast and multicast frames. property only has effect for Access Points. (30s..1h) GroupKeyUpdate 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 // WPA or WPA2 pre-shared key. Passphrase pulumi.StringPtrInput // Access Point always needs a certificate when security.tls-mode is set to value other than no-certificates. TlsCertificate pulumi.StringPtrInput // This property has effect only when security.eap-methods contains eap-tls. TlsMode pulumi.StringPtrInput // contains filtered or unexported fields }
func (SecurityState) ElementType ¶
func (SecurityState) ElementType() reflect.Type