authentication

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rule

type Rule struct {
	pulumi.CustomResourceState

	// Select an active authentication method.
	ActiveAuthMethod pulumi.StringOutput `pulumi:"activeAuthMethod"`
	// Comment.
	Comments pulumi.StringPtrOutput `pulumi:"comments"`
	// Depth to allow CORS access (default = 3).
	CorsDepth pulumi.IntOutput `pulumi:"corsDepth"`
	// Enable/disable allowance of CORS access (default = disable). Valid values: `enable`, `disable`.
	CorsStateful pulumi.StringOutput `pulumi:"corsStateful"`
	// Select an IPv6 destination address from available options. Required for web proxy authentication. The structure of `dstaddr6` block is documented below.
	Dstaddr6s RuleDstaddr6ArrayOutput `pulumi:"dstaddr6s"`
	// Select an IPv4 destination address from available options. Required for web proxy authentication. The structure of `dstaddr` block is documented below.
	Dstaddrs RuleDstaddrArrayOutput `pulumi:"dstaddrs"`
	// 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"`
	// 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"`
	// Enable/disable IP-based authentication. Once a user authenticates all traffic from the IP address the user authenticated from is allowed. Valid values: `enable`, `disable`.
	IpBased pulumi.StringOutput `pulumi:"ipBased"`
	// Authentication rule name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Authentication is required for the selected protocol (default = http). Valid values: `http`, `ftp`, `socks`, `ssh`.
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// Select an IPv6 source address. Required for web proxy authentication. The structure of `srcaddr6` block is documented below.
	Srcaddr6s RuleSrcaddr6ArrayOutput `pulumi:"srcaddr6s"`
	// Select an IPv4 source address from available options. Required for web proxy authentication. The structure of `srcaddr` block is documented below.
	Srcaddrs RuleSrcaddrArrayOutput `pulumi:"srcaddrs"`
	// Incoming (ingress) interface. The structure of `srcintf` block is documented below.
	Srcintfs RuleSrcintfArrayOutput `pulumi:"srcintfs"`
	// Select a single-sign on (SSO) authentication method.
	SsoAuthMethod pulumi.StringOutput `pulumi:"ssoAuthMethod"`
	// Enable/disable this authentication rule. Valid values: `enable`, `disable`.
	Status pulumi.StringOutput `pulumi:"status"`
	// Enable/disable transaction based authentication (default = disable). Valid values: `enable`, `disable`.
	TransactionBased pulumi.StringOutput `pulumi:"transactionBased"`
	// 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"`
	// Enable/disable Web authentication cookies (default = disable). Valid values: `enable`, `disable`.
	WebAuthCookie pulumi.StringOutput `pulumi:"webAuthCookie"`
	// Enable/disable web portal for proxy transparent policy (default = enable). Valid values: `enable`, `disable`.
	WebPortal pulumi.StringOutput `pulumi:"webPortal"`
}

Configure Authentication Rules.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := authentication.NewRule(ctx, "trname", &authentication.RuleArgs{
			IpBased:          pulumi.String("enable"),
			Protocol:         pulumi.String("ftp"),
			Status:           pulumi.String("enable"),
			TransactionBased: pulumi.String("disable"),
			WebAuthCookie:    pulumi.String("disable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Authentication Rule can be imported using any of these accepted formats:

```sh $ pulumi import fortios:authentication/rule:Rule labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:authentication/rule:Rule labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetRule

func GetRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RuleState, opts ...pulumi.ResourceOption) (*Rule, error)

GetRule gets an existing Rule 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 NewRule

func NewRule(ctx *pulumi.Context,
	name string, args *RuleArgs, opts ...pulumi.ResourceOption) (*Rule, error)

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

func (*Rule) ElementType

func (*Rule) ElementType() reflect.Type

func (*Rule) ToRuleOutput

func (i *Rule) ToRuleOutput() RuleOutput

func (*Rule) ToRuleOutputWithContext

func (i *Rule) ToRuleOutputWithContext(ctx context.Context) RuleOutput

type RuleArgs

type RuleArgs struct {
	// Select an active authentication method.
	ActiveAuthMethod pulumi.StringPtrInput
	// Comment.
	Comments pulumi.StringPtrInput
	// Depth to allow CORS access (default = 3).
	CorsDepth pulumi.IntPtrInput
	// Enable/disable allowance of CORS access (default = disable). Valid values: `enable`, `disable`.
	CorsStateful pulumi.StringPtrInput
	// Select an IPv6 destination address from available options. Required for web proxy authentication. The structure of `dstaddr6` block is documented below.
	Dstaddr6s RuleDstaddr6ArrayInput
	// Select an IPv4 destination address from available options. Required for web proxy authentication. The structure of `dstaddr` block is documented below.
	Dstaddrs RuleDstaddrArrayInput
	// 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
	// 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
	// Enable/disable IP-based authentication. Once a user authenticates all traffic from the IP address the user authenticated from is allowed. Valid values: `enable`, `disable`.
	IpBased pulumi.StringPtrInput
	// Authentication rule name.
	Name pulumi.StringPtrInput
	// Authentication is required for the selected protocol (default = http). Valid values: `http`, `ftp`, `socks`, `ssh`.
	Protocol pulumi.StringPtrInput
	// Select an IPv6 source address. Required for web proxy authentication. The structure of `srcaddr6` block is documented below.
	Srcaddr6s RuleSrcaddr6ArrayInput
	// Select an IPv4 source address from available options. Required for web proxy authentication. The structure of `srcaddr` block is documented below.
	Srcaddrs RuleSrcaddrArrayInput
	// Incoming (ingress) interface. The structure of `srcintf` block is documented below.
	Srcintfs RuleSrcintfArrayInput
	// Select a single-sign on (SSO) authentication method.
	SsoAuthMethod pulumi.StringPtrInput
	// Enable/disable this authentication rule. Valid values: `enable`, `disable`.
	Status pulumi.StringPtrInput
	// Enable/disable transaction based authentication (default = disable). Valid values: `enable`, `disable`.
	TransactionBased 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
	// Enable/disable Web authentication cookies (default = disable). Valid values: `enable`, `disable`.
	WebAuthCookie pulumi.StringPtrInput
	// Enable/disable web portal for proxy transparent policy (default = enable). Valid values: `enable`, `disable`.
	WebPortal pulumi.StringPtrInput
}

The set of arguments for constructing a Rule resource.

func (RuleArgs) ElementType

func (RuleArgs) ElementType() reflect.Type

type RuleArray

type RuleArray []RuleInput

func (RuleArray) ElementType

func (RuleArray) ElementType() reflect.Type

func (RuleArray) ToRuleArrayOutput

func (i RuleArray) ToRuleArrayOutput() RuleArrayOutput

func (RuleArray) ToRuleArrayOutputWithContext

func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput

type RuleArrayInput

type RuleArrayInput interface {
	pulumi.Input

	ToRuleArrayOutput() RuleArrayOutput
	ToRuleArrayOutputWithContext(context.Context) RuleArrayOutput
}

RuleArrayInput is an input type that accepts RuleArray and RuleArrayOutput values. You can construct a concrete instance of `RuleArrayInput` via:

RuleArray{ RuleArgs{...} }

type RuleArrayOutput

type RuleArrayOutput struct{ *pulumi.OutputState }

func (RuleArrayOutput) ElementType

func (RuleArrayOutput) ElementType() reflect.Type

func (RuleArrayOutput) Index

func (RuleArrayOutput) ToRuleArrayOutput

func (o RuleArrayOutput) ToRuleArrayOutput() RuleArrayOutput

func (RuleArrayOutput) ToRuleArrayOutputWithContext

func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput

type RuleDstaddr

type RuleDstaddr struct {
	// Address name.
	Name *string `pulumi:"name"`
}

type RuleDstaddr6

type RuleDstaddr6 struct {
	// Authentication rule name.
	Name *string `pulumi:"name"`
}

type RuleDstaddr6Args

type RuleDstaddr6Args struct {
	// Authentication rule name.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (RuleDstaddr6Args) ElementType

func (RuleDstaddr6Args) ElementType() reflect.Type

func (RuleDstaddr6Args) ToRuleDstaddr6Output

func (i RuleDstaddr6Args) ToRuleDstaddr6Output() RuleDstaddr6Output

func (RuleDstaddr6Args) ToRuleDstaddr6OutputWithContext

func (i RuleDstaddr6Args) ToRuleDstaddr6OutputWithContext(ctx context.Context) RuleDstaddr6Output

type RuleDstaddr6Array

type RuleDstaddr6Array []RuleDstaddr6Input

func (RuleDstaddr6Array) ElementType

func (RuleDstaddr6Array) ElementType() reflect.Type

func (RuleDstaddr6Array) ToRuleDstaddr6ArrayOutput

func (i RuleDstaddr6Array) ToRuleDstaddr6ArrayOutput() RuleDstaddr6ArrayOutput

func (RuleDstaddr6Array) ToRuleDstaddr6ArrayOutputWithContext

func (i RuleDstaddr6Array) ToRuleDstaddr6ArrayOutputWithContext(ctx context.Context) RuleDstaddr6ArrayOutput

type RuleDstaddr6ArrayInput

type RuleDstaddr6ArrayInput interface {
	pulumi.Input

	ToRuleDstaddr6ArrayOutput() RuleDstaddr6ArrayOutput
	ToRuleDstaddr6ArrayOutputWithContext(context.Context) RuleDstaddr6ArrayOutput
}

RuleDstaddr6ArrayInput is an input type that accepts RuleDstaddr6Array and RuleDstaddr6ArrayOutput values. You can construct a concrete instance of `RuleDstaddr6ArrayInput` via:

RuleDstaddr6Array{ RuleDstaddr6Args{...} }

type RuleDstaddr6ArrayOutput

type RuleDstaddr6ArrayOutput struct{ *pulumi.OutputState }

func (RuleDstaddr6ArrayOutput) ElementType

func (RuleDstaddr6ArrayOutput) ElementType() reflect.Type

func (RuleDstaddr6ArrayOutput) Index

func (RuleDstaddr6ArrayOutput) ToRuleDstaddr6ArrayOutput

func (o RuleDstaddr6ArrayOutput) ToRuleDstaddr6ArrayOutput() RuleDstaddr6ArrayOutput

func (RuleDstaddr6ArrayOutput) ToRuleDstaddr6ArrayOutputWithContext

func (o RuleDstaddr6ArrayOutput) ToRuleDstaddr6ArrayOutputWithContext(ctx context.Context) RuleDstaddr6ArrayOutput

type RuleDstaddr6Input

type RuleDstaddr6Input interface {
	pulumi.Input

	ToRuleDstaddr6Output() RuleDstaddr6Output
	ToRuleDstaddr6OutputWithContext(context.Context) RuleDstaddr6Output
}

RuleDstaddr6Input is an input type that accepts RuleDstaddr6Args and RuleDstaddr6Output values. You can construct a concrete instance of `RuleDstaddr6Input` via:

RuleDstaddr6Args{...}

type RuleDstaddr6Output

type RuleDstaddr6Output struct{ *pulumi.OutputState }

func (RuleDstaddr6Output) ElementType

func (RuleDstaddr6Output) ElementType() reflect.Type

func (RuleDstaddr6Output) Name

Authentication rule name.

func (RuleDstaddr6Output) ToRuleDstaddr6Output

func (o RuleDstaddr6Output) ToRuleDstaddr6Output() RuleDstaddr6Output

func (RuleDstaddr6Output) ToRuleDstaddr6OutputWithContext

func (o RuleDstaddr6Output) ToRuleDstaddr6OutputWithContext(ctx context.Context) RuleDstaddr6Output

type RuleDstaddrArgs

type RuleDstaddrArgs struct {
	// Address name.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (RuleDstaddrArgs) ElementType

func (RuleDstaddrArgs) ElementType() reflect.Type

func (RuleDstaddrArgs) ToRuleDstaddrOutput

func (i RuleDstaddrArgs) ToRuleDstaddrOutput() RuleDstaddrOutput

func (RuleDstaddrArgs) ToRuleDstaddrOutputWithContext

func (i RuleDstaddrArgs) ToRuleDstaddrOutputWithContext(ctx context.Context) RuleDstaddrOutput

type RuleDstaddrArray

type RuleDstaddrArray []RuleDstaddrInput

func (RuleDstaddrArray) ElementType

func (RuleDstaddrArray) ElementType() reflect.Type

func (RuleDstaddrArray) ToRuleDstaddrArrayOutput

func (i RuleDstaddrArray) ToRuleDstaddrArrayOutput() RuleDstaddrArrayOutput

func (RuleDstaddrArray) ToRuleDstaddrArrayOutputWithContext

func (i RuleDstaddrArray) ToRuleDstaddrArrayOutputWithContext(ctx context.Context) RuleDstaddrArrayOutput

type RuleDstaddrArrayInput

type RuleDstaddrArrayInput interface {
	pulumi.Input

	ToRuleDstaddrArrayOutput() RuleDstaddrArrayOutput
	ToRuleDstaddrArrayOutputWithContext(context.Context) RuleDstaddrArrayOutput
}

RuleDstaddrArrayInput is an input type that accepts RuleDstaddrArray and RuleDstaddrArrayOutput values. You can construct a concrete instance of `RuleDstaddrArrayInput` via:

RuleDstaddrArray{ RuleDstaddrArgs{...} }

type RuleDstaddrArrayOutput

type RuleDstaddrArrayOutput struct{ *pulumi.OutputState }

func (RuleDstaddrArrayOutput) ElementType

func (RuleDstaddrArrayOutput) ElementType() reflect.Type

func (RuleDstaddrArrayOutput) Index

func (RuleDstaddrArrayOutput) ToRuleDstaddrArrayOutput

func (o RuleDstaddrArrayOutput) ToRuleDstaddrArrayOutput() RuleDstaddrArrayOutput

func (RuleDstaddrArrayOutput) ToRuleDstaddrArrayOutputWithContext

func (o RuleDstaddrArrayOutput) ToRuleDstaddrArrayOutputWithContext(ctx context.Context) RuleDstaddrArrayOutput

type RuleDstaddrInput

type RuleDstaddrInput interface {
	pulumi.Input

	ToRuleDstaddrOutput() RuleDstaddrOutput
	ToRuleDstaddrOutputWithContext(context.Context) RuleDstaddrOutput
}

RuleDstaddrInput is an input type that accepts RuleDstaddrArgs and RuleDstaddrOutput values. You can construct a concrete instance of `RuleDstaddrInput` via:

RuleDstaddrArgs{...}

type RuleDstaddrOutput

type RuleDstaddrOutput struct{ *pulumi.OutputState }

func (RuleDstaddrOutput) ElementType

func (RuleDstaddrOutput) ElementType() reflect.Type

func (RuleDstaddrOutput) Name

Address name.

func (RuleDstaddrOutput) ToRuleDstaddrOutput

func (o RuleDstaddrOutput) ToRuleDstaddrOutput() RuleDstaddrOutput

func (RuleDstaddrOutput) ToRuleDstaddrOutputWithContext

func (o RuleDstaddrOutput) ToRuleDstaddrOutputWithContext(ctx context.Context) RuleDstaddrOutput

type RuleInput

type RuleInput interface {
	pulumi.Input

	ToRuleOutput() RuleOutput
	ToRuleOutputWithContext(ctx context.Context) RuleOutput
}

type RuleMap

type RuleMap map[string]RuleInput

func (RuleMap) ElementType

func (RuleMap) ElementType() reflect.Type

func (RuleMap) ToRuleMapOutput

func (i RuleMap) ToRuleMapOutput() RuleMapOutput

func (RuleMap) ToRuleMapOutputWithContext

func (i RuleMap) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput

type RuleMapInput

type RuleMapInput interface {
	pulumi.Input

	ToRuleMapOutput() RuleMapOutput
	ToRuleMapOutputWithContext(context.Context) RuleMapOutput
}

RuleMapInput is an input type that accepts RuleMap and RuleMapOutput values. You can construct a concrete instance of `RuleMapInput` via:

RuleMap{ "key": RuleArgs{...} }

type RuleMapOutput

type RuleMapOutput struct{ *pulumi.OutputState }

func (RuleMapOutput) ElementType

func (RuleMapOutput) ElementType() reflect.Type

func (RuleMapOutput) MapIndex

func (RuleMapOutput) ToRuleMapOutput

func (o RuleMapOutput) ToRuleMapOutput() RuleMapOutput

func (RuleMapOutput) ToRuleMapOutputWithContext

func (o RuleMapOutput) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput

type RuleOutput

type RuleOutput struct{ *pulumi.OutputState }

func (RuleOutput) ActiveAuthMethod

func (o RuleOutput) ActiveAuthMethod() pulumi.StringOutput

Select an active authentication method.

func (RuleOutput) Comments

func (o RuleOutput) Comments() pulumi.StringPtrOutput

Comment.

func (RuleOutput) CorsDepth

func (o RuleOutput) CorsDepth() pulumi.IntOutput

Depth to allow CORS access (default = 3).

func (RuleOutput) CorsStateful

func (o RuleOutput) CorsStateful() pulumi.StringOutput

Enable/disable allowance of CORS access (default = disable). Valid values: `enable`, `disable`.

func (RuleOutput) Dstaddr6s

func (o RuleOutput) Dstaddr6s() RuleDstaddr6ArrayOutput

Select an IPv6 destination address from available options. Required for web proxy authentication. The structure of `dstaddr6` block is documented below.

func (RuleOutput) Dstaddrs

func (o RuleOutput) Dstaddrs() RuleDstaddrArrayOutput

Select an IPv4 destination address from available options. Required for web proxy authentication. The structure of `dstaddr` block is documented below.

func (RuleOutput) DynamicSortSubtable

func (o RuleOutput) 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 (RuleOutput) ElementType

func (RuleOutput) ElementType() reflect.Type

func (RuleOutput) GetAllTables

func (o RuleOutput) 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 (RuleOutput) IpBased

func (o RuleOutput) IpBased() pulumi.StringOutput

Enable/disable IP-based authentication. Once a user authenticates all traffic from the IP address the user authenticated from is allowed. Valid values: `enable`, `disable`.

func (RuleOutput) Name

func (o RuleOutput) Name() pulumi.StringOutput

Authentication rule name.

func (RuleOutput) Protocol

func (o RuleOutput) Protocol() pulumi.StringOutput

Authentication is required for the selected protocol (default = http). Valid values: `http`, `ftp`, `socks`, `ssh`.

func (RuleOutput) Srcaddr6s

func (o RuleOutput) Srcaddr6s() RuleSrcaddr6ArrayOutput

Select an IPv6 source address. Required for web proxy authentication. The structure of `srcaddr6` block is documented below.

func (RuleOutput) Srcaddrs

func (o RuleOutput) Srcaddrs() RuleSrcaddrArrayOutput

Select an IPv4 source address from available options. Required for web proxy authentication. The structure of `srcaddr` block is documented below.

func (RuleOutput) Srcintfs

func (o RuleOutput) Srcintfs() RuleSrcintfArrayOutput

Incoming (ingress) interface. The structure of `srcintf` block is documented below.

func (RuleOutput) SsoAuthMethod

func (o RuleOutput) SsoAuthMethod() pulumi.StringOutput

Select a single-sign on (SSO) authentication method.

func (RuleOutput) Status

func (o RuleOutput) Status() pulumi.StringOutput

Enable/disable this authentication rule. Valid values: `enable`, `disable`.

func (RuleOutput) ToRuleOutput

func (o RuleOutput) ToRuleOutput() RuleOutput

func (RuleOutput) ToRuleOutputWithContext

func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput

func (RuleOutput) TransactionBased

func (o RuleOutput) TransactionBased() pulumi.StringOutput

Enable/disable transaction based authentication (default = disable). Valid values: `enable`, `disable`.

func (RuleOutput) Vdomparam

func (o RuleOutput) Vdomparam() pulumi.StringPtrOutput

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 (RuleOutput) WebAuthCookie

func (o RuleOutput) WebAuthCookie() pulumi.StringOutput

Enable/disable Web authentication cookies (default = disable). Valid values: `enable`, `disable`.

func (RuleOutput) WebPortal

func (o RuleOutput) WebPortal() pulumi.StringOutput

Enable/disable web portal for proxy transparent policy (default = enable). Valid values: `enable`, `disable`.

type RuleSrcaddr

type RuleSrcaddr struct {
	// Address name.
	Name *string `pulumi:"name"`
}

type RuleSrcaddr6

type RuleSrcaddr6 struct {
	// Authentication rule name.
	Name *string `pulumi:"name"`
}

type RuleSrcaddr6Args

type RuleSrcaddr6Args struct {
	// Authentication rule name.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (RuleSrcaddr6Args) ElementType

func (RuleSrcaddr6Args) ElementType() reflect.Type

func (RuleSrcaddr6Args) ToRuleSrcaddr6Output

func (i RuleSrcaddr6Args) ToRuleSrcaddr6Output() RuleSrcaddr6Output

func (RuleSrcaddr6Args) ToRuleSrcaddr6OutputWithContext

func (i RuleSrcaddr6Args) ToRuleSrcaddr6OutputWithContext(ctx context.Context) RuleSrcaddr6Output

type RuleSrcaddr6Array

type RuleSrcaddr6Array []RuleSrcaddr6Input

func (RuleSrcaddr6Array) ElementType

func (RuleSrcaddr6Array) ElementType() reflect.Type

func (RuleSrcaddr6Array) ToRuleSrcaddr6ArrayOutput

func (i RuleSrcaddr6Array) ToRuleSrcaddr6ArrayOutput() RuleSrcaddr6ArrayOutput

func (RuleSrcaddr6Array) ToRuleSrcaddr6ArrayOutputWithContext

func (i RuleSrcaddr6Array) ToRuleSrcaddr6ArrayOutputWithContext(ctx context.Context) RuleSrcaddr6ArrayOutput

type RuleSrcaddr6ArrayInput

type RuleSrcaddr6ArrayInput interface {
	pulumi.Input

	ToRuleSrcaddr6ArrayOutput() RuleSrcaddr6ArrayOutput
	ToRuleSrcaddr6ArrayOutputWithContext(context.Context) RuleSrcaddr6ArrayOutput
}

RuleSrcaddr6ArrayInput is an input type that accepts RuleSrcaddr6Array and RuleSrcaddr6ArrayOutput values. You can construct a concrete instance of `RuleSrcaddr6ArrayInput` via:

RuleSrcaddr6Array{ RuleSrcaddr6Args{...} }

type RuleSrcaddr6ArrayOutput

type RuleSrcaddr6ArrayOutput struct{ *pulumi.OutputState }

func (RuleSrcaddr6ArrayOutput) ElementType

func (RuleSrcaddr6ArrayOutput) ElementType() reflect.Type

func (RuleSrcaddr6ArrayOutput) Index

func (RuleSrcaddr6ArrayOutput) ToRuleSrcaddr6ArrayOutput

func (o RuleSrcaddr6ArrayOutput) ToRuleSrcaddr6ArrayOutput() RuleSrcaddr6ArrayOutput

func (RuleSrcaddr6ArrayOutput) ToRuleSrcaddr6ArrayOutputWithContext

func (o RuleSrcaddr6ArrayOutput) ToRuleSrcaddr6ArrayOutputWithContext(ctx context.Context) RuleSrcaddr6ArrayOutput

type RuleSrcaddr6Input

type RuleSrcaddr6Input interface {
	pulumi.Input

	ToRuleSrcaddr6Output() RuleSrcaddr6Output
	ToRuleSrcaddr6OutputWithContext(context.Context) RuleSrcaddr6Output
}

RuleSrcaddr6Input is an input type that accepts RuleSrcaddr6Args and RuleSrcaddr6Output values. You can construct a concrete instance of `RuleSrcaddr6Input` via:

RuleSrcaddr6Args{...}

type RuleSrcaddr6Output

type RuleSrcaddr6Output struct{ *pulumi.OutputState }

func (RuleSrcaddr6Output) ElementType

func (RuleSrcaddr6Output) ElementType() reflect.Type

func (RuleSrcaddr6Output) Name

Authentication rule name.

func (RuleSrcaddr6Output) ToRuleSrcaddr6Output

func (o RuleSrcaddr6Output) ToRuleSrcaddr6Output() RuleSrcaddr6Output

func (RuleSrcaddr6Output) ToRuleSrcaddr6OutputWithContext

func (o RuleSrcaddr6Output) ToRuleSrcaddr6OutputWithContext(ctx context.Context) RuleSrcaddr6Output

type RuleSrcaddrArgs

type RuleSrcaddrArgs struct {
	// Address name.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (RuleSrcaddrArgs) ElementType

func (RuleSrcaddrArgs) ElementType() reflect.Type

func (RuleSrcaddrArgs) ToRuleSrcaddrOutput

func (i RuleSrcaddrArgs) ToRuleSrcaddrOutput() RuleSrcaddrOutput

func (RuleSrcaddrArgs) ToRuleSrcaddrOutputWithContext

func (i RuleSrcaddrArgs) ToRuleSrcaddrOutputWithContext(ctx context.Context) RuleSrcaddrOutput

type RuleSrcaddrArray

type RuleSrcaddrArray []RuleSrcaddrInput

func (RuleSrcaddrArray) ElementType

func (RuleSrcaddrArray) ElementType() reflect.Type

func (RuleSrcaddrArray) ToRuleSrcaddrArrayOutput

func (i RuleSrcaddrArray) ToRuleSrcaddrArrayOutput() RuleSrcaddrArrayOutput

func (RuleSrcaddrArray) ToRuleSrcaddrArrayOutputWithContext

func (i RuleSrcaddrArray) ToRuleSrcaddrArrayOutputWithContext(ctx context.Context) RuleSrcaddrArrayOutput

type RuleSrcaddrArrayInput

type RuleSrcaddrArrayInput interface {
	pulumi.Input

	ToRuleSrcaddrArrayOutput() RuleSrcaddrArrayOutput
	ToRuleSrcaddrArrayOutputWithContext(context.Context) RuleSrcaddrArrayOutput
}

RuleSrcaddrArrayInput is an input type that accepts RuleSrcaddrArray and RuleSrcaddrArrayOutput values. You can construct a concrete instance of `RuleSrcaddrArrayInput` via:

RuleSrcaddrArray{ RuleSrcaddrArgs{...} }

type RuleSrcaddrArrayOutput

type RuleSrcaddrArrayOutput struct{ *pulumi.OutputState }

func (RuleSrcaddrArrayOutput) ElementType

func (RuleSrcaddrArrayOutput) ElementType() reflect.Type

func (RuleSrcaddrArrayOutput) Index

func (RuleSrcaddrArrayOutput) ToRuleSrcaddrArrayOutput

func (o RuleSrcaddrArrayOutput) ToRuleSrcaddrArrayOutput() RuleSrcaddrArrayOutput

func (RuleSrcaddrArrayOutput) ToRuleSrcaddrArrayOutputWithContext

func (o RuleSrcaddrArrayOutput) ToRuleSrcaddrArrayOutputWithContext(ctx context.Context) RuleSrcaddrArrayOutput

type RuleSrcaddrInput

type RuleSrcaddrInput interface {
	pulumi.Input

	ToRuleSrcaddrOutput() RuleSrcaddrOutput
	ToRuleSrcaddrOutputWithContext(context.Context) RuleSrcaddrOutput
}

RuleSrcaddrInput is an input type that accepts RuleSrcaddrArgs and RuleSrcaddrOutput values. You can construct a concrete instance of `RuleSrcaddrInput` via:

RuleSrcaddrArgs{...}

type RuleSrcaddrOutput

type RuleSrcaddrOutput struct{ *pulumi.OutputState }

func (RuleSrcaddrOutput) ElementType

func (RuleSrcaddrOutput) ElementType() reflect.Type

func (RuleSrcaddrOutput) Name

Address name.

func (RuleSrcaddrOutput) ToRuleSrcaddrOutput

func (o RuleSrcaddrOutput) ToRuleSrcaddrOutput() RuleSrcaddrOutput

func (RuleSrcaddrOutput) ToRuleSrcaddrOutputWithContext

func (o RuleSrcaddrOutput) ToRuleSrcaddrOutputWithContext(ctx context.Context) RuleSrcaddrOutput

type RuleSrcintf

type RuleSrcintf struct {
	// Interface name.
	Name *string `pulumi:"name"`
}

type RuleSrcintfArgs

type RuleSrcintfArgs struct {
	// Interface name.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (RuleSrcintfArgs) ElementType

func (RuleSrcintfArgs) ElementType() reflect.Type

func (RuleSrcintfArgs) ToRuleSrcintfOutput

func (i RuleSrcintfArgs) ToRuleSrcintfOutput() RuleSrcintfOutput

func (RuleSrcintfArgs) ToRuleSrcintfOutputWithContext

func (i RuleSrcintfArgs) ToRuleSrcintfOutputWithContext(ctx context.Context) RuleSrcintfOutput

type RuleSrcintfArray

type RuleSrcintfArray []RuleSrcintfInput

func (RuleSrcintfArray) ElementType

func (RuleSrcintfArray) ElementType() reflect.Type

func (RuleSrcintfArray) ToRuleSrcintfArrayOutput

func (i RuleSrcintfArray) ToRuleSrcintfArrayOutput() RuleSrcintfArrayOutput

func (RuleSrcintfArray) ToRuleSrcintfArrayOutputWithContext

func (i RuleSrcintfArray) ToRuleSrcintfArrayOutputWithContext(ctx context.Context) RuleSrcintfArrayOutput

type RuleSrcintfArrayInput

type RuleSrcintfArrayInput interface {
	pulumi.Input

	ToRuleSrcintfArrayOutput() RuleSrcintfArrayOutput
	ToRuleSrcintfArrayOutputWithContext(context.Context) RuleSrcintfArrayOutput
}

RuleSrcintfArrayInput is an input type that accepts RuleSrcintfArray and RuleSrcintfArrayOutput values. You can construct a concrete instance of `RuleSrcintfArrayInput` via:

RuleSrcintfArray{ RuleSrcintfArgs{...} }

type RuleSrcintfArrayOutput

type RuleSrcintfArrayOutput struct{ *pulumi.OutputState }

func (RuleSrcintfArrayOutput) ElementType

func (RuleSrcintfArrayOutput) ElementType() reflect.Type

func (RuleSrcintfArrayOutput) Index

func (RuleSrcintfArrayOutput) ToRuleSrcintfArrayOutput

func (o RuleSrcintfArrayOutput) ToRuleSrcintfArrayOutput() RuleSrcintfArrayOutput

func (RuleSrcintfArrayOutput) ToRuleSrcintfArrayOutputWithContext

func (o RuleSrcintfArrayOutput) ToRuleSrcintfArrayOutputWithContext(ctx context.Context) RuleSrcintfArrayOutput

type RuleSrcintfInput

type RuleSrcintfInput interface {
	pulumi.Input

	ToRuleSrcintfOutput() RuleSrcintfOutput
	ToRuleSrcintfOutputWithContext(context.Context) RuleSrcintfOutput
}

RuleSrcintfInput is an input type that accepts RuleSrcintfArgs and RuleSrcintfOutput values. You can construct a concrete instance of `RuleSrcintfInput` via:

RuleSrcintfArgs{...}

type RuleSrcintfOutput

type RuleSrcintfOutput struct{ *pulumi.OutputState }

func (RuleSrcintfOutput) ElementType

func (RuleSrcintfOutput) ElementType() reflect.Type

func (RuleSrcintfOutput) Name

Interface name.

func (RuleSrcintfOutput) ToRuleSrcintfOutput

func (o RuleSrcintfOutput) ToRuleSrcintfOutput() RuleSrcintfOutput

func (RuleSrcintfOutput) ToRuleSrcintfOutputWithContext

func (o RuleSrcintfOutput) ToRuleSrcintfOutputWithContext(ctx context.Context) RuleSrcintfOutput

type RuleState

type RuleState struct {
	// Select an active authentication method.
	ActiveAuthMethod pulumi.StringPtrInput
	// Comment.
	Comments pulumi.StringPtrInput
	// Depth to allow CORS access (default = 3).
	CorsDepth pulumi.IntPtrInput
	// Enable/disable allowance of CORS access (default = disable). Valid values: `enable`, `disable`.
	CorsStateful pulumi.StringPtrInput
	// Select an IPv6 destination address from available options. Required for web proxy authentication. The structure of `dstaddr6` block is documented below.
	Dstaddr6s RuleDstaddr6ArrayInput
	// Select an IPv4 destination address from available options. Required for web proxy authentication. The structure of `dstaddr` block is documented below.
	Dstaddrs RuleDstaddrArrayInput
	// 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
	// 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
	// Enable/disable IP-based authentication. Once a user authenticates all traffic from the IP address the user authenticated from is allowed. Valid values: `enable`, `disable`.
	IpBased pulumi.StringPtrInput
	// Authentication rule name.
	Name pulumi.StringPtrInput
	// Authentication is required for the selected protocol (default = http). Valid values: `http`, `ftp`, `socks`, `ssh`.
	Protocol pulumi.StringPtrInput
	// Select an IPv6 source address. Required for web proxy authentication. The structure of `srcaddr6` block is documented below.
	Srcaddr6s RuleSrcaddr6ArrayInput
	// Select an IPv4 source address from available options. Required for web proxy authentication. The structure of `srcaddr` block is documented below.
	Srcaddrs RuleSrcaddrArrayInput
	// Incoming (ingress) interface. The structure of `srcintf` block is documented below.
	Srcintfs RuleSrcintfArrayInput
	// Select a single-sign on (SSO) authentication method.
	SsoAuthMethod pulumi.StringPtrInput
	// Enable/disable this authentication rule. Valid values: `enable`, `disable`.
	Status pulumi.StringPtrInput
	// Enable/disable transaction based authentication (default = disable). Valid values: `enable`, `disable`.
	TransactionBased 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
	// Enable/disable Web authentication cookies (default = disable). Valid values: `enable`, `disable`.
	WebAuthCookie pulumi.StringPtrInput
	// Enable/disable web portal for proxy transparent policy (default = enable). Valid values: `enable`, `disable`.
	WebPortal pulumi.StringPtrInput
}

func (RuleState) ElementType

func (RuleState) ElementType() reflect.Type

type Scheme

type Scheme struct {
	pulumi.CustomResourceState

	// Domain controller setting.
	DomainController pulumi.StringOutput `pulumi:"domainController"`
	// 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"`
	// FSSO agent to use for NTLM authentication.
	FssoAgentForNtlm pulumi.StringOutput `pulumi:"fssoAgentForNtlm"`
	// Enable/disable user fsso-guest authentication (default = disable). Valid values: `enable`, `disable`.
	FssoGuest pulumi.StringOutput `pulumi:"fssoGuest"`
	// 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"`
	// Kerberos keytab setting.
	KerberosKeytab pulumi.StringOutput `pulumi:"kerberosKeytab"`
	// Authentication methods (default = basic).
	Method pulumi.StringOutput `pulumi:"method"`
	// Authentication scheme name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Enable/disable negotiate authentication for NTLM (default = disable). Valid values: `enable`, `disable`.
	NegotiateNtlm pulumi.StringOutput `pulumi:"negotiateNtlm"`
	// Enable/disable two-factor authentication (default = disable). Valid values: `enable`, `disable`.
	RequireTfa pulumi.StringOutput `pulumi:"requireTfa"`
	// SAML configuration.
	SamlServer pulumi.StringOutput `pulumi:"samlServer"`
	// SAML authentication timeout in seconds.
	SamlTimeout pulumi.IntOutput `pulumi:"samlTimeout"`
	// SSH CA name.
	SshCa pulumi.StringOutput `pulumi:"sshCa"`
	// Enable/disable authentication with user certificate (default = disable). Valid values: `enable`, `disable`.
	UserCert pulumi.StringOutput `pulumi:"userCert"`
	// Authentication server to contain user information; "local" (default) or "123" (for LDAP). The structure of `userDatabase` block is documented below.
	UserDatabases SchemeUserDatabaseArrayOutput `pulumi:"userDatabases"`
	// 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 Authentication Schemes.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		trname3, err := user.NewFsso(ctx, "trname3", &user.FssoArgs{
			Port:      pulumi.Int(8000),
			Port2:     pulumi.Int(8000),
			Port3:     pulumi.Int(8000),
			Port4:     pulumi.Int(8000),
			Port5:     pulumi.Int(8000),
			Server:    pulumi.String("1.1.1.1"),
			SourceIp:  pulumi.String("0.0.0.0"),
			SourceIp6: pulumi.String("::"),
		})
		if err != nil {
			return err
		}
		_, err = authentication.NewScheme(ctx, "trname", &authentication.SchemeArgs{
			FssoAgentForNtlm: trname3.Name,
			FssoGuest:        pulumi.String("disable"),
			Method:           pulumi.String("ntlm"),
			NegotiateNtlm:    pulumi.String("enable"),
			RequireTfa:       pulumi.String("disable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Authentication Scheme can be imported using any of these accepted formats:

```sh $ pulumi import fortios:authentication/scheme:Scheme labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:authentication/scheme:Scheme labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetScheme

func GetScheme(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SchemeState, opts ...pulumi.ResourceOption) (*Scheme, error)

GetScheme gets an existing Scheme 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 NewScheme

func NewScheme(ctx *pulumi.Context,
	name string, args *SchemeArgs, opts ...pulumi.ResourceOption) (*Scheme, error)

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

func (*Scheme) ElementType

func (*Scheme) ElementType() reflect.Type

func (*Scheme) ToSchemeOutput

func (i *Scheme) ToSchemeOutput() SchemeOutput

func (*Scheme) ToSchemeOutputWithContext

func (i *Scheme) ToSchemeOutputWithContext(ctx context.Context) SchemeOutput

type SchemeArgs

type SchemeArgs struct {
	// Domain controller setting.
	DomainController 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
	// FSSO agent to use for NTLM authentication.
	FssoAgentForNtlm pulumi.StringPtrInput
	// Enable/disable user fsso-guest authentication (default = disable). Valid values: `enable`, `disable`.
	FssoGuest 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
	// Kerberos keytab setting.
	KerberosKeytab pulumi.StringPtrInput
	// Authentication methods (default = basic).
	Method pulumi.StringInput
	// Authentication scheme name.
	Name pulumi.StringPtrInput
	// Enable/disable negotiate authentication for NTLM (default = disable). Valid values: `enable`, `disable`.
	NegotiateNtlm pulumi.StringPtrInput
	// Enable/disable two-factor authentication (default = disable). Valid values: `enable`, `disable`.
	RequireTfa pulumi.StringPtrInput
	// SAML configuration.
	SamlServer pulumi.StringPtrInput
	// SAML authentication timeout in seconds.
	SamlTimeout pulumi.IntPtrInput
	// SSH CA name.
	SshCa pulumi.StringPtrInput
	// Enable/disable authentication with user certificate (default = disable). Valid values: `enable`, `disable`.
	UserCert pulumi.StringPtrInput
	// Authentication server to contain user information; "local" (default) or "123" (for LDAP). The structure of `userDatabase` block is documented below.
	UserDatabases SchemeUserDatabaseArrayInput
	// 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 Scheme resource.

func (SchemeArgs) ElementType

func (SchemeArgs) ElementType() reflect.Type

type SchemeArray

type SchemeArray []SchemeInput

func (SchemeArray) ElementType

func (SchemeArray) ElementType() reflect.Type

func (SchemeArray) ToSchemeArrayOutput

func (i SchemeArray) ToSchemeArrayOutput() SchemeArrayOutput

func (SchemeArray) ToSchemeArrayOutputWithContext

func (i SchemeArray) ToSchemeArrayOutputWithContext(ctx context.Context) SchemeArrayOutput

type SchemeArrayInput

type SchemeArrayInput interface {
	pulumi.Input

	ToSchemeArrayOutput() SchemeArrayOutput
	ToSchemeArrayOutputWithContext(context.Context) SchemeArrayOutput
}

SchemeArrayInput is an input type that accepts SchemeArray and SchemeArrayOutput values. You can construct a concrete instance of `SchemeArrayInput` via:

SchemeArray{ SchemeArgs{...} }

type SchemeArrayOutput

type SchemeArrayOutput struct{ *pulumi.OutputState }

func (SchemeArrayOutput) ElementType

func (SchemeArrayOutput) ElementType() reflect.Type

func (SchemeArrayOutput) Index

func (SchemeArrayOutput) ToSchemeArrayOutput

func (o SchemeArrayOutput) ToSchemeArrayOutput() SchemeArrayOutput

func (SchemeArrayOutput) ToSchemeArrayOutputWithContext

func (o SchemeArrayOutput) ToSchemeArrayOutputWithContext(ctx context.Context) SchemeArrayOutput

type SchemeInput

type SchemeInput interface {
	pulumi.Input

	ToSchemeOutput() SchemeOutput
	ToSchemeOutputWithContext(ctx context.Context) SchemeOutput
}

type SchemeMap

type SchemeMap map[string]SchemeInput

func (SchemeMap) ElementType

func (SchemeMap) ElementType() reflect.Type

func (SchemeMap) ToSchemeMapOutput

func (i SchemeMap) ToSchemeMapOutput() SchemeMapOutput

func (SchemeMap) ToSchemeMapOutputWithContext

func (i SchemeMap) ToSchemeMapOutputWithContext(ctx context.Context) SchemeMapOutput

type SchemeMapInput

type SchemeMapInput interface {
	pulumi.Input

	ToSchemeMapOutput() SchemeMapOutput
	ToSchemeMapOutputWithContext(context.Context) SchemeMapOutput
}

SchemeMapInput is an input type that accepts SchemeMap and SchemeMapOutput values. You can construct a concrete instance of `SchemeMapInput` via:

SchemeMap{ "key": SchemeArgs{...} }

type SchemeMapOutput

type SchemeMapOutput struct{ *pulumi.OutputState }

func (SchemeMapOutput) ElementType

func (SchemeMapOutput) ElementType() reflect.Type

func (SchemeMapOutput) MapIndex

func (SchemeMapOutput) ToSchemeMapOutput

func (o SchemeMapOutput) ToSchemeMapOutput() SchemeMapOutput

func (SchemeMapOutput) ToSchemeMapOutputWithContext

func (o SchemeMapOutput) ToSchemeMapOutputWithContext(ctx context.Context) SchemeMapOutput

type SchemeOutput

type SchemeOutput struct{ *pulumi.OutputState }

func (SchemeOutput) DomainController

func (o SchemeOutput) DomainController() pulumi.StringOutput

Domain controller setting.

func (SchemeOutput) DynamicSortSubtable

func (o SchemeOutput) 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 (SchemeOutput) ElementType

func (SchemeOutput) ElementType() reflect.Type

func (SchemeOutput) FssoAgentForNtlm

func (o SchemeOutput) FssoAgentForNtlm() pulumi.StringOutput

FSSO agent to use for NTLM authentication.

func (SchemeOutput) FssoGuest

func (o SchemeOutput) FssoGuest() pulumi.StringOutput

Enable/disable user fsso-guest authentication (default = disable). Valid values: `enable`, `disable`.

func (SchemeOutput) GetAllTables

func (o SchemeOutput) 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 (SchemeOutput) KerberosKeytab

func (o SchemeOutput) KerberosKeytab() pulumi.StringOutput

Kerberos keytab setting.

func (SchemeOutput) Method

func (o SchemeOutput) Method() pulumi.StringOutput

Authentication methods (default = basic).

func (SchemeOutput) Name

func (o SchemeOutput) Name() pulumi.StringOutput

Authentication scheme name.

func (SchemeOutput) NegotiateNtlm

func (o SchemeOutput) NegotiateNtlm() pulumi.StringOutput

Enable/disable negotiate authentication for NTLM (default = disable). Valid values: `enable`, `disable`.

func (SchemeOutput) RequireTfa

func (o SchemeOutput) RequireTfa() pulumi.StringOutput

Enable/disable two-factor authentication (default = disable). Valid values: `enable`, `disable`.

func (SchemeOutput) SamlServer

func (o SchemeOutput) SamlServer() pulumi.StringOutput

SAML configuration.

func (SchemeOutput) SamlTimeout

func (o SchemeOutput) SamlTimeout() pulumi.IntOutput

SAML authentication timeout in seconds.

func (SchemeOutput) SshCa

func (o SchemeOutput) SshCa() pulumi.StringOutput

SSH CA name.

func (SchemeOutput) ToSchemeOutput

func (o SchemeOutput) ToSchemeOutput() SchemeOutput

func (SchemeOutput) ToSchemeOutputWithContext

func (o SchemeOutput) ToSchemeOutputWithContext(ctx context.Context) SchemeOutput

func (SchemeOutput) UserCert

func (o SchemeOutput) UserCert() pulumi.StringOutput

Enable/disable authentication with user certificate (default = disable). Valid values: `enable`, `disable`.

func (SchemeOutput) UserDatabases

func (o SchemeOutput) UserDatabases() SchemeUserDatabaseArrayOutput

Authentication server to contain user information; "local" (default) or "123" (for LDAP). The structure of `userDatabase` block is documented below.

func (SchemeOutput) Vdomparam

func (o SchemeOutput) Vdomparam() pulumi.StringPtrOutput

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 SchemeState

type SchemeState struct {
	// Domain controller setting.
	DomainController 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
	// FSSO agent to use for NTLM authentication.
	FssoAgentForNtlm pulumi.StringPtrInput
	// Enable/disable user fsso-guest authentication (default = disable). Valid values: `enable`, `disable`.
	FssoGuest 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
	// Kerberos keytab setting.
	KerberosKeytab pulumi.StringPtrInput
	// Authentication methods (default = basic).
	Method pulumi.StringPtrInput
	// Authentication scheme name.
	Name pulumi.StringPtrInput
	// Enable/disable negotiate authentication for NTLM (default = disable). Valid values: `enable`, `disable`.
	NegotiateNtlm pulumi.StringPtrInput
	// Enable/disable two-factor authentication (default = disable). Valid values: `enable`, `disable`.
	RequireTfa pulumi.StringPtrInput
	// SAML configuration.
	SamlServer pulumi.StringPtrInput
	// SAML authentication timeout in seconds.
	SamlTimeout pulumi.IntPtrInput
	// SSH CA name.
	SshCa pulumi.StringPtrInput
	// Enable/disable authentication with user certificate (default = disable). Valid values: `enable`, `disable`.
	UserCert pulumi.StringPtrInput
	// Authentication server to contain user information; "local" (default) or "123" (for LDAP). The structure of `userDatabase` block is documented below.
	UserDatabases SchemeUserDatabaseArrayInput
	// 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 (SchemeState) ElementType

func (SchemeState) ElementType() reflect.Type

type SchemeUserDatabase

type SchemeUserDatabase struct {
	// Authentication server name.
	Name *string `pulumi:"name"`
}

type SchemeUserDatabaseArgs

type SchemeUserDatabaseArgs struct {
	// Authentication server name.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (SchemeUserDatabaseArgs) ElementType

func (SchemeUserDatabaseArgs) ElementType() reflect.Type

func (SchemeUserDatabaseArgs) ToSchemeUserDatabaseOutput

func (i SchemeUserDatabaseArgs) ToSchemeUserDatabaseOutput() SchemeUserDatabaseOutput

func (SchemeUserDatabaseArgs) ToSchemeUserDatabaseOutputWithContext

func (i SchemeUserDatabaseArgs) ToSchemeUserDatabaseOutputWithContext(ctx context.Context) SchemeUserDatabaseOutput

type SchemeUserDatabaseArray

type SchemeUserDatabaseArray []SchemeUserDatabaseInput

func (SchemeUserDatabaseArray) ElementType

func (SchemeUserDatabaseArray) ElementType() reflect.Type

func (SchemeUserDatabaseArray) ToSchemeUserDatabaseArrayOutput

func (i SchemeUserDatabaseArray) ToSchemeUserDatabaseArrayOutput() SchemeUserDatabaseArrayOutput

func (SchemeUserDatabaseArray) ToSchemeUserDatabaseArrayOutputWithContext

func (i SchemeUserDatabaseArray) ToSchemeUserDatabaseArrayOutputWithContext(ctx context.Context) SchemeUserDatabaseArrayOutput

type SchemeUserDatabaseArrayInput

type SchemeUserDatabaseArrayInput interface {
	pulumi.Input

	ToSchemeUserDatabaseArrayOutput() SchemeUserDatabaseArrayOutput
	ToSchemeUserDatabaseArrayOutputWithContext(context.Context) SchemeUserDatabaseArrayOutput
}

SchemeUserDatabaseArrayInput is an input type that accepts SchemeUserDatabaseArray and SchemeUserDatabaseArrayOutput values. You can construct a concrete instance of `SchemeUserDatabaseArrayInput` via:

SchemeUserDatabaseArray{ SchemeUserDatabaseArgs{...} }

type SchemeUserDatabaseArrayOutput

type SchemeUserDatabaseArrayOutput struct{ *pulumi.OutputState }

func (SchemeUserDatabaseArrayOutput) ElementType

func (SchemeUserDatabaseArrayOutput) Index

func (SchemeUserDatabaseArrayOutput) ToSchemeUserDatabaseArrayOutput

func (o SchemeUserDatabaseArrayOutput) ToSchemeUserDatabaseArrayOutput() SchemeUserDatabaseArrayOutput

func (SchemeUserDatabaseArrayOutput) ToSchemeUserDatabaseArrayOutputWithContext

func (o SchemeUserDatabaseArrayOutput) ToSchemeUserDatabaseArrayOutputWithContext(ctx context.Context) SchemeUserDatabaseArrayOutput

type SchemeUserDatabaseInput

type SchemeUserDatabaseInput interface {
	pulumi.Input

	ToSchemeUserDatabaseOutput() SchemeUserDatabaseOutput
	ToSchemeUserDatabaseOutputWithContext(context.Context) SchemeUserDatabaseOutput
}

SchemeUserDatabaseInput is an input type that accepts SchemeUserDatabaseArgs and SchemeUserDatabaseOutput values. You can construct a concrete instance of `SchemeUserDatabaseInput` via:

SchemeUserDatabaseArgs{...}

type SchemeUserDatabaseOutput

type SchemeUserDatabaseOutput struct{ *pulumi.OutputState }

func (SchemeUserDatabaseOutput) ElementType

func (SchemeUserDatabaseOutput) ElementType() reflect.Type

func (SchemeUserDatabaseOutput) Name

Authentication server name.

func (SchemeUserDatabaseOutput) ToSchemeUserDatabaseOutput

func (o SchemeUserDatabaseOutput) ToSchemeUserDatabaseOutput() SchemeUserDatabaseOutput

func (SchemeUserDatabaseOutput) ToSchemeUserDatabaseOutputWithContext

func (o SchemeUserDatabaseOutput) ToSchemeUserDatabaseOutputWithContext(ctx context.Context) SchemeUserDatabaseOutput

type Setting

type Setting struct {
	pulumi.CustomResourceState

	// Active authentication method (scheme name).
	ActiveAuthScheme pulumi.StringOutput `pulumi:"activeAuthScheme"`
	// Enable/disable redirecting HTTP user authentication to HTTPS. Valid values: `enable`, `disable`.
	AuthHttps pulumi.StringOutput `pulumi:"authHttps"`
	// Captive portal host name.
	CaptivePortal pulumi.StringOutput `pulumi:"captivePortal"`
	// IPv6 captive portal host name.
	CaptivePortal6 pulumi.StringOutput `pulumi:"captivePortal6"`
	// Captive portal IP address.
	CaptivePortalIp pulumi.StringOutput `pulumi:"captivePortalIp"`
	// Captive portal IPv6 address.
	CaptivePortalIp6 pulumi.StringOutput `pulumi:"captivePortalIp6"`
	// Captive portal port number (1 - 65535, default = 7830).
	CaptivePortalPort pulumi.IntOutput `pulumi:"captivePortalPort"`
	// Captive portal SSL port number (1 - 65535, default = 7831).
	CaptivePortalSslPort pulumi.IntOutput `pulumi:"captivePortalSslPort"`
	// Captive portal type. Valid values: `fqdn`, `ip`.
	CaptivePortalType pulumi.StringOutput `pulumi:"captivePortalType"`
	// Enable/disable redirecting certificate authentication to HTTPS portal. Valid values: `enable`, `disable`.
	CertAuth pulumi.StringOutput `pulumi:"certAuth"`
	// Certificate captive portal host name.
	CertCaptivePortal pulumi.StringOutput `pulumi:"certCaptivePortal"`
	// Certificate captive portal IP address.
	CertCaptivePortalIp pulumi.StringOutput `pulumi:"certCaptivePortalIp"`
	// Certificate captive portal port number (1 - 65535, default = 7832).
	CertCaptivePortalPort pulumi.IntOutput `pulumi:"certCaptivePortalPort"`
	// Persistent web portal cookie maximum age in minutes (30 - 10080 (1 week), default = 480 (8 hours)).
	CookieMaxAge pulumi.IntOutput `pulumi:"cookieMaxAge"`
	// Refresh rate divider of persistent web portal cookie (default = 2). Refresh value = cookie-max-age/cookie-refresh-div.
	CookieRefreshDiv pulumi.IntOutput `pulumi:"cookieRefreshDiv"`
	// Address range for the IP based device query. The structure of `devRange` block is documented below.
	DevRanges SettingDevRangeArrayOutput `pulumi:"devRanges"`
	// 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"`
	// 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"`
	// Enable/disable persistent cookie on IP based web portal authentication (default = disable). Valid values: `enable`, `disable`.
	IpAuthCookie pulumi.StringOutput `pulumi:"ipAuthCookie"`
	// Enable/disable persistent cookie on web portal authentication (default = enable). Valid values: `enable`, `disable`.
	PersistentCookie pulumi.StringOutput `pulumi:"persistentCookie"`
	// Single-Sign-On authentication method (scheme name).
	SsoAuthScheme pulumi.StringOutput `pulumi:"ssoAuthScheme"`
	// Time of the last update.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// CA certificate used for client certificate verification. The structure of `userCertCa` block is documented below.
	UserCertCas SettingUserCertCaArrayOutput `pulumi:"userCertCas"`
	// 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 authentication setting.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := authentication.NewSetting(ctx, "trname", &authentication.SettingArgs{
			AuthHttps:            pulumi.String("enable"),
			CaptivePortalIp:      pulumi.String("0.0.0.0"),
			CaptivePortalIp6:     pulumi.String("::"),
			CaptivePortalPort:    pulumi.Int(7830),
			CaptivePortalSslPort: pulumi.Int(7831),
			CaptivePortalType:    pulumi.String("fqdn"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Authentication Setting can be imported using any of these accepted formats:

```sh $ pulumi import fortios:authentication/setting:Setting labelname AuthenticationSetting ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:authentication/setting:Setting labelname AuthenticationSetting ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetSetting

func GetSetting(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SettingState, opts ...pulumi.ResourceOption) (*Setting, error)

GetSetting gets an existing Setting 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 NewSetting

func NewSetting(ctx *pulumi.Context,
	name string, args *SettingArgs, opts ...pulumi.ResourceOption) (*Setting, error)

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

func (*Setting) ElementType

func (*Setting) ElementType() reflect.Type

func (*Setting) ToSettingOutput

func (i *Setting) ToSettingOutput() SettingOutput

func (*Setting) ToSettingOutputWithContext

func (i *Setting) ToSettingOutputWithContext(ctx context.Context) SettingOutput

type SettingArgs

type SettingArgs struct {
	// Active authentication method (scheme name).
	ActiveAuthScheme pulumi.StringPtrInput
	// Enable/disable redirecting HTTP user authentication to HTTPS. Valid values: `enable`, `disable`.
	AuthHttps pulumi.StringPtrInput
	// Captive portal host name.
	CaptivePortal pulumi.StringPtrInput
	// IPv6 captive portal host name.
	CaptivePortal6 pulumi.StringPtrInput
	// Captive portal IP address.
	CaptivePortalIp pulumi.StringPtrInput
	// Captive portal IPv6 address.
	CaptivePortalIp6 pulumi.StringPtrInput
	// Captive portal port number (1 - 65535, default = 7830).
	CaptivePortalPort pulumi.IntPtrInput
	// Captive portal SSL port number (1 - 65535, default = 7831).
	CaptivePortalSslPort pulumi.IntPtrInput
	// Captive portal type. Valid values: `fqdn`, `ip`.
	CaptivePortalType pulumi.StringPtrInput
	// Enable/disable redirecting certificate authentication to HTTPS portal. Valid values: `enable`, `disable`.
	CertAuth pulumi.StringPtrInput
	// Certificate captive portal host name.
	CertCaptivePortal pulumi.StringPtrInput
	// Certificate captive portal IP address.
	CertCaptivePortalIp pulumi.StringPtrInput
	// Certificate captive portal port number (1 - 65535, default = 7832).
	CertCaptivePortalPort pulumi.IntPtrInput
	// Persistent web portal cookie maximum age in minutes (30 - 10080 (1 week), default = 480 (8 hours)).
	CookieMaxAge pulumi.IntPtrInput
	// Refresh rate divider of persistent web portal cookie (default = 2). Refresh value = cookie-max-age/cookie-refresh-div.
	CookieRefreshDiv pulumi.IntPtrInput
	// Address range for the IP based device query. The structure of `devRange` block is documented below.
	DevRanges SettingDevRangeArrayInput
	// 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
	// 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
	// Enable/disable persistent cookie on IP based web portal authentication (default = disable). Valid values: `enable`, `disable`.
	IpAuthCookie pulumi.StringPtrInput
	// Enable/disable persistent cookie on web portal authentication (default = enable). Valid values: `enable`, `disable`.
	PersistentCookie pulumi.StringPtrInput
	// Single-Sign-On authentication method (scheme name).
	SsoAuthScheme pulumi.StringPtrInput
	// Time of the last update.
	UpdateTime pulumi.StringPtrInput
	// CA certificate used for client certificate verification. The structure of `userCertCa` block is documented below.
	UserCertCas SettingUserCertCaArrayInput
	// 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 Setting resource.

func (SettingArgs) ElementType

func (SettingArgs) ElementType() reflect.Type

type SettingArray

type SettingArray []SettingInput

func (SettingArray) ElementType

func (SettingArray) ElementType() reflect.Type

func (SettingArray) ToSettingArrayOutput

func (i SettingArray) ToSettingArrayOutput() SettingArrayOutput

func (SettingArray) ToSettingArrayOutputWithContext

func (i SettingArray) ToSettingArrayOutputWithContext(ctx context.Context) SettingArrayOutput

type SettingArrayInput

type SettingArrayInput interface {
	pulumi.Input

	ToSettingArrayOutput() SettingArrayOutput
	ToSettingArrayOutputWithContext(context.Context) SettingArrayOutput
}

SettingArrayInput is an input type that accepts SettingArray and SettingArrayOutput values. You can construct a concrete instance of `SettingArrayInput` via:

SettingArray{ SettingArgs{...} }

type SettingArrayOutput

type SettingArrayOutput struct{ *pulumi.OutputState }

func (SettingArrayOutput) ElementType

func (SettingArrayOutput) ElementType() reflect.Type

func (SettingArrayOutput) Index

func (SettingArrayOutput) ToSettingArrayOutput

func (o SettingArrayOutput) ToSettingArrayOutput() SettingArrayOutput

func (SettingArrayOutput) ToSettingArrayOutputWithContext

func (o SettingArrayOutput) ToSettingArrayOutputWithContext(ctx context.Context) SettingArrayOutput

type SettingDevRange

type SettingDevRange struct {
	// Address name.
	Name *string `pulumi:"name"`
}

type SettingDevRangeArgs

type SettingDevRangeArgs struct {
	// Address name.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (SettingDevRangeArgs) ElementType

func (SettingDevRangeArgs) ElementType() reflect.Type

func (SettingDevRangeArgs) ToSettingDevRangeOutput

func (i SettingDevRangeArgs) ToSettingDevRangeOutput() SettingDevRangeOutput

func (SettingDevRangeArgs) ToSettingDevRangeOutputWithContext

func (i SettingDevRangeArgs) ToSettingDevRangeOutputWithContext(ctx context.Context) SettingDevRangeOutput

type SettingDevRangeArray

type SettingDevRangeArray []SettingDevRangeInput

func (SettingDevRangeArray) ElementType

func (SettingDevRangeArray) ElementType() reflect.Type

func (SettingDevRangeArray) ToSettingDevRangeArrayOutput

func (i SettingDevRangeArray) ToSettingDevRangeArrayOutput() SettingDevRangeArrayOutput

func (SettingDevRangeArray) ToSettingDevRangeArrayOutputWithContext

func (i SettingDevRangeArray) ToSettingDevRangeArrayOutputWithContext(ctx context.Context) SettingDevRangeArrayOutput

type SettingDevRangeArrayInput

type SettingDevRangeArrayInput interface {
	pulumi.Input

	ToSettingDevRangeArrayOutput() SettingDevRangeArrayOutput
	ToSettingDevRangeArrayOutputWithContext(context.Context) SettingDevRangeArrayOutput
}

SettingDevRangeArrayInput is an input type that accepts SettingDevRangeArray and SettingDevRangeArrayOutput values. You can construct a concrete instance of `SettingDevRangeArrayInput` via:

SettingDevRangeArray{ SettingDevRangeArgs{...} }

type SettingDevRangeArrayOutput

type SettingDevRangeArrayOutput struct{ *pulumi.OutputState }

func (SettingDevRangeArrayOutput) ElementType

func (SettingDevRangeArrayOutput) ElementType() reflect.Type

func (SettingDevRangeArrayOutput) Index

func (SettingDevRangeArrayOutput) ToSettingDevRangeArrayOutput

func (o SettingDevRangeArrayOutput) ToSettingDevRangeArrayOutput() SettingDevRangeArrayOutput

func (SettingDevRangeArrayOutput) ToSettingDevRangeArrayOutputWithContext

func (o SettingDevRangeArrayOutput) ToSettingDevRangeArrayOutputWithContext(ctx context.Context) SettingDevRangeArrayOutput

type SettingDevRangeInput

type SettingDevRangeInput interface {
	pulumi.Input

	ToSettingDevRangeOutput() SettingDevRangeOutput
	ToSettingDevRangeOutputWithContext(context.Context) SettingDevRangeOutput
}

SettingDevRangeInput is an input type that accepts SettingDevRangeArgs and SettingDevRangeOutput values. You can construct a concrete instance of `SettingDevRangeInput` via:

SettingDevRangeArgs{...}

type SettingDevRangeOutput

type SettingDevRangeOutput struct{ *pulumi.OutputState }

func (SettingDevRangeOutput) ElementType

func (SettingDevRangeOutput) ElementType() reflect.Type

func (SettingDevRangeOutput) Name

Address name.

func (SettingDevRangeOutput) ToSettingDevRangeOutput

func (o SettingDevRangeOutput) ToSettingDevRangeOutput() SettingDevRangeOutput

func (SettingDevRangeOutput) ToSettingDevRangeOutputWithContext

func (o SettingDevRangeOutput) ToSettingDevRangeOutputWithContext(ctx context.Context) SettingDevRangeOutput

type SettingInput

type SettingInput interface {
	pulumi.Input

	ToSettingOutput() SettingOutput
	ToSettingOutputWithContext(ctx context.Context) SettingOutput
}

type SettingMap

type SettingMap map[string]SettingInput

func (SettingMap) ElementType

func (SettingMap) ElementType() reflect.Type

func (SettingMap) ToSettingMapOutput

func (i SettingMap) ToSettingMapOutput() SettingMapOutput

func (SettingMap) ToSettingMapOutputWithContext

func (i SettingMap) ToSettingMapOutputWithContext(ctx context.Context) SettingMapOutput

type SettingMapInput

type SettingMapInput interface {
	pulumi.Input

	ToSettingMapOutput() SettingMapOutput
	ToSettingMapOutputWithContext(context.Context) SettingMapOutput
}

SettingMapInput is an input type that accepts SettingMap and SettingMapOutput values. You can construct a concrete instance of `SettingMapInput` via:

SettingMap{ "key": SettingArgs{...} }

type SettingMapOutput

type SettingMapOutput struct{ *pulumi.OutputState }

func (SettingMapOutput) ElementType

func (SettingMapOutput) ElementType() reflect.Type

func (SettingMapOutput) MapIndex

func (SettingMapOutput) ToSettingMapOutput

func (o SettingMapOutput) ToSettingMapOutput() SettingMapOutput

func (SettingMapOutput) ToSettingMapOutputWithContext

func (o SettingMapOutput) ToSettingMapOutputWithContext(ctx context.Context) SettingMapOutput

type SettingOutput

type SettingOutput struct{ *pulumi.OutputState }

func (SettingOutput) ActiveAuthScheme

func (o SettingOutput) ActiveAuthScheme() pulumi.StringOutput

Active authentication method (scheme name).

func (SettingOutput) AuthHttps

func (o SettingOutput) AuthHttps() pulumi.StringOutput

Enable/disable redirecting HTTP user authentication to HTTPS. Valid values: `enable`, `disable`.

func (SettingOutput) CaptivePortal

func (o SettingOutput) CaptivePortal() pulumi.StringOutput

Captive portal host name.

func (SettingOutput) CaptivePortal6

func (o SettingOutput) CaptivePortal6() pulumi.StringOutput

IPv6 captive portal host name.

func (SettingOutput) CaptivePortalIp

func (o SettingOutput) CaptivePortalIp() pulumi.StringOutput

Captive portal IP address.

func (SettingOutput) CaptivePortalIp6

func (o SettingOutput) CaptivePortalIp6() pulumi.StringOutput

Captive portal IPv6 address.

func (SettingOutput) CaptivePortalPort

func (o SettingOutput) CaptivePortalPort() pulumi.IntOutput

Captive portal port number (1 - 65535, default = 7830).

func (SettingOutput) CaptivePortalSslPort

func (o SettingOutput) CaptivePortalSslPort() pulumi.IntOutput

Captive portal SSL port number (1 - 65535, default = 7831).

func (SettingOutput) CaptivePortalType

func (o SettingOutput) CaptivePortalType() pulumi.StringOutput

Captive portal type. Valid values: `fqdn`, `ip`.

func (SettingOutput) CertAuth

func (o SettingOutput) CertAuth() pulumi.StringOutput

Enable/disable redirecting certificate authentication to HTTPS portal. Valid values: `enable`, `disable`.

func (SettingOutput) CertCaptivePortal

func (o SettingOutput) CertCaptivePortal() pulumi.StringOutput

Certificate captive portal host name.

func (SettingOutput) CertCaptivePortalIp

func (o SettingOutput) CertCaptivePortalIp() pulumi.StringOutput

Certificate captive portal IP address.

func (SettingOutput) CertCaptivePortalPort

func (o SettingOutput) CertCaptivePortalPort() pulumi.IntOutput

Certificate captive portal port number (1 - 65535, default = 7832).

func (SettingOutput) CookieMaxAge

func (o SettingOutput) CookieMaxAge() pulumi.IntOutput

Persistent web portal cookie maximum age in minutes (30 - 10080 (1 week), default = 480 (8 hours)).

func (SettingOutput) CookieRefreshDiv

func (o SettingOutput) CookieRefreshDiv() pulumi.IntOutput

Refresh rate divider of persistent web portal cookie (default = 2). Refresh value = cookie-max-age/cookie-refresh-div.

func (SettingOutput) DevRanges

Address range for the IP based device query. The structure of `devRange` block is documented below.

func (SettingOutput) DynamicSortSubtable

func (o SettingOutput) 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 (SettingOutput) ElementType

func (SettingOutput) ElementType() reflect.Type

func (SettingOutput) GetAllTables

func (o SettingOutput) 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 (SettingOutput) IpAuthCookie

func (o SettingOutput) IpAuthCookie() pulumi.StringOutput

Enable/disable persistent cookie on IP based web portal authentication (default = disable). Valid values: `enable`, `disable`.

func (SettingOutput) PersistentCookie

func (o SettingOutput) PersistentCookie() pulumi.StringOutput

Enable/disable persistent cookie on web portal authentication (default = enable). Valid values: `enable`, `disable`.

func (SettingOutput) SsoAuthScheme

func (o SettingOutput) SsoAuthScheme() pulumi.StringOutput

Single-Sign-On authentication method (scheme name).

func (SettingOutput) ToSettingOutput

func (o SettingOutput) ToSettingOutput() SettingOutput

func (SettingOutput) ToSettingOutputWithContext

func (o SettingOutput) ToSettingOutputWithContext(ctx context.Context) SettingOutput

func (SettingOutput) UpdateTime

func (o SettingOutput) UpdateTime() pulumi.StringOutput

Time of the last update.

func (SettingOutput) UserCertCas

CA certificate used for client certificate verification. The structure of `userCertCa` block is documented below.

func (SettingOutput) Vdomparam

func (o SettingOutput) Vdomparam() pulumi.StringPtrOutput

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 SettingState

type SettingState struct {
	// Active authentication method (scheme name).
	ActiveAuthScheme pulumi.StringPtrInput
	// Enable/disable redirecting HTTP user authentication to HTTPS. Valid values: `enable`, `disable`.
	AuthHttps pulumi.StringPtrInput
	// Captive portal host name.
	CaptivePortal pulumi.StringPtrInput
	// IPv6 captive portal host name.
	CaptivePortal6 pulumi.StringPtrInput
	// Captive portal IP address.
	CaptivePortalIp pulumi.StringPtrInput
	// Captive portal IPv6 address.
	CaptivePortalIp6 pulumi.StringPtrInput
	// Captive portal port number (1 - 65535, default = 7830).
	CaptivePortalPort pulumi.IntPtrInput
	// Captive portal SSL port number (1 - 65535, default = 7831).
	CaptivePortalSslPort pulumi.IntPtrInput
	// Captive portal type. Valid values: `fqdn`, `ip`.
	CaptivePortalType pulumi.StringPtrInput
	// Enable/disable redirecting certificate authentication to HTTPS portal. Valid values: `enable`, `disable`.
	CertAuth pulumi.StringPtrInput
	// Certificate captive portal host name.
	CertCaptivePortal pulumi.StringPtrInput
	// Certificate captive portal IP address.
	CertCaptivePortalIp pulumi.StringPtrInput
	// Certificate captive portal port number (1 - 65535, default = 7832).
	CertCaptivePortalPort pulumi.IntPtrInput
	// Persistent web portal cookie maximum age in minutes (30 - 10080 (1 week), default = 480 (8 hours)).
	CookieMaxAge pulumi.IntPtrInput
	// Refresh rate divider of persistent web portal cookie (default = 2). Refresh value = cookie-max-age/cookie-refresh-div.
	CookieRefreshDiv pulumi.IntPtrInput
	// Address range for the IP based device query. The structure of `devRange` block is documented below.
	DevRanges SettingDevRangeArrayInput
	// 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
	// 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
	// Enable/disable persistent cookie on IP based web portal authentication (default = disable). Valid values: `enable`, `disable`.
	IpAuthCookie pulumi.StringPtrInput
	// Enable/disable persistent cookie on web portal authentication (default = enable). Valid values: `enable`, `disable`.
	PersistentCookie pulumi.StringPtrInput
	// Single-Sign-On authentication method (scheme name).
	SsoAuthScheme pulumi.StringPtrInput
	// Time of the last update.
	UpdateTime pulumi.StringPtrInput
	// CA certificate used for client certificate verification. The structure of `userCertCa` block is documented below.
	UserCertCas SettingUserCertCaArrayInput
	// 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 (SettingState) ElementType

func (SettingState) ElementType() reflect.Type

type SettingUserCertCa

type SettingUserCertCa struct {
	// CA certificate list.
	Name *string `pulumi:"name"`
}

type SettingUserCertCaArgs

type SettingUserCertCaArgs struct {
	// CA certificate list.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (SettingUserCertCaArgs) ElementType

func (SettingUserCertCaArgs) ElementType() reflect.Type

func (SettingUserCertCaArgs) ToSettingUserCertCaOutput

func (i SettingUserCertCaArgs) ToSettingUserCertCaOutput() SettingUserCertCaOutput

func (SettingUserCertCaArgs) ToSettingUserCertCaOutputWithContext

func (i SettingUserCertCaArgs) ToSettingUserCertCaOutputWithContext(ctx context.Context) SettingUserCertCaOutput

type SettingUserCertCaArray

type SettingUserCertCaArray []SettingUserCertCaInput

func (SettingUserCertCaArray) ElementType

func (SettingUserCertCaArray) ElementType() reflect.Type

func (SettingUserCertCaArray) ToSettingUserCertCaArrayOutput

func (i SettingUserCertCaArray) ToSettingUserCertCaArrayOutput() SettingUserCertCaArrayOutput

func (SettingUserCertCaArray) ToSettingUserCertCaArrayOutputWithContext

func (i SettingUserCertCaArray) ToSettingUserCertCaArrayOutputWithContext(ctx context.Context) SettingUserCertCaArrayOutput

type SettingUserCertCaArrayInput

type SettingUserCertCaArrayInput interface {
	pulumi.Input

	ToSettingUserCertCaArrayOutput() SettingUserCertCaArrayOutput
	ToSettingUserCertCaArrayOutputWithContext(context.Context) SettingUserCertCaArrayOutput
}

SettingUserCertCaArrayInput is an input type that accepts SettingUserCertCaArray and SettingUserCertCaArrayOutput values. You can construct a concrete instance of `SettingUserCertCaArrayInput` via:

SettingUserCertCaArray{ SettingUserCertCaArgs{...} }

type SettingUserCertCaArrayOutput

type SettingUserCertCaArrayOutput struct{ *pulumi.OutputState }

func (SettingUserCertCaArrayOutput) ElementType

func (SettingUserCertCaArrayOutput) Index

func (SettingUserCertCaArrayOutput) ToSettingUserCertCaArrayOutput

func (o SettingUserCertCaArrayOutput) ToSettingUserCertCaArrayOutput() SettingUserCertCaArrayOutput

func (SettingUserCertCaArrayOutput) ToSettingUserCertCaArrayOutputWithContext

func (o SettingUserCertCaArrayOutput) ToSettingUserCertCaArrayOutputWithContext(ctx context.Context) SettingUserCertCaArrayOutput

type SettingUserCertCaInput

type SettingUserCertCaInput interface {
	pulumi.Input

	ToSettingUserCertCaOutput() SettingUserCertCaOutput
	ToSettingUserCertCaOutputWithContext(context.Context) SettingUserCertCaOutput
}

SettingUserCertCaInput is an input type that accepts SettingUserCertCaArgs and SettingUserCertCaOutput values. You can construct a concrete instance of `SettingUserCertCaInput` via:

SettingUserCertCaArgs{...}

type SettingUserCertCaOutput

type SettingUserCertCaOutput struct{ *pulumi.OutputState }

func (SettingUserCertCaOutput) ElementType

func (SettingUserCertCaOutput) ElementType() reflect.Type

func (SettingUserCertCaOutput) Name

CA certificate list.

func (SettingUserCertCaOutput) ToSettingUserCertCaOutput

func (o SettingUserCertCaOutput) ToSettingUserCertCaOutput() SettingUserCertCaOutput

func (SettingUserCertCaOutput) ToSettingUserCertCaOutputWithContext

func (o SettingUserCertCaOutput) ToSettingUserCertCaOutputWithContext(ctx context.Context) SettingUserCertCaOutput

Jump to

Keyboard shortcuts

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