1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectAntivirusProfileHttp
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectAntivirusProfileHttp

Explore with Pulumi AI

Configure HTTP AntiVirus options.

This resource is a sub resource for variable http of resource fortimanager.ObjectAntivirusProfile. Conflict and overwrite may occur if use both of them.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trnameObjectAntivirusProfile = new fortimanager.ObjectAntivirusProfile("trnameObjectAntivirusProfile", {});
const trnameObjectAntivirusProfileHttp = new fortimanager.ObjectAntivirusProfileHttp("trnameObjectAntivirusProfileHttp", {
    avScan: "block",
    fortiai: "monitor",
    profile: trnameObjectAntivirusProfile.name,
}, {
    dependsOn: [trnameObjectAntivirusProfile],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname_object_antivirus_profile = fortimanager.ObjectAntivirusProfile("trnameObjectAntivirusProfile")
trname_object_antivirus_profile_http = fortimanager.ObjectAntivirusProfileHttp("trnameObjectAntivirusProfileHttp",
    av_scan="block",
    fortiai="monitor",
    profile=trname_object_antivirus_profile.name,
    opts = pulumi.ResourceOptions(depends_on=[trname_object_antivirus_profile]))
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		trnameObjectAntivirusProfile, err := fortimanager.NewObjectAntivirusProfile(ctx, "trnameObjectAntivirusProfile", nil)
		if err != nil {
			return err
		}
		_, err = fortimanager.NewObjectAntivirusProfileHttp(ctx, "trnameObjectAntivirusProfileHttp", &fortimanager.ObjectAntivirusProfileHttpArgs{
			AvScan:  pulumi.String("block"),
			Fortiai: pulumi.String("monitor"),
			Profile: trnameObjectAntivirusProfile.Name,
		}, pulumi.DependsOn([]pulumi.Resource{
			trnameObjectAntivirusProfile,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trnameObjectAntivirusProfile = new Fortimanager.ObjectAntivirusProfile("trnameObjectAntivirusProfile");

    var trnameObjectAntivirusProfileHttp = new Fortimanager.ObjectAntivirusProfileHttp("trnameObjectAntivirusProfileHttp", new()
    {
        AvScan = "block",
        Fortiai = "monitor",
        Profile = trnameObjectAntivirusProfile.Name,
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trnameObjectAntivirusProfile,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectAntivirusProfile;
import com.pulumi.fortimanager.ObjectAntivirusProfileHttp;
import com.pulumi.fortimanager.ObjectAntivirusProfileHttpArgs;
import com.pulumi.resources.CustomResourceOptions;
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 trnameObjectAntivirusProfile = new ObjectAntivirusProfile("trnameObjectAntivirusProfile");

        var trnameObjectAntivirusProfileHttp = new ObjectAntivirusProfileHttp("trnameObjectAntivirusProfileHttp", ObjectAntivirusProfileHttpArgs.builder()
            .avScan("block")
            .fortiai("monitor")
            .profile(trnameObjectAntivirusProfile.name())
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectAntivirusProfile)
                .build());

    }
}
Copy
resources:
  trnameObjectAntivirusProfileHttp:
    type: fortimanager:ObjectAntivirusProfileHttp
    properties:
      avScan: block
      fortiai: monitor
      profile: ${trnameObjectAntivirusProfile.name}
    options:
      dependsOn:
        - ${trnameObjectAntivirusProfile}
  trnameObjectAntivirusProfile:
    type: fortimanager:ObjectAntivirusProfile
Copy

Create ObjectAntivirusProfileHttp Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ObjectAntivirusProfileHttp(name: string, args: ObjectAntivirusProfileHttpArgs, opts?: CustomResourceOptions);
@overload
def ObjectAntivirusProfileHttp(resource_name: str,
                               args: ObjectAntivirusProfileHttpInitArgs,
                               opts: Optional[ResourceOptions] = None)

@overload
def ObjectAntivirusProfileHttp(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               profile: Optional[str] = None,
                               fortiai: Optional[str] = None,
                               fortisandbox: Optional[str] = None,
                               av_optimize: Optional[str] = None,
                               av_scan: Optional[str] = None,
                               content_disarm: Optional[str] = None,
                               emulator: Optional[str] = None,
                               external_blocklist: Optional[str] = None,
                               adom: Optional[str] = None,
                               archive_logs: Optional[Sequence[str]] = None,
                               object_antivirus_profile_http_id: Optional[str] = None,
                               fortindr: Optional[str] = None,
                               options: Optional[Sequence[str]] = None,
                               outbreak_prevention: Optional[str] = None,
                               archive_blocks: Optional[Sequence[str]] = None,
                               quarantine: Optional[str] = None,
                               scopetype: Optional[str] = None,
                               unknown_content_encoding: Optional[str] = None)
func NewObjectAntivirusProfileHttp(ctx *Context, name string, args ObjectAntivirusProfileHttpArgs, opts ...ResourceOption) (*ObjectAntivirusProfileHttp, error)
public ObjectAntivirusProfileHttp(string name, ObjectAntivirusProfileHttpArgs args, CustomResourceOptions? opts = null)
public ObjectAntivirusProfileHttp(String name, ObjectAntivirusProfileHttpArgs args)
public ObjectAntivirusProfileHttp(String name, ObjectAntivirusProfileHttpArgs args, CustomResourceOptions options)
type: fortimanager:ObjectAntivirusProfileHttp
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ObjectAntivirusProfileHttpArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ObjectAntivirusProfileHttpInitArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectAntivirusProfileHttpArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectAntivirusProfileHttpArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ObjectAntivirusProfileHttpArgs
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 objectAntivirusProfileHttpResource = new Fortimanager.ObjectAntivirusProfileHttp("objectAntivirusProfileHttpResource", new()
{
    Profile = "string",
    Fortiai = "string",
    Fortisandbox = "string",
    AvOptimize = "string",
    AvScan = "string",
    ContentDisarm = "string",
    Emulator = "string",
    ExternalBlocklist = "string",
    Adom = "string",
    ArchiveLogs = new[]
    {
        "string",
    },
    ObjectAntivirusProfileHttpId = "string",
    Fortindr = "string",
    Options = new[]
    {
        "string",
    },
    OutbreakPrevention = "string",
    ArchiveBlocks = new[]
    {
        "string",
    },
    Quarantine = "string",
    Scopetype = "string",
    UnknownContentEncoding = "string",
});
Copy
example, err := fortimanager.NewObjectAntivirusProfileHttp(ctx, "objectAntivirusProfileHttpResource", &fortimanager.ObjectAntivirusProfileHttpArgs{
Profile: pulumi.String("string"),
Fortiai: pulumi.String("string"),
Fortisandbox: pulumi.String("string"),
AvOptimize: pulumi.String("string"),
AvScan: pulumi.String("string"),
ContentDisarm: pulumi.String("string"),
Emulator: pulumi.String("string"),
ExternalBlocklist: pulumi.String("string"),
Adom: pulumi.String("string"),
ArchiveLogs: pulumi.StringArray{
pulumi.String("string"),
},
ObjectAntivirusProfileHttpId: pulumi.String("string"),
Fortindr: pulumi.String("string"),
Options: pulumi.StringArray{
pulumi.String("string"),
},
OutbreakPrevention: pulumi.String("string"),
ArchiveBlocks: pulumi.StringArray{
pulumi.String("string"),
},
Quarantine: pulumi.String("string"),
Scopetype: pulumi.String("string"),
UnknownContentEncoding: pulumi.String("string"),
})
Copy
var objectAntivirusProfileHttpResource = new ObjectAntivirusProfileHttp("objectAntivirusProfileHttpResource", ObjectAntivirusProfileHttpArgs.builder()
    .profile("string")
    .fortiai("string")
    .fortisandbox("string")
    .avOptimize("string")
    .avScan("string")
    .contentDisarm("string")
    .emulator("string")
    .externalBlocklist("string")
    .adom("string")
    .archiveLogs("string")
    .objectAntivirusProfileHttpId("string")
    .fortindr("string")
    .options("string")
    .outbreakPrevention("string")
    .archiveBlocks("string")
    .quarantine("string")
    .scopetype("string")
    .unknownContentEncoding("string")
    .build());
Copy
object_antivirus_profile_http_resource = fortimanager.ObjectAntivirusProfileHttp("objectAntivirusProfileHttpResource",
    profile="string",
    fortiai="string",
    fortisandbox="string",
    av_optimize="string",
    av_scan="string",
    content_disarm="string",
    emulator="string",
    external_blocklist="string",
    adom="string",
    archive_logs=["string"],
    object_antivirus_profile_http_id="string",
    fortindr="string",
    options=["string"],
    outbreak_prevention="string",
    archive_blocks=["string"],
    quarantine="string",
    scopetype="string",
    unknown_content_encoding="string")
Copy
const objectAntivirusProfileHttpResource = new fortimanager.ObjectAntivirusProfileHttp("objectAntivirusProfileHttpResource", {
    profile: "string",
    fortiai: "string",
    fortisandbox: "string",
    avOptimize: "string",
    avScan: "string",
    contentDisarm: "string",
    emulator: "string",
    externalBlocklist: "string",
    adom: "string",
    archiveLogs: ["string"],
    objectAntivirusProfileHttpId: "string",
    fortindr: "string",
    options: ["string"],
    outbreakPrevention: "string",
    archiveBlocks: ["string"],
    quarantine: "string",
    scopetype: "string",
    unknownContentEncoding: "string",
});
Copy
type: fortimanager:ObjectAntivirusProfileHttp
properties:
    adom: string
    archiveBlocks:
        - string
    archiveLogs:
        - string
    avOptimize: string
    avScan: string
    contentDisarm: string
    emulator: string
    externalBlocklist: string
    fortiai: string
    fortindr: string
    fortisandbox: string
    objectAntivirusProfileHttpId: string
    options:
        - string
    outbreakPrevention: string
    profile: string
    quarantine: string
    scopetype: string
    unknownContentEncoding: string
Copy

ObjectAntivirusProfileHttp Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ObjectAntivirusProfileHttp resource accepts the following input properties:

Profile This property is required. string
Profile.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ArchiveBlocks List<string>
Select the archive types to block. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
ArchiveLogs List<string>
Select the archive types to log. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
AvOptimize string
Av-Optimize. Valid values: disable, enable.
AvScan string
Enable AntiVirus scan service. Valid values: disable, monitor, block.
ContentDisarm string
Enable Content Disarm and Reconstruction for this protocol. Valid values: disable, enable.
Emulator string
Enable/disable the virus emulator. Valid values: disable, enable.
ExternalBlocklist string
Enable external-blocklist. Valid values: disable, monitor, block.
Fortiai string
Enable/disable scanning of files by FortiAI server. Valid values: disable, monitor, block.
Fortindr string
Enable/disable scanning of files by FortiNDR. Valid values: disable, block, monitor.
Fortisandbox string
Enable scanning of files by FortiSandbox. Valid values: disable, block, monitor.
ObjectAntivirusProfileHttpId string
an identifier for the resource.
Options List<string>
Enable/disable HTTP AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor, strict-file.
OutbreakPrevention string
Enable Virus Outbreak Prevention service. Valid values: disabled, files, full-archive.
Quarantine string
Enable/disable quarantine for infected files. Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
UnknownContentEncoding string
Configure the action the FortiGate unit will take on unknown content-encoding. Valid values: block, inspect, bypass.
Profile This property is required. string
Profile.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ArchiveBlocks []string
Select the archive types to block. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
ArchiveLogs []string
Select the archive types to log. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
AvOptimize string
Av-Optimize. Valid values: disable, enable.
AvScan string
Enable AntiVirus scan service. Valid values: disable, monitor, block.
ContentDisarm string
Enable Content Disarm and Reconstruction for this protocol. Valid values: disable, enable.
Emulator string
Enable/disable the virus emulator. Valid values: disable, enable.
ExternalBlocklist string
Enable external-blocklist. Valid values: disable, monitor, block.
Fortiai string
Enable/disable scanning of files by FortiAI server. Valid values: disable, monitor, block.
Fortindr string
Enable/disable scanning of files by FortiNDR. Valid values: disable, block, monitor.
Fortisandbox string
Enable scanning of files by FortiSandbox. Valid values: disable, block, monitor.
ObjectAntivirusProfileHttpId string
an identifier for the resource.
Options []string
Enable/disable HTTP AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor, strict-file.
OutbreakPrevention string
Enable Virus Outbreak Prevention service. Valid values: disabled, files, full-archive.
Quarantine string
Enable/disable quarantine for infected files. Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
UnknownContentEncoding string
Configure the action the FortiGate unit will take on unknown content-encoding. Valid values: block, inspect, bypass.
profile This property is required. String
Profile.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
archiveBlocks List<String>
Select the archive types to block. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
archiveLogs List<String>
Select the archive types to log. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
avOptimize String
Av-Optimize. Valid values: disable, enable.
avScan String
Enable AntiVirus scan service. Valid values: disable, monitor, block.
contentDisarm String
Enable Content Disarm and Reconstruction for this protocol. Valid values: disable, enable.
emulator String
Enable/disable the virus emulator. Valid values: disable, enable.
externalBlocklist String
Enable external-blocklist. Valid values: disable, monitor, block.
fortiai String
Enable/disable scanning of files by FortiAI server. Valid values: disable, monitor, block.
fortindr String
Enable/disable scanning of files by FortiNDR. Valid values: disable, block, monitor.
fortisandbox String
Enable scanning of files by FortiSandbox. Valid values: disable, block, monitor.
objectAntivirusProfileHttpId String
an identifier for the resource.
options List<String>
Enable/disable HTTP AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor, strict-file.
outbreakPrevention String
Enable Virus Outbreak Prevention service. Valid values: disabled, files, full-archive.
quarantine String
Enable/disable quarantine for infected files. Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
unknownContentEncoding String
Configure the action the FortiGate unit will take on unknown content-encoding. Valid values: block, inspect, bypass.
profile This property is required. string
Profile.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
archiveBlocks string[]
Select the archive types to block. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
archiveLogs string[]
Select the archive types to log. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
avOptimize string
Av-Optimize. Valid values: disable, enable.
avScan string
Enable AntiVirus scan service. Valid values: disable, monitor, block.
contentDisarm string
Enable Content Disarm and Reconstruction for this protocol. Valid values: disable, enable.
emulator string
Enable/disable the virus emulator. Valid values: disable, enable.
externalBlocklist string
Enable external-blocklist. Valid values: disable, monitor, block.
fortiai string
Enable/disable scanning of files by FortiAI server. Valid values: disable, monitor, block.
fortindr string
Enable/disable scanning of files by FortiNDR. Valid values: disable, block, monitor.
fortisandbox string
Enable scanning of files by FortiSandbox. Valid values: disable, block, monitor.
objectAntivirusProfileHttpId string
an identifier for the resource.
options string[]
Enable/disable HTTP AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor, strict-file.
outbreakPrevention string
Enable Virus Outbreak Prevention service. Valid values: disabled, files, full-archive.
quarantine string
Enable/disable quarantine for infected files. Valid values: disable, enable.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
unknownContentEncoding string
Configure the action the FortiGate unit will take on unknown content-encoding. Valid values: block, inspect, bypass.
profile This property is required. str
Profile.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
archive_blocks Sequence[str]
Select the archive types to block. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
archive_logs Sequence[str]
Select the archive types to log. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
av_optimize str
Av-Optimize. Valid values: disable, enable.
av_scan str
Enable AntiVirus scan service. Valid values: disable, monitor, block.
content_disarm str
Enable Content Disarm and Reconstruction for this protocol. Valid values: disable, enable.
emulator str
Enable/disable the virus emulator. Valid values: disable, enable.
external_blocklist str
Enable external-blocklist. Valid values: disable, monitor, block.
fortiai str
Enable/disable scanning of files by FortiAI server. Valid values: disable, monitor, block.
fortindr str
Enable/disable scanning of files by FortiNDR. Valid values: disable, block, monitor.
fortisandbox str
Enable scanning of files by FortiSandbox. Valid values: disable, block, monitor.
object_antivirus_profile_http_id str
an identifier for the resource.
options Sequence[str]
Enable/disable HTTP AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor, strict-file.
outbreak_prevention str
Enable Virus Outbreak Prevention service. Valid values: disabled, files, full-archive.
quarantine str
Enable/disable quarantine for infected files. Valid values: disable, enable.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
unknown_content_encoding str
Configure the action the FortiGate unit will take on unknown content-encoding. Valid values: block, inspect, bypass.
profile This property is required. String
Profile.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
archiveBlocks List<String>
Select the archive types to block. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
archiveLogs List<String>
Select the archive types to log. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
avOptimize String
Av-Optimize. Valid values: disable, enable.
avScan String
Enable AntiVirus scan service. Valid values: disable, monitor, block.
contentDisarm String
Enable Content Disarm and Reconstruction for this protocol. Valid values: disable, enable.
emulator String
Enable/disable the virus emulator. Valid values: disable, enable.
externalBlocklist String
Enable external-blocklist. Valid values: disable, monitor, block.
fortiai String
Enable/disable scanning of files by FortiAI server. Valid values: disable, monitor, block.
fortindr String
Enable/disable scanning of files by FortiNDR. Valid values: disable, block, monitor.
fortisandbox String
Enable scanning of files by FortiSandbox. Valid values: disable, block, monitor.
objectAntivirusProfileHttpId String
an identifier for the resource.
options List<String>
Enable/disable HTTP AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor, strict-file.
outbreakPrevention String
Enable Virus Outbreak Prevention service. Valid values: disabled, files, full-archive.
quarantine String
Enable/disable quarantine for infected files. Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
unknownContentEncoding String
Configure the action the FortiGate unit will take on unknown content-encoding. Valid values: block, inspect, bypass.

Outputs

All input properties are implicitly available as output properties. Additionally, the ObjectAntivirusProfileHttp 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 ObjectAntivirusProfileHttp Resource

Get an existing ObjectAntivirusProfileHttp 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?: ObjectAntivirusProfileHttpState, opts?: CustomResourceOptions): ObjectAntivirusProfileHttp
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        archive_blocks: Optional[Sequence[str]] = None,
        archive_logs: Optional[Sequence[str]] = None,
        av_optimize: Optional[str] = None,
        av_scan: Optional[str] = None,
        content_disarm: Optional[str] = None,
        emulator: Optional[str] = None,
        external_blocklist: Optional[str] = None,
        fortiai: Optional[str] = None,
        fortindr: Optional[str] = None,
        fortisandbox: Optional[str] = None,
        object_antivirus_profile_http_id: Optional[str] = None,
        options: Optional[Sequence[str]] = None,
        outbreak_prevention: Optional[str] = None,
        profile: Optional[str] = None,
        quarantine: Optional[str] = None,
        scopetype: Optional[str] = None,
        unknown_content_encoding: Optional[str] = None) -> ObjectAntivirusProfileHttp
func GetObjectAntivirusProfileHttp(ctx *Context, name string, id IDInput, state *ObjectAntivirusProfileHttpState, opts ...ResourceOption) (*ObjectAntivirusProfileHttp, error)
public static ObjectAntivirusProfileHttp Get(string name, Input<string> id, ObjectAntivirusProfileHttpState? state, CustomResourceOptions? opts = null)
public static ObjectAntivirusProfileHttp get(String name, Output<String> id, ObjectAntivirusProfileHttpState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectAntivirusProfileHttp    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ArchiveBlocks List<string>
Select the archive types to block. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
ArchiveLogs List<string>
Select the archive types to log. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
AvOptimize string
Av-Optimize. Valid values: disable, enable.
AvScan string
Enable AntiVirus scan service. Valid values: disable, monitor, block.
ContentDisarm string
Enable Content Disarm and Reconstruction for this protocol. Valid values: disable, enable.
Emulator string
Enable/disable the virus emulator. Valid values: disable, enable.
ExternalBlocklist string
Enable external-blocklist. Valid values: disable, monitor, block.
Fortiai string
Enable/disable scanning of files by FortiAI server. Valid values: disable, monitor, block.
Fortindr string
Enable/disable scanning of files by FortiNDR. Valid values: disable, block, monitor.
Fortisandbox string
Enable scanning of files by FortiSandbox. Valid values: disable, block, monitor.
ObjectAntivirusProfileHttpId string
an identifier for the resource.
Options List<string>
Enable/disable HTTP AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor, strict-file.
OutbreakPrevention string
Enable Virus Outbreak Prevention service. Valid values: disabled, files, full-archive.
Profile string
Profile.
Quarantine string
Enable/disable quarantine for infected files. Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
UnknownContentEncoding string
Configure the action the FortiGate unit will take on unknown content-encoding. Valid values: block, inspect, bypass.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
ArchiveBlocks []string
Select the archive types to block. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
ArchiveLogs []string
Select the archive types to log. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
AvOptimize string
Av-Optimize. Valid values: disable, enable.
AvScan string
Enable AntiVirus scan service. Valid values: disable, monitor, block.
ContentDisarm string
Enable Content Disarm and Reconstruction for this protocol. Valid values: disable, enable.
Emulator string
Enable/disable the virus emulator. Valid values: disable, enable.
ExternalBlocklist string
Enable external-blocklist. Valid values: disable, monitor, block.
Fortiai string
Enable/disable scanning of files by FortiAI server. Valid values: disable, monitor, block.
Fortindr string
Enable/disable scanning of files by FortiNDR. Valid values: disable, block, monitor.
Fortisandbox string
Enable scanning of files by FortiSandbox. Valid values: disable, block, monitor.
ObjectAntivirusProfileHttpId string
an identifier for the resource.
Options []string
Enable/disable HTTP AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor, strict-file.
OutbreakPrevention string
Enable Virus Outbreak Prevention service. Valid values: disabled, files, full-archive.
Profile string
Profile.
Quarantine string
Enable/disable quarantine for infected files. Valid values: disable, enable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
UnknownContentEncoding string
Configure the action the FortiGate unit will take on unknown content-encoding. Valid values: block, inspect, bypass.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
archiveBlocks List<String>
Select the archive types to block. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
archiveLogs List<String>
Select the archive types to log. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
avOptimize String
Av-Optimize. Valid values: disable, enable.
avScan String
Enable AntiVirus scan service. Valid values: disable, monitor, block.
contentDisarm String
Enable Content Disarm and Reconstruction for this protocol. Valid values: disable, enable.
emulator String
Enable/disable the virus emulator. Valid values: disable, enable.
externalBlocklist String
Enable external-blocklist. Valid values: disable, monitor, block.
fortiai String
Enable/disable scanning of files by FortiAI server. Valid values: disable, monitor, block.
fortindr String
Enable/disable scanning of files by FortiNDR. Valid values: disable, block, monitor.
fortisandbox String
Enable scanning of files by FortiSandbox. Valid values: disable, block, monitor.
objectAntivirusProfileHttpId String
an identifier for the resource.
options List<String>
Enable/disable HTTP AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor, strict-file.
outbreakPrevention String
Enable Virus Outbreak Prevention service. Valid values: disabled, files, full-archive.
profile String
Profile.
quarantine String
Enable/disable quarantine for infected files. Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
unknownContentEncoding String
Configure the action the FortiGate unit will take on unknown content-encoding. Valid values: block, inspect, bypass.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
archiveBlocks string[]
Select the archive types to block. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
archiveLogs string[]
Select the archive types to log. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
avOptimize string
Av-Optimize. Valid values: disable, enable.
avScan string
Enable AntiVirus scan service. Valid values: disable, monitor, block.
contentDisarm string
Enable Content Disarm and Reconstruction for this protocol. Valid values: disable, enable.
emulator string
Enable/disable the virus emulator. Valid values: disable, enable.
externalBlocklist string
Enable external-blocklist. Valid values: disable, monitor, block.
fortiai string
Enable/disable scanning of files by FortiAI server. Valid values: disable, monitor, block.
fortindr string
Enable/disable scanning of files by FortiNDR. Valid values: disable, block, monitor.
fortisandbox string
Enable scanning of files by FortiSandbox. Valid values: disable, block, monitor.
objectAntivirusProfileHttpId string
an identifier for the resource.
options string[]
Enable/disable HTTP AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor, strict-file.
outbreakPrevention string
Enable Virus Outbreak Prevention service. Valid values: disabled, files, full-archive.
profile string
Profile.
quarantine string
Enable/disable quarantine for infected files. Valid values: disable, enable.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
unknownContentEncoding string
Configure the action the FortiGate unit will take on unknown content-encoding. Valid values: block, inspect, bypass.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
archive_blocks Sequence[str]
Select the archive types to block. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
archive_logs Sequence[str]
Select the archive types to log. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
av_optimize str
Av-Optimize. Valid values: disable, enable.
av_scan str
Enable AntiVirus scan service. Valid values: disable, monitor, block.
content_disarm str
Enable Content Disarm and Reconstruction for this protocol. Valid values: disable, enable.
emulator str
Enable/disable the virus emulator. Valid values: disable, enable.
external_blocklist str
Enable external-blocklist. Valid values: disable, monitor, block.
fortiai str
Enable/disable scanning of files by FortiAI server. Valid values: disable, monitor, block.
fortindr str
Enable/disable scanning of files by FortiNDR. Valid values: disable, block, monitor.
fortisandbox str
Enable scanning of files by FortiSandbox. Valid values: disable, block, monitor.
object_antivirus_profile_http_id str
an identifier for the resource.
options Sequence[str]
Enable/disable HTTP AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor, strict-file.
outbreak_prevention str
Enable Virus Outbreak Prevention service. Valid values: disabled, files, full-archive.
profile str
Profile.
quarantine str
Enable/disable quarantine for infected files. Valid values: disable, enable.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
unknown_content_encoding str
Configure the action the FortiGate unit will take on unknown content-encoding. Valid values: block, inspect, bypass.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
archiveBlocks List<String>
Select the archive types to block. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
archiveLogs List<String>
Select the archive types to log. Valid values: encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, fileslimit, timeout.
avOptimize String
Av-Optimize. Valid values: disable, enable.
avScan String
Enable AntiVirus scan service. Valid values: disable, monitor, block.
contentDisarm String
Enable Content Disarm and Reconstruction for this protocol. Valid values: disable, enable.
emulator String
Enable/disable the virus emulator. Valid values: disable, enable.
externalBlocklist String
Enable external-blocklist. Valid values: disable, monitor, block.
fortiai String
Enable/disable scanning of files by FortiAI server. Valid values: disable, monitor, block.
fortindr String
Enable/disable scanning of files by FortiNDR. Valid values: disable, block, monitor.
fortisandbox String
Enable scanning of files by FortiSandbox. Valid values: disable, block, monitor.
objectAntivirusProfileHttpId String
an identifier for the resource.
options List<String>
Enable/disable HTTP AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor, strict-file.
outbreakPrevention String
Enable Virus Outbreak Prevention service. Valid values: disabled, files, full-archive.
profile String
Profile.
quarantine String
Enable/disable quarantine for infected files. Valid values: disable, enable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
unknownContentEncoding String
Configure the action the FortiGate unit will take on unknown content-encoding. Valid values: block, inspect, bypass.

Import

ObjectAntivirus ProfileHttp can be imported using any of these accepted formats:

Set import_options = [“profile=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectAntivirusProfileHttp:ObjectAntivirusProfileHttp labelname ObjectAntivirusProfileHttp
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.