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

fortimanager.ObjectAntivirusProfileNntp

Explore with Pulumi AI

Configure NNTP AntiVirus options.

This resource is a sub resource for variable nntp 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 trnameObjectAntivirusProfileNntp = new fortimanager.ObjectAntivirusProfileNntp("trnameObjectAntivirusProfileNntp", {
    externalBlocklist: "monitor",
    fortiai: "block",
    quarantine: "enable",
    profile: trnameObjectAntivirusProfile.name,
}, {
    dependsOn: [trnameObjectAntivirusProfile],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname_object_antivirus_profile = fortimanager.ObjectAntivirusProfile("trnameObjectAntivirusProfile")
trname_object_antivirus_profile_nntp = fortimanager.ObjectAntivirusProfileNntp("trnameObjectAntivirusProfileNntp",
    external_blocklist="monitor",
    fortiai="block",
    quarantine="enable",
    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.NewObjectAntivirusProfileNntp(ctx, "trnameObjectAntivirusProfileNntp", &fortimanager.ObjectAntivirusProfileNntpArgs{
			ExternalBlocklist: pulumi.String("monitor"),
			Fortiai:           pulumi.String("block"),
			Quarantine:        pulumi.String("enable"),
			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 trnameObjectAntivirusProfileNntp = new Fortimanager.ObjectAntivirusProfileNntp("trnameObjectAntivirusProfileNntp", new()
    {
        ExternalBlocklist = "monitor",
        Fortiai = "block",
        Quarantine = "enable",
        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.ObjectAntivirusProfileNntp;
import com.pulumi.fortimanager.ObjectAntivirusProfileNntpArgs;
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 trnameObjectAntivirusProfileNntp = new ObjectAntivirusProfileNntp("trnameObjectAntivirusProfileNntp", ObjectAntivirusProfileNntpArgs.builder()
            .externalBlocklist("monitor")
            .fortiai("block")
            .quarantine("enable")
            .profile(trnameObjectAntivirusProfile.name())
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectAntivirusProfile)
                .build());

    }
}
Copy
resources:
  trnameObjectAntivirusProfileNntp:
    type: fortimanager:ObjectAntivirusProfileNntp
    properties:
      externalBlocklist: monitor
      fortiai: block
      quarantine: enable
      profile: ${trnameObjectAntivirusProfile.name}
    options:
      dependsOn:
        - ${trnameObjectAntivirusProfile}
  trnameObjectAntivirusProfile:
    type: fortimanager:ObjectAntivirusProfile
Copy

Create ObjectAntivirusProfileNntp Resource

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

Constructor syntax

new ObjectAntivirusProfileNntp(name: string, args: ObjectAntivirusProfileNntpArgs, opts?: CustomResourceOptions);
@overload
def ObjectAntivirusProfileNntp(resource_name: str,
                               args: ObjectAntivirusProfileNntpInitArgs,
                               opts: Optional[ResourceOptions] = None)

@overload
def ObjectAntivirusProfileNntp(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_nntp_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 NewObjectAntivirusProfileNntp(ctx *Context, name string, args ObjectAntivirusProfileNntpArgs, opts ...ResourceOption) (*ObjectAntivirusProfileNntp, error)
public ObjectAntivirusProfileNntp(string name, ObjectAntivirusProfileNntpArgs args, CustomResourceOptions? opts = null)
public ObjectAntivirusProfileNntp(String name, ObjectAntivirusProfileNntpArgs args)
public ObjectAntivirusProfileNntp(String name, ObjectAntivirusProfileNntpArgs args, CustomResourceOptions options)
type: fortimanager:ObjectAntivirusProfileNntp
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. ObjectAntivirusProfileNntpArgs
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. ObjectAntivirusProfileNntpInitArgs
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. ObjectAntivirusProfileNntpArgs
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. ObjectAntivirusProfileNntpArgs
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. ObjectAntivirusProfileNntpArgs
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 objectAntivirusProfileNntpResource = new Fortimanager.ObjectAntivirusProfileNntp("objectAntivirusProfileNntpResource", new()
{
    Profile = "string",
    Fortiai = "string",
    Fortisandbox = "string",
    AvScan = "string",
    Emulator = "string",
    ExternalBlocklist = "string",
    Adom = "string",
    Fortindr = "string",
    ArchiveLogs = new[]
    {
        "string",
    },
    ObjectAntivirusProfileNntpId = "string",
    Options = new[]
    {
        "string",
    },
    OutbreakPrevention = "string",
    ArchiveBlocks = new[]
    {
        "string",
    },
    Quarantine = "string",
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectAntivirusProfileNntp(ctx, "objectAntivirusProfileNntpResource", &fortimanager.ObjectAntivirusProfileNntpArgs{
	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"),
	},
	ObjectAntivirusProfileNntpId: 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 objectAntivirusProfileNntpResource = new ObjectAntivirusProfileNntp("objectAntivirusProfileNntpResource", ObjectAntivirusProfileNntpArgs.builder()
    .profile("string")
    .fortiai("string")
    .fortisandbox("string")
    .avScan("string")
    .emulator("string")
    .externalBlocklist("string")
    .adom("string")
    .fortindr("string")
    .archiveLogs("string")
    .objectAntivirusProfileNntpId("string")
    .options("string")
    .outbreakPrevention("string")
    .archiveBlocks("string")
    .quarantine("string")
    .scopetype("string")
    .build());
Copy
object_antivirus_profile_nntp_resource = fortimanager.ObjectAntivirusProfileNntp("objectAntivirusProfileNntpResource",
    profile="string",
    fortiai="string",
    fortisandbox="string",
    av_scan="string",
    emulator="string",
    external_blocklist="string",
    adom="string",
    fortindr="string",
    archive_logs=["string"],
    object_antivirus_profile_nntp_id="string",
    options=["string"],
    outbreak_prevention="string",
    archive_blocks=["string"],
    quarantine="string",
    scopetype="string")
Copy
const objectAntivirusProfileNntpResource = new fortimanager.ObjectAntivirusProfileNntp("objectAntivirusProfileNntpResource", {
    profile: "string",
    fortiai: "string",
    fortisandbox: "string",
    avScan: "string",
    emulator: "string",
    externalBlocklist: "string",
    adom: "string",
    fortindr: "string",
    archiveLogs: ["string"],
    objectAntivirusProfileNntpId: "string",
    options: ["string"],
    outbreakPrevention: "string",
    archiveBlocks: ["string"],
    quarantine: "string",
    scopetype: "string",
});
Copy
type: fortimanager:ObjectAntivirusProfileNntp
properties:
    adom: string
    archiveBlocks:
        - string
    archiveLogs:
        - string
    avScan: string
    emulator: string
    externalBlocklist: string
    fortiai: string
    fortindr: string
    fortisandbox: string
    objectAntivirusProfileNntpId: string
    options:
        - string
    outbreakPrevention: string
    profile: string
    quarantine: string
    scopetype: string
Copy

ObjectAntivirusProfileNntp 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 ObjectAntivirusProfileNntp 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.
ObjectAntivirusProfileNntpId string
an identifier for the resource.
Options List<string>
Enable/disable NNTP 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.
ObjectAntivirusProfileNntpId string
an identifier for the resource.
Options []string
Enable/disable NNTP 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.
objectAntivirusProfileNntpId String
an identifier for the resource.
options List<String>
Enable/disable NNTP 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.
objectAntivirusProfileNntpId string
an identifier for the resource.
options string[]
Enable/disable NNTP 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_nntp_id str
an identifier for the resource.
options Sequence[str]
Enable/disable NNTP 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.
objectAntivirusProfileNntpId String
an identifier for the resource.
options List<String>
Enable/disable NNTP 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 ObjectAntivirusProfileNntp 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 ObjectAntivirusProfileNntp Resource

Get an existing ObjectAntivirusProfileNntp 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?: ObjectAntivirusProfileNntpState, opts?: CustomResourceOptions): ObjectAntivirusProfileNntp
@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_nntp_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) -> ObjectAntivirusProfileNntp
func GetObjectAntivirusProfileNntp(ctx *Context, name string, id IDInput, state *ObjectAntivirusProfileNntpState, opts ...ResourceOption) (*ObjectAntivirusProfileNntp, error)
public static ObjectAntivirusProfileNntp Get(string name, Input<string> id, ObjectAntivirusProfileNntpState? state, CustomResourceOptions? opts = null)
public static ObjectAntivirusProfileNntp get(String name, Output<String> id, ObjectAntivirusProfileNntpState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectAntivirusProfileNntp    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.
ObjectAntivirusProfileNntpId string
an identifier for the resource.
Options List<string>
Enable/disable NNTP 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.
ObjectAntivirusProfileNntpId string
an identifier for the resource.
Options []string
Enable/disable NNTP 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.
objectAntivirusProfileNntpId String
an identifier for the resource.
options List<String>
Enable/disable NNTP 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.
objectAntivirusProfileNntpId string
an identifier for the resource.
options string[]
Enable/disable NNTP 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_nntp_id str
an identifier for the resource.
options Sequence[str]
Enable/disable NNTP 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.
objectAntivirusProfileNntpId String
an identifier for the resource.
options List<String>
Enable/disable NNTP 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 ProfileNntp 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/objectAntivirusProfileNntp:ObjectAntivirusProfileNntp labelname ObjectAntivirusProfileNntp
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.