fortios.icap.Profile
Explore with Pulumi AI
Configure ICAP profiles.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.icap.Profile("trname", {
icapHeaders: [{
base64Encoding: "disable",
content: "$user",
name: "X-Authenticated-User",
}],
methods: "delete get head options post put trace other",
request: "disable",
requestFailure: "error",
response: "disable",
responseFailure: "error",
responseReqHdr: "disable",
streamingContentBypass: "disable",
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.icap.Profile("trname",
icap_headers=[fortios.icap.ProfileIcapHeaderArgs(
base64_encoding="disable",
content="$user",
name="X-Authenticated-User",
)],
methods="delete get head options post put trace other",
request="disable",
request_failure="error",
response="disable",
response_failure="error",
response_req_hdr="disable",
streaming_content_bypass="disable")
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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortios = Pulumiverse.Fortios;
return await Deployment.RunAsync(() =>
{
var trname = new Fortios.Icap.Profile("trname", new()
{
IcapHeaders = new[]
{
new Fortios.Icap.Inputs.ProfileIcapHeaderArgs
{
Base64Encoding = "disable",
Content = "$user",
Name = "X-Authenticated-User",
},
},
Methods = "delete get head options post put trace other",
Request = "disable",
RequestFailure = "error",
Response = "disable",
ResponseFailure = "error",
ResponseReqHdr = "disable",
StreamingContentBypass = "disable",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.icap.Profile;
import com.pulumi.fortios.icap.ProfileArgs;
import com.pulumi.fortios.icap.inputs.ProfileIcapHeaderArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var trname = new Profile("trname", ProfileArgs.builder()
.icapHeaders(ProfileIcapHeaderArgs.builder()
.base64Encoding("disable")
.content("$user")
.name("X-Authenticated-User")
.build())
.methods("delete get head options post put trace other")
.request("disable")
.requestFailure("error")
.response("disable")
.responseFailure("error")
.responseReqHdr("disable")
.streamingContentBypass("disable")
.build());
}
}
resources:
trname:
type: fortios:icap:Profile
properties:
icapHeaders:
- base64Encoding: disable
content: $user
name: X-Authenticated-User
methods: delete get head options post put trace other
request: disable
requestFailure: error
response: disable
responseFailure: error
responseReqHdr: disable
streamingContentBypass: disable
Create Profile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Profile(name: string, args?: ProfileArgs, opts?: CustomResourceOptions);
@overload
def Profile(resource_name: str,
args: Optional[ProfileArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Profile(resource_name: str,
opts: Optional[ResourceOptions] = None,
chunk_encap: Optional[str] = None,
comment: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
extension_feature: Optional[str] = None,
file_transfer: Optional[str] = None,
file_transfer_failure: Optional[str] = None,
file_transfer_path: Optional[str] = None,
file_transfer_server: Optional[str] = None,
get_all_tables: Optional[str] = None,
icap_block_log: Optional[str] = None,
icap_headers: Optional[Sequence[ProfileIcapHeaderArgs]] = None,
methods: Optional[str] = None,
n204_response: Optional[str] = None,
n204_size_limit: Optional[int] = None,
name: Optional[str] = None,
preview: Optional[str] = None,
preview_data_length: Optional[int] = None,
replacemsg_group: Optional[str] = None,
request: Optional[str] = None,
request_failure: Optional[str] = None,
request_path: Optional[str] = None,
request_server: Optional[str] = None,
respmod_default_action: Optional[str] = None,
respmod_forward_rules: Optional[Sequence[ProfileRespmodForwardRuleArgs]] = None,
response: Optional[str] = None,
response_failure: Optional[str] = None,
response_path: Optional[str] = None,
response_req_hdr: Optional[str] = None,
response_server: Optional[str] = None,
scan_progress_interval: Optional[int] = None,
streaming_content_bypass: Optional[str] = None,
timeout: Optional[int] = None,
vdomparam: Optional[str] = None)
func NewProfile(ctx *Context, name string, args *ProfileArgs, opts ...ResourceOption) (*Profile, error)
public Profile(string name, ProfileArgs? args = null, CustomResourceOptions? opts = null)
public Profile(String name, ProfileArgs args)
public Profile(String name, ProfileArgs args, CustomResourceOptions options)
type: fortios:icap:Profile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ProfileArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProfileArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleprofileResourceResourceFromIcapprofile = new Fortios.Icap.Profile("exampleprofileResourceResourceFromIcapprofile", new()
{
ChunkEncap = "string",
Comment = "string",
DynamicSortSubtable = "string",
ExtensionFeature = "string",
FileTransfer = "string",
FileTransferFailure = "string",
FileTransferPath = "string",
FileTransferServer = "string",
GetAllTables = "string",
IcapBlockLog = "string",
IcapHeaders = new[]
{
new Fortios.Icap.Inputs.ProfileIcapHeaderArgs
{
Base64Encoding = "string",
Content = "string",
Id = 0,
Name = "string",
},
},
Methods = "string",
N204Response = "string",
N204SizeLimit = 0,
Name = "string",
Preview = "string",
PreviewDataLength = 0,
ReplacemsgGroup = "string",
Request = "string",
RequestFailure = "string",
RequestPath = "string",
RequestServer = "string",
RespmodDefaultAction = "string",
RespmodForwardRules = new[]
{
new Fortios.Icap.Inputs.ProfileRespmodForwardRuleArgs
{
Action = "string",
HeaderGroups = new[]
{
new Fortios.Icap.Inputs.ProfileRespmodForwardRuleHeaderGroupArgs
{
CaseSensitivity = "string",
Header = "string",
HeaderName = "string",
Id = 0,
},
},
Host = "string",
HttpRespStatusCodes = new[]
{
new Fortios.Icap.Inputs.ProfileRespmodForwardRuleHttpRespStatusCodeArgs
{
Code = 0,
},
},
Name = "string",
},
},
Response = "string",
ResponseFailure = "string",
ResponsePath = "string",
ResponseReqHdr = "string",
ResponseServer = "string",
ScanProgressInterval = 0,
StreamingContentBypass = "string",
Timeout = 0,
Vdomparam = "string",
});
example, err := icap.NewProfile(ctx, "exampleprofileResourceResourceFromIcapprofile", &icap.ProfileArgs{
ChunkEncap: pulumi.String("string"),
Comment: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
ExtensionFeature: pulumi.String("string"),
FileTransfer: pulumi.String("string"),
FileTransferFailure: pulumi.String("string"),
FileTransferPath: pulumi.String("string"),
FileTransferServer: pulumi.String("string"),
GetAllTables: pulumi.String("string"),
IcapBlockLog: pulumi.String("string"),
IcapHeaders: icap.ProfileIcapHeaderArray{
&icap.ProfileIcapHeaderArgs{
Base64Encoding: pulumi.String("string"),
Content: pulumi.String("string"),
Id: pulumi.Int(0),
Name: pulumi.String("string"),
},
},
Methods: pulumi.String("string"),
N204Response: pulumi.String("string"),
N204SizeLimit: pulumi.Int(0),
Name: pulumi.String("string"),
Preview: pulumi.String("string"),
PreviewDataLength: pulumi.Int(0),
ReplacemsgGroup: pulumi.String("string"),
Request: pulumi.String("string"),
RequestFailure: pulumi.String("string"),
RequestPath: pulumi.String("string"),
RequestServer: pulumi.String("string"),
RespmodDefaultAction: pulumi.String("string"),
RespmodForwardRules: icap.ProfileRespmodForwardRuleArray{
&icap.ProfileRespmodForwardRuleArgs{
Action: pulumi.String("string"),
HeaderGroups: icap.ProfileRespmodForwardRuleHeaderGroupArray{
&icap.ProfileRespmodForwardRuleHeaderGroupArgs{
CaseSensitivity: pulumi.String("string"),
Header: pulumi.String("string"),
HeaderName: pulumi.String("string"),
Id: pulumi.Int(0),
},
},
Host: pulumi.String("string"),
HttpRespStatusCodes: icap.ProfileRespmodForwardRuleHttpRespStatusCodeArray{
&icap.ProfileRespmodForwardRuleHttpRespStatusCodeArgs{
Code: pulumi.Int(0),
},
},
Name: pulumi.String("string"),
},
},
Response: pulumi.String("string"),
ResponseFailure: pulumi.String("string"),
ResponsePath: pulumi.String("string"),
ResponseReqHdr: pulumi.String("string"),
ResponseServer: pulumi.String("string"),
ScanProgressInterval: pulumi.Int(0),
StreamingContentBypass: pulumi.String("string"),
Timeout: pulumi.Int(0),
Vdomparam: pulumi.String("string"),
})
var exampleprofileResourceResourceFromIcapprofile = new Profile("exampleprofileResourceResourceFromIcapprofile", ProfileArgs.builder()
.chunkEncap("string")
.comment("string")
.dynamicSortSubtable("string")
.extensionFeature("string")
.fileTransfer("string")
.fileTransferFailure("string")
.fileTransferPath("string")
.fileTransferServer("string")
.getAllTables("string")
.icapBlockLog("string")
.icapHeaders(ProfileIcapHeaderArgs.builder()
.base64Encoding("string")
.content("string")
.id(0)
.name("string")
.build())
.methods("string")
.n204Response("string")
.n204SizeLimit(0)
.name("string")
.preview("string")
.previewDataLength(0)
.replacemsgGroup("string")
.request("string")
.requestFailure("string")
.requestPath("string")
.requestServer("string")
.respmodDefaultAction("string")
.respmodForwardRules(ProfileRespmodForwardRuleArgs.builder()
.action("string")
.headerGroups(ProfileRespmodForwardRuleHeaderGroupArgs.builder()
.caseSensitivity("string")
.header("string")
.headerName("string")
.id(0)
.build())
.host("string")
.httpRespStatusCodes(ProfileRespmodForwardRuleHttpRespStatusCodeArgs.builder()
.code(0)
.build())
.name("string")
.build())
.response("string")
.responseFailure("string")
.responsePath("string")
.responseReqHdr("string")
.responseServer("string")
.scanProgressInterval(0)
.streamingContentBypass("string")
.timeout(0)
.vdomparam("string")
.build());
exampleprofile_resource_resource_from_icapprofile = fortios.icap.Profile("exampleprofileResourceResourceFromIcapprofile",
chunk_encap="string",
comment="string",
dynamic_sort_subtable="string",
extension_feature="string",
file_transfer="string",
file_transfer_failure="string",
file_transfer_path="string",
file_transfer_server="string",
get_all_tables="string",
icap_block_log="string",
icap_headers=[fortios.icap.ProfileIcapHeaderArgs(
base64_encoding="string",
content="string",
id=0,
name="string",
)],
methods="string",
n204_response="string",
n204_size_limit=0,
name="string",
preview="string",
preview_data_length=0,
replacemsg_group="string",
request="string",
request_failure="string",
request_path="string",
request_server="string",
respmod_default_action="string",
respmod_forward_rules=[fortios.icap.ProfileRespmodForwardRuleArgs(
action="string",
header_groups=[fortios.icap.ProfileRespmodForwardRuleHeaderGroupArgs(
case_sensitivity="string",
header="string",
header_name="string",
id=0,
)],
host="string",
http_resp_status_codes=[fortios.icap.ProfileRespmodForwardRuleHttpRespStatusCodeArgs(
code=0,
)],
name="string",
)],
response="string",
response_failure="string",
response_path="string",
response_req_hdr="string",
response_server="string",
scan_progress_interval=0,
streaming_content_bypass="string",
timeout=0,
vdomparam="string")
const exampleprofileResourceResourceFromIcapprofile = new fortios.icap.Profile("exampleprofileResourceResourceFromIcapprofile", {
chunkEncap: "string",
comment: "string",
dynamicSortSubtable: "string",
extensionFeature: "string",
fileTransfer: "string",
fileTransferFailure: "string",
fileTransferPath: "string",
fileTransferServer: "string",
getAllTables: "string",
icapBlockLog: "string",
icapHeaders: [{
base64Encoding: "string",
content: "string",
id: 0,
name: "string",
}],
methods: "string",
n204Response: "string",
n204SizeLimit: 0,
name: "string",
preview: "string",
previewDataLength: 0,
replacemsgGroup: "string",
request: "string",
requestFailure: "string",
requestPath: "string",
requestServer: "string",
respmodDefaultAction: "string",
respmodForwardRules: [{
action: "string",
headerGroups: [{
caseSensitivity: "string",
header: "string",
headerName: "string",
id: 0,
}],
host: "string",
httpRespStatusCodes: [{
code: 0,
}],
name: "string",
}],
response: "string",
responseFailure: "string",
responsePath: "string",
responseReqHdr: "string",
responseServer: "string",
scanProgressInterval: 0,
streamingContentBypass: "string",
timeout: 0,
vdomparam: "string",
});
type: fortios:icap:Profile
properties:
chunkEncap: string
comment: string
dynamicSortSubtable: string
extensionFeature: string
fileTransfer: string
fileTransferFailure: string
fileTransferPath: string
fileTransferServer: string
getAllTables: string
icapBlockLog: string
icapHeaders:
- base64Encoding: string
content: string
id: 0
name: string
methods: string
n204Response: string
n204SizeLimit: 0
name: string
preview: string
previewDataLength: 0
replacemsgGroup: string
request: string
requestFailure: string
requestPath: string
requestServer: string
respmodDefaultAction: string
respmodForwardRules:
- action: string
headerGroups:
- caseSensitivity: string
header: string
headerName: string
id: 0
host: string
httpRespStatusCodes:
- code: 0
name: string
response: string
responseFailure: string
responsePath: string
responseReqHdr: string
responseServer: string
scanProgressInterval: 0
streamingContentBypass: string
timeout: 0
vdomparam: string
Profile Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Profile resource accepts the following input properties:
- Chunk
Encap string - Enable/disable chunked encapsulation (default = disable). Valid values:
disable
,enable
. - Comment string
- Comment.
- Dynamic
Sort stringSubtable - 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 ].
- Extension
Feature string - Enable/disable ICAP extension features. Valid values:
scan-progress
. - File
Transfer string - Configure the file transfer protocols to pass transferred files to an ICAP server as REQMOD. Valid values:
ssh
,ftp
. - File
Transfer stringFailure - Action to take if the ICAP server cannot be contacted when processing a file transfer. Valid values:
error
,bypass
. - File
Transfer stringPath - Path component of the ICAP URI that identifies the file transfer processing service.
- File
Transfer stringServer - ICAP server to use for a file transfer.
- Get
All stringTables - 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.
- Icap
Block stringLog - Enable/disable UTM log when infection found (default = disable). Valid values:
disable
,enable
. - Icap
Headers List<Pulumiverse.Fortios. Icap. Inputs. Profile Icap Header> - Configure ICAP forwarded request headers. The structure of
icap_headers
block is documented below. - Methods string
- The allowed HTTP methods that will be sent to ICAP server for further processing.
- N204Response string
- Enable/disable allowance of 204 response from ICAP server. Valid values:
disable
,enable
. - N204Size
Limit int - 204 response size limit to be saved by ICAP client in megabytes (1 - 10, default = 1 MB).
- Name string
- ICAP profile name.
- Preview string
- Enable/disable preview of data to ICAP server. Valid values:
disable
,enable
. - Preview
Data intLength - Preview data length to be sent to ICAP server.
- Replacemsg
Group string - Replacement message group.
- Request string
- Enable/disable whether an HTTP request is passed to an ICAP server. Valid values:
disable
,enable
. - Request
Failure string - Action to take if the ICAP server cannot be contacted when processing an HTTP request. Valid values:
error
,bypass
. - Request
Path string - Path component of the ICAP URI that identifies the HTTP request processing service.
- Request
Server string - ICAP server to use for an HTTP request.
- Respmod
Default stringAction - Default action to ICAP response modification (respmod) processing. Valid values:
forward
,bypass
. - Respmod
Forward List<Pulumiverse.Rules Fortios. Icap. Inputs. Profile Respmod Forward Rule> - ICAP response mode forward rules. The structure of
respmod_forward_rules
block is documented below. - Response string
- Enable/disable whether an HTTP response is passed to an ICAP server. Valid values:
disable
,enable
. - Response
Failure string - Action to take if the ICAP server cannot be contacted when processing an HTTP response. Valid values:
error
,bypass
. - Response
Path string - Path component of the ICAP URI that identifies the HTTP response processing service.
- Response
Req stringHdr - Enable/disable addition of req-hdr for ICAP response modification (respmod) processing. Valid values:
disable
,enable
. - Response
Server string - ICAP server to use for an HTTP response.
- Scan
Progress intInterval - Scan progress interval value.
- Streaming
Content stringBypass - Enable/disable bypassing of ICAP server for streaming content. Valid values:
disable
,enable
. - Timeout int
- Time (in seconds) that ICAP client waits for the response from ICAP server.
- Vdomparam string
- 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.
- Chunk
Encap string - Enable/disable chunked encapsulation (default = disable). Valid values:
disable
,enable
. - Comment string
- Comment.
- Dynamic
Sort stringSubtable - 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 ].
- Extension
Feature string - Enable/disable ICAP extension features. Valid values:
scan-progress
. - File
Transfer string - Configure the file transfer protocols to pass transferred files to an ICAP server as REQMOD. Valid values:
ssh
,ftp
. - File
Transfer stringFailure - Action to take if the ICAP server cannot be contacted when processing a file transfer. Valid values:
error
,bypass
. - File
Transfer stringPath - Path component of the ICAP URI that identifies the file transfer processing service.
- File
Transfer stringServer - ICAP server to use for a file transfer.
- Get
All stringTables - 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.
- Icap
Block stringLog - Enable/disable UTM log when infection found (default = disable). Valid values:
disable
,enable
. - Icap
Headers []ProfileIcap Header Args - Configure ICAP forwarded request headers. The structure of
icap_headers
block is documented below. - Methods string
- The allowed HTTP methods that will be sent to ICAP server for further processing.
- N204Response string
- Enable/disable allowance of 204 response from ICAP server. Valid values:
disable
,enable
. - N204Size
Limit int - 204 response size limit to be saved by ICAP client in megabytes (1 - 10, default = 1 MB).
- Name string
- ICAP profile name.
- Preview string
- Enable/disable preview of data to ICAP server. Valid values:
disable
,enable
. - Preview
Data intLength - Preview data length to be sent to ICAP server.
- Replacemsg
Group string - Replacement message group.
- Request string
- Enable/disable whether an HTTP request is passed to an ICAP server. Valid values:
disable
,enable
. - Request
Failure string - Action to take if the ICAP server cannot be contacted when processing an HTTP request. Valid values:
error
,bypass
. - Request
Path string - Path component of the ICAP URI that identifies the HTTP request processing service.
- Request
Server string - ICAP server to use for an HTTP request.
- Respmod
Default stringAction - Default action to ICAP response modification (respmod) processing. Valid values:
forward
,bypass
. - Respmod
Forward []ProfileRules Respmod Forward Rule Args - ICAP response mode forward rules. The structure of
respmod_forward_rules
block is documented below. - Response string
- Enable/disable whether an HTTP response is passed to an ICAP server. Valid values:
disable
,enable
. - Response
Failure string - Action to take if the ICAP server cannot be contacted when processing an HTTP response. Valid values:
error
,bypass
. - Response
Path string - Path component of the ICAP URI that identifies the HTTP response processing service.
- Response
Req stringHdr - Enable/disable addition of req-hdr for ICAP response modification (respmod) processing. Valid values:
disable
,enable
. - Response
Server string - ICAP server to use for an HTTP response.
- Scan
Progress intInterval - Scan progress interval value.
- Streaming
Content stringBypass - Enable/disable bypassing of ICAP server for streaming content. Valid values:
disable
,enable
. - Timeout int
- Time (in seconds) that ICAP client waits for the response from ICAP server.
- Vdomparam string
- 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.
- chunk
Encap String - Enable/disable chunked encapsulation (default = disable). Valid values:
disable
,enable
. - comment String
- Comment.
- dynamic
Sort StringSubtable - 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 ].
- extension
Feature String - Enable/disable ICAP extension features. Valid values:
scan-progress
. - file
Transfer String - Configure the file transfer protocols to pass transferred files to an ICAP server as REQMOD. Valid values:
ssh
,ftp
. - file
Transfer StringFailure - Action to take if the ICAP server cannot be contacted when processing a file transfer. Valid values:
error
,bypass
. - file
Transfer StringPath - Path component of the ICAP URI that identifies the file transfer processing service.
- file
Transfer StringServer - ICAP server to use for a file transfer.
- get
All StringTables - 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.
- icap
Block StringLog - Enable/disable UTM log when infection found (default = disable). Valid values:
disable
,enable
. - icap
Headers List<ProfileIcap Header> - Configure ICAP forwarded request headers. The structure of
icap_headers
block is documented below. - methods String
- The allowed HTTP methods that will be sent to ICAP server for further processing.
- n204Response String
- Enable/disable allowance of 204 response from ICAP server. Valid values:
disable
,enable
. - n204Size
Limit Integer - 204 response size limit to be saved by ICAP client in megabytes (1 - 10, default = 1 MB).
- name String
- ICAP profile name.
- preview String
- Enable/disable preview of data to ICAP server. Valid values:
disable
,enable
. - preview
Data IntegerLength - Preview data length to be sent to ICAP server.
- replacemsg
Group String - Replacement message group.
- request String
- Enable/disable whether an HTTP request is passed to an ICAP server. Valid values:
disable
,enable
. - request
Failure String - Action to take if the ICAP server cannot be contacted when processing an HTTP request. Valid values:
error
,bypass
. - request
Path String - Path component of the ICAP URI that identifies the HTTP request processing service.
- request
Server String - ICAP server to use for an HTTP request.
- respmod
Default StringAction - Default action to ICAP response modification (respmod) processing. Valid values:
forward
,bypass
. - respmod
Forward List<ProfileRules Respmod Forward Rule> - ICAP response mode forward rules. The structure of
respmod_forward_rules
block is documented below. - response String
- Enable/disable whether an HTTP response is passed to an ICAP server. Valid values:
disable
,enable
. - response
Failure String - Action to take if the ICAP server cannot be contacted when processing an HTTP response. Valid values:
error
,bypass
. - response
Path String - Path component of the ICAP URI that identifies the HTTP response processing service.
- response
Req StringHdr - Enable/disable addition of req-hdr for ICAP response modification (respmod) processing. Valid values:
disable
,enable
. - response
Server String - ICAP server to use for an HTTP response.
- scan
Progress IntegerInterval - Scan progress interval value.
- streaming
Content StringBypass - Enable/disable bypassing of ICAP server for streaming content. Valid values:
disable
,enable
. - timeout Integer
- Time (in seconds) that ICAP client waits for the response from ICAP server.
- vdomparam String
- 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.
- chunk
Encap string - Enable/disable chunked encapsulation (default = disable). Valid values:
disable
,enable
. - comment string
- Comment.
- dynamic
Sort stringSubtable - 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 ].
- extension
Feature string - Enable/disable ICAP extension features. Valid values:
scan-progress
. - file
Transfer string - Configure the file transfer protocols to pass transferred files to an ICAP server as REQMOD. Valid values:
ssh
,ftp
. - file
Transfer stringFailure - Action to take if the ICAP server cannot be contacted when processing a file transfer. Valid values:
error
,bypass
. - file
Transfer stringPath - Path component of the ICAP URI that identifies the file transfer processing service.
- file
Transfer stringServer - ICAP server to use for a file transfer.
- get
All stringTables - 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.
- icap
Block stringLog - Enable/disable UTM log when infection found (default = disable). Valid values:
disable
,enable
. - icap
Headers ProfileIcap Header[] - Configure ICAP forwarded request headers. The structure of
icap_headers
block is documented below. - methods string
- The allowed HTTP methods that will be sent to ICAP server for further processing.
- n204Response string
- Enable/disable allowance of 204 response from ICAP server. Valid values:
disable
,enable
. - n204Size
Limit number - 204 response size limit to be saved by ICAP client in megabytes (1 - 10, default = 1 MB).
- name string
- ICAP profile name.
- preview string
- Enable/disable preview of data to ICAP server. Valid values:
disable
,enable
. - preview
Data numberLength - Preview data length to be sent to ICAP server.
- replacemsg
Group string - Replacement message group.
- request string
- Enable/disable whether an HTTP request is passed to an ICAP server. Valid values:
disable
,enable
. - request
Failure string - Action to take if the ICAP server cannot be contacted when processing an HTTP request. Valid values:
error
,bypass
. - request
Path string - Path component of the ICAP URI that identifies the HTTP request processing service.
- request
Server string - ICAP server to use for an HTTP request.
- respmod
Default stringAction - Default action to ICAP response modification (respmod) processing. Valid values:
forward
,bypass
. - respmod
Forward ProfileRules Respmod Forward Rule[] - ICAP response mode forward rules. The structure of
respmod_forward_rules
block is documented below. - response string
- Enable/disable whether an HTTP response is passed to an ICAP server. Valid values:
disable
,enable
. - response
Failure string - Action to take if the ICAP server cannot be contacted when processing an HTTP response. Valid values:
error
,bypass
. - response
Path string - Path component of the ICAP URI that identifies the HTTP response processing service.
- response
Req stringHdr - Enable/disable addition of req-hdr for ICAP response modification (respmod) processing. Valid values:
disable
,enable
. - response
Server string - ICAP server to use for an HTTP response.
- scan
Progress numberInterval - Scan progress interval value.
- streaming
Content stringBypass - Enable/disable bypassing of ICAP server for streaming content. Valid values:
disable
,enable
. - timeout number
- Time (in seconds) that ICAP client waits for the response from ICAP server.
- vdomparam string
- 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.
- chunk_
encap str - Enable/disable chunked encapsulation (default = disable). Valid values:
disable
,enable
. - comment str
- Comment.
- dynamic_
sort_ strsubtable - 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 ].
- extension_
feature str - Enable/disable ICAP extension features. Valid values:
scan-progress
. - file_
transfer str - Configure the file transfer protocols to pass transferred files to an ICAP server as REQMOD. Valid values:
ssh
,ftp
. - file_
transfer_ strfailure - Action to take if the ICAP server cannot be contacted when processing a file transfer. Valid values:
error
,bypass
. - file_
transfer_ strpath - Path component of the ICAP URI that identifies the file transfer processing service.
- file_
transfer_ strserver - ICAP server to use for a file transfer.
- get_
all_ strtables - 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.
- icap_
block_ strlog - Enable/disable UTM log when infection found (default = disable). Valid values:
disable
,enable
. - icap_
headers Sequence[ProfileIcap Header Args] - Configure ICAP forwarded request headers. The structure of
icap_headers
block is documented below. - methods str
- The allowed HTTP methods that will be sent to ICAP server for further processing.
- n204_
response str - Enable/disable allowance of 204 response from ICAP server. Valid values:
disable
,enable
. - n204_
size_ intlimit - 204 response size limit to be saved by ICAP client in megabytes (1 - 10, default = 1 MB).
- name str
- ICAP profile name.
- preview str
- Enable/disable preview of data to ICAP server. Valid values:
disable
,enable
. - preview_
data_ intlength - Preview data length to be sent to ICAP server.
- replacemsg_
group str - Replacement message group.
- request str
- Enable/disable whether an HTTP request is passed to an ICAP server. Valid values:
disable
,enable
. - request_
failure str - Action to take if the ICAP server cannot be contacted when processing an HTTP request. Valid values:
error
,bypass
. - request_
path str - Path component of the ICAP URI that identifies the HTTP request processing service.
- request_
server str - ICAP server to use for an HTTP request.
- respmod_
default_ straction - Default action to ICAP response modification (respmod) processing. Valid values:
forward
,bypass
. - respmod_
forward_ Sequence[Profilerules Respmod Forward Rule Args] - ICAP response mode forward rules. The structure of
respmod_forward_rules
block is documented below. - response str
- Enable/disable whether an HTTP response is passed to an ICAP server. Valid values:
disable
,enable
. - response_
failure str - Action to take if the ICAP server cannot be contacted when processing an HTTP response. Valid values:
error
,bypass
. - response_
path str - Path component of the ICAP URI that identifies the HTTP response processing service.
- response_
req_ strhdr - Enable/disable addition of req-hdr for ICAP response modification (respmod) processing. Valid values:
disable
,enable
. - response_
server str - ICAP server to use for an HTTP response.
- scan_
progress_ intinterval - Scan progress interval value.
- streaming_
content_ strbypass - Enable/disable bypassing of ICAP server for streaming content. Valid values:
disable
,enable
. - timeout int
- Time (in seconds) that ICAP client waits for the response from ICAP server.
- vdomparam str
- 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.
- chunk
Encap String - Enable/disable chunked encapsulation (default = disable). Valid values:
disable
,enable
. - comment String
- Comment.
- dynamic
Sort StringSubtable - 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 ].
- extension
Feature String - Enable/disable ICAP extension features. Valid values:
scan-progress
. - file
Transfer String - Configure the file transfer protocols to pass transferred files to an ICAP server as REQMOD. Valid values:
ssh
,ftp
. - file
Transfer StringFailure - Action to take if the ICAP server cannot be contacted when processing a file transfer. Valid values:
error
,bypass
. - file
Transfer StringPath - Path component of the ICAP URI that identifies the file transfer processing service.
- file
Transfer StringServer - ICAP server to use for a file transfer.
- get
All StringTables - 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.
- icap
Block StringLog - Enable/disable UTM log when infection found (default = disable). Valid values:
disable
,enable
. - icap
Headers List<Property Map> - Configure ICAP forwarded request headers. The structure of
icap_headers
block is documented below. - methods String
- The allowed HTTP methods that will be sent to ICAP server for further processing.
- n204Response String
- Enable/disable allowance of 204 response from ICAP server. Valid values:
disable
,enable
. - n204Size
Limit Number - 204 response size limit to be saved by ICAP client in megabytes (1 - 10, default = 1 MB).
- name String
- ICAP profile name.
- preview String
- Enable/disable preview of data to ICAP server. Valid values:
disable
,enable
. - preview
Data NumberLength - Preview data length to be sent to ICAP server.
- replacemsg
Group String - Replacement message group.
- request String
- Enable/disable whether an HTTP request is passed to an ICAP server. Valid values:
disable
,enable
. - request
Failure String - Action to take if the ICAP server cannot be contacted when processing an HTTP request. Valid values:
error
,bypass
. - request
Path String - Path component of the ICAP URI that identifies the HTTP request processing service.
- request
Server String - ICAP server to use for an HTTP request.
- respmod
Default StringAction - Default action to ICAP response modification (respmod) processing. Valid values:
forward
,bypass
. - respmod
Forward List<Property Map>Rules - ICAP response mode forward rules. The structure of
respmod_forward_rules
block is documented below. - response String
- Enable/disable whether an HTTP response is passed to an ICAP server. Valid values:
disable
,enable
. - response
Failure String - Action to take if the ICAP server cannot be contacted when processing an HTTP response. Valid values:
error
,bypass
. - response
Path String - Path component of the ICAP URI that identifies the HTTP response processing service.
- response
Req StringHdr - Enable/disable addition of req-hdr for ICAP response modification (respmod) processing. Valid values:
disable
,enable
. - response
Server String - ICAP server to use for an HTTP response.
- scan
Progress NumberInterval - Scan progress interval value.
- streaming
Content StringBypass - Enable/disable bypassing of ICAP server for streaming content. Valid values:
disable
,enable
. - timeout Number
- Time (in seconds) that ICAP client waits for the response from ICAP server.
- vdomparam String
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the Profile resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Profile Resource
Get an existing Profile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ProfileState, opts?: CustomResourceOptions): Profile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
chunk_encap: Optional[str] = None,
comment: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
extension_feature: Optional[str] = None,
file_transfer: Optional[str] = None,
file_transfer_failure: Optional[str] = None,
file_transfer_path: Optional[str] = None,
file_transfer_server: Optional[str] = None,
get_all_tables: Optional[str] = None,
icap_block_log: Optional[str] = None,
icap_headers: Optional[Sequence[ProfileIcapHeaderArgs]] = None,
methods: Optional[str] = None,
n204_response: Optional[str] = None,
n204_size_limit: Optional[int] = None,
name: Optional[str] = None,
preview: Optional[str] = None,
preview_data_length: Optional[int] = None,
replacemsg_group: Optional[str] = None,
request: Optional[str] = None,
request_failure: Optional[str] = None,
request_path: Optional[str] = None,
request_server: Optional[str] = None,
respmod_default_action: Optional[str] = None,
respmod_forward_rules: Optional[Sequence[ProfileRespmodForwardRuleArgs]] = None,
response: Optional[str] = None,
response_failure: Optional[str] = None,
response_path: Optional[str] = None,
response_req_hdr: Optional[str] = None,
response_server: Optional[str] = None,
scan_progress_interval: Optional[int] = None,
streaming_content_bypass: Optional[str] = None,
timeout: Optional[int] = None,
vdomparam: Optional[str] = None) -> Profile
func GetProfile(ctx *Context, name string, id IDInput, state *ProfileState, opts ...ResourceOption) (*Profile, error)
public static Profile Get(string name, Input<string> id, ProfileState? state, CustomResourceOptions? opts = null)
public static Profile get(String name, Output<String> id, ProfileState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Chunk
Encap string - Enable/disable chunked encapsulation (default = disable). Valid values:
disable
,enable
. - Comment string
- Comment.
- Dynamic
Sort stringSubtable - 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 ].
- Extension
Feature string - Enable/disable ICAP extension features. Valid values:
scan-progress
. - File
Transfer string - Configure the file transfer protocols to pass transferred files to an ICAP server as REQMOD. Valid values:
ssh
,ftp
. - File
Transfer stringFailure - Action to take if the ICAP server cannot be contacted when processing a file transfer. Valid values:
error
,bypass
. - File
Transfer stringPath - Path component of the ICAP URI that identifies the file transfer processing service.
- File
Transfer stringServer - ICAP server to use for a file transfer.
- Get
All stringTables - 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.
- Icap
Block stringLog - Enable/disable UTM log when infection found (default = disable). Valid values:
disable
,enable
. - Icap
Headers List<Pulumiverse.Fortios. Icap. Inputs. Profile Icap Header> - Configure ICAP forwarded request headers. The structure of
icap_headers
block is documented below. - Methods string
- The allowed HTTP methods that will be sent to ICAP server for further processing.
- N204Response string
- Enable/disable allowance of 204 response from ICAP server. Valid values:
disable
,enable
. - N204Size
Limit int - 204 response size limit to be saved by ICAP client in megabytes (1 - 10, default = 1 MB).
- Name string
- ICAP profile name.
- Preview string
- Enable/disable preview of data to ICAP server. Valid values:
disable
,enable
. - Preview
Data intLength - Preview data length to be sent to ICAP server.
- Replacemsg
Group string - Replacement message group.
- Request string
- Enable/disable whether an HTTP request is passed to an ICAP server. Valid values:
disable
,enable
. - Request
Failure string - Action to take if the ICAP server cannot be contacted when processing an HTTP request. Valid values:
error
,bypass
. - Request
Path string - Path component of the ICAP URI that identifies the HTTP request processing service.
- Request
Server string - ICAP server to use for an HTTP request.
- Respmod
Default stringAction - Default action to ICAP response modification (respmod) processing. Valid values:
forward
,bypass
. - Respmod
Forward List<Pulumiverse.Rules Fortios. Icap. Inputs. Profile Respmod Forward Rule> - ICAP response mode forward rules. The structure of
respmod_forward_rules
block is documented below. - Response string
- Enable/disable whether an HTTP response is passed to an ICAP server. Valid values:
disable
,enable
. - Response
Failure string - Action to take if the ICAP server cannot be contacted when processing an HTTP response. Valid values:
error
,bypass
. - Response
Path string - Path component of the ICAP URI that identifies the HTTP response processing service.
- Response
Req stringHdr - Enable/disable addition of req-hdr for ICAP response modification (respmod) processing. Valid values:
disable
,enable
. - Response
Server string - ICAP server to use for an HTTP response.
- Scan
Progress intInterval - Scan progress interval value.
- Streaming
Content stringBypass - Enable/disable bypassing of ICAP server for streaming content. Valid values:
disable
,enable
. - Timeout int
- Time (in seconds) that ICAP client waits for the response from ICAP server.
- Vdomparam string
- 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.
- Chunk
Encap string - Enable/disable chunked encapsulation (default = disable). Valid values:
disable
,enable
. - Comment string
- Comment.
- Dynamic
Sort stringSubtable - 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 ].
- Extension
Feature string - Enable/disable ICAP extension features. Valid values:
scan-progress
. - File
Transfer string - Configure the file transfer protocols to pass transferred files to an ICAP server as REQMOD. Valid values:
ssh
,ftp
. - File
Transfer stringFailure - Action to take if the ICAP server cannot be contacted when processing a file transfer. Valid values:
error
,bypass
. - File
Transfer stringPath - Path component of the ICAP URI that identifies the file transfer processing service.
- File
Transfer stringServer - ICAP server to use for a file transfer.
- Get
All stringTables - 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.
- Icap
Block stringLog - Enable/disable UTM log when infection found (default = disable). Valid values:
disable
,enable
. - Icap
Headers []ProfileIcap Header Args - Configure ICAP forwarded request headers. The structure of
icap_headers
block is documented below. - Methods string
- The allowed HTTP methods that will be sent to ICAP server for further processing.
- N204Response string
- Enable/disable allowance of 204 response from ICAP server. Valid values:
disable
,enable
. - N204Size
Limit int - 204 response size limit to be saved by ICAP client in megabytes (1 - 10, default = 1 MB).
- Name string
- ICAP profile name.
- Preview string
- Enable/disable preview of data to ICAP server. Valid values:
disable
,enable
. - Preview
Data intLength - Preview data length to be sent to ICAP server.
- Replacemsg
Group string - Replacement message group.
- Request string
- Enable/disable whether an HTTP request is passed to an ICAP server. Valid values:
disable
,enable
. - Request
Failure string - Action to take if the ICAP server cannot be contacted when processing an HTTP request. Valid values:
error
,bypass
. - Request
Path string - Path component of the ICAP URI that identifies the HTTP request processing service.
- Request
Server string - ICAP server to use for an HTTP request.
- Respmod
Default stringAction - Default action to ICAP response modification (respmod) processing. Valid values:
forward
,bypass
. - Respmod
Forward []ProfileRules Respmod Forward Rule Args - ICAP response mode forward rules. The structure of
respmod_forward_rules
block is documented below. - Response string
- Enable/disable whether an HTTP response is passed to an ICAP server. Valid values:
disable
,enable
. - Response
Failure string - Action to take if the ICAP server cannot be contacted when processing an HTTP response. Valid values:
error
,bypass
. - Response
Path string - Path component of the ICAP URI that identifies the HTTP response processing service.
- Response
Req stringHdr - Enable/disable addition of req-hdr for ICAP response modification (respmod) processing. Valid values:
disable
,enable
. - Response
Server string - ICAP server to use for an HTTP response.
- Scan
Progress intInterval - Scan progress interval value.
- Streaming
Content stringBypass - Enable/disable bypassing of ICAP server for streaming content. Valid values:
disable
,enable
. - Timeout int
- Time (in seconds) that ICAP client waits for the response from ICAP server.
- Vdomparam string
- 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.
- chunk
Encap String - Enable/disable chunked encapsulation (default = disable). Valid values:
disable
,enable
. - comment String
- Comment.
- dynamic
Sort StringSubtable - 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 ].
- extension
Feature String - Enable/disable ICAP extension features. Valid values:
scan-progress
. - file
Transfer String - Configure the file transfer protocols to pass transferred files to an ICAP server as REQMOD. Valid values:
ssh
,ftp
. - file
Transfer StringFailure - Action to take if the ICAP server cannot be contacted when processing a file transfer. Valid values:
error
,bypass
. - file
Transfer StringPath - Path component of the ICAP URI that identifies the file transfer processing service.
- file
Transfer StringServer - ICAP server to use for a file transfer.
- get
All StringTables - 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.
- icap
Block StringLog - Enable/disable UTM log when infection found (default = disable). Valid values:
disable
,enable
. - icap
Headers List<ProfileIcap Header> - Configure ICAP forwarded request headers. The structure of
icap_headers
block is documented below. - methods String
- The allowed HTTP methods that will be sent to ICAP server for further processing.
- n204Response String
- Enable/disable allowance of 204 response from ICAP server. Valid values:
disable
,enable
. - n204Size
Limit Integer - 204 response size limit to be saved by ICAP client in megabytes (1 - 10, default = 1 MB).
- name String
- ICAP profile name.
- preview String
- Enable/disable preview of data to ICAP server. Valid values:
disable
,enable
. - preview
Data IntegerLength - Preview data length to be sent to ICAP server.
- replacemsg
Group String - Replacement message group.
- request String
- Enable/disable whether an HTTP request is passed to an ICAP server. Valid values:
disable
,enable
. - request
Failure String - Action to take if the ICAP server cannot be contacted when processing an HTTP request. Valid values:
error
,bypass
. - request
Path String - Path component of the ICAP URI that identifies the HTTP request processing service.
- request
Server String - ICAP server to use for an HTTP request.
- respmod
Default StringAction - Default action to ICAP response modification (respmod) processing. Valid values:
forward
,bypass
. - respmod
Forward List<ProfileRules Respmod Forward Rule> - ICAP response mode forward rules. The structure of
respmod_forward_rules
block is documented below. - response String
- Enable/disable whether an HTTP response is passed to an ICAP server. Valid values:
disable
,enable
. - response
Failure String - Action to take if the ICAP server cannot be contacted when processing an HTTP response. Valid values:
error
,bypass
. - response
Path String - Path component of the ICAP URI that identifies the HTTP response processing service.
- response
Req StringHdr - Enable/disable addition of req-hdr for ICAP response modification (respmod) processing. Valid values:
disable
,enable
. - response
Server String - ICAP server to use for an HTTP response.
- scan
Progress IntegerInterval - Scan progress interval value.
- streaming
Content StringBypass - Enable/disable bypassing of ICAP server for streaming content. Valid values:
disable
,enable
. - timeout Integer
- Time (in seconds) that ICAP client waits for the response from ICAP server.
- vdomparam String
- 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.
- chunk
Encap string - Enable/disable chunked encapsulation (default = disable). Valid values:
disable
,enable
. - comment string
- Comment.
- dynamic
Sort stringSubtable - 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 ].
- extension
Feature string - Enable/disable ICAP extension features. Valid values:
scan-progress
. - file
Transfer string - Configure the file transfer protocols to pass transferred files to an ICAP server as REQMOD. Valid values:
ssh
,ftp
. - file
Transfer stringFailure - Action to take if the ICAP server cannot be contacted when processing a file transfer. Valid values:
error
,bypass
. - file
Transfer stringPath - Path component of the ICAP URI that identifies the file transfer processing service.
- file
Transfer stringServer - ICAP server to use for a file transfer.
- get
All stringTables - 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.
- icap
Block stringLog - Enable/disable UTM log when infection found (default = disable). Valid values:
disable
,enable
. - icap
Headers ProfileIcap Header[] - Configure ICAP forwarded request headers. The structure of
icap_headers
block is documented below. - methods string
- The allowed HTTP methods that will be sent to ICAP server for further processing.
- n204Response string
- Enable/disable allowance of 204 response from ICAP server. Valid values:
disable
,enable
. - n204Size
Limit number - 204 response size limit to be saved by ICAP client in megabytes (1 - 10, default = 1 MB).
- name string
- ICAP profile name.
- preview string
- Enable/disable preview of data to ICAP server. Valid values:
disable
,enable
. - preview
Data numberLength - Preview data length to be sent to ICAP server.
- replacemsg
Group string - Replacement message group.
- request string
- Enable/disable whether an HTTP request is passed to an ICAP server. Valid values:
disable
,enable
. - request
Failure string - Action to take if the ICAP server cannot be contacted when processing an HTTP request. Valid values:
error
,bypass
. - request
Path string - Path component of the ICAP URI that identifies the HTTP request processing service.
- request
Server string - ICAP server to use for an HTTP request.
- respmod
Default stringAction - Default action to ICAP response modification (respmod) processing. Valid values:
forward
,bypass
. - respmod
Forward ProfileRules Respmod Forward Rule[] - ICAP response mode forward rules. The structure of
respmod_forward_rules
block is documented below. - response string
- Enable/disable whether an HTTP response is passed to an ICAP server. Valid values:
disable
,enable
. - response
Failure string - Action to take if the ICAP server cannot be contacted when processing an HTTP response. Valid values:
error
,bypass
. - response
Path string - Path component of the ICAP URI that identifies the HTTP response processing service.
- response
Req stringHdr - Enable/disable addition of req-hdr for ICAP response modification (respmod) processing. Valid values:
disable
,enable
. - response
Server string - ICAP server to use for an HTTP response.
- scan
Progress numberInterval - Scan progress interval value.
- streaming
Content stringBypass - Enable/disable bypassing of ICAP server for streaming content. Valid values:
disable
,enable
. - timeout number
- Time (in seconds) that ICAP client waits for the response from ICAP server.
- vdomparam string
- 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.
- chunk_
encap str - Enable/disable chunked encapsulation (default = disable). Valid values:
disable
,enable
. - comment str
- Comment.
- dynamic_
sort_ strsubtable - 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 ].
- extension_
feature str - Enable/disable ICAP extension features. Valid values:
scan-progress
. - file_
transfer str - Configure the file transfer protocols to pass transferred files to an ICAP server as REQMOD. Valid values:
ssh
,ftp
. - file_
transfer_ strfailure - Action to take if the ICAP server cannot be contacted when processing a file transfer. Valid values:
error
,bypass
. - file_
transfer_ strpath - Path component of the ICAP URI that identifies the file transfer processing service.
- file_
transfer_ strserver - ICAP server to use for a file transfer.
- get_
all_ strtables - 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.
- icap_
block_ strlog - Enable/disable UTM log when infection found (default = disable). Valid values:
disable
,enable
. - icap_
headers Sequence[ProfileIcap Header Args] - Configure ICAP forwarded request headers. The structure of
icap_headers
block is documented below. - methods str
- The allowed HTTP methods that will be sent to ICAP server for further processing.
- n204_
response str - Enable/disable allowance of 204 response from ICAP server. Valid values:
disable
,enable
. - n204_
size_ intlimit - 204 response size limit to be saved by ICAP client in megabytes (1 - 10, default = 1 MB).
- name str
- ICAP profile name.
- preview str
- Enable/disable preview of data to ICAP server. Valid values:
disable
,enable
. - preview_
data_ intlength - Preview data length to be sent to ICAP server.
- replacemsg_
group str - Replacement message group.
- request str
- Enable/disable whether an HTTP request is passed to an ICAP server. Valid values:
disable
,enable
. - request_
failure str - Action to take if the ICAP server cannot be contacted when processing an HTTP request. Valid values:
error
,bypass
. - request_
path str - Path component of the ICAP URI that identifies the HTTP request processing service.
- request_
server str - ICAP server to use for an HTTP request.
- respmod_
default_ straction - Default action to ICAP response modification (respmod) processing. Valid values:
forward
,bypass
. - respmod_
forward_ Sequence[Profilerules Respmod Forward Rule Args] - ICAP response mode forward rules. The structure of
respmod_forward_rules
block is documented below. - response str
- Enable/disable whether an HTTP response is passed to an ICAP server. Valid values:
disable
,enable
. - response_
failure str - Action to take if the ICAP server cannot be contacted when processing an HTTP response. Valid values:
error
,bypass
. - response_
path str - Path component of the ICAP URI that identifies the HTTP response processing service.
- response_
req_ strhdr - Enable/disable addition of req-hdr for ICAP response modification (respmod) processing. Valid values:
disable
,enable
. - response_
server str - ICAP server to use for an HTTP response.
- scan_
progress_ intinterval - Scan progress interval value.
- streaming_
content_ strbypass - Enable/disable bypassing of ICAP server for streaming content. Valid values:
disable
,enable
. - timeout int
- Time (in seconds) that ICAP client waits for the response from ICAP server.
- vdomparam str
- 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.
- chunk
Encap String - Enable/disable chunked encapsulation (default = disable). Valid values:
disable
,enable
. - comment String
- Comment.
- dynamic
Sort StringSubtable - 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 ].
- extension
Feature String - Enable/disable ICAP extension features. Valid values:
scan-progress
. - file
Transfer String - Configure the file transfer protocols to pass transferred files to an ICAP server as REQMOD. Valid values:
ssh
,ftp
. - file
Transfer StringFailure - Action to take if the ICAP server cannot be contacted when processing a file transfer. Valid values:
error
,bypass
. - file
Transfer StringPath - Path component of the ICAP URI that identifies the file transfer processing service.
- file
Transfer StringServer - ICAP server to use for a file transfer.
- get
All StringTables - 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.
- icap
Block StringLog - Enable/disable UTM log when infection found (default = disable). Valid values:
disable
,enable
. - icap
Headers List<Property Map> - Configure ICAP forwarded request headers. The structure of
icap_headers
block is documented below. - methods String
- The allowed HTTP methods that will be sent to ICAP server for further processing.
- n204Response String
- Enable/disable allowance of 204 response from ICAP server. Valid values:
disable
,enable
. - n204Size
Limit Number - 204 response size limit to be saved by ICAP client in megabytes (1 - 10, default = 1 MB).
- name String
- ICAP profile name.
- preview String
- Enable/disable preview of data to ICAP server. Valid values:
disable
,enable
. - preview
Data NumberLength - Preview data length to be sent to ICAP server.
- replacemsg
Group String - Replacement message group.
- request String
- Enable/disable whether an HTTP request is passed to an ICAP server. Valid values:
disable
,enable
. - request
Failure String - Action to take if the ICAP server cannot be contacted when processing an HTTP request. Valid values:
error
,bypass
. - request
Path String - Path component of the ICAP URI that identifies the HTTP request processing service.
- request
Server String - ICAP server to use for an HTTP request.
- respmod
Default StringAction - Default action to ICAP response modification (respmod) processing. Valid values:
forward
,bypass
. - respmod
Forward List<Property Map>Rules - ICAP response mode forward rules. The structure of
respmod_forward_rules
block is documented below. - response String
- Enable/disable whether an HTTP response is passed to an ICAP server. Valid values:
disable
,enable
. - response
Failure String - Action to take if the ICAP server cannot be contacted when processing an HTTP response. Valid values:
error
,bypass
. - response
Path String - Path component of the ICAP URI that identifies the HTTP response processing service.
- response
Req StringHdr - Enable/disable addition of req-hdr for ICAP response modification (respmod) processing. Valid values:
disable
,enable
. - response
Server String - ICAP server to use for an HTTP response.
- scan
Progress NumberInterval - Scan progress interval value.
- streaming
Content StringBypass - Enable/disable bypassing of ICAP server for streaming content. Valid values:
disable
,enable
. - timeout Number
- Time (in seconds) that ICAP client waits for the response from ICAP server.
- vdomparam String
- 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.
Supporting Types
ProfileIcapHeader, ProfileIcapHeaderArgs
- Base64Encoding string
- Enable/disable use of base64 encoding of HTTP content. Valid values:
disable
,enable
. - Content string
- HTTP header content.
- Id int
- HTTP forwarded header ID.
- Name string
- HTTP forwarded header name.
- Base64Encoding string
- Enable/disable use of base64 encoding of HTTP content. Valid values:
disable
,enable
. - Content string
- HTTP header content.
- Id int
- HTTP forwarded header ID.
- Name string
- HTTP forwarded header name.
- base64Encoding String
- Enable/disable use of base64 encoding of HTTP content. Valid values:
disable
,enable
. - content String
- HTTP header content.
- id Integer
- HTTP forwarded header ID.
- name String
- HTTP forwarded header name.
- base64Encoding string
- Enable/disable use of base64 encoding of HTTP content. Valid values:
disable
,enable
. - content string
- HTTP header content.
- id number
- HTTP forwarded header ID.
- name string
- HTTP forwarded header name.
- base64_
encoding str - Enable/disable use of base64 encoding of HTTP content. Valid values:
disable
,enable
. - content str
- HTTP header content.
- id int
- HTTP forwarded header ID.
- name str
- HTTP forwarded header name.
- base64Encoding String
- Enable/disable use of base64 encoding of HTTP content. Valid values:
disable
,enable
. - content String
- HTTP header content.
- id Number
- HTTP forwarded header ID.
- name String
- HTTP forwarded header name.
ProfileRespmodForwardRule, ProfileRespmodForwardRuleArgs
- Action string
- Action to be taken for ICAP server. Valid values:
forward
,bypass
. - Header
Groups List<Pulumiverse.Fortios. Icap. Inputs. Profile Respmod Forward Rule Header Group> - HTTP header group. The structure of
header_group
block is documented below. - Host string
- Address object for the host.
- Http
Resp List<Pulumiverse.Status Codes Fortios. Icap. Inputs. Profile Respmod Forward Rule Http Resp Status Code> - HTTP response status code. The structure of
http_resp_status_code
block is documented below. - Name string
- Address name.
- Action string
- Action to be taken for ICAP server. Valid values:
forward
,bypass
. - Header
Groups []ProfileRespmod Forward Rule Header Group - HTTP header group. The structure of
header_group
block is documented below. - Host string
- Address object for the host.
- Http
Resp []ProfileStatus Codes Respmod Forward Rule Http Resp Status Code - HTTP response status code. The structure of
http_resp_status_code
block is documented below. - Name string
- Address name.
- action String
- Action to be taken for ICAP server. Valid values:
forward
,bypass
. - header
Groups List<ProfileRespmod Forward Rule Header Group> - HTTP header group. The structure of
header_group
block is documented below. - host String
- Address object for the host.
- http
Resp List<ProfileStatus Codes Respmod Forward Rule Http Resp Status Code> - HTTP response status code. The structure of
http_resp_status_code
block is documented below. - name String
- Address name.
- action string
- Action to be taken for ICAP server. Valid values:
forward
,bypass
. - header
Groups ProfileRespmod Forward Rule Header Group[] - HTTP header group. The structure of
header_group
block is documented below. - host string
- Address object for the host.
- http
Resp ProfileStatus Codes Respmod Forward Rule Http Resp Status Code[] - HTTP response status code. The structure of
http_resp_status_code
block is documented below. - name string
- Address name.
- action str
- Action to be taken for ICAP server. Valid values:
forward
,bypass
. - header_
groups Sequence[ProfileRespmod Forward Rule Header Group] - HTTP header group. The structure of
header_group
block is documented below. - host str
- Address object for the host.
- http_
resp_ Sequence[Profilestatus_ codes Respmod Forward Rule Http Resp Status Code] - HTTP response status code. The structure of
http_resp_status_code
block is documented below. - name str
- Address name.
- action String
- Action to be taken for ICAP server. Valid values:
forward
,bypass
. - header
Groups List<Property Map> - HTTP header group. The structure of
header_group
block is documented below. - host String
- Address object for the host.
- http
Resp List<Property Map>Status Codes - HTTP response status code. The structure of
http_resp_status_code
block is documented below. - name String
- Address name.
ProfileRespmodForwardRuleHeaderGroup, ProfileRespmodForwardRuleHeaderGroupArgs
- Case
Sensitivity string - Enable/disable case sensitivity when matching header. Valid values:
disable
,enable
. - Header string
- HTTP header regular expression.
- Header
Name string - HTTP header.
- Id int
- ID.
- Case
Sensitivity string - Enable/disable case sensitivity when matching header. Valid values:
disable
,enable
. - Header string
- HTTP header regular expression.
- Header
Name string - HTTP header.
- Id int
- ID.
- case
Sensitivity String - Enable/disable case sensitivity when matching header. Valid values:
disable
,enable
. - header String
- HTTP header regular expression.
- header
Name String - HTTP header.
- id Integer
- ID.
- case
Sensitivity string - Enable/disable case sensitivity when matching header. Valid values:
disable
,enable
. - header string
- HTTP header regular expression.
- header
Name string - HTTP header.
- id number
- ID.
- case_
sensitivity str - Enable/disable case sensitivity when matching header. Valid values:
disable
,enable
. - header str
- HTTP header regular expression.
- header_
name str - HTTP header.
- id int
- ID.
- case
Sensitivity String - Enable/disable case sensitivity when matching header. Valid values:
disable
,enable
. - header String
- HTTP header regular expression.
- header
Name String - HTTP header.
- id Number
- ID.
ProfileRespmodForwardRuleHttpRespStatusCode, ProfileRespmodForwardRuleHttpRespStatusCodeArgs
- Code int
- HTTP response status code.
- Code int
- HTTP response status code.
- code Integer
- HTTP response status code.
- code number
- HTTP response status code.
- code int
- HTTP response status code.
- code Number
- HTTP response status code.
Import
Icap Profile can be imported using any of these accepted formats:
$ pulumi import fortios:icap/profile:Profile labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:icap/profile:Profile labelname {{name}}
$ unset “FORTIOS_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.