1. Packages
  2. Fortios
  3. API Docs
  4. antivirus
  5. Quarantine
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.antivirus.Quarantine

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    Configure quarantine options.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.antivirus.Quarantine("trname", {
        agelimit: 0,
        destination: "disk",
        lowspace: "ovrw-old",
        maxfilesize: 0,
        quarantineQuota: 0,
        storeBlocked: "imap smtp pop3 http ftp nntp imaps smtps pop3s ftps mapi cifs",
        storeHeuristic: "imap smtp pop3 http ftp nntp imaps smtps pop3s https ftps mapi cifs",
        storeInfected: "imap smtp pop3 http ftp nntp imaps smtps pop3s https ftps mapi cifs",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.antivirus.Quarantine("trname",
        agelimit=0,
        destination="disk",
        lowspace="ovrw-old",
        maxfilesize=0,
        quarantine_quota=0,
        store_blocked="imap smtp pop3 http ftp nntp imaps smtps pop3s ftps mapi cifs",
        store_heuristic="imap smtp pop3 http ftp nntp imaps smtps pop3s https ftps mapi cifs",
        store_infected="imap smtp pop3 http ftp nntp imaps smtps pop3s https ftps mapi cifs")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/antivirus"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := antivirus.NewQuarantine(ctx, "trname", &antivirus.QuarantineArgs{
    			Agelimit:        pulumi.Int(0),
    			Destination:     pulumi.String("disk"),
    			Lowspace:        pulumi.String("ovrw-old"),
    			Maxfilesize:     pulumi.Int(0),
    			QuarantineQuota: pulumi.Int(0),
    			StoreBlocked:    pulumi.String("imap smtp pop3 http ftp nntp imaps smtps pop3s ftps mapi cifs"),
    			StoreHeuristic:  pulumi.String("imap smtp pop3 http ftp nntp imaps smtps pop3s https ftps mapi cifs"),
    			StoreInfected:   pulumi.String("imap smtp pop3 http ftp nntp imaps smtps pop3s https ftps mapi cifs"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fortios = Pulumiverse.Fortios;
    
    return await Deployment.RunAsync(() => 
    {
        var trname = new Fortios.Antivirus.Quarantine("trname", new()
        {
            Agelimit = 0,
            Destination = "disk",
            Lowspace = "ovrw-old",
            Maxfilesize = 0,
            QuarantineQuota = 0,
            StoreBlocked = "imap smtp pop3 http ftp nntp imaps smtps pop3s ftps mapi cifs",
            StoreHeuristic = "imap smtp pop3 http ftp nntp imaps smtps pop3s https ftps mapi cifs",
            StoreInfected = "imap smtp pop3 http ftp nntp imaps smtps pop3s https ftps mapi cifs",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.antivirus.Quarantine;
    import com.pulumi.fortios.antivirus.QuarantineArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var trname = new Quarantine("trname", QuarantineArgs.builder()        
                .agelimit(0)
                .destination("disk")
                .lowspace("ovrw-old")
                .maxfilesize(0)
                .quarantineQuota(0)
                .storeBlocked("imap smtp pop3 http ftp nntp imaps smtps pop3s ftps mapi cifs")
                .storeHeuristic("imap smtp pop3 http ftp nntp imaps smtps pop3s https ftps mapi cifs")
                .storeInfected("imap smtp pop3 http ftp nntp imaps smtps pop3s https ftps mapi cifs")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:antivirus:Quarantine
        properties:
          agelimit: 0
          destination: disk
          lowspace: ovrw-old
          maxfilesize: 0
          quarantineQuota: 0
          storeBlocked: imap smtp pop3 http ftp nntp imaps smtps pop3s ftps mapi cifs
          storeHeuristic: imap smtp pop3 http ftp nntp imaps smtps pop3s https ftps mapi cifs
          storeInfected: imap smtp pop3 http ftp nntp imaps smtps pop3s https ftps mapi cifs
    

    Create Quarantine Resource

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

    Constructor syntax

    new Quarantine(name: string, args?: QuarantineArgs, opts?: CustomResourceOptions);
    @overload
    def Quarantine(resource_name: str,
                   args: Optional[QuarantineArgs] = None,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Quarantine(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   agelimit: Optional[int] = None,
                   destination: Optional[str] = None,
                   drop_blocked: Optional[str] = None,
                   drop_heuristic: Optional[str] = None,
                   drop_infected: Optional[str] = None,
                   drop_machine_learning: Optional[str] = None,
                   lowspace: Optional[str] = None,
                   maxfilesize: Optional[int] = None,
                   quarantine_quota: Optional[int] = None,
                   store_blocked: Optional[str] = None,
                   store_heuristic: Optional[str] = None,
                   store_infected: Optional[str] = None,
                   store_machine_learning: Optional[str] = None,
                   vdomparam: Optional[str] = None)
    func NewQuarantine(ctx *Context, name string, args *QuarantineArgs, opts ...ResourceOption) (*Quarantine, error)
    public Quarantine(string name, QuarantineArgs? args = null, CustomResourceOptions? opts = null)
    public Quarantine(String name, QuarantineArgs args)
    public Quarantine(String name, QuarantineArgs args, CustomResourceOptions options)
    
    type: fortios:antivirus:Quarantine
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args QuarantineArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args QuarantineArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args QuarantineArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args QuarantineArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args QuarantineArgs
    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 quarantineResource = new Fortios.Antivirus.Quarantine("quarantineResource", new()
    {
        Agelimit = 0,
        Destination = "string",
        DropBlocked = "string",
        DropHeuristic = "string",
        DropInfected = "string",
        DropMachineLearning = "string",
        Lowspace = "string",
        Maxfilesize = 0,
        QuarantineQuota = 0,
        StoreBlocked = "string",
        StoreHeuristic = "string",
        StoreInfected = "string",
        StoreMachineLearning = "string",
        Vdomparam = "string",
    });
    
    example, err := antivirus.NewQuarantine(ctx, "quarantineResource", &antivirus.QuarantineArgs{
    	Agelimit:             pulumi.Int(0),
    	Destination:          pulumi.String("string"),
    	DropBlocked:          pulumi.String("string"),
    	DropHeuristic:        pulumi.String("string"),
    	DropInfected:         pulumi.String("string"),
    	DropMachineLearning:  pulumi.String("string"),
    	Lowspace:             pulumi.String("string"),
    	Maxfilesize:          pulumi.Int(0),
    	QuarantineQuota:      pulumi.Int(0),
    	StoreBlocked:         pulumi.String("string"),
    	StoreHeuristic:       pulumi.String("string"),
    	StoreInfected:        pulumi.String("string"),
    	StoreMachineLearning: pulumi.String("string"),
    	Vdomparam:            pulumi.String("string"),
    })
    
    var quarantineResource = new Quarantine("quarantineResource", QuarantineArgs.builder()
        .agelimit(0)
        .destination("string")
        .dropBlocked("string")
        .dropHeuristic("string")
        .dropInfected("string")
        .dropMachineLearning("string")
        .lowspace("string")
        .maxfilesize(0)
        .quarantineQuota(0)
        .storeBlocked("string")
        .storeHeuristic("string")
        .storeInfected("string")
        .storeMachineLearning("string")
        .vdomparam("string")
        .build());
    
    quarantine_resource = fortios.antivirus.Quarantine("quarantineResource",
        agelimit=0,
        destination="string",
        drop_blocked="string",
        drop_heuristic="string",
        drop_infected="string",
        drop_machine_learning="string",
        lowspace="string",
        maxfilesize=0,
        quarantine_quota=0,
        store_blocked="string",
        store_heuristic="string",
        store_infected="string",
        store_machine_learning="string",
        vdomparam="string")
    
    const quarantineResource = new fortios.antivirus.Quarantine("quarantineResource", {
        agelimit: 0,
        destination: "string",
        dropBlocked: "string",
        dropHeuristic: "string",
        dropInfected: "string",
        dropMachineLearning: "string",
        lowspace: "string",
        maxfilesize: 0,
        quarantineQuota: 0,
        storeBlocked: "string",
        storeHeuristic: "string",
        storeInfected: "string",
        storeMachineLearning: "string",
        vdomparam: "string",
    });
    
    type: fortios:antivirus:Quarantine
    properties:
        agelimit: 0
        destination: string
        dropBlocked: string
        dropHeuristic: string
        dropInfected: string
        dropMachineLearning: string
        lowspace: string
        maxfilesize: 0
        quarantineQuota: 0
        storeBlocked: string
        storeHeuristic: string
        storeInfected: string
        storeMachineLearning: string
        vdomparam: string
    

    Quarantine Resource Properties

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

    Inputs

    The Quarantine resource accepts the following input properties:

    Agelimit int
    Age limit for quarantined files (0 - 479 hours, 0 means forever).
    Destination string
    Choose whether to quarantine files to the FortiGate disk or to FortiAnalyzer or to delete them instead of quarantining them. Valid values: NULL, disk, FortiAnalyzer.
    DropBlocked string
    Do not quarantine dropped files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    DropHeuristic string
    Do not quarantine files detected by heuristics found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    DropInfected string
    Do not quarantine infected files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    DropMachineLearning string
    Do not quarantine files detected by machine learning found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    Lowspace string
    Select the method for handling additional files when running low on disk space. Valid values: drop-new, ovrw-old.
    Maxfilesize int
    Maximum file size to quarantine (0 - 500 Mbytes, 0 means unlimited).
    QuarantineQuota int
    The amount of disk space to reserve for quarantining files (0 - 4294967295 Mbytes, depends on disk space).
    StoreBlocked string
    Quarantine blocked files found in sessions using the selected protocols.
    StoreHeuristic string
    Quarantine files detected by heuristics found in sessions using the selected protocols.
    StoreInfected string
    Quarantine infected files found in sessions using the selected protocols.
    StoreMachineLearning string
    Quarantine files detected by machine learning found in sessions using the selected protocols. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Agelimit int
    Age limit for quarantined files (0 - 479 hours, 0 means forever).
    Destination string
    Choose whether to quarantine files to the FortiGate disk or to FortiAnalyzer or to delete them instead of quarantining them. Valid values: NULL, disk, FortiAnalyzer.
    DropBlocked string
    Do not quarantine dropped files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    DropHeuristic string
    Do not quarantine files detected by heuristics found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    DropInfected string
    Do not quarantine infected files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    DropMachineLearning string
    Do not quarantine files detected by machine learning found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    Lowspace string
    Select the method for handling additional files when running low on disk space. Valid values: drop-new, ovrw-old.
    Maxfilesize int
    Maximum file size to quarantine (0 - 500 Mbytes, 0 means unlimited).
    QuarantineQuota int
    The amount of disk space to reserve for quarantining files (0 - 4294967295 Mbytes, depends on disk space).
    StoreBlocked string
    Quarantine blocked files found in sessions using the selected protocols.
    StoreHeuristic string
    Quarantine files detected by heuristics found in sessions using the selected protocols.
    StoreInfected string
    Quarantine infected files found in sessions using the selected protocols.
    StoreMachineLearning string
    Quarantine files detected by machine learning found in sessions using the selected protocols. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    agelimit Integer
    Age limit for quarantined files (0 - 479 hours, 0 means forever).
    destination String
    Choose whether to quarantine files to the FortiGate disk or to FortiAnalyzer or to delete them instead of quarantining them. Valid values: NULL, disk, FortiAnalyzer.
    dropBlocked String
    Do not quarantine dropped files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    dropHeuristic String
    Do not quarantine files detected by heuristics found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    dropInfected String
    Do not quarantine infected files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    dropMachineLearning String
    Do not quarantine files detected by machine learning found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    lowspace String
    Select the method for handling additional files when running low on disk space. Valid values: drop-new, ovrw-old.
    maxfilesize Integer
    Maximum file size to quarantine (0 - 500 Mbytes, 0 means unlimited).
    quarantineQuota Integer
    The amount of disk space to reserve for quarantining files (0 - 4294967295 Mbytes, depends on disk space).
    storeBlocked String
    Quarantine blocked files found in sessions using the selected protocols.
    storeHeuristic String
    Quarantine files detected by heuristics found in sessions using the selected protocols.
    storeInfected String
    Quarantine infected files found in sessions using the selected protocols.
    storeMachineLearning String
    Quarantine files detected by machine learning found in sessions using the selected protocols. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    agelimit number
    Age limit for quarantined files (0 - 479 hours, 0 means forever).
    destination string
    Choose whether to quarantine files to the FortiGate disk or to FortiAnalyzer or to delete them instead of quarantining them. Valid values: NULL, disk, FortiAnalyzer.
    dropBlocked string
    Do not quarantine dropped files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    dropHeuristic string
    Do not quarantine files detected by heuristics found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    dropInfected string
    Do not quarantine infected files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    dropMachineLearning string
    Do not quarantine files detected by machine learning found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    lowspace string
    Select the method for handling additional files when running low on disk space. Valid values: drop-new, ovrw-old.
    maxfilesize number
    Maximum file size to quarantine (0 - 500 Mbytes, 0 means unlimited).
    quarantineQuota number
    The amount of disk space to reserve for quarantining files (0 - 4294967295 Mbytes, depends on disk space).
    storeBlocked string
    Quarantine blocked files found in sessions using the selected protocols.
    storeHeuristic string
    Quarantine files detected by heuristics found in sessions using the selected protocols.
    storeInfected string
    Quarantine infected files found in sessions using the selected protocols.
    storeMachineLearning string
    Quarantine files detected by machine learning found in sessions using the selected protocols. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    agelimit int
    Age limit for quarantined files (0 - 479 hours, 0 means forever).
    destination str
    Choose whether to quarantine files to the FortiGate disk or to FortiAnalyzer or to delete them instead of quarantining them. Valid values: NULL, disk, FortiAnalyzer.
    drop_blocked str
    Do not quarantine dropped files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    drop_heuristic str
    Do not quarantine files detected by heuristics found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    drop_infected str
    Do not quarantine infected files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    drop_machine_learning str
    Do not quarantine files detected by machine learning found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    lowspace str
    Select the method for handling additional files when running low on disk space. Valid values: drop-new, ovrw-old.
    maxfilesize int
    Maximum file size to quarantine (0 - 500 Mbytes, 0 means unlimited).
    quarantine_quota int
    The amount of disk space to reserve for quarantining files (0 - 4294967295 Mbytes, depends on disk space).
    store_blocked str
    Quarantine blocked files found in sessions using the selected protocols.
    store_heuristic str
    Quarantine files detected by heuristics found in sessions using the selected protocols.
    store_infected str
    Quarantine infected files found in sessions using the selected protocols.
    store_machine_learning str
    Quarantine files detected by machine learning found in sessions using the selected protocols. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    agelimit Number
    Age limit for quarantined files (0 - 479 hours, 0 means forever).
    destination String
    Choose whether to quarantine files to the FortiGate disk or to FortiAnalyzer or to delete them instead of quarantining them. Valid values: NULL, disk, FortiAnalyzer.
    dropBlocked String
    Do not quarantine dropped files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    dropHeuristic String
    Do not quarantine files detected by heuristics found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    dropInfected String
    Do not quarantine infected files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    dropMachineLearning String
    Do not quarantine files detected by machine learning found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    lowspace String
    Select the method for handling additional files when running low on disk space. Valid values: drop-new, ovrw-old.
    maxfilesize Number
    Maximum file size to quarantine (0 - 500 Mbytes, 0 means unlimited).
    quarantineQuota Number
    The amount of disk space to reserve for quarantining files (0 - 4294967295 Mbytes, depends on disk space).
    storeBlocked String
    Quarantine blocked files found in sessions using the selected protocols.
    storeHeuristic String
    Quarantine files detected by heuristics found in sessions using the selected protocols.
    storeInfected String
    Quarantine infected files found in sessions using the selected protocols.
    storeMachineLearning String
    Quarantine files detected by machine learning found in sessions using the selected protocols. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Outputs

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

    Get an existing Quarantine 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?: QuarantineState, opts?: CustomResourceOptions): Quarantine
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            agelimit: Optional[int] = None,
            destination: Optional[str] = None,
            drop_blocked: Optional[str] = None,
            drop_heuristic: Optional[str] = None,
            drop_infected: Optional[str] = None,
            drop_machine_learning: Optional[str] = None,
            lowspace: Optional[str] = None,
            maxfilesize: Optional[int] = None,
            quarantine_quota: Optional[int] = None,
            store_blocked: Optional[str] = None,
            store_heuristic: Optional[str] = None,
            store_infected: Optional[str] = None,
            store_machine_learning: Optional[str] = None,
            vdomparam: Optional[str] = None) -> Quarantine
    func GetQuarantine(ctx *Context, name string, id IDInput, state *QuarantineState, opts ...ResourceOption) (*Quarantine, error)
    public static Quarantine Get(string name, Input<string> id, QuarantineState? state, CustomResourceOptions? opts = null)
    public static Quarantine get(String name, Output<String> id, QuarantineState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Agelimit int
    Age limit for quarantined files (0 - 479 hours, 0 means forever).
    Destination string
    Choose whether to quarantine files to the FortiGate disk or to FortiAnalyzer or to delete them instead of quarantining them. Valid values: NULL, disk, FortiAnalyzer.
    DropBlocked string
    Do not quarantine dropped files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    DropHeuristic string
    Do not quarantine files detected by heuristics found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    DropInfected string
    Do not quarantine infected files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    DropMachineLearning string
    Do not quarantine files detected by machine learning found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    Lowspace string
    Select the method for handling additional files when running low on disk space. Valid values: drop-new, ovrw-old.
    Maxfilesize int
    Maximum file size to quarantine (0 - 500 Mbytes, 0 means unlimited).
    QuarantineQuota int
    The amount of disk space to reserve for quarantining files (0 - 4294967295 Mbytes, depends on disk space).
    StoreBlocked string
    Quarantine blocked files found in sessions using the selected protocols.
    StoreHeuristic string
    Quarantine files detected by heuristics found in sessions using the selected protocols.
    StoreInfected string
    Quarantine infected files found in sessions using the selected protocols.
    StoreMachineLearning string
    Quarantine files detected by machine learning found in sessions using the selected protocols. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Agelimit int
    Age limit for quarantined files (0 - 479 hours, 0 means forever).
    Destination string
    Choose whether to quarantine files to the FortiGate disk or to FortiAnalyzer or to delete them instead of quarantining them. Valid values: NULL, disk, FortiAnalyzer.
    DropBlocked string
    Do not quarantine dropped files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    DropHeuristic string
    Do not quarantine files detected by heuristics found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    DropInfected string
    Do not quarantine infected files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    DropMachineLearning string
    Do not quarantine files detected by machine learning found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    Lowspace string
    Select the method for handling additional files when running low on disk space. Valid values: drop-new, ovrw-old.
    Maxfilesize int
    Maximum file size to quarantine (0 - 500 Mbytes, 0 means unlimited).
    QuarantineQuota int
    The amount of disk space to reserve for quarantining files (0 - 4294967295 Mbytes, depends on disk space).
    StoreBlocked string
    Quarantine blocked files found in sessions using the selected protocols.
    StoreHeuristic string
    Quarantine files detected by heuristics found in sessions using the selected protocols.
    StoreInfected string
    Quarantine infected files found in sessions using the selected protocols.
    StoreMachineLearning string
    Quarantine files detected by machine learning found in sessions using the selected protocols. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    agelimit Integer
    Age limit for quarantined files (0 - 479 hours, 0 means forever).
    destination String
    Choose whether to quarantine files to the FortiGate disk or to FortiAnalyzer or to delete them instead of quarantining them. Valid values: NULL, disk, FortiAnalyzer.
    dropBlocked String
    Do not quarantine dropped files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    dropHeuristic String
    Do not quarantine files detected by heuristics found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    dropInfected String
    Do not quarantine infected files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    dropMachineLearning String
    Do not quarantine files detected by machine learning found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    lowspace String
    Select the method for handling additional files when running low on disk space. Valid values: drop-new, ovrw-old.
    maxfilesize Integer
    Maximum file size to quarantine (0 - 500 Mbytes, 0 means unlimited).
    quarantineQuota Integer
    The amount of disk space to reserve for quarantining files (0 - 4294967295 Mbytes, depends on disk space).
    storeBlocked String
    Quarantine blocked files found in sessions using the selected protocols.
    storeHeuristic String
    Quarantine files detected by heuristics found in sessions using the selected protocols.
    storeInfected String
    Quarantine infected files found in sessions using the selected protocols.
    storeMachineLearning String
    Quarantine files detected by machine learning found in sessions using the selected protocols. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    agelimit number
    Age limit for quarantined files (0 - 479 hours, 0 means forever).
    destination string
    Choose whether to quarantine files to the FortiGate disk or to FortiAnalyzer or to delete them instead of quarantining them. Valid values: NULL, disk, FortiAnalyzer.
    dropBlocked string
    Do not quarantine dropped files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    dropHeuristic string
    Do not quarantine files detected by heuristics found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    dropInfected string
    Do not quarantine infected files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    dropMachineLearning string
    Do not quarantine files detected by machine learning found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    lowspace string
    Select the method for handling additional files when running low on disk space. Valid values: drop-new, ovrw-old.
    maxfilesize number
    Maximum file size to quarantine (0 - 500 Mbytes, 0 means unlimited).
    quarantineQuota number
    The amount of disk space to reserve for quarantining files (0 - 4294967295 Mbytes, depends on disk space).
    storeBlocked string
    Quarantine blocked files found in sessions using the selected protocols.
    storeHeuristic string
    Quarantine files detected by heuristics found in sessions using the selected protocols.
    storeInfected string
    Quarantine infected files found in sessions using the selected protocols.
    storeMachineLearning string
    Quarantine files detected by machine learning found in sessions using the selected protocols. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    agelimit int
    Age limit for quarantined files (0 - 479 hours, 0 means forever).
    destination str
    Choose whether to quarantine files to the FortiGate disk or to FortiAnalyzer or to delete them instead of quarantining them. Valid values: NULL, disk, FortiAnalyzer.
    drop_blocked str
    Do not quarantine dropped files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    drop_heuristic str
    Do not quarantine files detected by heuristics found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    drop_infected str
    Do not quarantine infected files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    drop_machine_learning str
    Do not quarantine files detected by machine learning found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    lowspace str
    Select the method for handling additional files when running low on disk space. Valid values: drop-new, ovrw-old.
    maxfilesize int
    Maximum file size to quarantine (0 - 500 Mbytes, 0 means unlimited).
    quarantine_quota int
    The amount of disk space to reserve for quarantining files (0 - 4294967295 Mbytes, depends on disk space).
    store_blocked str
    Quarantine blocked files found in sessions using the selected protocols.
    store_heuristic str
    Quarantine files detected by heuristics found in sessions using the selected protocols.
    store_infected str
    Quarantine infected files found in sessions using the selected protocols.
    store_machine_learning str
    Quarantine files detected by machine learning found in sessions using the selected protocols. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    agelimit Number
    Age limit for quarantined files (0 - 479 hours, 0 means forever).
    destination String
    Choose whether to quarantine files to the FortiGate disk or to FortiAnalyzer or to delete them instead of quarantining them. Valid values: NULL, disk, FortiAnalyzer.
    dropBlocked String
    Do not quarantine dropped files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    dropHeuristic String
    Do not quarantine files detected by heuristics found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    dropInfected String
    Do not quarantine infected files found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined.
    dropMachineLearning String
    Do not quarantine files detected by machine learning found in sessions using the selected protocols. Dropped files are deleted instead of being quarantined. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    lowspace String
    Select the method for handling additional files when running low on disk space. Valid values: drop-new, ovrw-old.
    maxfilesize Number
    Maximum file size to quarantine (0 - 500 Mbytes, 0 means unlimited).
    quarantineQuota Number
    The amount of disk space to reserve for quarantining files (0 - 4294967295 Mbytes, depends on disk space).
    storeBlocked String
    Quarantine blocked files found in sessions using the selected protocols.
    storeHeuristic String
    Quarantine files detected by heuristics found in sessions using the selected protocols.
    storeInfected String
    Quarantine infected files found in sessions using the selected protocols.
    storeMachineLearning String
    Quarantine files detected by machine learning found in sessions using the selected protocols. Valid values: imap, smtp, pop3, http, ftp, nntp, imaps, smtps, pop3s, https, ftps, mapi, cifs, ssh.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Import

    Antivirus Quarantine can be imported using any of these accepted formats:

    $ pulumi import fortios:antivirus/quarantine:Quarantine labelname AntivirusQuarantine
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:antivirus/quarantine:Quarantine labelname AntivirusQuarantine
    

    $ unset “FORTIOS_IMPORT_TABLE”

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

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse