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

fortimanager.ObjectAntivirusProfilePop3

Explore with Pulumi AI

Configure POP3 AntiVirus options.

This resource is a sub resource for variable pop3 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 trnameObjectAntivirusProfilePop3 = new fortimanager.ObjectAntivirusProfilePop3("trnameObjectAntivirusProfilePop3", {
    emulator: "enable",
    executables: "default",
    externalBlocklist: "block",
    profile: trnameObjectAntivirusProfile.name,
}, {
    dependsOn: [trnameObjectAntivirusProfile],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname_object_antivirus_profile = fortimanager.ObjectAntivirusProfile("trnameObjectAntivirusProfile")
trname_object_antivirus_profile_pop3 = fortimanager.ObjectAntivirusProfilePop3("trnameObjectAntivirusProfilePop3",
    emulator="enable",
    executables="default",
    external_blocklist="block",
    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.NewObjectAntivirusProfilePop3(ctx, "trnameObjectAntivirusProfilePop3", &fortimanager.ObjectAntivirusProfilePop3Args{
			Emulator:          pulumi.String("enable"),
			Executables:       pulumi.String("default"),
			ExternalBlocklist: pulumi.String("block"),
			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 trnameObjectAntivirusProfilePop3 = new Fortimanager.ObjectAntivirusProfilePop3("trnameObjectAntivirusProfilePop3", new()
    {
        Emulator = "enable",
        Executables = "default",
        ExternalBlocklist = "block",
        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.ObjectAntivirusProfilePop3;
import com.pulumi.fortimanager.ObjectAntivirusProfilePop3Args;
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 trnameObjectAntivirusProfilePop3 = new ObjectAntivirusProfilePop3("trnameObjectAntivirusProfilePop3", ObjectAntivirusProfilePop3Args.builder()
            .emulator("enable")
            .executables("default")
            .externalBlocklist("block")
            .profile(trnameObjectAntivirusProfile.name())
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectAntivirusProfile)
                .build());

    }
}
Copy
resources:
  trnameObjectAntivirusProfilePop3:
    type: fortimanager:ObjectAntivirusProfilePop3
    properties:
      emulator: enable
      executables: default
      externalBlocklist: block
      profile: ${trnameObjectAntivirusProfile.name}
    options:
      dependsOn:
        - ${trnameObjectAntivirusProfile}
  trnameObjectAntivirusProfile:
    type: fortimanager:ObjectAntivirusProfile
Copy

Create ObjectAntivirusProfilePop3 Resource

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

Constructor syntax

new ObjectAntivirusProfilePop3(name: string, args: ObjectAntivirusProfilePop3Args, opts?: CustomResourceOptions);
@overload
def ObjectAntivirusProfilePop3(resource_name: str,
                               args: ObjectAntivirusProfilePop3InitArgs,
                               opts: Optional[ResourceOptions] = None)

@overload
def ObjectAntivirusProfilePop3(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               profile: Optional[str] = None,
                               fortiai: Optional[str] = None,
                               fortisandbox: Optional[str] = None,
                               av_scan: Optional[str] = None,
                               content_disarm: Optional[str] = None,
                               emulator: Optional[str] = None,
                               executables: Optional[str] = None,
                               archive_logs: Optional[Sequence[str]] = None,
                               external_blocklist: Optional[str] = None,
                               fortindr: Optional[str] = None,
                               adom: Optional[str] = None,
                               object_antivirus_profile_pop3_id: 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)
func NewObjectAntivirusProfilePop3(ctx *Context, name string, args ObjectAntivirusProfilePop3Args, opts ...ResourceOption) (*ObjectAntivirusProfilePop3, error)
public ObjectAntivirusProfilePop3(string name, ObjectAntivirusProfilePop3Args args, CustomResourceOptions? opts = null)
public ObjectAntivirusProfilePop3(String name, ObjectAntivirusProfilePop3Args args)
public ObjectAntivirusProfilePop3(String name, ObjectAntivirusProfilePop3Args args, CustomResourceOptions options)
type: fortimanager:ObjectAntivirusProfilePop3
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. ObjectAntivirusProfilePop3Args
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. ObjectAntivirusProfilePop3InitArgs
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. ObjectAntivirusProfilePop3Args
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. ObjectAntivirusProfilePop3Args
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. ObjectAntivirusProfilePop3Args
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 objectAntivirusProfilePop3Resource = new Fortimanager.ObjectAntivirusProfilePop3("objectAntivirusProfilePop3Resource", new()
{
    Profile = "string",
    Fortiai = "string",
    Fortisandbox = "string",
    AvScan = "string",
    ContentDisarm = "string",
    Emulator = "string",
    Executables = "string",
    ArchiveLogs = new[]
    {
        "string",
    },
    ExternalBlocklist = "string",
    Fortindr = "string",
    Adom = "string",
    ObjectAntivirusProfilePop3Id = "string",
    Options = new[]
    {
        "string",
    },
    OutbreakPrevention = "string",
    ArchiveBlocks = new[]
    {
        "string",
    },
    Quarantine = "string",
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectAntivirusProfilePop3(ctx, "objectAntivirusProfilePop3Resource", &fortimanager.ObjectAntivirusProfilePop3Args{
Profile: pulumi.String("string"),
Fortiai: pulumi.String("string"),
Fortisandbox: pulumi.String("string"),
AvScan: pulumi.String("string"),
ContentDisarm: pulumi.String("string"),
Emulator: pulumi.String("string"),
Executables: pulumi.String("string"),
ArchiveLogs: pulumi.StringArray{
pulumi.String("string"),
},
ExternalBlocklist: pulumi.String("string"),
Fortindr: pulumi.String("string"),
Adom: pulumi.String("string"),
ObjectAntivirusProfilePop3Id: 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"),
})
Copy
var objectAntivirusProfilePop3Resource = new ObjectAntivirusProfilePop3("objectAntivirusProfilePop3Resource", ObjectAntivirusProfilePop3Args.builder()
    .profile("string")
    .fortiai("string")
    .fortisandbox("string")
    .avScan("string")
    .contentDisarm("string")
    .emulator("string")
    .executables("string")
    .archiveLogs("string")
    .externalBlocklist("string")
    .fortindr("string")
    .adom("string")
    .objectAntivirusProfilePop3Id("string")
    .options("string")
    .outbreakPrevention("string")
    .archiveBlocks("string")
    .quarantine("string")
    .scopetype("string")
    .build());
Copy
object_antivirus_profile_pop3_resource = fortimanager.ObjectAntivirusProfilePop3("objectAntivirusProfilePop3Resource",
    profile="string",
    fortiai="string",
    fortisandbox="string",
    av_scan="string",
    content_disarm="string",
    emulator="string",
    executables="string",
    archive_logs=["string"],
    external_blocklist="string",
    fortindr="string",
    adom="string",
    object_antivirus_profile_pop3_id="string",
    options=["string"],
    outbreak_prevention="string",
    archive_blocks=["string"],
    quarantine="string",
    scopetype="string")
Copy
const objectAntivirusProfilePop3Resource = new fortimanager.ObjectAntivirusProfilePop3("objectAntivirusProfilePop3Resource", {
    profile: "string",
    fortiai: "string",
    fortisandbox: "string",
    avScan: "string",
    contentDisarm: "string",
    emulator: "string",
    executables: "string",
    archiveLogs: ["string"],
    externalBlocklist: "string",
    fortindr: "string",
    adom: "string",
    objectAntivirusProfilePop3Id: "string",
    options: ["string"],
    outbreakPrevention: "string",
    archiveBlocks: ["string"],
    quarantine: "string",
    scopetype: "string",
});
Copy
type: fortimanager:ObjectAntivirusProfilePop3
properties:
    adom: string
    archiveBlocks:
        - string
    archiveLogs:
        - string
    avScan: string
    contentDisarm: string
    emulator: string
    executables: string
    externalBlocklist: string
    fortiai: string
    fortindr: string
    fortisandbox: string
    objectAntivirusProfilePop3Id: string
    options:
        - string
    outbreakPrevention: string
    profile: string
    quarantine: string
    scopetype: string
Copy

ObjectAntivirusProfilePop3 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 ObjectAntivirusProfilePop3 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.
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.
Executables string
Treat Windows executable files as viruses for the purpose of blocking or monitoring. Valid values: default, virus.
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.
ObjectAntivirusProfilePop3Id string
an identifier for the resource.
Options List<string>
Enable/disable POP3 AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor.
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.
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.
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.
Executables string
Treat Windows executable files as viruses for the purpose of blocking or monitoring. Valid values: default, virus.
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.
ObjectAntivirusProfilePop3Id string
an identifier for the resource.
Options []string
Enable/disable POP3 AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor.
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.
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.
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.
executables String
Treat Windows executable files as viruses for the purpose of blocking or monitoring. Valid values: default, virus.
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.
objectAntivirusProfilePop3Id String
an identifier for the resource.
options List<String>
Enable/disable POP3 AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor.
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.
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.
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.
executables string
Treat Windows executable files as viruses for the purpose of blocking or monitoring. Valid values: default, virus.
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.
objectAntivirusProfilePop3Id string
an identifier for the resource.
options string[]
Enable/disable POP3 AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor.
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.
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_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.
executables str
Treat Windows executable files as viruses for the purpose of blocking or monitoring. Valid values: default, virus.
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_pop3_id str
an identifier for the resource.
options Sequence[str]
Enable/disable POP3 AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor.
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.
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.
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.
executables String
Treat Windows executable files as viruses for the purpose of blocking or monitoring. Valid values: default, virus.
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.
objectAntivirusProfilePop3Id String
an identifier for the resource.
options List<String>
Enable/disable POP3 AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor.
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.

Outputs

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

Get an existing ObjectAntivirusProfilePop3 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?: ObjectAntivirusProfilePop3State, opts?: CustomResourceOptions): ObjectAntivirusProfilePop3
@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_scan: Optional[str] = None,
        content_disarm: Optional[str] = None,
        emulator: Optional[str] = None,
        executables: Optional[str] = None,
        external_blocklist: Optional[str] = None,
        fortiai: Optional[str] = None,
        fortindr: Optional[str] = None,
        fortisandbox: Optional[str] = None,
        object_antivirus_profile_pop3_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) -> ObjectAntivirusProfilePop3
func GetObjectAntivirusProfilePop3(ctx *Context, name string, id IDInput, state *ObjectAntivirusProfilePop3State, opts ...ResourceOption) (*ObjectAntivirusProfilePop3, error)
public static ObjectAntivirusProfilePop3 Get(string name, Input<string> id, ObjectAntivirusProfilePop3State? state, CustomResourceOptions? opts = null)
public static ObjectAntivirusProfilePop3 get(String name, Output<String> id, ObjectAntivirusProfilePop3State state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectAntivirusProfilePop3    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.
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.
Executables string
Treat Windows executable files as viruses for the purpose of blocking or monitoring. Valid values: default, virus.
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.
ObjectAntivirusProfilePop3Id string
an identifier for the resource.
Options List<string>
Enable/disable POP3 AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor.
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.
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.
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.
Executables string
Treat Windows executable files as viruses for the purpose of blocking or monitoring. Valid values: default, virus.
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.
ObjectAntivirusProfilePop3Id string
an identifier for the resource.
Options []string
Enable/disable POP3 AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor.
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.
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.
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.
executables String
Treat Windows executable files as viruses for the purpose of blocking or monitoring. Valid values: default, virus.
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.
objectAntivirusProfilePop3Id String
an identifier for the resource.
options List<String>
Enable/disable POP3 AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor.
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.
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.
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.
executables string
Treat Windows executable files as viruses for the purpose of blocking or monitoring. Valid values: default, virus.
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.
objectAntivirusProfilePop3Id string
an identifier for the resource.
options string[]
Enable/disable POP3 AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor.
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.
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_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.
executables str
Treat Windows executable files as viruses for the purpose of blocking or monitoring. Valid values: default, virus.
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_pop3_id str
an identifier for the resource.
options Sequence[str]
Enable/disable POP3 AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor.
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.
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.
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.
executables String
Treat Windows executable files as viruses for the purpose of blocking or monitoring. Valid values: default, virus.
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.
objectAntivirusProfilePop3Id String
an identifier for the resource.
options List<String>
Enable/disable POP3 AntiVirus scanning, monitoring, and quarantine. Valid values: scan, file-filter, quarantine, avquery, avmonitor.
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.

Import

ObjectAntivirus ProfilePop3 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/objectAntivirusProfilePop3:ObjectAntivirusProfilePop3 labelname ObjectAntivirusProfilePop3
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.