icap

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 Profile

type Profile struct {
	pulumi.CustomResourceState

	// Enable/disable chunked encapsulation (default = disable). Valid values: `disable`, `enable`.
	ChunkEncap pulumi.StringOutput `pulumi:"chunkEncap"`
	// Comment.
	Comment pulumi.StringPtrOutput `pulumi:"comment"`
	// 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 ICAP extension features. Valid values: `scan-progress`.
	ExtensionFeature pulumi.StringOutput `pulumi:"extensionFeature"`
	// Configure the file transfer protocols to pass transferred files to an ICAP server as REQMOD. Valid values: `ssh`, `ftp`.
	FileTransfer pulumi.StringOutput `pulumi:"fileTransfer"`
	// Action to take if the ICAP server cannot be contacted when processing a file transfer. Valid values: `error`, `bypass`.
	FileTransferFailure pulumi.StringOutput `pulumi:"fileTransferFailure"`
	// Path component of the ICAP URI that identifies the file transfer processing service.
	FileTransferPath pulumi.StringOutput `pulumi:"fileTransferPath"`
	// ICAP server to use for a file transfer.
	FileTransferServer pulumi.StringOutput `pulumi:"fileTransferServer"`
	// 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 UTM log when infection found (default = disable). Valid values: `disable`, `enable`.
	IcapBlockLog pulumi.StringOutput `pulumi:"icapBlockLog"`
	// Configure ICAP forwarded request headers. The structure of `icapHeaders` block is documented below.
	IcapHeaders ProfileIcapHeaderArrayOutput `pulumi:"icapHeaders"`
	// The allowed HTTP methods that will be sent to ICAP server for further processing.
	Methods pulumi.StringOutput `pulumi:"methods"`
	// Enable/disable allowance of 204 response from ICAP server. Valid values: `disable`, `enable`.
	N204Response pulumi.StringOutput `pulumi:"n204Response"`
	// 204 response size limit to be saved by ICAP client in megabytes (1 - 10, default = 1 MB).
	N204SizeLimit pulumi.IntOutput `pulumi:"n204SizeLimit"`
	// ICAP profile name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Enable/disable preview of data to ICAP server. Valid values: `disable`, `enable`.
	Preview pulumi.StringOutput `pulumi:"preview"`
	// Preview data length to be sent to ICAP server.
	PreviewDataLength pulumi.IntOutput `pulumi:"previewDataLength"`
	// Replacement message group.
	ReplacemsgGroup pulumi.StringOutput `pulumi:"replacemsgGroup"`
	// Enable/disable whether an HTTP request is passed to an ICAP server. Valid values: `disable`, `enable`.
	Request pulumi.StringOutput `pulumi:"request"`
	// Action to take if the ICAP server cannot be contacted when processing an HTTP request. Valid values: `error`, `bypass`.
	RequestFailure pulumi.StringOutput `pulumi:"requestFailure"`
	// Path component of the ICAP URI that identifies the HTTP request processing service.
	RequestPath pulumi.StringOutput `pulumi:"requestPath"`
	// ICAP server to use for an HTTP request.
	RequestServer pulumi.StringOutput `pulumi:"requestServer"`
	// Default action to ICAP response modification (respmod) processing. Valid values: `forward`, `bypass`.
	RespmodDefaultAction pulumi.StringOutput `pulumi:"respmodDefaultAction"`
	// ICAP response mode forward rules. The structure of `respmodForwardRules` block is documented below.
	RespmodForwardRules ProfileRespmodForwardRuleArrayOutput `pulumi:"respmodForwardRules"`
	// Enable/disable whether an HTTP response is passed to an ICAP server. Valid values: `disable`, `enable`.
	Response pulumi.StringOutput `pulumi:"response"`
	// Action to take if the ICAP server cannot be contacted when processing an HTTP response. Valid values: `error`, `bypass`.
	ResponseFailure pulumi.StringOutput `pulumi:"responseFailure"`
	// Path component of the ICAP URI that identifies the HTTP response processing service.
	ResponsePath pulumi.StringOutput `pulumi:"responsePath"`
	// Enable/disable addition of req-hdr for ICAP response modification (respmod) processing. Valid values: `disable`, `enable`.
	ResponseReqHdr pulumi.StringOutput `pulumi:"responseReqHdr"`
	// ICAP server to use for an HTTP response.
	ResponseServer pulumi.StringOutput `pulumi:"responseServer"`
	// Scan progress interval value.
	ScanProgressInterval pulumi.IntOutput `pulumi:"scanProgressInterval"`
	// Enable/disable bypassing of ICAP server for streaming content. Valid values: `disable`, `enable`.
	StreamingContentBypass pulumi.StringOutput `pulumi:"streamingContentBypass"`
	// Time (in seconds) that ICAP client waits for the response from ICAP server.
	Timeout pulumi.IntOutput `pulumi:"timeout"`
	// 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 ICAP profiles.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := icap.NewProfile(ctx, "trname", &icap.ProfileArgs{
			IcapHeaders: icap.ProfileIcapHeaderArray{
				&icap.ProfileIcapHeaderArgs{
					Base64Encoding: pulumi.String("disable"),
					Content:        pulumi.String("$user"),
					Name:           pulumi.String("X-Authenticated-User"),
				},
			},
			Methods:                pulumi.String("delete get head options post put trace other"),
			Request:                pulumi.String("disable"),
			RequestFailure:         pulumi.String("error"),
			Response:               pulumi.String("disable"),
			ResponseFailure:        pulumi.String("error"),
			ResponseReqHdr:         pulumi.String("disable"),
			StreamingContentBypass: pulumi.String("disable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Icap Profile can be imported using any of these accepted formats:

```sh $ pulumi import fortios:icap/profile:Profile labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:icap/profile:Profile labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetProfile

func GetProfile(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProfileState, opts ...pulumi.ResourceOption) (*Profile, error)

GetProfile gets an existing Profile 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 NewProfile

func NewProfile(ctx *pulumi.Context,
	name string, args *ProfileArgs, opts ...pulumi.ResourceOption) (*Profile, error)

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

func (*Profile) ElementType

func (*Profile) ElementType() reflect.Type

func (*Profile) ToProfileOutput

func (i *Profile) ToProfileOutput() ProfileOutput

func (*Profile) ToProfileOutputWithContext

func (i *Profile) ToProfileOutputWithContext(ctx context.Context) ProfileOutput

type ProfileArgs

type ProfileArgs struct {
	// Enable/disable chunked encapsulation (default = disable). Valid values: `disable`, `enable`.
	ChunkEncap pulumi.StringPtrInput
	// Comment.
	Comment 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 ICAP extension features. Valid values: `scan-progress`.
	ExtensionFeature pulumi.StringPtrInput
	// Configure the file transfer protocols to pass transferred files to an ICAP server as REQMOD. Valid values: `ssh`, `ftp`.
	FileTransfer pulumi.StringPtrInput
	// Action to take if the ICAP server cannot be contacted when processing a file transfer. Valid values: `error`, `bypass`.
	FileTransferFailure pulumi.StringPtrInput
	// Path component of the ICAP URI that identifies the file transfer processing service.
	FileTransferPath pulumi.StringPtrInput
	// ICAP server to use for a file transfer.
	FileTransferServer 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 UTM log when infection found (default = disable). Valid values: `disable`, `enable`.
	IcapBlockLog pulumi.StringPtrInput
	// Configure ICAP forwarded request headers. The structure of `icapHeaders` block is documented below.
	IcapHeaders ProfileIcapHeaderArrayInput
	// The allowed HTTP methods that will be sent to ICAP server for further processing.
	Methods pulumi.StringPtrInput
	// Enable/disable allowance of 204 response from ICAP server. Valid values: `disable`, `enable`.
	N204Response pulumi.StringPtrInput
	// 204 response size limit to be saved by ICAP client in megabytes (1 - 10, default = 1 MB).
	N204SizeLimit pulumi.IntPtrInput
	// ICAP profile name.
	Name pulumi.StringPtrInput
	// Enable/disable preview of data to ICAP server. Valid values: `disable`, `enable`.
	Preview pulumi.StringPtrInput
	// Preview data length to be sent to ICAP server.
	PreviewDataLength pulumi.IntPtrInput
	// Replacement message group.
	ReplacemsgGroup pulumi.StringPtrInput
	// Enable/disable whether an HTTP request is passed to an ICAP server. Valid values: `disable`, `enable`.
	Request pulumi.StringPtrInput
	// Action to take if the ICAP server cannot be contacted when processing an HTTP request. Valid values: `error`, `bypass`.
	RequestFailure pulumi.StringPtrInput
	// Path component of the ICAP URI that identifies the HTTP request processing service.
	RequestPath pulumi.StringPtrInput
	// ICAP server to use for an HTTP request.
	RequestServer pulumi.StringPtrInput
	// Default action to ICAP response modification (respmod) processing. Valid values: `forward`, `bypass`.
	RespmodDefaultAction pulumi.StringPtrInput
	// ICAP response mode forward rules. The structure of `respmodForwardRules` block is documented below.
	RespmodForwardRules ProfileRespmodForwardRuleArrayInput
	// Enable/disable whether an HTTP response is passed to an ICAP server. Valid values: `disable`, `enable`.
	Response pulumi.StringPtrInput
	// Action to take if the ICAP server cannot be contacted when processing an HTTP response. Valid values: `error`, `bypass`.
	ResponseFailure pulumi.StringPtrInput
	// Path component of the ICAP URI that identifies the HTTP response processing service.
	ResponsePath pulumi.StringPtrInput
	// Enable/disable addition of req-hdr for ICAP response modification (respmod) processing. Valid values: `disable`, `enable`.
	ResponseReqHdr pulumi.StringPtrInput
	// ICAP server to use for an HTTP response.
	ResponseServer pulumi.StringPtrInput
	// Scan progress interval value.
	ScanProgressInterval pulumi.IntPtrInput
	// Enable/disable bypassing of ICAP server for streaming content. Valid values: `disable`, `enable`.
	StreamingContentBypass pulumi.StringPtrInput
	// Time (in seconds) that ICAP client waits for the response from ICAP server.
	Timeout pulumi.IntPtrInput
	// 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 Profile resource.

func (ProfileArgs) ElementType

func (ProfileArgs) ElementType() reflect.Type

type ProfileArray

type ProfileArray []ProfileInput

func (ProfileArray) ElementType

func (ProfileArray) ElementType() reflect.Type

func (ProfileArray) ToProfileArrayOutput

func (i ProfileArray) ToProfileArrayOutput() ProfileArrayOutput

func (ProfileArray) ToProfileArrayOutputWithContext

func (i ProfileArray) ToProfileArrayOutputWithContext(ctx context.Context) ProfileArrayOutput

type ProfileArrayInput

type ProfileArrayInput interface {
	pulumi.Input

	ToProfileArrayOutput() ProfileArrayOutput
	ToProfileArrayOutputWithContext(context.Context) ProfileArrayOutput
}

ProfileArrayInput is an input type that accepts ProfileArray and ProfileArrayOutput values. You can construct a concrete instance of `ProfileArrayInput` via:

ProfileArray{ ProfileArgs{...} }

type ProfileArrayOutput

type ProfileArrayOutput struct{ *pulumi.OutputState }

func (ProfileArrayOutput) ElementType

func (ProfileArrayOutput) ElementType() reflect.Type

func (ProfileArrayOutput) Index

func (ProfileArrayOutput) ToProfileArrayOutput

func (o ProfileArrayOutput) ToProfileArrayOutput() ProfileArrayOutput

func (ProfileArrayOutput) ToProfileArrayOutputWithContext

func (o ProfileArrayOutput) ToProfileArrayOutputWithContext(ctx context.Context) ProfileArrayOutput

type ProfileIcapHeader

type ProfileIcapHeader struct {
	// Enable/disable use of base64 encoding of HTTP content. Valid values: `disable`, `enable`.
	Base64Encoding *string `pulumi:"base64Encoding"`
	// HTTP header content.
	Content *string `pulumi:"content"`
	// HTTP forwarded header ID.
	Id *int `pulumi:"id"`
	// HTTP forwarded header name.
	Name *string `pulumi:"name"`
}

type ProfileIcapHeaderArgs

type ProfileIcapHeaderArgs struct {
	// Enable/disable use of base64 encoding of HTTP content. Valid values: `disable`, `enable`.
	Base64Encoding pulumi.StringPtrInput `pulumi:"base64Encoding"`
	// HTTP header content.
	Content pulumi.StringPtrInput `pulumi:"content"`
	// HTTP forwarded header ID.
	Id pulumi.IntPtrInput `pulumi:"id"`
	// HTTP forwarded header name.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (ProfileIcapHeaderArgs) ElementType

func (ProfileIcapHeaderArgs) ElementType() reflect.Type

func (ProfileIcapHeaderArgs) ToProfileIcapHeaderOutput

func (i ProfileIcapHeaderArgs) ToProfileIcapHeaderOutput() ProfileIcapHeaderOutput

func (ProfileIcapHeaderArgs) ToProfileIcapHeaderOutputWithContext

func (i ProfileIcapHeaderArgs) ToProfileIcapHeaderOutputWithContext(ctx context.Context) ProfileIcapHeaderOutput

type ProfileIcapHeaderArray

type ProfileIcapHeaderArray []ProfileIcapHeaderInput

func (ProfileIcapHeaderArray) ElementType

func (ProfileIcapHeaderArray) ElementType() reflect.Type

func (ProfileIcapHeaderArray) ToProfileIcapHeaderArrayOutput

func (i ProfileIcapHeaderArray) ToProfileIcapHeaderArrayOutput() ProfileIcapHeaderArrayOutput

func (ProfileIcapHeaderArray) ToProfileIcapHeaderArrayOutputWithContext

func (i ProfileIcapHeaderArray) ToProfileIcapHeaderArrayOutputWithContext(ctx context.Context) ProfileIcapHeaderArrayOutput

type ProfileIcapHeaderArrayInput

type ProfileIcapHeaderArrayInput interface {
	pulumi.Input

	ToProfileIcapHeaderArrayOutput() ProfileIcapHeaderArrayOutput
	ToProfileIcapHeaderArrayOutputWithContext(context.Context) ProfileIcapHeaderArrayOutput
}

ProfileIcapHeaderArrayInput is an input type that accepts ProfileIcapHeaderArray and ProfileIcapHeaderArrayOutput values. You can construct a concrete instance of `ProfileIcapHeaderArrayInput` via:

ProfileIcapHeaderArray{ ProfileIcapHeaderArgs{...} }

type ProfileIcapHeaderArrayOutput

type ProfileIcapHeaderArrayOutput struct{ *pulumi.OutputState }

func (ProfileIcapHeaderArrayOutput) ElementType

func (ProfileIcapHeaderArrayOutput) Index

func (ProfileIcapHeaderArrayOutput) ToProfileIcapHeaderArrayOutput

func (o ProfileIcapHeaderArrayOutput) ToProfileIcapHeaderArrayOutput() ProfileIcapHeaderArrayOutput

func (ProfileIcapHeaderArrayOutput) ToProfileIcapHeaderArrayOutputWithContext

func (o ProfileIcapHeaderArrayOutput) ToProfileIcapHeaderArrayOutputWithContext(ctx context.Context) ProfileIcapHeaderArrayOutput

type ProfileIcapHeaderInput

type ProfileIcapHeaderInput interface {
	pulumi.Input

	ToProfileIcapHeaderOutput() ProfileIcapHeaderOutput
	ToProfileIcapHeaderOutputWithContext(context.Context) ProfileIcapHeaderOutput
}

ProfileIcapHeaderInput is an input type that accepts ProfileIcapHeaderArgs and ProfileIcapHeaderOutput values. You can construct a concrete instance of `ProfileIcapHeaderInput` via:

ProfileIcapHeaderArgs{...}

type ProfileIcapHeaderOutput

type ProfileIcapHeaderOutput struct{ *pulumi.OutputState }

func (ProfileIcapHeaderOutput) Base64Encoding

func (o ProfileIcapHeaderOutput) Base64Encoding() pulumi.StringPtrOutput

Enable/disable use of base64 encoding of HTTP content. Valid values: `disable`, `enable`.

func (ProfileIcapHeaderOutput) Content

HTTP header content.

func (ProfileIcapHeaderOutput) ElementType

func (ProfileIcapHeaderOutput) ElementType() reflect.Type

func (ProfileIcapHeaderOutput) Id

HTTP forwarded header ID.

func (ProfileIcapHeaderOutput) Name

HTTP forwarded header name.

func (ProfileIcapHeaderOutput) ToProfileIcapHeaderOutput

func (o ProfileIcapHeaderOutput) ToProfileIcapHeaderOutput() ProfileIcapHeaderOutput

func (ProfileIcapHeaderOutput) ToProfileIcapHeaderOutputWithContext

func (o ProfileIcapHeaderOutput) ToProfileIcapHeaderOutputWithContext(ctx context.Context) ProfileIcapHeaderOutput

type ProfileInput

type ProfileInput interface {
	pulumi.Input

	ToProfileOutput() ProfileOutput
	ToProfileOutputWithContext(ctx context.Context) ProfileOutput
}

type ProfileMap

type ProfileMap map[string]ProfileInput

func (ProfileMap) ElementType

func (ProfileMap) ElementType() reflect.Type

func (ProfileMap) ToProfileMapOutput

func (i ProfileMap) ToProfileMapOutput() ProfileMapOutput

func (ProfileMap) ToProfileMapOutputWithContext

func (i ProfileMap) ToProfileMapOutputWithContext(ctx context.Context) ProfileMapOutput

type ProfileMapInput

type ProfileMapInput interface {
	pulumi.Input

	ToProfileMapOutput() ProfileMapOutput
	ToProfileMapOutputWithContext(context.Context) ProfileMapOutput
}

ProfileMapInput is an input type that accepts ProfileMap and ProfileMapOutput values. You can construct a concrete instance of `ProfileMapInput` via:

ProfileMap{ "key": ProfileArgs{...} }

type ProfileMapOutput

type ProfileMapOutput struct{ *pulumi.OutputState }

func (ProfileMapOutput) ElementType

func (ProfileMapOutput) ElementType() reflect.Type

func (ProfileMapOutput) MapIndex

func (ProfileMapOutput) ToProfileMapOutput

func (o ProfileMapOutput) ToProfileMapOutput() ProfileMapOutput

func (ProfileMapOutput) ToProfileMapOutputWithContext

func (o ProfileMapOutput) ToProfileMapOutputWithContext(ctx context.Context) ProfileMapOutput

type ProfileOutput

type ProfileOutput struct{ *pulumi.OutputState }

func (ProfileOutput) ChunkEncap

func (o ProfileOutput) ChunkEncap() pulumi.StringOutput

Enable/disable chunked encapsulation (default = disable). Valid values: `disable`, `enable`.

func (ProfileOutput) Comment

func (o ProfileOutput) Comment() pulumi.StringPtrOutput

Comment.

func (ProfileOutput) DynamicSortSubtable

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

func (ProfileOutput) ElementType() reflect.Type

func (ProfileOutput) ExtensionFeature

func (o ProfileOutput) ExtensionFeature() pulumi.StringOutput

Enable/disable ICAP extension features. Valid values: `scan-progress`.

func (ProfileOutput) FileTransfer

func (o ProfileOutput) FileTransfer() pulumi.StringOutput

Configure the file transfer protocols to pass transferred files to an ICAP server as REQMOD. Valid values: `ssh`, `ftp`.

func (ProfileOutput) FileTransferFailure

func (o ProfileOutput) FileTransferFailure() pulumi.StringOutput

Action to take if the ICAP server cannot be contacted when processing a file transfer. Valid values: `error`, `bypass`.

func (ProfileOutput) FileTransferPath

func (o ProfileOutput) FileTransferPath() pulumi.StringOutput

Path component of the ICAP URI that identifies the file transfer processing service.

func (ProfileOutput) FileTransferServer

func (o ProfileOutput) FileTransferServer() pulumi.StringOutput

ICAP server to use for a file transfer.

func (ProfileOutput) GetAllTables

func (o ProfileOutput) 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 (ProfileOutput) IcapBlockLog

func (o ProfileOutput) IcapBlockLog() pulumi.StringOutput

Enable/disable UTM log when infection found (default = disable). Valid values: `disable`, `enable`.

func (ProfileOutput) IcapHeaders

Configure ICAP forwarded request headers. The structure of `icapHeaders` block is documented below.

func (ProfileOutput) Methods

func (o ProfileOutput) Methods() pulumi.StringOutput

The allowed HTTP methods that will be sent to ICAP server for further processing.

func (ProfileOutput) N204Response

func (o ProfileOutput) N204Response() pulumi.StringOutput

Enable/disable allowance of 204 response from ICAP server. Valid values: `disable`, `enable`.

func (ProfileOutput) N204SizeLimit

func (o ProfileOutput) N204SizeLimit() pulumi.IntOutput

204 response size limit to be saved by ICAP client in megabytes (1 - 10, default = 1 MB).

func (ProfileOutput) Name

ICAP profile name.

func (ProfileOutput) Preview

func (o ProfileOutput) Preview() pulumi.StringOutput

Enable/disable preview of data to ICAP server. Valid values: `disable`, `enable`.

func (ProfileOutput) PreviewDataLength

func (o ProfileOutput) PreviewDataLength() pulumi.IntOutput

Preview data length to be sent to ICAP server.

func (ProfileOutput) ReplacemsgGroup

func (o ProfileOutput) ReplacemsgGroup() pulumi.StringOutput

Replacement message group.

func (ProfileOutput) Request

func (o ProfileOutput) Request() pulumi.StringOutput

Enable/disable whether an HTTP request is passed to an ICAP server. Valid values: `disable`, `enable`.

func (ProfileOutput) RequestFailure

func (o ProfileOutput) RequestFailure() pulumi.StringOutput

Action to take if the ICAP server cannot be contacted when processing an HTTP request. Valid values: `error`, `bypass`.

func (ProfileOutput) RequestPath

func (o ProfileOutput) RequestPath() pulumi.StringOutput

Path component of the ICAP URI that identifies the HTTP request processing service.

func (ProfileOutput) RequestServer

func (o ProfileOutput) RequestServer() pulumi.StringOutput

ICAP server to use for an HTTP request.

func (ProfileOutput) RespmodDefaultAction

func (o ProfileOutput) RespmodDefaultAction() pulumi.StringOutput

Default action to ICAP response modification (respmod) processing. Valid values: `forward`, `bypass`.

func (ProfileOutput) RespmodForwardRules

func (o ProfileOutput) RespmodForwardRules() ProfileRespmodForwardRuleArrayOutput

ICAP response mode forward rules. The structure of `respmodForwardRules` block is documented below.

func (ProfileOutput) Response

func (o ProfileOutput) Response() pulumi.StringOutput

Enable/disable whether an HTTP response is passed to an ICAP server. Valid values: `disable`, `enable`.

func (ProfileOutput) ResponseFailure

func (o ProfileOutput) ResponseFailure() pulumi.StringOutput

Action to take if the ICAP server cannot be contacted when processing an HTTP response. Valid values: `error`, `bypass`.

func (ProfileOutput) ResponsePath

func (o ProfileOutput) ResponsePath() pulumi.StringOutput

Path component of the ICAP URI that identifies the HTTP response processing service.

func (ProfileOutput) ResponseReqHdr

func (o ProfileOutput) ResponseReqHdr() pulumi.StringOutput

Enable/disable addition of req-hdr for ICAP response modification (respmod) processing. Valid values: `disable`, `enable`.

func (ProfileOutput) ResponseServer

func (o ProfileOutput) ResponseServer() pulumi.StringOutput

ICAP server to use for an HTTP response.

func (ProfileOutput) ScanProgressInterval

func (o ProfileOutput) ScanProgressInterval() pulumi.IntOutput

Scan progress interval value.

func (ProfileOutput) StreamingContentBypass

func (o ProfileOutput) StreamingContentBypass() pulumi.StringOutput

Enable/disable bypassing of ICAP server for streaming content. Valid values: `disable`, `enable`.

func (ProfileOutput) Timeout

func (o ProfileOutput) Timeout() pulumi.IntOutput

Time (in seconds) that ICAP client waits for the response from ICAP server.

func (ProfileOutput) ToProfileOutput

func (o ProfileOutput) ToProfileOutput() ProfileOutput

func (ProfileOutput) ToProfileOutputWithContext

func (o ProfileOutput) ToProfileOutputWithContext(ctx context.Context) ProfileOutput

func (ProfileOutput) Vdomparam

func (o ProfileOutput) 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 ProfileRespmodForwardRule

type ProfileRespmodForwardRule struct {
	// Action to be taken for ICAP server. Valid values: `forward`, `bypass`.
	Action *string `pulumi:"action"`
	// HTTP header group. The structure of `headerGroup` block is documented below.
	HeaderGroups []ProfileRespmodForwardRuleHeaderGroup `pulumi:"headerGroups"`
	// Address object for the host.
	Host *string `pulumi:"host"`
	// HTTP response status code. The structure of `httpRespStatusCode` block is documented below.
	HttpRespStatusCodes []ProfileRespmodForwardRuleHttpRespStatusCode `pulumi:"httpRespStatusCodes"`
	// Address name.
	Name *string `pulumi:"name"`
}

type ProfileRespmodForwardRuleArgs

type ProfileRespmodForwardRuleArgs struct {
	// Action to be taken for ICAP server. Valid values: `forward`, `bypass`.
	Action pulumi.StringPtrInput `pulumi:"action"`
	// HTTP header group. The structure of `headerGroup` block is documented below.
	HeaderGroups ProfileRespmodForwardRuleHeaderGroupArrayInput `pulumi:"headerGroups"`
	// Address object for the host.
	Host pulumi.StringPtrInput `pulumi:"host"`
	// HTTP response status code. The structure of `httpRespStatusCode` block is documented below.
	HttpRespStatusCodes ProfileRespmodForwardRuleHttpRespStatusCodeArrayInput `pulumi:"httpRespStatusCodes"`
	// Address name.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (ProfileRespmodForwardRuleArgs) ElementType

func (ProfileRespmodForwardRuleArgs) ToProfileRespmodForwardRuleOutput

func (i ProfileRespmodForwardRuleArgs) ToProfileRespmodForwardRuleOutput() ProfileRespmodForwardRuleOutput

func (ProfileRespmodForwardRuleArgs) ToProfileRespmodForwardRuleOutputWithContext

func (i ProfileRespmodForwardRuleArgs) ToProfileRespmodForwardRuleOutputWithContext(ctx context.Context) ProfileRespmodForwardRuleOutput

type ProfileRespmodForwardRuleArray

type ProfileRespmodForwardRuleArray []ProfileRespmodForwardRuleInput

func (ProfileRespmodForwardRuleArray) ElementType

func (ProfileRespmodForwardRuleArray) ToProfileRespmodForwardRuleArrayOutput

func (i ProfileRespmodForwardRuleArray) ToProfileRespmodForwardRuleArrayOutput() ProfileRespmodForwardRuleArrayOutput

func (ProfileRespmodForwardRuleArray) ToProfileRespmodForwardRuleArrayOutputWithContext

func (i ProfileRespmodForwardRuleArray) ToProfileRespmodForwardRuleArrayOutputWithContext(ctx context.Context) ProfileRespmodForwardRuleArrayOutput

type ProfileRespmodForwardRuleArrayInput

type ProfileRespmodForwardRuleArrayInput interface {
	pulumi.Input

	ToProfileRespmodForwardRuleArrayOutput() ProfileRespmodForwardRuleArrayOutput
	ToProfileRespmodForwardRuleArrayOutputWithContext(context.Context) ProfileRespmodForwardRuleArrayOutput
}

ProfileRespmodForwardRuleArrayInput is an input type that accepts ProfileRespmodForwardRuleArray and ProfileRespmodForwardRuleArrayOutput values. You can construct a concrete instance of `ProfileRespmodForwardRuleArrayInput` via:

ProfileRespmodForwardRuleArray{ ProfileRespmodForwardRuleArgs{...} }

type ProfileRespmodForwardRuleArrayOutput

type ProfileRespmodForwardRuleArrayOutput struct{ *pulumi.OutputState }

func (ProfileRespmodForwardRuleArrayOutput) ElementType

func (ProfileRespmodForwardRuleArrayOutput) Index

func (ProfileRespmodForwardRuleArrayOutput) ToProfileRespmodForwardRuleArrayOutput

func (o ProfileRespmodForwardRuleArrayOutput) ToProfileRespmodForwardRuleArrayOutput() ProfileRespmodForwardRuleArrayOutput

func (ProfileRespmodForwardRuleArrayOutput) ToProfileRespmodForwardRuleArrayOutputWithContext

func (o ProfileRespmodForwardRuleArrayOutput) ToProfileRespmodForwardRuleArrayOutputWithContext(ctx context.Context) ProfileRespmodForwardRuleArrayOutput

type ProfileRespmodForwardRuleHeaderGroup

type ProfileRespmodForwardRuleHeaderGroup struct {
	// Enable/disable case sensitivity when matching header. Valid values: `disable`, `enable`.
	CaseSensitivity *string `pulumi:"caseSensitivity"`
	// HTTP header regular expression.
	Header *string `pulumi:"header"`
	// HTTP header.
	HeaderName *string `pulumi:"headerName"`
	// ID.
	Id *int `pulumi:"id"`
}

type ProfileRespmodForwardRuleHeaderGroupArgs

type ProfileRespmodForwardRuleHeaderGroupArgs struct {
	// Enable/disable case sensitivity when matching header. Valid values: `disable`, `enable`.
	CaseSensitivity pulumi.StringPtrInput `pulumi:"caseSensitivity"`
	// HTTP header regular expression.
	Header pulumi.StringPtrInput `pulumi:"header"`
	// HTTP header.
	HeaderName pulumi.StringPtrInput `pulumi:"headerName"`
	// ID.
	Id pulumi.IntPtrInput `pulumi:"id"`
}

func (ProfileRespmodForwardRuleHeaderGroupArgs) ElementType

func (ProfileRespmodForwardRuleHeaderGroupArgs) ToProfileRespmodForwardRuleHeaderGroupOutput

func (i ProfileRespmodForwardRuleHeaderGroupArgs) ToProfileRespmodForwardRuleHeaderGroupOutput() ProfileRespmodForwardRuleHeaderGroupOutput

func (ProfileRespmodForwardRuleHeaderGroupArgs) ToProfileRespmodForwardRuleHeaderGroupOutputWithContext

func (i ProfileRespmodForwardRuleHeaderGroupArgs) ToProfileRespmodForwardRuleHeaderGroupOutputWithContext(ctx context.Context) ProfileRespmodForwardRuleHeaderGroupOutput

type ProfileRespmodForwardRuleHeaderGroupArray

type ProfileRespmodForwardRuleHeaderGroupArray []ProfileRespmodForwardRuleHeaderGroupInput

func (ProfileRespmodForwardRuleHeaderGroupArray) ElementType

func (ProfileRespmodForwardRuleHeaderGroupArray) ToProfileRespmodForwardRuleHeaderGroupArrayOutput

func (i ProfileRespmodForwardRuleHeaderGroupArray) ToProfileRespmodForwardRuleHeaderGroupArrayOutput() ProfileRespmodForwardRuleHeaderGroupArrayOutput

func (ProfileRespmodForwardRuleHeaderGroupArray) ToProfileRespmodForwardRuleHeaderGroupArrayOutputWithContext

func (i ProfileRespmodForwardRuleHeaderGroupArray) ToProfileRespmodForwardRuleHeaderGroupArrayOutputWithContext(ctx context.Context) ProfileRespmodForwardRuleHeaderGroupArrayOutput

type ProfileRespmodForwardRuleHeaderGroupArrayInput

type ProfileRespmodForwardRuleHeaderGroupArrayInput interface {
	pulumi.Input

	ToProfileRespmodForwardRuleHeaderGroupArrayOutput() ProfileRespmodForwardRuleHeaderGroupArrayOutput
	ToProfileRespmodForwardRuleHeaderGroupArrayOutputWithContext(context.Context) ProfileRespmodForwardRuleHeaderGroupArrayOutput
}

ProfileRespmodForwardRuleHeaderGroupArrayInput is an input type that accepts ProfileRespmodForwardRuleHeaderGroupArray and ProfileRespmodForwardRuleHeaderGroupArrayOutput values. You can construct a concrete instance of `ProfileRespmodForwardRuleHeaderGroupArrayInput` via:

ProfileRespmodForwardRuleHeaderGroupArray{ ProfileRespmodForwardRuleHeaderGroupArgs{...} }

type ProfileRespmodForwardRuleHeaderGroupArrayOutput

type ProfileRespmodForwardRuleHeaderGroupArrayOutput struct{ *pulumi.OutputState }

func (ProfileRespmodForwardRuleHeaderGroupArrayOutput) ElementType

func (ProfileRespmodForwardRuleHeaderGroupArrayOutput) Index

func (ProfileRespmodForwardRuleHeaderGroupArrayOutput) ToProfileRespmodForwardRuleHeaderGroupArrayOutput

func (o ProfileRespmodForwardRuleHeaderGroupArrayOutput) ToProfileRespmodForwardRuleHeaderGroupArrayOutput() ProfileRespmodForwardRuleHeaderGroupArrayOutput

func (ProfileRespmodForwardRuleHeaderGroupArrayOutput) ToProfileRespmodForwardRuleHeaderGroupArrayOutputWithContext

func (o ProfileRespmodForwardRuleHeaderGroupArrayOutput) ToProfileRespmodForwardRuleHeaderGroupArrayOutputWithContext(ctx context.Context) ProfileRespmodForwardRuleHeaderGroupArrayOutput

type ProfileRespmodForwardRuleHeaderGroupInput

type ProfileRespmodForwardRuleHeaderGroupInput interface {
	pulumi.Input

	ToProfileRespmodForwardRuleHeaderGroupOutput() ProfileRespmodForwardRuleHeaderGroupOutput
	ToProfileRespmodForwardRuleHeaderGroupOutputWithContext(context.Context) ProfileRespmodForwardRuleHeaderGroupOutput
}

ProfileRespmodForwardRuleHeaderGroupInput is an input type that accepts ProfileRespmodForwardRuleHeaderGroupArgs and ProfileRespmodForwardRuleHeaderGroupOutput values. You can construct a concrete instance of `ProfileRespmodForwardRuleHeaderGroupInput` via:

ProfileRespmodForwardRuleHeaderGroupArgs{...}

type ProfileRespmodForwardRuleHeaderGroupOutput

type ProfileRespmodForwardRuleHeaderGroupOutput struct{ *pulumi.OutputState }

func (ProfileRespmodForwardRuleHeaderGroupOutput) CaseSensitivity

Enable/disable case sensitivity when matching header. Valid values: `disable`, `enable`.

func (ProfileRespmodForwardRuleHeaderGroupOutput) ElementType

func (ProfileRespmodForwardRuleHeaderGroupOutput) Header

HTTP header regular expression.

func (ProfileRespmodForwardRuleHeaderGroupOutput) HeaderName

HTTP header.

func (ProfileRespmodForwardRuleHeaderGroupOutput) Id

ID.

func (ProfileRespmodForwardRuleHeaderGroupOutput) ToProfileRespmodForwardRuleHeaderGroupOutput

func (o ProfileRespmodForwardRuleHeaderGroupOutput) ToProfileRespmodForwardRuleHeaderGroupOutput() ProfileRespmodForwardRuleHeaderGroupOutput

func (ProfileRespmodForwardRuleHeaderGroupOutput) ToProfileRespmodForwardRuleHeaderGroupOutputWithContext

func (o ProfileRespmodForwardRuleHeaderGroupOutput) ToProfileRespmodForwardRuleHeaderGroupOutputWithContext(ctx context.Context) ProfileRespmodForwardRuleHeaderGroupOutput

type ProfileRespmodForwardRuleHttpRespStatusCode

type ProfileRespmodForwardRuleHttpRespStatusCode struct {
	// HTTP response status code.
	Code *int `pulumi:"code"`
}

type ProfileRespmodForwardRuleHttpRespStatusCodeArgs

type ProfileRespmodForwardRuleHttpRespStatusCodeArgs struct {
	// HTTP response status code.
	Code pulumi.IntPtrInput `pulumi:"code"`
}

func (ProfileRespmodForwardRuleHttpRespStatusCodeArgs) ElementType

func (ProfileRespmodForwardRuleHttpRespStatusCodeArgs) ToProfileRespmodForwardRuleHttpRespStatusCodeOutput

func (i ProfileRespmodForwardRuleHttpRespStatusCodeArgs) ToProfileRespmodForwardRuleHttpRespStatusCodeOutput() ProfileRespmodForwardRuleHttpRespStatusCodeOutput

func (ProfileRespmodForwardRuleHttpRespStatusCodeArgs) ToProfileRespmodForwardRuleHttpRespStatusCodeOutputWithContext

func (i ProfileRespmodForwardRuleHttpRespStatusCodeArgs) ToProfileRespmodForwardRuleHttpRespStatusCodeOutputWithContext(ctx context.Context) ProfileRespmodForwardRuleHttpRespStatusCodeOutput

type ProfileRespmodForwardRuleHttpRespStatusCodeArray

type ProfileRespmodForwardRuleHttpRespStatusCodeArray []ProfileRespmodForwardRuleHttpRespStatusCodeInput

func (ProfileRespmodForwardRuleHttpRespStatusCodeArray) ElementType

func (ProfileRespmodForwardRuleHttpRespStatusCodeArray) ToProfileRespmodForwardRuleHttpRespStatusCodeArrayOutput

func (i ProfileRespmodForwardRuleHttpRespStatusCodeArray) ToProfileRespmodForwardRuleHttpRespStatusCodeArrayOutput() ProfileRespmodForwardRuleHttpRespStatusCodeArrayOutput

func (ProfileRespmodForwardRuleHttpRespStatusCodeArray) ToProfileRespmodForwardRuleHttpRespStatusCodeArrayOutputWithContext

func (i ProfileRespmodForwardRuleHttpRespStatusCodeArray) ToProfileRespmodForwardRuleHttpRespStatusCodeArrayOutputWithContext(ctx context.Context) ProfileRespmodForwardRuleHttpRespStatusCodeArrayOutput

type ProfileRespmodForwardRuleHttpRespStatusCodeArrayInput

type ProfileRespmodForwardRuleHttpRespStatusCodeArrayInput interface {
	pulumi.Input

	ToProfileRespmodForwardRuleHttpRespStatusCodeArrayOutput() ProfileRespmodForwardRuleHttpRespStatusCodeArrayOutput
	ToProfileRespmodForwardRuleHttpRespStatusCodeArrayOutputWithContext(context.Context) ProfileRespmodForwardRuleHttpRespStatusCodeArrayOutput
}

ProfileRespmodForwardRuleHttpRespStatusCodeArrayInput is an input type that accepts ProfileRespmodForwardRuleHttpRespStatusCodeArray and ProfileRespmodForwardRuleHttpRespStatusCodeArrayOutput values. You can construct a concrete instance of `ProfileRespmodForwardRuleHttpRespStatusCodeArrayInput` via:

ProfileRespmodForwardRuleHttpRespStatusCodeArray{ ProfileRespmodForwardRuleHttpRespStatusCodeArgs{...} }

type ProfileRespmodForwardRuleHttpRespStatusCodeArrayOutput

type ProfileRespmodForwardRuleHttpRespStatusCodeArrayOutput struct{ *pulumi.OutputState }

func (ProfileRespmodForwardRuleHttpRespStatusCodeArrayOutput) ElementType

func (ProfileRespmodForwardRuleHttpRespStatusCodeArrayOutput) Index

func (ProfileRespmodForwardRuleHttpRespStatusCodeArrayOutput) ToProfileRespmodForwardRuleHttpRespStatusCodeArrayOutput

func (ProfileRespmodForwardRuleHttpRespStatusCodeArrayOutput) ToProfileRespmodForwardRuleHttpRespStatusCodeArrayOutputWithContext

func (o ProfileRespmodForwardRuleHttpRespStatusCodeArrayOutput) ToProfileRespmodForwardRuleHttpRespStatusCodeArrayOutputWithContext(ctx context.Context) ProfileRespmodForwardRuleHttpRespStatusCodeArrayOutput

type ProfileRespmodForwardRuleHttpRespStatusCodeInput

type ProfileRespmodForwardRuleHttpRespStatusCodeInput interface {
	pulumi.Input

	ToProfileRespmodForwardRuleHttpRespStatusCodeOutput() ProfileRespmodForwardRuleHttpRespStatusCodeOutput
	ToProfileRespmodForwardRuleHttpRespStatusCodeOutputWithContext(context.Context) ProfileRespmodForwardRuleHttpRespStatusCodeOutput
}

ProfileRespmodForwardRuleHttpRespStatusCodeInput is an input type that accepts ProfileRespmodForwardRuleHttpRespStatusCodeArgs and ProfileRespmodForwardRuleHttpRespStatusCodeOutput values. You can construct a concrete instance of `ProfileRespmodForwardRuleHttpRespStatusCodeInput` via:

ProfileRespmodForwardRuleHttpRespStatusCodeArgs{...}

type ProfileRespmodForwardRuleHttpRespStatusCodeOutput

type ProfileRespmodForwardRuleHttpRespStatusCodeOutput struct{ *pulumi.OutputState }

func (ProfileRespmodForwardRuleHttpRespStatusCodeOutput) Code

HTTP response status code.

func (ProfileRespmodForwardRuleHttpRespStatusCodeOutput) ElementType

func (ProfileRespmodForwardRuleHttpRespStatusCodeOutput) ToProfileRespmodForwardRuleHttpRespStatusCodeOutput

func (o ProfileRespmodForwardRuleHttpRespStatusCodeOutput) ToProfileRespmodForwardRuleHttpRespStatusCodeOutput() ProfileRespmodForwardRuleHttpRespStatusCodeOutput

func (ProfileRespmodForwardRuleHttpRespStatusCodeOutput) ToProfileRespmodForwardRuleHttpRespStatusCodeOutputWithContext

func (o ProfileRespmodForwardRuleHttpRespStatusCodeOutput) ToProfileRespmodForwardRuleHttpRespStatusCodeOutputWithContext(ctx context.Context) ProfileRespmodForwardRuleHttpRespStatusCodeOutput

type ProfileRespmodForwardRuleInput

type ProfileRespmodForwardRuleInput interface {
	pulumi.Input

	ToProfileRespmodForwardRuleOutput() ProfileRespmodForwardRuleOutput
	ToProfileRespmodForwardRuleOutputWithContext(context.Context) ProfileRespmodForwardRuleOutput
}

ProfileRespmodForwardRuleInput is an input type that accepts ProfileRespmodForwardRuleArgs and ProfileRespmodForwardRuleOutput values. You can construct a concrete instance of `ProfileRespmodForwardRuleInput` via:

ProfileRespmodForwardRuleArgs{...}

type ProfileRespmodForwardRuleOutput

type ProfileRespmodForwardRuleOutput struct{ *pulumi.OutputState }

func (ProfileRespmodForwardRuleOutput) Action

Action to be taken for ICAP server. Valid values: `forward`, `bypass`.

func (ProfileRespmodForwardRuleOutput) ElementType

func (ProfileRespmodForwardRuleOutput) HeaderGroups

HTTP header group. The structure of `headerGroup` block is documented below.

func (ProfileRespmodForwardRuleOutput) Host

Address object for the host.

func (ProfileRespmodForwardRuleOutput) HttpRespStatusCodes

HTTP response status code. The structure of `httpRespStatusCode` block is documented below.

func (ProfileRespmodForwardRuleOutput) Name

Address name.

func (ProfileRespmodForwardRuleOutput) ToProfileRespmodForwardRuleOutput

func (o ProfileRespmodForwardRuleOutput) ToProfileRespmodForwardRuleOutput() ProfileRespmodForwardRuleOutput

func (ProfileRespmodForwardRuleOutput) ToProfileRespmodForwardRuleOutputWithContext

func (o ProfileRespmodForwardRuleOutput) ToProfileRespmodForwardRuleOutputWithContext(ctx context.Context) ProfileRespmodForwardRuleOutput

type ProfileState

type ProfileState struct {
	// Enable/disable chunked encapsulation (default = disable). Valid values: `disable`, `enable`.
	ChunkEncap pulumi.StringPtrInput
	// Comment.
	Comment 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 ICAP extension features. Valid values: `scan-progress`.
	ExtensionFeature pulumi.StringPtrInput
	// Configure the file transfer protocols to pass transferred files to an ICAP server as REQMOD. Valid values: `ssh`, `ftp`.
	FileTransfer pulumi.StringPtrInput
	// Action to take if the ICAP server cannot be contacted when processing a file transfer. Valid values: `error`, `bypass`.
	FileTransferFailure pulumi.StringPtrInput
	// Path component of the ICAP URI that identifies the file transfer processing service.
	FileTransferPath pulumi.StringPtrInput
	// ICAP server to use for a file transfer.
	FileTransferServer 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 UTM log when infection found (default = disable). Valid values: `disable`, `enable`.
	IcapBlockLog pulumi.StringPtrInput
	// Configure ICAP forwarded request headers. The structure of `icapHeaders` block is documented below.
	IcapHeaders ProfileIcapHeaderArrayInput
	// The allowed HTTP methods that will be sent to ICAP server for further processing.
	Methods pulumi.StringPtrInput
	// Enable/disable allowance of 204 response from ICAP server. Valid values: `disable`, `enable`.
	N204Response pulumi.StringPtrInput
	// 204 response size limit to be saved by ICAP client in megabytes (1 - 10, default = 1 MB).
	N204SizeLimit pulumi.IntPtrInput
	// ICAP profile name.
	Name pulumi.StringPtrInput
	// Enable/disable preview of data to ICAP server. Valid values: `disable`, `enable`.
	Preview pulumi.StringPtrInput
	// Preview data length to be sent to ICAP server.
	PreviewDataLength pulumi.IntPtrInput
	// Replacement message group.
	ReplacemsgGroup pulumi.StringPtrInput
	// Enable/disable whether an HTTP request is passed to an ICAP server. Valid values: `disable`, `enable`.
	Request pulumi.StringPtrInput
	// Action to take if the ICAP server cannot be contacted when processing an HTTP request. Valid values: `error`, `bypass`.
	RequestFailure pulumi.StringPtrInput
	// Path component of the ICAP URI that identifies the HTTP request processing service.
	RequestPath pulumi.StringPtrInput
	// ICAP server to use for an HTTP request.
	RequestServer pulumi.StringPtrInput
	// Default action to ICAP response modification (respmod) processing. Valid values: `forward`, `bypass`.
	RespmodDefaultAction pulumi.StringPtrInput
	// ICAP response mode forward rules. The structure of `respmodForwardRules` block is documented below.
	RespmodForwardRules ProfileRespmodForwardRuleArrayInput
	// Enable/disable whether an HTTP response is passed to an ICAP server. Valid values: `disable`, `enable`.
	Response pulumi.StringPtrInput
	// Action to take if the ICAP server cannot be contacted when processing an HTTP response. Valid values: `error`, `bypass`.
	ResponseFailure pulumi.StringPtrInput
	// Path component of the ICAP URI that identifies the HTTP response processing service.
	ResponsePath pulumi.StringPtrInput
	// Enable/disable addition of req-hdr for ICAP response modification (respmod) processing. Valid values: `disable`, `enable`.
	ResponseReqHdr pulumi.StringPtrInput
	// ICAP server to use for an HTTP response.
	ResponseServer pulumi.StringPtrInput
	// Scan progress interval value.
	ScanProgressInterval pulumi.IntPtrInput
	// Enable/disable bypassing of ICAP server for streaming content. Valid values: `disable`, `enable`.
	StreamingContentBypass pulumi.StringPtrInput
	// Time (in seconds) that ICAP client waits for the response from ICAP server.
	Timeout pulumi.IntPtrInput
	// 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 (ProfileState) ElementType

func (ProfileState) ElementType() reflect.Type

type Server

type Server struct {
	pulumi.CustomResourceState

	// Address type of the remote ICAP server: IPv4, IPv6 or FQDN. Valid values: `ip4`, `ip6`, `fqdn`.
	AddrType pulumi.StringOutput `pulumi:"addrType"`
	// ICAP remote server Fully Qualified Domain Name (FQDN).
	Fqdn pulumi.StringOutput `pulumi:"fqdn"`
	// Enable/disable ICAP remote server health checking. Attempts to connect to the remote ICAP server to verify that the server is operating normally. Valid values: `disable`, `enable`.
	Healthcheck pulumi.StringOutput `pulumi:"healthcheck"`
	// ICAP Service name to use for health checks.
	HealthcheckService pulumi.StringOutput `pulumi:"healthcheckService"`
	// IPv6 address of the ICAP server.
	Ip6Address pulumi.StringOutput `pulumi:"ip6Address"`
	// IPv4 address of the ICAP server.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// IP version. Valid values: `4`, `6`.
	IpVersion pulumi.StringOutput `pulumi:"ipVersion"`
	// Maximum number of concurrent connections to ICAP server. Must not be less than wad-worker-count.
	MaxConnections pulumi.IntOutput `pulumi:"maxConnections"`
	// Server name.
	Name pulumi.StringOutput `pulumi:"name"`
	// ICAP server port.
	Port pulumi.IntOutput `pulumi:"port"`
	// Enable/disable secure connection to ICAP server. Valid values: `enable`, `disable`.
	Secure pulumi.StringOutput `pulumi:"secure"`
	// CA certificate name.
	SslCert pulumi.StringOutput `pulumi:"sslCert"`
	// 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 ICAP servers.

## Example Usage

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

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := icap.NewServer(ctx, "trname", &icap.ServerArgs{
			Ip6Address:     pulumi.String("::"),
			IpAddress:      pulumi.String("1.1.1.1"),
			IpVersion:      pulumi.String("4"),
			MaxConnections: pulumi.Int(100),
			Port:           pulumi.Int(22),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

## Import

Icap Server can be imported using any of these accepted formats:

```sh $ pulumi import fortios:icap/server:Server labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:icap/server:Server labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetServer

func GetServer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerState, opts ...pulumi.ResourceOption) (*Server, error)

GetServer gets an existing Server 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 NewServer

func NewServer(ctx *pulumi.Context,
	name string, args *ServerArgs, opts ...pulumi.ResourceOption) (*Server, error)

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

func (*Server) ElementType

func (*Server) ElementType() reflect.Type

func (*Server) ToServerOutput

func (i *Server) ToServerOutput() ServerOutput

func (*Server) ToServerOutputWithContext

func (i *Server) ToServerOutputWithContext(ctx context.Context) ServerOutput

type ServerArgs

type ServerArgs struct {
	// Address type of the remote ICAP server: IPv4, IPv6 or FQDN. Valid values: `ip4`, `ip6`, `fqdn`.
	AddrType pulumi.StringPtrInput
	// ICAP remote server Fully Qualified Domain Name (FQDN).
	Fqdn pulumi.StringPtrInput
	// Enable/disable ICAP remote server health checking. Attempts to connect to the remote ICAP server to verify that the server is operating normally. Valid values: `disable`, `enable`.
	Healthcheck pulumi.StringPtrInput
	// ICAP Service name to use for health checks.
	HealthcheckService pulumi.StringPtrInput
	// IPv6 address of the ICAP server.
	Ip6Address pulumi.StringPtrInput
	// IPv4 address of the ICAP server.
	IpAddress pulumi.StringPtrInput
	// IP version. Valid values: `4`, `6`.
	IpVersion pulumi.StringPtrInput
	// Maximum number of concurrent connections to ICAP server. Must not be less than wad-worker-count.
	MaxConnections pulumi.IntPtrInput
	// Server name.
	Name pulumi.StringPtrInput
	// ICAP server port.
	Port pulumi.IntPtrInput
	// Enable/disable secure connection to ICAP server. Valid values: `enable`, `disable`.
	Secure pulumi.StringPtrInput
	// CA certificate name.
	SslCert 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 Server resource.

func (ServerArgs) ElementType

func (ServerArgs) ElementType() reflect.Type

type ServerArray

type ServerArray []ServerInput

func (ServerArray) ElementType

func (ServerArray) ElementType() reflect.Type

func (ServerArray) ToServerArrayOutput

func (i ServerArray) ToServerArrayOutput() ServerArrayOutput

func (ServerArray) ToServerArrayOutputWithContext

func (i ServerArray) ToServerArrayOutputWithContext(ctx context.Context) ServerArrayOutput

type ServerArrayInput

type ServerArrayInput interface {
	pulumi.Input

	ToServerArrayOutput() ServerArrayOutput
	ToServerArrayOutputWithContext(context.Context) ServerArrayOutput
}

ServerArrayInput is an input type that accepts ServerArray and ServerArrayOutput values. You can construct a concrete instance of `ServerArrayInput` via:

ServerArray{ ServerArgs{...} }

type ServerArrayOutput

type ServerArrayOutput struct{ *pulumi.OutputState }

func (ServerArrayOutput) ElementType

func (ServerArrayOutput) ElementType() reflect.Type

func (ServerArrayOutput) Index

func (ServerArrayOutput) ToServerArrayOutput

func (o ServerArrayOutput) ToServerArrayOutput() ServerArrayOutput

func (ServerArrayOutput) ToServerArrayOutputWithContext

func (o ServerArrayOutput) ToServerArrayOutputWithContext(ctx context.Context) ServerArrayOutput

type ServerInput

type ServerInput interface {
	pulumi.Input

	ToServerOutput() ServerOutput
	ToServerOutputWithContext(ctx context.Context) ServerOutput
}

type ServerMap

type ServerMap map[string]ServerInput

func (ServerMap) ElementType

func (ServerMap) ElementType() reflect.Type

func (ServerMap) ToServerMapOutput

func (i ServerMap) ToServerMapOutput() ServerMapOutput

func (ServerMap) ToServerMapOutputWithContext

func (i ServerMap) ToServerMapOutputWithContext(ctx context.Context) ServerMapOutput

type ServerMapInput

type ServerMapInput interface {
	pulumi.Input

	ToServerMapOutput() ServerMapOutput
	ToServerMapOutputWithContext(context.Context) ServerMapOutput
}

ServerMapInput is an input type that accepts ServerMap and ServerMapOutput values. You can construct a concrete instance of `ServerMapInput` via:

ServerMap{ "key": ServerArgs{...} }

type ServerMapOutput

type ServerMapOutput struct{ *pulumi.OutputState }

func (ServerMapOutput) ElementType

func (ServerMapOutput) ElementType() reflect.Type

func (ServerMapOutput) MapIndex

func (ServerMapOutput) ToServerMapOutput

func (o ServerMapOutput) ToServerMapOutput() ServerMapOutput

func (ServerMapOutput) ToServerMapOutputWithContext

func (o ServerMapOutput) ToServerMapOutputWithContext(ctx context.Context) ServerMapOutput

type ServerOutput

type ServerOutput struct{ *pulumi.OutputState }

func (ServerOutput) AddrType

func (o ServerOutput) AddrType() pulumi.StringOutput

Address type of the remote ICAP server: IPv4, IPv6 or FQDN. Valid values: `ip4`, `ip6`, `fqdn`.

func (ServerOutput) ElementType

func (ServerOutput) ElementType() reflect.Type

func (ServerOutput) Fqdn

func (o ServerOutput) Fqdn() pulumi.StringOutput

ICAP remote server Fully Qualified Domain Name (FQDN).

func (ServerOutput) Healthcheck

func (o ServerOutput) Healthcheck() pulumi.StringOutput

Enable/disable ICAP remote server health checking. Attempts to connect to the remote ICAP server to verify that the server is operating normally. Valid values: `disable`, `enable`.

func (ServerOutput) HealthcheckService

func (o ServerOutput) HealthcheckService() pulumi.StringOutput

ICAP Service name to use for health checks.

func (ServerOutput) Ip6Address

func (o ServerOutput) Ip6Address() pulumi.StringOutput

IPv6 address of the ICAP server.

func (ServerOutput) IpAddress

func (o ServerOutput) IpAddress() pulumi.StringOutput

IPv4 address of the ICAP server.

func (ServerOutput) IpVersion

func (o ServerOutput) IpVersion() pulumi.StringOutput

IP version. Valid values: `4`, `6`.

func (ServerOutput) MaxConnections

func (o ServerOutput) MaxConnections() pulumi.IntOutput

Maximum number of concurrent connections to ICAP server. Must not be less than wad-worker-count.

func (ServerOutput) Name

func (o ServerOutput) Name() pulumi.StringOutput

Server name.

func (ServerOutput) Port

func (o ServerOutput) Port() pulumi.IntOutput

ICAP server port.

func (ServerOutput) Secure

func (o ServerOutput) Secure() pulumi.StringOutput

Enable/disable secure connection to ICAP server. Valid values: `enable`, `disable`.

func (ServerOutput) SslCert

func (o ServerOutput) SslCert() pulumi.StringOutput

CA certificate name.

func (ServerOutput) ToServerOutput

func (o ServerOutput) ToServerOutput() ServerOutput

func (ServerOutput) ToServerOutputWithContext

func (o ServerOutput) ToServerOutputWithContext(ctx context.Context) ServerOutput

func (ServerOutput) Vdomparam

func (o ServerOutput) 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 ServerState

type ServerState struct {
	// Address type of the remote ICAP server: IPv4, IPv6 or FQDN. Valid values: `ip4`, `ip6`, `fqdn`.
	AddrType pulumi.StringPtrInput
	// ICAP remote server Fully Qualified Domain Name (FQDN).
	Fqdn pulumi.StringPtrInput
	// Enable/disable ICAP remote server health checking. Attempts to connect to the remote ICAP server to verify that the server is operating normally. Valid values: `disable`, `enable`.
	Healthcheck pulumi.StringPtrInput
	// ICAP Service name to use for health checks.
	HealthcheckService pulumi.StringPtrInput
	// IPv6 address of the ICAP server.
	Ip6Address pulumi.StringPtrInput
	// IPv4 address of the ICAP server.
	IpAddress pulumi.StringPtrInput
	// IP version. Valid values: `4`, `6`.
	IpVersion pulumi.StringPtrInput
	// Maximum number of concurrent connections to ICAP server. Must not be less than wad-worker-count.
	MaxConnections pulumi.IntPtrInput
	// Server name.
	Name pulumi.StringPtrInput
	// ICAP server port.
	Port pulumi.IntPtrInput
	// Enable/disable secure connection to ICAP server. Valid values: `enable`, `disable`.
	Secure pulumi.StringPtrInput
	// CA certificate name.
	SslCert 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 (ServerState) ElementType

func (ServerState) ElementType() reflect.Type

type Servergroup

type Servergroup struct {
	pulumi.CustomResourceState

	// 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"`
	// Load balance method. Valid values: `weighted`, `least-session`, `active-passive`.
	LdbMethod pulumi.StringOutput `pulumi:"ldbMethod"`
	// Configure an ICAP server group consisting one or multiple forward servers. Supports failover and load balancing.
	Name pulumi.StringOutput `pulumi:"name"`
	// Add ICAP servers to a list to form a server group. Optionally assign weights to each server. The structure of `serverList` block is documented below.
	ServerLists ServergroupServerListArrayOutput `pulumi:"serverLists"`
	// 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 an ICAP server group consisting of multiple forward servers. Supports failover and load balancing. Applies to FortiOS Version `>= 7.2.0`.

## Import

Icap ServerGroup can be imported using any of these accepted formats:

```sh $ pulumi import fortios:icap/servergroup:Servergroup labelname {{name}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:icap/servergroup:Servergroup labelname {{name}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetServergroup

func GetServergroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServergroupState, opts ...pulumi.ResourceOption) (*Servergroup, error)

GetServergroup gets an existing Servergroup 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 NewServergroup

func NewServergroup(ctx *pulumi.Context,
	name string, args *ServergroupArgs, opts ...pulumi.ResourceOption) (*Servergroup, error)

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

func (*Servergroup) ElementType

func (*Servergroup) ElementType() reflect.Type

func (*Servergroup) ToServergroupOutput

func (i *Servergroup) ToServergroupOutput() ServergroupOutput

func (*Servergroup) ToServergroupOutputWithContext

func (i *Servergroup) ToServergroupOutputWithContext(ctx context.Context) ServergroupOutput

type ServergroupArgs

type ServergroupArgs struct {
	// 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
	// Load balance method. Valid values: `weighted`, `least-session`, `active-passive`.
	LdbMethod pulumi.StringPtrInput
	// Configure an ICAP server group consisting one or multiple forward servers. Supports failover and load balancing.
	Name pulumi.StringPtrInput
	// Add ICAP servers to a list to form a server group. Optionally assign weights to each server. The structure of `serverList` block is documented below.
	ServerLists ServergroupServerListArrayInput
	// 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 Servergroup resource.

func (ServergroupArgs) ElementType

func (ServergroupArgs) ElementType() reflect.Type

type ServergroupArray

type ServergroupArray []ServergroupInput

func (ServergroupArray) ElementType

func (ServergroupArray) ElementType() reflect.Type

func (ServergroupArray) ToServergroupArrayOutput

func (i ServergroupArray) ToServergroupArrayOutput() ServergroupArrayOutput

func (ServergroupArray) ToServergroupArrayOutputWithContext

func (i ServergroupArray) ToServergroupArrayOutputWithContext(ctx context.Context) ServergroupArrayOutput

type ServergroupArrayInput

type ServergroupArrayInput interface {
	pulumi.Input

	ToServergroupArrayOutput() ServergroupArrayOutput
	ToServergroupArrayOutputWithContext(context.Context) ServergroupArrayOutput
}

ServergroupArrayInput is an input type that accepts ServergroupArray and ServergroupArrayOutput values. You can construct a concrete instance of `ServergroupArrayInput` via:

ServergroupArray{ ServergroupArgs{...} }

type ServergroupArrayOutput

type ServergroupArrayOutput struct{ *pulumi.OutputState }

func (ServergroupArrayOutput) ElementType

func (ServergroupArrayOutput) ElementType() reflect.Type

func (ServergroupArrayOutput) Index

func (ServergroupArrayOutput) ToServergroupArrayOutput

func (o ServergroupArrayOutput) ToServergroupArrayOutput() ServergroupArrayOutput

func (ServergroupArrayOutput) ToServergroupArrayOutputWithContext

func (o ServergroupArrayOutput) ToServergroupArrayOutputWithContext(ctx context.Context) ServergroupArrayOutput

type ServergroupInput

type ServergroupInput interface {
	pulumi.Input

	ToServergroupOutput() ServergroupOutput
	ToServergroupOutputWithContext(ctx context.Context) ServergroupOutput
}

type ServergroupMap

type ServergroupMap map[string]ServergroupInput

func (ServergroupMap) ElementType

func (ServergroupMap) ElementType() reflect.Type

func (ServergroupMap) ToServergroupMapOutput

func (i ServergroupMap) ToServergroupMapOutput() ServergroupMapOutput

func (ServergroupMap) ToServergroupMapOutputWithContext

func (i ServergroupMap) ToServergroupMapOutputWithContext(ctx context.Context) ServergroupMapOutput

type ServergroupMapInput

type ServergroupMapInput interface {
	pulumi.Input

	ToServergroupMapOutput() ServergroupMapOutput
	ToServergroupMapOutputWithContext(context.Context) ServergroupMapOutput
}

ServergroupMapInput is an input type that accepts ServergroupMap and ServergroupMapOutput values. You can construct a concrete instance of `ServergroupMapInput` via:

ServergroupMap{ "key": ServergroupArgs{...} }

type ServergroupMapOutput

type ServergroupMapOutput struct{ *pulumi.OutputState }

func (ServergroupMapOutput) ElementType

func (ServergroupMapOutput) ElementType() reflect.Type

func (ServergroupMapOutput) MapIndex

func (ServergroupMapOutput) ToServergroupMapOutput

func (o ServergroupMapOutput) ToServergroupMapOutput() ServergroupMapOutput

func (ServergroupMapOutput) ToServergroupMapOutputWithContext

func (o ServergroupMapOutput) ToServergroupMapOutputWithContext(ctx context.Context) ServergroupMapOutput

type ServergroupOutput

type ServergroupOutput struct{ *pulumi.OutputState }

func (ServergroupOutput) DynamicSortSubtable

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

func (ServergroupOutput) ElementType() reflect.Type

func (ServergroupOutput) GetAllTables

func (o ServergroupOutput) 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 (ServergroupOutput) LdbMethod

func (o ServergroupOutput) LdbMethod() pulumi.StringOutput

Load balance method. Valid values: `weighted`, `least-session`, `active-passive`.

func (ServergroupOutput) Name

Configure an ICAP server group consisting one or multiple forward servers. Supports failover and load balancing.

func (ServergroupOutput) ServerLists

Add ICAP servers to a list to form a server group. Optionally assign weights to each server. The structure of `serverList` block is documented below.

func (ServergroupOutput) ToServergroupOutput

func (o ServergroupOutput) ToServergroupOutput() ServergroupOutput

func (ServergroupOutput) ToServergroupOutputWithContext

func (o ServergroupOutput) ToServergroupOutputWithContext(ctx context.Context) ServergroupOutput

func (ServergroupOutput) 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 ServergroupServerList

type ServergroupServerList struct {
	// ICAP server name.
	Name *string `pulumi:"name"`
	// Optionally assign a weight of the forwarding server for weighted load balancing (1 - 100, default = 10).
	Weight *int `pulumi:"weight"`
}

type ServergroupServerListArgs

type ServergroupServerListArgs struct {
	// ICAP server name.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Optionally assign a weight of the forwarding server for weighted load balancing (1 - 100, default = 10).
	Weight pulumi.IntPtrInput `pulumi:"weight"`
}

func (ServergroupServerListArgs) ElementType

func (ServergroupServerListArgs) ElementType() reflect.Type

func (ServergroupServerListArgs) ToServergroupServerListOutput

func (i ServergroupServerListArgs) ToServergroupServerListOutput() ServergroupServerListOutput

func (ServergroupServerListArgs) ToServergroupServerListOutputWithContext

func (i ServergroupServerListArgs) ToServergroupServerListOutputWithContext(ctx context.Context) ServergroupServerListOutput

type ServergroupServerListArray

type ServergroupServerListArray []ServergroupServerListInput

func (ServergroupServerListArray) ElementType

func (ServergroupServerListArray) ElementType() reflect.Type

func (ServergroupServerListArray) ToServergroupServerListArrayOutput

func (i ServergroupServerListArray) ToServergroupServerListArrayOutput() ServergroupServerListArrayOutput

func (ServergroupServerListArray) ToServergroupServerListArrayOutputWithContext

func (i ServergroupServerListArray) ToServergroupServerListArrayOutputWithContext(ctx context.Context) ServergroupServerListArrayOutput

type ServergroupServerListArrayInput

type ServergroupServerListArrayInput interface {
	pulumi.Input

	ToServergroupServerListArrayOutput() ServergroupServerListArrayOutput
	ToServergroupServerListArrayOutputWithContext(context.Context) ServergroupServerListArrayOutput
}

ServergroupServerListArrayInput is an input type that accepts ServergroupServerListArray and ServergroupServerListArrayOutput values. You can construct a concrete instance of `ServergroupServerListArrayInput` via:

ServergroupServerListArray{ ServergroupServerListArgs{...} }

type ServergroupServerListArrayOutput

type ServergroupServerListArrayOutput struct{ *pulumi.OutputState }

func (ServergroupServerListArrayOutput) ElementType

func (ServergroupServerListArrayOutput) Index

func (ServergroupServerListArrayOutput) ToServergroupServerListArrayOutput

func (o ServergroupServerListArrayOutput) ToServergroupServerListArrayOutput() ServergroupServerListArrayOutput

func (ServergroupServerListArrayOutput) ToServergroupServerListArrayOutputWithContext

func (o ServergroupServerListArrayOutput) ToServergroupServerListArrayOutputWithContext(ctx context.Context) ServergroupServerListArrayOutput

type ServergroupServerListInput

type ServergroupServerListInput interface {
	pulumi.Input

	ToServergroupServerListOutput() ServergroupServerListOutput
	ToServergroupServerListOutputWithContext(context.Context) ServergroupServerListOutput
}

ServergroupServerListInput is an input type that accepts ServergroupServerListArgs and ServergroupServerListOutput values. You can construct a concrete instance of `ServergroupServerListInput` via:

ServergroupServerListArgs{...}

type ServergroupServerListOutput

type ServergroupServerListOutput struct{ *pulumi.OutputState }

func (ServergroupServerListOutput) ElementType

func (ServergroupServerListOutput) Name

ICAP server name.

func (ServergroupServerListOutput) ToServergroupServerListOutput

func (o ServergroupServerListOutput) ToServergroupServerListOutput() ServergroupServerListOutput

func (ServergroupServerListOutput) ToServergroupServerListOutputWithContext

func (o ServergroupServerListOutput) ToServergroupServerListOutputWithContext(ctx context.Context) ServergroupServerListOutput

func (ServergroupServerListOutput) Weight

Optionally assign a weight of the forwarding server for weighted load balancing (1 - 100, default = 10).

type ServergroupState

type ServergroupState struct {
	// 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
	// Load balance method. Valid values: `weighted`, `least-session`, `active-passive`.
	LdbMethod pulumi.StringPtrInput
	// Configure an ICAP server group consisting one or multiple forward servers. Supports failover and load balancing.
	Name pulumi.StringPtrInput
	// Add ICAP servers to a list to form a server group. Optionally assign weights to each server. The structure of `serverList` block is documented below.
	ServerLists ServergroupServerListArrayInput
	// 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 (ServergroupState) ElementType

func (ServergroupState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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