1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectAntivirusProfileFtp
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.ObjectAntivirusProfileFtp

Explore with Pulumi AI

Configure FTP AntiVirus options.

This resource is a sub resource for variable ftp 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 trnameObjectAntivirusProfileFtp = new fortimanager.ObjectAntivirusProfileFtp("trnameObjectAntivirusProfileFtp", {
    profile: "default",
    avScan: "monitor",
    emulator: "enable",
}, {
    dependsOn: [trnameObjectAntivirusProfile],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname_object_antivirus_profile = fortimanager.ObjectAntivirusProfile("trnameObjectAntivirusProfile")
trname_object_antivirus_profile_ftp = fortimanager.ObjectAntivirusProfileFtp("trnameObjectAntivirusProfileFtp",
    profile="default",
    av_scan="monitor",
    emulator="enable",
    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.NewObjectAntivirusProfileFtp(ctx, "trnameObjectAntivirusProfileFtp", &fortimanager.ObjectAntivirusProfileFtpArgs{
			Profile:  pulumi.String("default"),
			AvScan:   pulumi.String("monitor"),
			Emulator: pulumi.String("enable"),
		}, 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 trnameObjectAntivirusProfileFtp = new Fortimanager.ObjectAntivirusProfileFtp("trnameObjectAntivirusProfileFtp", new()
    {
        Profile = "default",
        AvScan = "monitor",
        Emulator = "enable",
    }, 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.ObjectAntivirusProfileFtp;
import com.pulumi.fortimanager.ObjectAntivirusProfileFtpArgs;
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 trnameObjectAntivirusProfileFtp = new ObjectAntivirusProfileFtp("trnameObjectAntivirusProfileFtp", ObjectAntivirusProfileFtpArgs.builder()
            .profile("default")
            .avScan("monitor")
            .emulator("enable")
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectAntivirusProfile)
                .build());

    }
}
Copy
resources:
  trnameObjectAntivirusProfileFtp:
    type: fortimanager:ObjectAntivirusProfileFtp
    properties:
      profile: default
      avScan: monitor
      emulator: enable
    options:
      dependsOn:
        - ${trnameObjectAntivirusProfile}
  trnameObjectAntivirusProfile:
    type: fortimanager:ObjectAntivirusProfile
Copy

Create ObjectAntivirusProfileFtp Resource

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

Constructor syntax

new ObjectAntivirusProfileFtp(name: string, args: ObjectAntivirusProfileFtpArgs, opts?: CustomResourceOptions);
@overload
def ObjectAntivirusProfileFtp(resource_name: str,
                              args: ObjectAntivirusProfileFtpInitArgs,
                              opts: Optional[ResourceOptions] = None)

@overload
def ObjectAntivirusProfileFtp(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              profile: Optional[str] = None,
                              fortiai: Optional[str] = None,
                              fortisandbox: Optional[str] = None,
                              av_scan: Optional[str] = None,
                              emulator: Optional[str] = None,
                              external_blocklist: Optional[str] = None,
                              adom: Optional[str] = None,
                              fortindr: Optional[str] = None,
                              archive_logs: Optional[Sequence[str]] = None,
                              object_antivirus_profile_ftp_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 NewObjectAntivirusProfileFtp(ctx *Context, name string, args ObjectAntivirusProfileFtpArgs, opts ...ResourceOption) (*ObjectAntivirusProfileFtp, error)
public ObjectAntivirusProfileFtp(string name, ObjectAntivirusProfileFtpArgs args, CustomResourceOptions? opts = null)
public ObjectAntivirusProfileFtp(String name, ObjectAntivirusProfileFtpArgs args)
public ObjectAntivirusProfileFtp(String name, ObjectAntivirusProfileFtpArgs args, CustomResourceOptions options)
type: fortimanager:ObjectAntivirusProfileFtp
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. ObjectAntivirusProfileFtpArgs
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. ObjectAntivirusProfileFtpInitArgs
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. ObjectAntivirusProfileFtpArgs
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. ObjectAntivirusProfileFtpArgs
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. ObjectAntivirusProfileFtpArgs
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 objectAntivirusProfileFtpResource = new Fortimanager.ObjectAntivirusProfileFtp("objectAntivirusProfileFtpResource", new()
{
    Profile = "string",
    Fortiai = "string",
    Fortisandbox = "string",
    AvScan = "string",
    Emulator = "string",
    ExternalBlocklist = "string",
    Adom = "string",
    Fortindr = "string",
    ArchiveLogs = new[]
    {
        "string",
    },
    ObjectAntivirusProfileFtpId = "string",
    Options = new[]
    {
        "string",
    },
    OutbreakPrevention = "string",
    ArchiveBlocks = new[]
    {
        "string",
    },
    Quarantine = "string",
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectAntivirusProfileFtp(ctx, "objectAntivirusProfileFtpResource", &fortimanager.ObjectAntivirusProfileFtpArgs{
Profile: pulumi.String("string"),
Fortiai: pulumi.String("string"),
Fortisandbox: pulumi.String("string"),
AvScan: pulumi.String("string"),
Emulator: pulumi.String("string"),
ExternalBlocklist: pulumi.String("string"),
Adom: pulumi.String("string"),
Fortindr: pulumi.String("string"),
ArchiveLogs: pulumi.StringArray{
pulumi.String("string"),
},
ObjectAntivirusProfileFtpId: 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 objectAntivirusProfileFtpResource = new ObjectAntivirusProfileFtp("objectAntivirusProfileFtpResource", ObjectAntivirusProfileFtpArgs.builder()
    .profile("string")
    .fortiai("string")
    .fortisandbox("string")
    .avScan("string")
    .emulator("string")
    .externalBlocklist("string")
    .adom("string")
    .fortindr("string")
    .archiveLogs("string")
    .objectAntivirusProfileFtpId("string")
    .options("string")
    .outbreakPrevention("string")
    .archiveBlocks("string")
    .quarantine("string")
    .scopetype("string")
    .build());
Copy
object_antivirus_profile_ftp_resource = fortimanager.ObjectAntivirusProfileFtp("objectAntivirusProfileFtpResource",
    profile="string",
    fortiai="string",
    fortisandbox="string",
    av_scan="string",
    emulator="string",
    external_blocklist="string",
    adom="string",
    fortindr="string",
    archive_logs=["string"],
    object_antivirus_profile_ftp_id="string",
    options=["string"],
    outbreak_prevention="string",
    archive_blocks=["string"],
    quarantine="string",
    scopetype="string")
Copy
const objectAntivirusProfileFtpResource = new fortimanager.ObjectAntivirusProfileFtp("objectAntivirusProfileFtpResource", {
    profile: "string",
    fortiai: "string",
    fortisandbox: "string",
    avScan: "string",
    emulator: "string",
    externalBlocklist: "string",
    adom: "string",
    fortindr: "string",
    archiveLogs: ["string"],
    objectAntivirusProfileFtpId: "string",
    options: ["string"],
    outbreakPrevention: "string",
    archiveBlocks: ["string"],
    quarantine: "string",
    scopetype: "string",
});
Copy
type: fortimanager:ObjectAntivirusProfileFtp
properties:
    adom: string
    archiveBlocks:
        - string
    archiveLogs:
        - string
    avScan: string
    emulator: string
    externalBlocklist: string
    fortiai: string
    fortindr: string
    fortisandbox: string
    objectAntivirusProfileFtpId: string
    options:
        - string
    outbreakPrevention: string
    profile: string
    quarantine: string
    scopetype: string
Copy

ObjectAntivirusProfileFtp 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 ObjectAntivirusProfileFtp 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.
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.
ObjectAntivirusProfileFtpId string
an identifier for the resource.
Options List<string>
Enable/disable FTP 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.
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.
ObjectAntivirusProfileFtpId string
an identifier for the resource.
Options []string
Enable/disable FTP 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.
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.
objectAntivirusProfileFtpId String
an identifier for the resource.
options List<String>
Enable/disable FTP 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.
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.
objectAntivirusProfileFtpId string
an identifier for the resource.
options string[]
Enable/disable FTP 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.
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_ftp_id str
an identifier for the resource.
options Sequence[str]
Enable/disable FTP 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.
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.
objectAntivirusProfileFtpId String
an identifier for the resource.
options List<String>
Enable/disable FTP 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 ObjectAntivirusProfileFtp 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 ObjectAntivirusProfileFtp Resource

Get an existing ObjectAntivirusProfileFtp 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?: ObjectAntivirusProfileFtpState, opts?: CustomResourceOptions): ObjectAntivirusProfileFtp
@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,
        emulator: Optional[str] = None,
        external_blocklist: Optional[str] = None,
        fortiai: Optional[str] = None,
        fortindr: Optional[str] = None,
        fortisandbox: Optional[str] = None,
        object_antivirus_profile_ftp_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) -> ObjectAntivirusProfileFtp
func GetObjectAntivirusProfileFtp(ctx *Context, name string, id IDInput, state *ObjectAntivirusProfileFtpState, opts ...ResourceOption) (*ObjectAntivirusProfileFtp, error)
public static ObjectAntivirusProfileFtp Get(string name, Input<string> id, ObjectAntivirusProfileFtpState? state, CustomResourceOptions? opts = null)
public static ObjectAntivirusProfileFtp get(String name, Output<String> id, ObjectAntivirusProfileFtpState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectAntivirusProfileFtp    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.
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.
ObjectAntivirusProfileFtpId string
an identifier for the resource.
Options List<string>
Enable/disable FTP 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.
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.
ObjectAntivirusProfileFtpId string
an identifier for the resource.
Options []string
Enable/disable FTP 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.
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.
objectAntivirusProfileFtpId String
an identifier for the resource.
options List<String>
Enable/disable FTP 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.
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.
objectAntivirusProfileFtpId string
an identifier for the resource.
options string[]
Enable/disable FTP 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.
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_ftp_id str
an identifier for the resource.
options Sequence[str]
Enable/disable FTP 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.
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.
objectAntivirusProfileFtpId String
an identifier for the resource.
options List<String>
Enable/disable FTP 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 ProfileFtp 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/objectAntivirusProfileFtp:ObjectAntivirusProfileFtp labelname ObjectAntivirusProfileFtp
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.