1. Packages
  2. Fortios
  3. API Docs
  4. user
  5. Quarantine
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.user.Quarantine

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    Configure quarantine support.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.user.Quarantine("trname", {quarantine: "enable"});
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.user.Quarantine("trname", quarantine="enable")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/user"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := user.NewQuarantine(ctx, "trname", &user.QuarantineArgs{
    			Quarantine: pulumi.String("enable"),
    		})
    		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.User.Quarantine("trname", new()
        {
            Data = "enable",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.user.Quarantine;
    import com.pulumi.fortios.user.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()
                .quarantine("enable")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:user:Quarantine
        properties:
          quarantine: enable
    

    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,
                   dynamic_sort_subtable: Optional[str] = None,
                   firewall_groups: Optional[str] = None,
                   get_all_tables: Optional[str] = None,
                   quarantine: Optional[str] = None,
                   targets: Optional[Sequence[QuarantineTargetArgs]] = None,
                   traffic_policy: 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:user: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 examplequarantineResourceResourceFromUserquarantine = new Fortios.User.Quarantine("examplequarantineResourceResourceFromUserquarantine", new()
    {
        DynamicSortSubtable = "string",
        FirewallGroups = "string",
        GetAllTables = "string",
        Data = "string",
        Targets = new[]
        {
            new Fortios.User.Inputs.QuarantineTargetArgs
            {
                Description = "string",
                Entry = "string",
                Macs = new[]
                {
                    new Fortios.User.Inputs.QuarantineTargetMacArgs
                    {
                        Description = "string",
                        Drop = "string",
                        EntryId = 0,
                        Mac = "string",
                        Parent = "string",
                    },
                },
            },
        },
        TrafficPolicy = "string",
        Vdomparam = "string",
    });
    
    example, err := user.NewQuarantine(ctx, "examplequarantineResourceResourceFromUserquarantine", &user.QuarantineArgs{
    	DynamicSortSubtable: pulumi.String("string"),
    	FirewallGroups:      pulumi.String("string"),
    	GetAllTables:        pulumi.String("string"),
    	Quarantine:          pulumi.String("string"),
    	Targets: user.QuarantineTargetArray{
    		&user.QuarantineTargetArgs{
    			Description: pulumi.String("string"),
    			Entry:       pulumi.String("string"),
    			Macs: user.QuarantineTargetMacArray{
    				&user.QuarantineTargetMacArgs{
    					Description: pulumi.String("string"),
    					Drop:        pulumi.String("string"),
    					EntryId:     pulumi.Int(0),
    					Mac:         pulumi.String("string"),
    					Parent:      pulumi.String("string"),
    				},
    			},
    		},
    	},
    	TrafficPolicy: pulumi.String("string"),
    	Vdomparam:     pulumi.String("string"),
    })
    
    var examplequarantineResourceResourceFromUserquarantine = new Quarantine("examplequarantineResourceResourceFromUserquarantine", QuarantineArgs.builder()
        .dynamicSortSubtable("string")
        .firewallGroups("string")
        .getAllTables("string")
        .quarantine("string")
        .targets(QuarantineTargetArgs.builder()
            .description("string")
            .entry("string")
            .macs(QuarantineTargetMacArgs.builder()
                .description("string")
                .drop("string")
                .entryId(0)
                .mac("string")
                .parent("string")
                .build())
            .build())
        .trafficPolicy("string")
        .vdomparam("string")
        .build());
    
    examplequarantine_resource_resource_from_userquarantine = fortios.user.Quarantine("examplequarantineResourceResourceFromUserquarantine",
        dynamic_sort_subtable="string",
        firewall_groups="string",
        get_all_tables="string",
        quarantine="string",
        targets=[{
            "description": "string",
            "entry": "string",
            "macs": [{
                "description": "string",
                "drop": "string",
                "entry_id": 0,
                "mac": "string",
                "parent": "string",
            }],
        }],
        traffic_policy="string",
        vdomparam="string")
    
    const examplequarantineResourceResourceFromUserquarantine = new fortios.user.Quarantine("examplequarantineResourceResourceFromUserquarantine", {
        dynamicSortSubtable: "string",
        firewallGroups: "string",
        getAllTables: "string",
        quarantine: "string",
        targets: [{
            description: "string",
            entry: "string",
            macs: [{
                description: "string",
                drop: "string",
                entryId: 0,
                mac: "string",
                parent: "string",
            }],
        }],
        trafficPolicy: "string",
        vdomparam: "string",
    });
    
    type: fortios:user:Quarantine
    properties:
        dynamicSortSubtable: string
        firewallGroups: string
        getAllTables: string
        quarantine: string
        targets:
            - description: string
              entry: string
              macs:
                - description: string
                  drop: string
                  entryId: 0
                  mac: string
                  parent: string
        trafficPolicy: 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

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

    The Quarantine resource accepts the following input properties:

    Data string
    Enable/disable quarantine. Valid values: enable, disable.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    FirewallGroups string
    Firewall address group which includes all quarantine MAC address.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Targets List<Pulumiverse.Fortios.User.Inputs.QuarantineTarget>
    Quarantine entry to hold multiple MACs. The structure of targets block is documented below.
    TrafficPolicy string
    Traffic policy for quarantined MACs.
    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.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    FirewallGroups string
    Firewall address group which includes all quarantine MAC address.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Quarantine string
    Enable/disable quarantine. Valid values: enable, disable.
    Targets []QuarantineTargetArgs
    Quarantine entry to hold multiple MACs. The structure of targets block is documented below.
    TrafficPolicy string
    Traffic policy for quarantined MACs.
    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.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    firewallGroups String
    Firewall address group which includes all quarantine MAC address.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    quarantine String
    Enable/disable quarantine. Valid values: enable, disable.
    targets List<QuarantineTarget>
    Quarantine entry to hold multiple MACs. The structure of targets block is documented below.
    trafficPolicy String
    Traffic policy for quarantined MACs.
    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.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    firewallGroups string
    Firewall address group which includes all quarantine MAC address.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    quarantine string
    Enable/disable quarantine. Valid values: enable, disable.
    targets QuarantineTarget[]
    Quarantine entry to hold multiple MACs. The structure of targets block is documented below.
    trafficPolicy string
    Traffic policy for quarantined MACs.
    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.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    firewall_groups str
    Firewall address group which includes all quarantine MAC address.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    quarantine str
    Enable/disable quarantine. Valid values: enable, disable.
    targets Sequence[QuarantineTargetArgs]
    Quarantine entry to hold multiple MACs. The structure of targets block is documented below.
    traffic_policy str
    Traffic policy for quarantined MACs.
    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.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    firewallGroups String
    Firewall address group which includes all quarantine MAC address.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    quarantine String
    Enable/disable quarantine. Valid values: enable, disable.
    targets List<Property Map>
    Quarantine entry to hold multiple MACs. The structure of targets block is documented below.
    trafficPolicy String
    Traffic policy for quarantined MACs.
    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,
            dynamic_sort_subtable: Optional[str] = None,
            firewall_groups: Optional[str] = None,
            get_all_tables: Optional[str] = None,
            quarantine: Optional[str] = None,
            targets: Optional[Sequence[QuarantineTargetArgs]] = None,
            traffic_policy: 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:
    Data string
    Enable/disable quarantine. Valid values: enable, disable.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    FirewallGroups string
    Firewall address group which includes all quarantine MAC address.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Targets List<Pulumiverse.Fortios.User.Inputs.QuarantineTarget>
    Quarantine entry to hold multiple MACs. The structure of targets block is documented below.
    TrafficPolicy string
    Traffic policy for quarantined MACs.
    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.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    FirewallGroups string
    Firewall address group which includes all quarantine MAC address.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Quarantine string
    Enable/disable quarantine. Valid values: enable, disable.
    Targets []QuarantineTargetArgs
    Quarantine entry to hold multiple MACs. The structure of targets block is documented below.
    TrafficPolicy string
    Traffic policy for quarantined MACs.
    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.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    firewallGroups String
    Firewall address group which includes all quarantine MAC address.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    quarantine String
    Enable/disable quarantine. Valid values: enable, disable.
    targets List<QuarantineTarget>
    Quarantine entry to hold multiple MACs. The structure of targets block is documented below.
    trafficPolicy String
    Traffic policy for quarantined MACs.
    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.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    firewallGroups string
    Firewall address group which includes all quarantine MAC address.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    quarantine string
    Enable/disable quarantine. Valid values: enable, disable.
    targets QuarantineTarget[]
    Quarantine entry to hold multiple MACs. The structure of targets block is documented below.
    trafficPolicy string
    Traffic policy for quarantined MACs.
    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.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    firewall_groups str
    Firewall address group which includes all quarantine MAC address.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    quarantine str
    Enable/disable quarantine. Valid values: enable, disable.
    targets Sequence[QuarantineTargetArgs]
    Quarantine entry to hold multiple MACs. The structure of targets block is documented below.
    traffic_policy str
    Traffic policy for quarantined MACs.
    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.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    firewallGroups String
    Firewall address group which includes all quarantine MAC address.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    quarantine String
    Enable/disable quarantine. Valid values: enable, disable.
    targets List<Property Map>
    Quarantine entry to hold multiple MACs. The structure of targets block is documented below.
    trafficPolicy String
    Traffic policy for quarantined MACs.
    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.

    Supporting Types

    QuarantineTarget, QuarantineTargetArgs

    Description string
    Description for the quarantine entry.
    Entry string
    Quarantine entry name.
    Macs List<Pulumiverse.Fortios.User.Inputs.QuarantineTargetMac>
    Quarantine MACs. The structure of macs block is documented below.
    Description string
    Description for the quarantine entry.
    Entry string
    Quarantine entry name.
    Macs []QuarantineTargetMac
    Quarantine MACs. The structure of macs block is documented below.
    description String
    Description for the quarantine entry.
    entry String
    Quarantine entry name.
    macs List<QuarantineTargetMac>
    Quarantine MACs. The structure of macs block is documented below.
    description string
    Description for the quarantine entry.
    entry string
    Quarantine entry name.
    macs QuarantineTargetMac[]
    Quarantine MACs. The structure of macs block is documented below.
    description str
    Description for the quarantine entry.
    entry str
    Quarantine entry name.
    macs Sequence[QuarantineTargetMac]
    Quarantine MACs. The structure of macs block is documented below.
    description String
    Description for the quarantine entry.
    entry String
    Quarantine entry name.
    macs List<Property Map>
    Quarantine MACs. The structure of macs block is documented below.

    QuarantineTargetMac, QuarantineTargetMacArgs

    Description string
    Description for the quarantine MAC.
    Drop string
    Enable/Disable dropping of quarantined device traffic Valid values: disable, enable.
    EntryId int
    FSW entry id for the quarantine MAC.
    Mac string
    Quarantine MAC.
    Parent string
    Parent entry name.
    Description string
    Description for the quarantine MAC.
    Drop string
    Enable/Disable dropping of quarantined device traffic Valid values: disable, enable.
    EntryId int
    FSW entry id for the quarantine MAC.
    Mac string
    Quarantine MAC.
    Parent string
    Parent entry name.
    description String
    Description for the quarantine MAC.
    drop String
    Enable/Disable dropping of quarantined device traffic Valid values: disable, enable.
    entryId Integer
    FSW entry id for the quarantine MAC.
    mac String
    Quarantine MAC.
    parent String
    Parent entry name.
    description string
    Description for the quarantine MAC.
    drop string
    Enable/Disable dropping of quarantined device traffic Valid values: disable, enable.
    entryId number
    FSW entry id for the quarantine MAC.
    mac string
    Quarantine MAC.
    parent string
    Parent entry name.
    description str
    Description for the quarantine MAC.
    drop str
    Enable/Disable dropping of quarantined device traffic Valid values: disable, enable.
    entry_id int
    FSW entry id for the quarantine MAC.
    mac str
    Quarantine MAC.
    parent str
    Parent entry name.
    description String
    Description for the quarantine MAC.
    drop String
    Enable/Disable dropping of quarantined device traffic Valid values: disable, enable.
    entryId Number
    FSW entry id for the quarantine MAC.
    mac String
    Quarantine MAC.
    parent String
    Parent entry name.

    Import

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

    $ pulumi import fortios:user/quarantine:Quarantine labelname UserQuarantine
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:user/quarantine:Quarantine labelname UserQuarantine
    

    $ 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.6 published on Tuesday, Jul 9, 2024 by pulumiverse