securitypolicy

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Captiveportal

type Captiveportal struct {
	pulumi.CustomResourceState

	// Policy name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Policy type. Valid values: `captive-portal`.
	PolicyType pulumi.StringOutput `pulumi:"policyType"`
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
	// Names of VLANs that use captive portal authentication.
	Vlan pulumi.StringOutput `pulumi:"vlan"`
}

Names of VLANs that use captive portal authentication. Applies to FortiOS Version `<= 6.2.0`.

## Import

SwitchControllerSecurityPolicy CaptivePortal can be imported using any of these accepted formats:

```sh $ pulumi import fortios:switchcontroller/securitypolicy/captiveportal:Captiveportal labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:switchcontroller/securitypolicy/captiveportal:Captiveportal labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetCaptiveportal

func GetCaptiveportal(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CaptiveportalState, opts ...pulumi.ResourceOption) (*Captiveportal, error)

GetCaptiveportal gets an existing Captiveportal 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 NewCaptiveportal

func NewCaptiveportal(ctx *pulumi.Context,
	name string, args *CaptiveportalArgs, opts ...pulumi.ResourceOption) (*Captiveportal, error)

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

func (*Captiveportal) ElementType

func (*Captiveportal) ElementType() reflect.Type

func (*Captiveportal) ToCaptiveportalOutput

func (i *Captiveportal) ToCaptiveportalOutput() CaptiveportalOutput

func (*Captiveportal) ToCaptiveportalOutputWithContext

func (i *Captiveportal) ToCaptiveportalOutputWithContext(ctx context.Context) CaptiveportalOutput

type CaptiveportalArgs

type CaptiveportalArgs struct {
	// Policy name.
	Name pulumi.StringPtrInput
	// Policy type. Valid values: `captive-portal`.
	PolicyType pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
	// Names of VLANs that use captive portal authentication.
	Vlan pulumi.StringPtrInput
}

The set of arguments for constructing a Captiveportal resource.

func (CaptiveportalArgs) ElementType

func (CaptiveportalArgs) ElementType() reflect.Type

type CaptiveportalArray

type CaptiveportalArray []CaptiveportalInput

func (CaptiveportalArray) ElementType

func (CaptiveportalArray) ElementType() reflect.Type

func (CaptiveportalArray) ToCaptiveportalArrayOutput

func (i CaptiveportalArray) ToCaptiveportalArrayOutput() CaptiveportalArrayOutput

func (CaptiveportalArray) ToCaptiveportalArrayOutputWithContext

func (i CaptiveportalArray) ToCaptiveportalArrayOutputWithContext(ctx context.Context) CaptiveportalArrayOutput

type CaptiveportalArrayInput

type CaptiveportalArrayInput interface {
	pulumi.Input

	ToCaptiveportalArrayOutput() CaptiveportalArrayOutput
	ToCaptiveportalArrayOutputWithContext(context.Context) CaptiveportalArrayOutput
}

CaptiveportalArrayInput is an input type that accepts CaptiveportalArray and CaptiveportalArrayOutput values. You can construct a concrete instance of `CaptiveportalArrayInput` via:

CaptiveportalArray{ CaptiveportalArgs{...} }

type CaptiveportalArrayOutput

type CaptiveportalArrayOutput struct{ *pulumi.OutputState }

func (CaptiveportalArrayOutput) ElementType

func (CaptiveportalArrayOutput) ElementType() reflect.Type

func (CaptiveportalArrayOutput) Index

func (CaptiveportalArrayOutput) ToCaptiveportalArrayOutput

func (o CaptiveportalArrayOutput) ToCaptiveportalArrayOutput() CaptiveportalArrayOutput

func (CaptiveportalArrayOutput) ToCaptiveportalArrayOutputWithContext

func (o CaptiveportalArrayOutput) ToCaptiveportalArrayOutputWithContext(ctx context.Context) CaptiveportalArrayOutput

type CaptiveportalInput

type CaptiveportalInput interface {
	pulumi.Input

	ToCaptiveportalOutput() CaptiveportalOutput
	ToCaptiveportalOutputWithContext(ctx context.Context) CaptiveportalOutput
}

type CaptiveportalMap

type CaptiveportalMap map[string]CaptiveportalInput

func (CaptiveportalMap) ElementType

func (CaptiveportalMap) ElementType() reflect.Type

func (CaptiveportalMap) ToCaptiveportalMapOutput

func (i CaptiveportalMap) ToCaptiveportalMapOutput() CaptiveportalMapOutput

func (CaptiveportalMap) ToCaptiveportalMapOutputWithContext

func (i CaptiveportalMap) ToCaptiveportalMapOutputWithContext(ctx context.Context) CaptiveportalMapOutput

type CaptiveportalMapInput

type CaptiveportalMapInput interface {
	pulumi.Input

	ToCaptiveportalMapOutput() CaptiveportalMapOutput
	ToCaptiveportalMapOutputWithContext(context.Context) CaptiveportalMapOutput
}

CaptiveportalMapInput is an input type that accepts CaptiveportalMap and CaptiveportalMapOutput values. You can construct a concrete instance of `CaptiveportalMapInput` via:

CaptiveportalMap{ "key": CaptiveportalArgs{...} }

type CaptiveportalMapOutput

type CaptiveportalMapOutput struct{ *pulumi.OutputState }

func (CaptiveportalMapOutput) ElementType

func (CaptiveportalMapOutput) ElementType() reflect.Type

func (CaptiveportalMapOutput) MapIndex

func (CaptiveportalMapOutput) ToCaptiveportalMapOutput

func (o CaptiveportalMapOutput) ToCaptiveportalMapOutput() CaptiveportalMapOutput

func (CaptiveportalMapOutput) ToCaptiveportalMapOutputWithContext

func (o CaptiveportalMapOutput) ToCaptiveportalMapOutputWithContext(ctx context.Context) CaptiveportalMapOutput

type CaptiveportalOutput

type CaptiveportalOutput struct{ *pulumi.OutputState }

func (CaptiveportalOutput) ElementType

func (CaptiveportalOutput) ElementType() reflect.Type

func (CaptiveportalOutput) Name

Policy name.

func (CaptiveportalOutput) PolicyType

func (o CaptiveportalOutput) PolicyType() pulumi.StringOutput

Policy type. Valid values: `captive-portal`.

func (CaptiveportalOutput) ToCaptiveportalOutput

func (o CaptiveportalOutput) ToCaptiveportalOutput() CaptiveportalOutput

func (CaptiveportalOutput) ToCaptiveportalOutputWithContext

func (o CaptiveportalOutput) ToCaptiveportalOutputWithContext(ctx context.Context) CaptiveportalOutput

func (CaptiveportalOutput) Vdomparam

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

func (CaptiveportalOutput) Vlan

Names of VLANs that use captive portal authentication.

type CaptiveportalState

type CaptiveportalState struct {
	// Policy name.
	Name pulumi.StringPtrInput
	// Policy type. Valid values: `captive-portal`.
	PolicyType pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
	// Names of VLANs that use captive portal authentication.
	Vlan pulumi.StringPtrInput
}

func (CaptiveportalState) ElementType

func (CaptiveportalState) ElementType() reflect.Type

type Localaccess

type Localaccess struct {
	pulumi.CustomResourceState

	// Allowed access on the switch internal interface. Valid values: `https`, `ping`, `ssh`, `snmp`, `http`, `telnet`, `radius-acct`.
	InternalAllowaccess pulumi.StringOutput `pulumi:"internalAllowaccess"`
	// Allowed access on the switch management interface. Valid values: `https`, `ping`, `ssh`, `snmp`, `http`, `telnet`, `radius-acct`.
	MgmtAllowaccess pulumi.StringOutput `pulumi:"mgmtAllowaccess"`
	// Policy name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
}

Configure allowaccess list for mgmt and internal interfaces on managed FortiSwitch. Applies to FortiOS Version `>= 6.2.4`.

## Import

SwitchControllerSecurityPolicy LocalAccess can be imported using any of these accepted formats:

```sh $ pulumi import fortios:switchcontroller/securitypolicy/localaccess:Localaccess labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:switchcontroller/securitypolicy/localaccess:Localaccess labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetLocalaccess

func GetLocalaccess(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LocalaccessState, opts ...pulumi.ResourceOption) (*Localaccess, error)

GetLocalaccess gets an existing Localaccess 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 NewLocalaccess

func NewLocalaccess(ctx *pulumi.Context,
	name string, args *LocalaccessArgs, opts ...pulumi.ResourceOption) (*Localaccess, error)

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

func (*Localaccess) ElementType

func (*Localaccess) ElementType() reflect.Type

func (*Localaccess) ToLocalaccessOutput

func (i *Localaccess) ToLocalaccessOutput() LocalaccessOutput

func (*Localaccess) ToLocalaccessOutputWithContext

func (i *Localaccess) ToLocalaccessOutputWithContext(ctx context.Context) LocalaccessOutput

type LocalaccessArgs

type LocalaccessArgs struct {
	// Allowed access on the switch internal interface. Valid values: `https`, `ping`, `ssh`, `snmp`, `http`, `telnet`, `radius-acct`.
	InternalAllowaccess pulumi.StringPtrInput
	// Allowed access on the switch management interface. Valid values: `https`, `ping`, `ssh`, `snmp`, `http`, `telnet`, `radius-acct`.
	MgmtAllowaccess pulumi.StringPtrInput
	// Policy name.
	Name pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

The set of arguments for constructing a Localaccess resource.

func (LocalaccessArgs) ElementType

func (LocalaccessArgs) ElementType() reflect.Type

type LocalaccessArray

type LocalaccessArray []LocalaccessInput

func (LocalaccessArray) ElementType

func (LocalaccessArray) ElementType() reflect.Type

func (LocalaccessArray) ToLocalaccessArrayOutput

func (i LocalaccessArray) ToLocalaccessArrayOutput() LocalaccessArrayOutput

func (LocalaccessArray) ToLocalaccessArrayOutputWithContext

func (i LocalaccessArray) ToLocalaccessArrayOutputWithContext(ctx context.Context) LocalaccessArrayOutput

type LocalaccessArrayInput

type LocalaccessArrayInput interface {
	pulumi.Input

	ToLocalaccessArrayOutput() LocalaccessArrayOutput
	ToLocalaccessArrayOutputWithContext(context.Context) LocalaccessArrayOutput
}

LocalaccessArrayInput is an input type that accepts LocalaccessArray and LocalaccessArrayOutput values. You can construct a concrete instance of `LocalaccessArrayInput` via:

LocalaccessArray{ LocalaccessArgs{...} }

type LocalaccessArrayOutput

type LocalaccessArrayOutput struct{ *pulumi.OutputState }

func (LocalaccessArrayOutput) ElementType

func (LocalaccessArrayOutput) ElementType() reflect.Type

func (LocalaccessArrayOutput) Index

func (LocalaccessArrayOutput) ToLocalaccessArrayOutput

func (o LocalaccessArrayOutput) ToLocalaccessArrayOutput() LocalaccessArrayOutput

func (LocalaccessArrayOutput) ToLocalaccessArrayOutputWithContext

func (o LocalaccessArrayOutput) ToLocalaccessArrayOutputWithContext(ctx context.Context) LocalaccessArrayOutput

type LocalaccessInput

type LocalaccessInput interface {
	pulumi.Input

	ToLocalaccessOutput() LocalaccessOutput
	ToLocalaccessOutputWithContext(ctx context.Context) LocalaccessOutput
}

type LocalaccessMap

type LocalaccessMap map[string]LocalaccessInput

func (LocalaccessMap) ElementType

func (LocalaccessMap) ElementType() reflect.Type

func (LocalaccessMap) ToLocalaccessMapOutput

func (i LocalaccessMap) ToLocalaccessMapOutput() LocalaccessMapOutput

func (LocalaccessMap) ToLocalaccessMapOutputWithContext

func (i LocalaccessMap) ToLocalaccessMapOutputWithContext(ctx context.Context) LocalaccessMapOutput

type LocalaccessMapInput

type LocalaccessMapInput interface {
	pulumi.Input

	ToLocalaccessMapOutput() LocalaccessMapOutput
	ToLocalaccessMapOutputWithContext(context.Context) LocalaccessMapOutput
}

LocalaccessMapInput is an input type that accepts LocalaccessMap and LocalaccessMapOutput values. You can construct a concrete instance of `LocalaccessMapInput` via:

LocalaccessMap{ "key": LocalaccessArgs{...} }

type LocalaccessMapOutput

type LocalaccessMapOutput struct{ *pulumi.OutputState }

func (LocalaccessMapOutput) ElementType

func (LocalaccessMapOutput) ElementType() reflect.Type

func (LocalaccessMapOutput) MapIndex

func (LocalaccessMapOutput) ToLocalaccessMapOutput

func (o LocalaccessMapOutput) ToLocalaccessMapOutput() LocalaccessMapOutput

func (LocalaccessMapOutput) ToLocalaccessMapOutputWithContext

func (o LocalaccessMapOutput) ToLocalaccessMapOutputWithContext(ctx context.Context) LocalaccessMapOutput

type LocalaccessOutput

type LocalaccessOutput struct{ *pulumi.OutputState }

func (LocalaccessOutput) ElementType

func (LocalaccessOutput) ElementType() reflect.Type

func (LocalaccessOutput) InternalAllowaccess

func (o LocalaccessOutput) InternalAllowaccess() pulumi.StringOutput

Allowed access on the switch internal interface. Valid values: `https`, `ping`, `ssh`, `snmp`, `http`, `telnet`, `radius-acct`.

func (LocalaccessOutput) MgmtAllowaccess

func (o LocalaccessOutput) MgmtAllowaccess() pulumi.StringOutput

Allowed access on the switch management interface. Valid values: `https`, `ping`, `ssh`, `snmp`, `http`, `telnet`, `radius-acct`.

func (LocalaccessOutput) Name

Policy name.

func (LocalaccessOutput) ToLocalaccessOutput

func (o LocalaccessOutput) ToLocalaccessOutput() LocalaccessOutput

func (LocalaccessOutput) ToLocalaccessOutputWithContext

func (o LocalaccessOutput) ToLocalaccessOutputWithContext(ctx context.Context) LocalaccessOutput

func (LocalaccessOutput) Vdomparam

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

type LocalaccessState

type LocalaccessState struct {
	// Allowed access on the switch internal interface. Valid values: `https`, `ping`, `ssh`, `snmp`, `http`, `telnet`, `radius-acct`.
	InternalAllowaccess pulumi.StringPtrInput
	// Allowed access on the switch management interface. Valid values: `https`, `ping`, `ssh`, `snmp`, `http`, `telnet`, `radius-acct`.
	MgmtAllowaccess pulumi.StringPtrInput
	// Policy name.
	Name pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

func (LocalaccessState) ElementType

func (LocalaccessState) ElementType() reflect.Type

type Policy8021X

type Policy8021X struct {
	pulumi.CustomResourceState

	// Enable to allow limited access to clients that cannot authenticate. Valid values: `disable`, `enable`.
	AuthFailVlan pulumi.StringOutput `pulumi:"authFailVlan"`
	// VLAN ID on which authentication failed.
	AuthFailVlanId pulumi.StringOutput `pulumi:"authFailVlanId"`
	// VLAN ID on which authentication failed.
	AuthFailVlanid pulumi.IntOutput `pulumi:"authFailVlanid"`
	// Authentication server timeout period (3 - 15 sec, default = 3).
	AuthserverTimeoutPeriod pulumi.IntOutput `pulumi:"authserverTimeoutPeriod"`
	// Enable/disable the authentication server timeout VLAN to allow limited access when RADIUS is unavailable.  Valid values: `disable`, `enable`.
	AuthserverTimeoutVlan pulumi.StringOutput `pulumi:"authserverTimeoutVlan"`
	// Authentication server timeout VLAN name.
	AuthserverTimeoutVlanid pulumi.StringOutput `pulumi:"authserverTimeoutVlanid"`
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrOutput `pulumi:"dynamicSortSubtable"`
	// Enable/disable automatic inclusion of untagged VLANs. Valid values: `disable`, `enable`.
	EapAutoUntaggedVlans pulumi.StringOutput `pulumi:"eapAutoUntaggedVlans"`
	// Enable/disable EAP pass-through mode, allowing protocols (such as LLDP) to pass through ports for more flexible authentication. Valid values: `disable`, `enable`.
	EapPassthru pulumi.StringOutput `pulumi:"eapPassthru"`
	// Enable/disable the capability to apply the EAP/MAB frame VLAN to the port native VLAN. Valid values: `disable`, `enable`.
	FramevidApply pulumi.StringOutput `pulumi:"framevidApply"`
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrOutput `pulumi:"getAllTables"`
	// Guest authentication delay (1 - 900  sec, default = 30).
	GuestAuthDelay pulumi.IntOutput `pulumi:"guestAuthDelay"`
	// Enable the guest VLAN feature to allow limited access to non-802.1X-compliant clients. Valid values: `disable`, `enable`.
	GuestVlan pulumi.StringOutput `pulumi:"guestVlan"`
	// Guest VLAN name.
	GuestVlanId pulumi.StringOutput `pulumi:"guestVlanId"`
	// Guest VLAN ID.
	GuestVlanid pulumi.IntOutput `pulumi:"guestVlanid"`
	// Enable/disable MAB for this policy. Valid values: `disable`, `enable`.
	MacAuthBypass pulumi.StringOutput `pulumi:"macAuthBypass"`
	// Policy name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Enable/disable open authentication for this policy. Valid values: `disable`, `enable`.
	OpenAuth pulumi.StringOutput `pulumi:"openAuth"`
	// Policy type. Valid values: `802.1X`.
	PolicyType pulumi.StringOutput `pulumi:"policyType"`
	// Enable to override the global RADIUS session timeout. Valid values: `disable`, `enable`.
	RadiusTimeoutOverwrite pulumi.StringOutput `pulumi:"radiusTimeoutOverwrite"`
	// Port or MAC based 802.1X security mode. Valid values: `802.1X`, `802.1X-mac-based`.
	SecurityMode pulumi.StringOutput `pulumi:"securityMode"`
	// Name of user-group to assign to this MAC Authentication Bypass (MAB) policy. The structure of `userGroup` block is documented below.
	UserGroups Policy8021XUserGroupArrayOutput `pulumi:"userGroups"`
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
}

Configure 802.1x MAC Authentication Bypass (MAB) policies.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/switchcontroller"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := switchcontroller.NewPolicy8021X(ctx, "trname", &switchcontroller.Policy8021XArgs{
			AuthFailVlan:           pulumi.String("disable"),
			AuthFailVlanid:         pulumi.Int(0),
			EapPassthru:            pulumi.String("disable"),
			FramevidApply:          pulumi.String("enable"),
			GuestAuthDelay:         pulumi.Int(30),
			GuestVlan:              pulumi.String("disable"),
			GuestVlanid:            pulumi.Int(100),
			MacAuthBypass:          pulumi.String("disable"),
			OpenAuth:               pulumi.String("disable"),
			PolicyType:             pulumi.String("802.1X"),
			RadiusTimeoutOverwrite: pulumi.String("disable"),
			SecurityMode:           pulumi.String("802.1X"),
			UserGroups: securitypolicy.Policy8021XUserGroupArray{
				&securitypolicy.Policy8021XUserGroupArgs{
					Name: pulumi.String("Guest-group"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

SwitchControllerSecurityPolicy 8021X can be imported using any of these accepted formats:

```sh $ pulumi import fortios:switchcontroller/securitypolicy/policy8021X:Policy8021X labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:switchcontroller/securitypolicy/policy8021X:Policy8021X labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetPolicy8021X

func GetPolicy8021X(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *Policy8021XState, opts ...pulumi.ResourceOption) (*Policy8021X, error)

GetPolicy8021X gets an existing Policy8021X 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 NewPolicy8021X

func NewPolicy8021X(ctx *pulumi.Context,
	name string, args *Policy8021XArgs, opts ...pulumi.ResourceOption) (*Policy8021X, error)

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

func (*Policy8021X) ElementType

func (*Policy8021X) ElementType() reflect.Type

func (*Policy8021X) ToPolicy8021XOutput

func (i *Policy8021X) ToPolicy8021XOutput() Policy8021XOutput

func (*Policy8021X) ToPolicy8021XOutputWithContext

func (i *Policy8021X) ToPolicy8021XOutputWithContext(ctx context.Context) Policy8021XOutput

type Policy8021XArgs

type Policy8021XArgs struct {
	// Enable to allow limited access to clients that cannot authenticate. Valid values: `disable`, `enable`.
	AuthFailVlan pulumi.StringPtrInput
	// VLAN ID on which authentication failed.
	AuthFailVlanId pulumi.StringPtrInput
	// VLAN ID on which authentication failed.
	AuthFailVlanid pulumi.IntPtrInput
	// Authentication server timeout period (3 - 15 sec, default = 3).
	AuthserverTimeoutPeriod pulumi.IntPtrInput
	// Enable/disable the authentication server timeout VLAN to allow limited access when RADIUS is unavailable.  Valid values: `disable`, `enable`.
	AuthserverTimeoutVlan pulumi.StringPtrInput
	// Authentication server timeout VLAN name.
	AuthserverTimeoutVlanid pulumi.StringPtrInput
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrInput
	// Enable/disable automatic inclusion of untagged VLANs. Valid values: `disable`, `enable`.
	EapAutoUntaggedVlans pulumi.StringPtrInput
	// Enable/disable EAP pass-through mode, allowing protocols (such as LLDP) to pass through ports for more flexible authentication. Valid values: `disable`, `enable`.
	EapPassthru pulumi.StringPtrInput
	// Enable/disable the capability to apply the EAP/MAB frame VLAN to the port native VLAN. Valid values: `disable`, `enable`.
	FramevidApply pulumi.StringPtrInput
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrInput
	// Guest authentication delay (1 - 900  sec, default = 30).
	GuestAuthDelay pulumi.IntPtrInput
	// Enable the guest VLAN feature to allow limited access to non-802.1X-compliant clients. Valid values: `disable`, `enable`.
	GuestVlan pulumi.StringPtrInput
	// Guest VLAN name.
	GuestVlanId pulumi.StringPtrInput
	// Guest VLAN ID.
	GuestVlanid pulumi.IntPtrInput
	// Enable/disable MAB for this policy. Valid values: `disable`, `enable`.
	MacAuthBypass pulumi.StringPtrInput
	// Policy name.
	Name pulumi.StringPtrInput
	// Enable/disable open authentication for this policy. Valid values: `disable`, `enable`.
	OpenAuth pulumi.StringPtrInput
	// Policy type. Valid values: `802.1X`.
	PolicyType pulumi.StringPtrInput
	// Enable to override the global RADIUS session timeout. Valid values: `disable`, `enable`.
	RadiusTimeoutOverwrite pulumi.StringPtrInput
	// Port or MAC based 802.1X security mode. Valid values: `802.1X`, `802.1X-mac-based`.
	SecurityMode pulumi.StringPtrInput
	// Name of user-group to assign to this MAC Authentication Bypass (MAB) policy. The structure of `userGroup` block is documented below.
	UserGroups Policy8021XUserGroupArrayInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

The set of arguments for constructing a Policy8021X resource.

func (Policy8021XArgs) ElementType

func (Policy8021XArgs) ElementType() reflect.Type

type Policy8021XArray

type Policy8021XArray []Policy8021XInput

func (Policy8021XArray) ElementType

func (Policy8021XArray) ElementType() reflect.Type

func (Policy8021XArray) ToPolicy8021XArrayOutput

func (i Policy8021XArray) ToPolicy8021XArrayOutput() Policy8021XArrayOutput

func (Policy8021XArray) ToPolicy8021XArrayOutputWithContext

func (i Policy8021XArray) ToPolicy8021XArrayOutputWithContext(ctx context.Context) Policy8021XArrayOutput

type Policy8021XArrayInput

type Policy8021XArrayInput interface {
	pulumi.Input

	ToPolicy8021XArrayOutput() Policy8021XArrayOutput
	ToPolicy8021XArrayOutputWithContext(context.Context) Policy8021XArrayOutput
}

Policy8021XArrayInput is an input type that accepts Policy8021XArray and Policy8021XArrayOutput values. You can construct a concrete instance of `Policy8021XArrayInput` via:

Policy8021XArray{ Policy8021XArgs{...} }

type Policy8021XArrayOutput

type Policy8021XArrayOutput struct{ *pulumi.OutputState }

func (Policy8021XArrayOutput) ElementType

func (Policy8021XArrayOutput) ElementType() reflect.Type

func (Policy8021XArrayOutput) Index

func (Policy8021XArrayOutput) ToPolicy8021XArrayOutput

func (o Policy8021XArrayOutput) ToPolicy8021XArrayOutput() Policy8021XArrayOutput

func (Policy8021XArrayOutput) ToPolicy8021XArrayOutputWithContext

func (o Policy8021XArrayOutput) ToPolicy8021XArrayOutputWithContext(ctx context.Context) Policy8021XArrayOutput

type Policy8021XInput

type Policy8021XInput interface {
	pulumi.Input

	ToPolicy8021XOutput() Policy8021XOutput
	ToPolicy8021XOutputWithContext(ctx context.Context) Policy8021XOutput
}

type Policy8021XMap

type Policy8021XMap map[string]Policy8021XInput

func (Policy8021XMap) ElementType

func (Policy8021XMap) ElementType() reflect.Type

func (Policy8021XMap) ToPolicy8021XMapOutput

func (i Policy8021XMap) ToPolicy8021XMapOutput() Policy8021XMapOutput

func (Policy8021XMap) ToPolicy8021XMapOutputWithContext

func (i Policy8021XMap) ToPolicy8021XMapOutputWithContext(ctx context.Context) Policy8021XMapOutput

type Policy8021XMapInput

type Policy8021XMapInput interface {
	pulumi.Input

	ToPolicy8021XMapOutput() Policy8021XMapOutput
	ToPolicy8021XMapOutputWithContext(context.Context) Policy8021XMapOutput
}

Policy8021XMapInput is an input type that accepts Policy8021XMap and Policy8021XMapOutput values. You can construct a concrete instance of `Policy8021XMapInput` via:

Policy8021XMap{ "key": Policy8021XArgs{...} }

type Policy8021XMapOutput

type Policy8021XMapOutput struct{ *pulumi.OutputState }

func (Policy8021XMapOutput) ElementType

func (Policy8021XMapOutput) ElementType() reflect.Type

func (Policy8021XMapOutput) MapIndex

func (Policy8021XMapOutput) ToPolicy8021XMapOutput

func (o Policy8021XMapOutput) ToPolicy8021XMapOutput() Policy8021XMapOutput

func (Policy8021XMapOutput) ToPolicy8021XMapOutputWithContext

func (o Policy8021XMapOutput) ToPolicy8021XMapOutputWithContext(ctx context.Context) Policy8021XMapOutput

type Policy8021XOutput

type Policy8021XOutput struct{ *pulumi.OutputState }

func (Policy8021XOutput) AuthFailVlan

func (o Policy8021XOutput) AuthFailVlan() pulumi.StringOutput

Enable to allow limited access to clients that cannot authenticate. Valid values: `disable`, `enable`.

func (Policy8021XOutput) AuthFailVlanId

func (o Policy8021XOutput) AuthFailVlanId() pulumi.StringOutput

VLAN ID on which authentication failed.

func (Policy8021XOutput) AuthFailVlanid

func (o Policy8021XOutput) AuthFailVlanid() pulumi.IntOutput

VLAN ID on which authentication failed.

func (Policy8021XOutput) AuthserverTimeoutPeriod

func (o Policy8021XOutput) AuthserverTimeoutPeriod() pulumi.IntOutput

Authentication server timeout period (3 - 15 sec, default = 3).

func (Policy8021XOutput) AuthserverTimeoutVlan

func (o Policy8021XOutput) AuthserverTimeoutVlan() pulumi.StringOutput

Enable/disable the authentication server timeout VLAN to allow limited access when RADIUS is unavailable. Valid values: `disable`, `enable`.

func (Policy8021XOutput) AuthserverTimeoutVlanid

func (o Policy8021XOutput) AuthserverTimeoutVlanid() pulumi.StringOutput

Authentication server timeout VLAN name.

func (Policy8021XOutput) DynamicSortSubtable

func (o Policy8021XOutput) DynamicSortSubtable() pulumi.StringPtrOutput

Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].

func (Policy8021XOutput) EapAutoUntaggedVlans

func (o Policy8021XOutput) EapAutoUntaggedVlans() pulumi.StringOutput

Enable/disable automatic inclusion of untagged VLANs. Valid values: `disable`, `enable`.

func (Policy8021XOutput) EapPassthru

func (o Policy8021XOutput) EapPassthru() pulumi.StringOutput

Enable/disable EAP pass-through mode, allowing protocols (such as LLDP) to pass through ports for more flexible authentication. Valid values: `disable`, `enable`.

func (Policy8021XOutput) ElementType

func (Policy8021XOutput) ElementType() reflect.Type

func (Policy8021XOutput) FramevidApply

func (o Policy8021XOutput) FramevidApply() pulumi.StringOutput

Enable/disable the capability to apply the EAP/MAB frame VLAN to the port native VLAN. Valid values: `disable`, `enable`.

func (Policy8021XOutput) GetAllTables

func (o Policy8021XOutput) GetAllTables() pulumi.StringPtrOutput

Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.

func (Policy8021XOutput) GuestAuthDelay

func (o Policy8021XOutput) GuestAuthDelay() pulumi.IntOutput

Guest authentication delay (1 - 900 sec, default = 30).

func (Policy8021XOutput) GuestVlan

func (o Policy8021XOutput) GuestVlan() pulumi.StringOutput

Enable the guest VLAN feature to allow limited access to non-802.1X-compliant clients. Valid values: `disable`, `enable`.

func (Policy8021XOutput) GuestVlanId

func (o Policy8021XOutput) GuestVlanId() pulumi.StringOutput

Guest VLAN name.

func (Policy8021XOutput) GuestVlanid

func (o Policy8021XOutput) GuestVlanid() pulumi.IntOutput

Guest VLAN ID.

func (Policy8021XOutput) MacAuthBypass

func (o Policy8021XOutput) MacAuthBypass() pulumi.StringOutput

Enable/disable MAB for this policy. Valid values: `disable`, `enable`.

func (Policy8021XOutput) Name

Policy name.

func (Policy8021XOutput) OpenAuth

func (o Policy8021XOutput) OpenAuth() pulumi.StringOutput

Enable/disable open authentication for this policy. Valid values: `disable`, `enable`.

func (Policy8021XOutput) PolicyType

func (o Policy8021XOutput) PolicyType() pulumi.StringOutput

Policy type. Valid values: `802.1X`.

func (Policy8021XOutput) RadiusTimeoutOverwrite

func (o Policy8021XOutput) RadiusTimeoutOverwrite() pulumi.StringOutput

Enable to override the global RADIUS session timeout. Valid values: `disable`, `enable`.

func (Policy8021XOutput) SecurityMode

func (o Policy8021XOutput) SecurityMode() pulumi.StringOutput

Port or MAC based 802.1X security mode. Valid values: `802.1X`, `802.1X-mac-based`.

func (Policy8021XOutput) ToPolicy8021XOutput

func (o Policy8021XOutput) ToPolicy8021XOutput() Policy8021XOutput

func (Policy8021XOutput) ToPolicy8021XOutputWithContext

func (o Policy8021XOutput) ToPolicy8021XOutputWithContext(ctx context.Context) Policy8021XOutput

func (Policy8021XOutput) UserGroups

Name of user-group to assign to this MAC Authentication Bypass (MAB) policy. The structure of `userGroup` block is documented below.

func (Policy8021XOutput) Vdomparam

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

type Policy8021XState

type Policy8021XState struct {
	// Enable to allow limited access to clients that cannot authenticate. Valid values: `disable`, `enable`.
	AuthFailVlan pulumi.StringPtrInput
	// VLAN ID on which authentication failed.
	AuthFailVlanId pulumi.StringPtrInput
	// VLAN ID on which authentication failed.
	AuthFailVlanid pulumi.IntPtrInput
	// Authentication server timeout period (3 - 15 sec, default = 3).
	AuthserverTimeoutPeriod pulumi.IntPtrInput
	// Enable/disable the authentication server timeout VLAN to allow limited access when RADIUS is unavailable.  Valid values: `disable`, `enable`.
	AuthserverTimeoutVlan pulumi.StringPtrInput
	// Authentication server timeout VLAN name.
	AuthserverTimeoutVlanid pulumi.StringPtrInput
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrInput
	// Enable/disable automatic inclusion of untagged VLANs. Valid values: `disable`, `enable`.
	EapAutoUntaggedVlans pulumi.StringPtrInput
	// Enable/disable EAP pass-through mode, allowing protocols (such as LLDP) to pass through ports for more flexible authentication. Valid values: `disable`, `enable`.
	EapPassthru pulumi.StringPtrInput
	// Enable/disable the capability to apply the EAP/MAB frame VLAN to the port native VLAN. Valid values: `disable`, `enable`.
	FramevidApply pulumi.StringPtrInput
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrInput
	// Guest authentication delay (1 - 900  sec, default = 30).
	GuestAuthDelay pulumi.IntPtrInput
	// Enable the guest VLAN feature to allow limited access to non-802.1X-compliant clients. Valid values: `disable`, `enable`.
	GuestVlan pulumi.StringPtrInput
	// Guest VLAN name.
	GuestVlanId pulumi.StringPtrInput
	// Guest VLAN ID.
	GuestVlanid pulumi.IntPtrInput
	// Enable/disable MAB for this policy. Valid values: `disable`, `enable`.
	MacAuthBypass pulumi.StringPtrInput
	// Policy name.
	Name pulumi.StringPtrInput
	// Enable/disable open authentication for this policy. Valid values: `disable`, `enable`.
	OpenAuth pulumi.StringPtrInput
	// Policy type. Valid values: `802.1X`.
	PolicyType pulumi.StringPtrInput
	// Enable to override the global RADIUS session timeout. Valid values: `disable`, `enable`.
	RadiusTimeoutOverwrite pulumi.StringPtrInput
	// Port or MAC based 802.1X security mode. Valid values: `802.1X`, `802.1X-mac-based`.
	SecurityMode pulumi.StringPtrInput
	// Name of user-group to assign to this MAC Authentication Bypass (MAB) policy. The structure of `userGroup` block is documented below.
	UserGroups Policy8021XUserGroupArrayInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

func (Policy8021XState) ElementType

func (Policy8021XState) ElementType() reflect.Type

type Policy8021XUserGroup

type Policy8021XUserGroup struct {
	// Group name.
	Name *string `pulumi:"name"`
}

type Policy8021XUserGroupArgs

type Policy8021XUserGroupArgs struct {
	// Group name.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (Policy8021XUserGroupArgs) ElementType

func (Policy8021XUserGroupArgs) ElementType() reflect.Type

func (Policy8021XUserGroupArgs) ToPolicy8021XUserGroupOutput

func (i Policy8021XUserGroupArgs) ToPolicy8021XUserGroupOutput() Policy8021XUserGroupOutput

func (Policy8021XUserGroupArgs) ToPolicy8021XUserGroupOutputWithContext

func (i Policy8021XUserGroupArgs) ToPolicy8021XUserGroupOutputWithContext(ctx context.Context) Policy8021XUserGroupOutput

type Policy8021XUserGroupArray

type Policy8021XUserGroupArray []Policy8021XUserGroupInput

func (Policy8021XUserGroupArray) ElementType

func (Policy8021XUserGroupArray) ElementType() reflect.Type

func (Policy8021XUserGroupArray) ToPolicy8021XUserGroupArrayOutput

func (i Policy8021XUserGroupArray) ToPolicy8021XUserGroupArrayOutput() Policy8021XUserGroupArrayOutput

func (Policy8021XUserGroupArray) ToPolicy8021XUserGroupArrayOutputWithContext

func (i Policy8021XUserGroupArray) ToPolicy8021XUserGroupArrayOutputWithContext(ctx context.Context) Policy8021XUserGroupArrayOutput

type Policy8021XUserGroupArrayInput

type Policy8021XUserGroupArrayInput interface {
	pulumi.Input

	ToPolicy8021XUserGroupArrayOutput() Policy8021XUserGroupArrayOutput
	ToPolicy8021XUserGroupArrayOutputWithContext(context.Context) Policy8021XUserGroupArrayOutput
}

Policy8021XUserGroupArrayInput is an input type that accepts Policy8021XUserGroupArray and Policy8021XUserGroupArrayOutput values. You can construct a concrete instance of `Policy8021XUserGroupArrayInput` via:

Policy8021XUserGroupArray{ Policy8021XUserGroupArgs{...} }

type Policy8021XUserGroupArrayOutput

type Policy8021XUserGroupArrayOutput struct{ *pulumi.OutputState }

func (Policy8021XUserGroupArrayOutput) ElementType

func (Policy8021XUserGroupArrayOutput) Index

func (Policy8021XUserGroupArrayOutput) ToPolicy8021XUserGroupArrayOutput

func (o Policy8021XUserGroupArrayOutput) ToPolicy8021XUserGroupArrayOutput() Policy8021XUserGroupArrayOutput

func (Policy8021XUserGroupArrayOutput) ToPolicy8021XUserGroupArrayOutputWithContext

func (o Policy8021XUserGroupArrayOutput) ToPolicy8021XUserGroupArrayOutputWithContext(ctx context.Context) Policy8021XUserGroupArrayOutput

type Policy8021XUserGroupInput

type Policy8021XUserGroupInput interface {
	pulumi.Input

	ToPolicy8021XUserGroupOutput() Policy8021XUserGroupOutput
	ToPolicy8021XUserGroupOutputWithContext(context.Context) Policy8021XUserGroupOutput
}

Policy8021XUserGroupInput is an input type that accepts Policy8021XUserGroupArgs and Policy8021XUserGroupOutput values. You can construct a concrete instance of `Policy8021XUserGroupInput` via:

Policy8021XUserGroupArgs{...}

type Policy8021XUserGroupOutput

type Policy8021XUserGroupOutput struct{ *pulumi.OutputState }

func (Policy8021XUserGroupOutput) ElementType

func (Policy8021XUserGroupOutput) ElementType() reflect.Type

func (Policy8021XUserGroupOutput) Name

Group name.

func (Policy8021XUserGroupOutput) ToPolicy8021XUserGroupOutput

func (o Policy8021XUserGroupOutput) ToPolicy8021XUserGroupOutput() Policy8021XUserGroupOutput

func (Policy8021XUserGroupOutput) ToPolicy8021XUserGroupOutputWithContext

func (o Policy8021XUserGroupOutput) ToPolicy8021XUserGroupOutputWithContext(ctx context.Context) Policy8021XUserGroupOutput

Jump to

Keyboard shortcuts

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