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

fortios.system.Automationtrigger

Explore with Pulumi AI

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

    Trigger for automation stitches.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.system.Automationtrigger("trname", {
        eventType: "event-log",
        iocLevel: "high",
        licenseType: "forticare-support",
        logid: 32002,
        triggerFrequency: "daily",
        triggerMinute: 60,
        triggerType: "event-based",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.system.Automationtrigger("trname",
        event_type="event-log",
        ioc_level="high",
        license_type="forticare-support",
        logid=32002,
        trigger_frequency="daily",
        trigger_minute=60,
        trigger_type="event-based")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/system"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := system.NewAutomationtrigger(ctx, "trname", &system.AutomationtriggerArgs{
    			EventType:        pulumi.String("event-log"),
    			IocLevel:         pulumi.String("high"),
    			LicenseType:      pulumi.String("forticare-support"),
    			Logid:            pulumi.Int(32002),
    			TriggerFrequency: pulumi.String("daily"),
    			TriggerMinute:    pulumi.Int(60),
    			TriggerType:      pulumi.String("event-based"),
    		})
    		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.System.Automationtrigger("trname", new()
        {
            EventType = "event-log",
            IocLevel = "high",
            LicenseType = "forticare-support",
            Logid = 32002,
            TriggerFrequency = "daily",
            TriggerMinute = 60,
            TriggerType = "event-based",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.system.Automationtrigger;
    import com.pulumi.fortios.system.AutomationtriggerArgs;
    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 Automationtrigger("trname", AutomationtriggerArgs.builder()        
                .eventType("event-log")
                .iocLevel("high")
                .licenseType("forticare-support")
                .logid(32002)
                .triggerFrequency("daily")
                .triggerMinute(60)
                .triggerType("event-based")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:system:Automationtrigger
        properties:
          eventType: event-log
          iocLevel: high
          licenseType: forticare-support
          logid: 32002
          triggerFrequency: daily
          triggerMinute: 60
          triggerType: event-based
    

    Create Automationtrigger Resource

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

    Constructor syntax

    new Automationtrigger(name: string, args?: AutomationtriggerArgs, opts?: CustomResourceOptions);
    @overload
    def Automationtrigger(resource_name: str,
                          args: Optional[AutomationtriggerArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def Automationtrigger(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          description: Optional[str] = None,
                          dynamic_sort_subtable: Optional[str] = None,
                          event_type: Optional[str] = None,
                          fabric_event_name: Optional[str] = None,
                          fabric_event_severity: Optional[str] = None,
                          faz_event_name: Optional[str] = None,
                          faz_event_severity: Optional[str] = None,
                          faz_event_tags: Optional[str] = None,
                          fields: Optional[Sequence[AutomationtriggerFieldArgs]] = None,
                          get_all_tables: Optional[str] = None,
                          ioc_level: Optional[str] = None,
                          license_type: Optional[str] = None,
                          logid: Optional[int] = None,
                          logid_blocks: Optional[Sequence[AutomationtriggerLogidBlockArgs]] = None,
                          name: Optional[str] = None,
                          report_type: Optional[str] = None,
                          serial: Optional[str] = None,
                          trigger_datetime: Optional[str] = None,
                          trigger_day: Optional[int] = None,
                          trigger_frequency: Optional[str] = None,
                          trigger_hour: Optional[int] = None,
                          trigger_minute: Optional[int] = None,
                          trigger_type: Optional[str] = None,
                          trigger_weekday: Optional[str] = None,
                          vdomparam: Optional[str] = None,
                          vdoms: Optional[Sequence[AutomationtriggerVdomArgs]] = None)
    func NewAutomationtrigger(ctx *Context, name string, args *AutomationtriggerArgs, opts ...ResourceOption) (*Automationtrigger, error)
    public Automationtrigger(string name, AutomationtriggerArgs? args = null, CustomResourceOptions? opts = null)
    public Automationtrigger(String name, AutomationtriggerArgs args)
    public Automationtrigger(String name, AutomationtriggerArgs args, CustomResourceOptions options)
    
    type: fortios:system:Automationtrigger
    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 AutomationtriggerArgs
    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 AutomationtriggerArgs
    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 AutomationtriggerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AutomationtriggerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AutomationtriggerArgs
    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 automationtriggerResource = new Fortios.System.Automationtrigger("automationtriggerResource", new()
    {
        Description = "string",
        DynamicSortSubtable = "string",
        EventType = "string",
        FabricEventName = "string",
        FabricEventSeverity = "string",
        FazEventName = "string",
        FazEventSeverity = "string",
        FazEventTags = "string",
        Fields = new[]
        {
            new Fortios.System.Inputs.AutomationtriggerFieldArgs
            {
                Id = 0,
                Name = "string",
                Value = "string",
            },
        },
        GetAllTables = "string",
        IocLevel = "string",
        LicenseType = "string",
        Logid = 0,
        LogidBlocks = new[]
        {
            new Fortios.System.Inputs.AutomationtriggerLogidBlockArgs
            {
                Id = 0,
            },
        },
        Name = "string",
        ReportType = "string",
        Serial = "string",
        TriggerDatetime = "string",
        TriggerDay = 0,
        TriggerFrequency = "string",
        TriggerHour = 0,
        TriggerMinute = 0,
        TriggerType = "string",
        TriggerWeekday = "string",
        Vdomparam = "string",
        Vdoms = new[]
        {
            new Fortios.System.Inputs.AutomationtriggerVdomArgs
            {
                Name = "string",
            },
        },
    });
    
    example, err := system.NewAutomationtrigger(ctx, "automationtriggerResource", &system.AutomationtriggerArgs{
    	Description:         pulumi.String("string"),
    	DynamicSortSubtable: pulumi.String("string"),
    	EventType:           pulumi.String("string"),
    	FabricEventName:     pulumi.String("string"),
    	FabricEventSeverity: pulumi.String("string"),
    	FazEventName:        pulumi.String("string"),
    	FazEventSeverity:    pulumi.String("string"),
    	FazEventTags:        pulumi.String("string"),
    	Fields: system.AutomationtriggerFieldArray{
    		&system.AutomationtriggerFieldArgs{
    			Id:    pulumi.Int(0),
    			Name:  pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	GetAllTables: pulumi.String("string"),
    	IocLevel:     pulumi.String("string"),
    	LicenseType:  pulumi.String("string"),
    	Logid:        pulumi.Int(0),
    	LogidBlocks: system.AutomationtriggerLogidBlockArray{
    		&system.AutomationtriggerLogidBlockArgs{
    			Id: pulumi.Int(0),
    		},
    	},
    	Name:             pulumi.String("string"),
    	ReportType:       pulumi.String("string"),
    	Serial:           pulumi.String("string"),
    	TriggerDatetime:  pulumi.String("string"),
    	TriggerDay:       pulumi.Int(0),
    	TriggerFrequency: pulumi.String("string"),
    	TriggerHour:      pulumi.Int(0),
    	TriggerMinute:    pulumi.Int(0),
    	TriggerType:      pulumi.String("string"),
    	TriggerWeekday:   pulumi.String("string"),
    	Vdomparam:        pulumi.String("string"),
    	Vdoms: system.AutomationtriggerVdomArray{
    		&system.AutomationtriggerVdomArgs{
    			Name: pulumi.String("string"),
    		},
    	},
    })
    
    var automationtriggerResource = new Automationtrigger("automationtriggerResource", AutomationtriggerArgs.builder()
        .description("string")
        .dynamicSortSubtable("string")
        .eventType("string")
        .fabricEventName("string")
        .fabricEventSeverity("string")
        .fazEventName("string")
        .fazEventSeverity("string")
        .fazEventTags("string")
        .fields(AutomationtriggerFieldArgs.builder()
            .id(0)
            .name("string")
            .value("string")
            .build())
        .getAllTables("string")
        .iocLevel("string")
        .licenseType("string")
        .logid(0)
        .logidBlocks(AutomationtriggerLogidBlockArgs.builder()
            .id(0)
            .build())
        .name("string")
        .reportType("string")
        .serial("string")
        .triggerDatetime("string")
        .triggerDay(0)
        .triggerFrequency("string")
        .triggerHour(0)
        .triggerMinute(0)
        .triggerType("string")
        .triggerWeekday("string")
        .vdomparam("string")
        .vdoms(AutomationtriggerVdomArgs.builder()
            .name("string")
            .build())
        .build());
    
    automationtrigger_resource = fortios.system.Automationtrigger("automationtriggerResource",
        description="string",
        dynamic_sort_subtable="string",
        event_type="string",
        fabric_event_name="string",
        fabric_event_severity="string",
        faz_event_name="string",
        faz_event_severity="string",
        faz_event_tags="string",
        fields=[fortios.system.AutomationtriggerFieldArgs(
            id=0,
            name="string",
            value="string",
        )],
        get_all_tables="string",
        ioc_level="string",
        license_type="string",
        logid=0,
        logid_blocks=[fortios.system.AutomationtriggerLogidBlockArgs(
            id=0,
        )],
        name="string",
        report_type="string",
        serial="string",
        trigger_datetime="string",
        trigger_day=0,
        trigger_frequency="string",
        trigger_hour=0,
        trigger_minute=0,
        trigger_type="string",
        trigger_weekday="string",
        vdomparam="string",
        vdoms=[fortios.system.AutomationtriggerVdomArgs(
            name="string",
        )])
    
    const automationtriggerResource = new fortios.system.Automationtrigger("automationtriggerResource", {
        description: "string",
        dynamicSortSubtable: "string",
        eventType: "string",
        fabricEventName: "string",
        fabricEventSeverity: "string",
        fazEventName: "string",
        fazEventSeverity: "string",
        fazEventTags: "string",
        fields: [{
            id: 0,
            name: "string",
            value: "string",
        }],
        getAllTables: "string",
        iocLevel: "string",
        licenseType: "string",
        logid: 0,
        logidBlocks: [{
            id: 0,
        }],
        name: "string",
        reportType: "string",
        serial: "string",
        triggerDatetime: "string",
        triggerDay: 0,
        triggerFrequency: "string",
        triggerHour: 0,
        triggerMinute: 0,
        triggerType: "string",
        triggerWeekday: "string",
        vdomparam: "string",
        vdoms: [{
            name: "string",
        }],
    });
    
    type: fortios:system:Automationtrigger
    properties:
        description: string
        dynamicSortSubtable: string
        eventType: string
        fabricEventName: string
        fabricEventSeverity: string
        fazEventName: string
        fazEventSeverity: string
        fazEventTags: string
        fields:
            - id: 0
              name: string
              value: string
        getAllTables: string
        iocLevel: string
        licenseType: string
        logid: 0
        logidBlocks:
            - id: 0
        name: string
        reportType: string
        serial: string
        triggerDatetime: string
        triggerDay: 0
        triggerFrequency: string
        triggerHour: 0
        triggerMinute: 0
        triggerType: string
        triggerWeekday: string
        vdomparam: string
        vdoms:
            - name: string
    

    Automationtrigger 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 Automationtrigger resource accepts the following input properties:

    Description string
    Description.
    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 ].
    EventType string
    Event type.
    FabricEventName string
    Fabric connector event handler name.
    FabricEventSeverity string
    Fabric connector event severity.
    FazEventName string
    FortiAnalyzer event handler name.
    FazEventSeverity string
    FortiAnalyzer event severity.
    FazEventTags string
    FortiAnalyzer event tags.
    Fields List<Pulumiverse.Fortios.System.Inputs.AutomationtriggerField>
    Customized trigger field settings. The structure of fields block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    IocLevel string
    IOC threat level. Valid values: medium, high.
    LicenseType string
    License type.
    Logid int
    Log ID to trigger event.
    LogidBlocks List<Pulumiverse.Fortios.System.Inputs.AutomationtriggerLogidBlock>
    Log IDs to trigger event. The structure of logid_block block is documented below.
    Name string
    Name.
    ReportType string
    Security Rating report.
    Serial string
    Fabric connector serial number.
    TriggerDatetime string
    Trigger date and time (YYYY-MM-DD HH:MM:SS).
    TriggerDay int
    Day within a month to trigger.
    TriggerFrequency string
    Scheduled trigger frequency (default = daily).
    TriggerHour int
    Hour of the day on which to trigger (0 - 23, default = 1).
    TriggerMinute int
    Minute of the hour on which to trigger (0 - 59, 60 to randomize).
    TriggerType string
    Trigger type. Valid values: event-based, scheduled.
    TriggerWeekday string
    Day of week for trigger. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    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.
    Vdoms List<Pulumiverse.Fortios.System.Inputs.AutomationtriggerVdom>
    Virtual domain(s) that this trigger is valid for. The structure of vdom block is documented below.
    Description string
    Description.
    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 ].
    EventType string
    Event type.
    FabricEventName string
    Fabric connector event handler name.
    FabricEventSeverity string
    Fabric connector event severity.
    FazEventName string
    FortiAnalyzer event handler name.
    FazEventSeverity string
    FortiAnalyzer event severity.
    FazEventTags string
    FortiAnalyzer event tags.
    Fields []AutomationtriggerFieldArgs
    Customized trigger field settings. The structure of fields block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    IocLevel string
    IOC threat level. Valid values: medium, high.
    LicenseType string
    License type.
    Logid int
    Log ID to trigger event.
    LogidBlocks []AutomationtriggerLogidBlockArgs
    Log IDs to trigger event. The structure of logid_block block is documented below.
    Name string
    Name.
    ReportType string
    Security Rating report.
    Serial string
    Fabric connector serial number.
    TriggerDatetime string
    Trigger date and time (YYYY-MM-DD HH:MM:SS).
    TriggerDay int
    Day within a month to trigger.
    TriggerFrequency string
    Scheduled trigger frequency (default = daily).
    TriggerHour int
    Hour of the day on which to trigger (0 - 23, default = 1).
    TriggerMinute int
    Minute of the hour on which to trigger (0 - 59, 60 to randomize).
    TriggerType string
    Trigger type. Valid values: event-based, scheduled.
    TriggerWeekday string
    Day of week for trigger. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    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.
    Vdoms []AutomationtriggerVdomArgs
    Virtual domain(s) that this trigger is valid for. The structure of vdom block is documented below.
    description String
    Description.
    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 ].
    eventType String
    Event type.
    fabricEventName String
    Fabric connector event handler name.
    fabricEventSeverity String
    Fabric connector event severity.
    fazEventName String
    FortiAnalyzer event handler name.
    fazEventSeverity String
    FortiAnalyzer event severity.
    fazEventTags String
    FortiAnalyzer event tags.
    fields List<AutomationtriggerField>
    Customized trigger field settings. The structure of fields block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    iocLevel String
    IOC threat level. Valid values: medium, high.
    licenseType String
    License type.
    logid Integer
    Log ID to trigger event.
    logidBlocks List<AutomationtriggerLogidBlock>
    Log IDs to trigger event. The structure of logid_block block is documented below.
    name String
    Name.
    reportType String
    Security Rating report.
    serial String
    Fabric connector serial number.
    triggerDatetime String
    Trigger date and time (YYYY-MM-DD HH:MM:SS).
    triggerDay Integer
    Day within a month to trigger.
    triggerFrequency String
    Scheduled trigger frequency (default = daily).
    triggerHour Integer
    Hour of the day on which to trigger (0 - 23, default = 1).
    triggerMinute Integer
    Minute of the hour on which to trigger (0 - 59, 60 to randomize).
    triggerType String
    Trigger type. Valid values: event-based, scheduled.
    triggerWeekday String
    Day of week for trigger. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    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.
    vdoms List<AutomationtriggerVdom>
    Virtual domain(s) that this trigger is valid for. The structure of vdom block is documented below.
    description string
    Description.
    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 ].
    eventType string
    Event type.
    fabricEventName string
    Fabric connector event handler name.
    fabricEventSeverity string
    Fabric connector event severity.
    fazEventName string
    FortiAnalyzer event handler name.
    fazEventSeverity string
    FortiAnalyzer event severity.
    fazEventTags string
    FortiAnalyzer event tags.
    fields AutomationtriggerField[]
    Customized trigger field settings. The structure of fields block is documented below.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    iocLevel string
    IOC threat level. Valid values: medium, high.
    licenseType string
    License type.
    logid number
    Log ID to trigger event.
    logidBlocks AutomationtriggerLogidBlock[]
    Log IDs to trigger event. The structure of logid_block block is documented below.
    name string
    Name.
    reportType string
    Security Rating report.
    serial string
    Fabric connector serial number.
    triggerDatetime string
    Trigger date and time (YYYY-MM-DD HH:MM:SS).
    triggerDay number
    Day within a month to trigger.
    triggerFrequency string
    Scheduled trigger frequency (default = daily).
    triggerHour number
    Hour of the day on which to trigger (0 - 23, default = 1).
    triggerMinute number
    Minute of the hour on which to trigger (0 - 59, 60 to randomize).
    triggerType string
    Trigger type. Valid values: event-based, scheduled.
    triggerWeekday string
    Day of week for trigger. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    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.
    vdoms AutomationtriggerVdom[]
    Virtual domain(s) that this trigger is valid for. The structure of vdom block is documented below.
    description str
    Description.
    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 ].
    event_type str
    Event type.
    fabric_event_name str
    Fabric connector event handler name.
    fabric_event_severity str
    Fabric connector event severity.
    faz_event_name str
    FortiAnalyzer event handler name.
    faz_event_severity str
    FortiAnalyzer event severity.
    faz_event_tags str
    FortiAnalyzer event tags.
    fields Sequence[AutomationtriggerFieldArgs]
    Customized trigger field settings. The structure of fields block is documented below.
    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, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    ioc_level str
    IOC threat level. Valid values: medium, high.
    license_type str
    License type.
    logid int
    Log ID to trigger event.
    logid_blocks Sequence[AutomationtriggerLogidBlockArgs]
    Log IDs to trigger event. The structure of logid_block block is documented below.
    name str
    Name.
    report_type str
    Security Rating report.
    serial str
    Fabric connector serial number.
    trigger_datetime str
    Trigger date and time (YYYY-MM-DD HH:MM:SS).
    trigger_day int
    Day within a month to trigger.
    trigger_frequency str
    Scheduled trigger frequency (default = daily).
    trigger_hour int
    Hour of the day on which to trigger (0 - 23, default = 1).
    trigger_minute int
    Minute of the hour on which to trigger (0 - 59, 60 to randomize).
    trigger_type str
    Trigger type. Valid values: event-based, scheduled.
    trigger_weekday str
    Day of week for trigger. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    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.
    vdoms Sequence[AutomationtriggerVdomArgs]
    Virtual domain(s) that this trigger is valid for. The structure of vdom block is documented below.
    description String
    Description.
    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 ].
    eventType String
    Event type.
    fabricEventName String
    Fabric connector event handler name.
    fabricEventSeverity String
    Fabric connector event severity.
    fazEventName String
    FortiAnalyzer event handler name.
    fazEventSeverity String
    FortiAnalyzer event severity.
    fazEventTags String
    FortiAnalyzer event tags.
    fields List<Property Map>
    Customized trigger field settings. The structure of fields block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    iocLevel String
    IOC threat level. Valid values: medium, high.
    licenseType String
    License type.
    logid Number
    Log ID to trigger event.
    logidBlocks List<Property Map>
    Log IDs to trigger event. The structure of logid_block block is documented below.
    name String
    Name.
    reportType String
    Security Rating report.
    serial String
    Fabric connector serial number.
    triggerDatetime String
    Trigger date and time (YYYY-MM-DD HH:MM:SS).
    triggerDay Number
    Day within a month to trigger.
    triggerFrequency String
    Scheduled trigger frequency (default = daily).
    triggerHour Number
    Hour of the day on which to trigger (0 - 23, default = 1).
    triggerMinute Number
    Minute of the hour on which to trigger (0 - 59, 60 to randomize).
    triggerType String
    Trigger type. Valid values: event-based, scheduled.
    triggerWeekday String
    Day of week for trigger. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    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.
    vdoms List<Property Map>
    Virtual domain(s) that this trigger is valid for. The structure of vdom block is documented below.

    Outputs

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

    Get an existing Automationtrigger 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?: AutomationtriggerState, opts?: CustomResourceOptions): Automationtrigger
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            event_type: Optional[str] = None,
            fabric_event_name: Optional[str] = None,
            fabric_event_severity: Optional[str] = None,
            faz_event_name: Optional[str] = None,
            faz_event_severity: Optional[str] = None,
            faz_event_tags: Optional[str] = None,
            fields: Optional[Sequence[AutomationtriggerFieldArgs]] = None,
            get_all_tables: Optional[str] = None,
            ioc_level: Optional[str] = None,
            license_type: Optional[str] = None,
            logid: Optional[int] = None,
            logid_blocks: Optional[Sequence[AutomationtriggerLogidBlockArgs]] = None,
            name: Optional[str] = None,
            report_type: Optional[str] = None,
            serial: Optional[str] = None,
            trigger_datetime: Optional[str] = None,
            trigger_day: Optional[int] = None,
            trigger_frequency: Optional[str] = None,
            trigger_hour: Optional[int] = None,
            trigger_minute: Optional[int] = None,
            trigger_type: Optional[str] = None,
            trigger_weekday: Optional[str] = None,
            vdomparam: Optional[str] = None,
            vdoms: Optional[Sequence[AutomationtriggerVdomArgs]] = None) -> Automationtrigger
    func GetAutomationtrigger(ctx *Context, name string, id IDInput, state *AutomationtriggerState, opts ...ResourceOption) (*Automationtrigger, error)
    public static Automationtrigger Get(string name, Input<string> id, AutomationtriggerState? state, CustomResourceOptions? opts = null)
    public static Automationtrigger get(String name, Output<String> id, AutomationtriggerState 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:
    Description string
    Description.
    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 ].
    EventType string
    Event type.
    FabricEventName string
    Fabric connector event handler name.
    FabricEventSeverity string
    Fabric connector event severity.
    FazEventName string
    FortiAnalyzer event handler name.
    FazEventSeverity string
    FortiAnalyzer event severity.
    FazEventTags string
    FortiAnalyzer event tags.
    Fields List<Pulumiverse.Fortios.System.Inputs.AutomationtriggerField>
    Customized trigger field settings. The structure of fields block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    IocLevel string
    IOC threat level. Valid values: medium, high.
    LicenseType string
    License type.
    Logid int
    Log ID to trigger event.
    LogidBlocks List<Pulumiverse.Fortios.System.Inputs.AutomationtriggerLogidBlock>
    Log IDs to trigger event. The structure of logid_block block is documented below.
    Name string
    Name.
    ReportType string
    Security Rating report.
    Serial string
    Fabric connector serial number.
    TriggerDatetime string
    Trigger date and time (YYYY-MM-DD HH:MM:SS).
    TriggerDay int
    Day within a month to trigger.
    TriggerFrequency string
    Scheduled trigger frequency (default = daily).
    TriggerHour int
    Hour of the day on which to trigger (0 - 23, default = 1).
    TriggerMinute int
    Minute of the hour on which to trigger (0 - 59, 60 to randomize).
    TriggerType string
    Trigger type. Valid values: event-based, scheduled.
    TriggerWeekday string
    Day of week for trigger. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    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.
    Vdoms List<Pulumiverse.Fortios.System.Inputs.AutomationtriggerVdom>
    Virtual domain(s) that this trigger is valid for. The structure of vdom block is documented below.
    Description string
    Description.
    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 ].
    EventType string
    Event type.
    FabricEventName string
    Fabric connector event handler name.
    FabricEventSeverity string
    Fabric connector event severity.
    FazEventName string
    FortiAnalyzer event handler name.
    FazEventSeverity string
    FortiAnalyzer event severity.
    FazEventTags string
    FortiAnalyzer event tags.
    Fields []AutomationtriggerFieldArgs
    Customized trigger field settings. The structure of fields block is documented below.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    IocLevel string
    IOC threat level. Valid values: medium, high.
    LicenseType string
    License type.
    Logid int
    Log ID to trigger event.
    LogidBlocks []AutomationtriggerLogidBlockArgs
    Log IDs to trigger event. The structure of logid_block block is documented below.
    Name string
    Name.
    ReportType string
    Security Rating report.
    Serial string
    Fabric connector serial number.
    TriggerDatetime string
    Trigger date and time (YYYY-MM-DD HH:MM:SS).
    TriggerDay int
    Day within a month to trigger.
    TriggerFrequency string
    Scheduled trigger frequency (default = daily).
    TriggerHour int
    Hour of the day on which to trigger (0 - 23, default = 1).
    TriggerMinute int
    Minute of the hour on which to trigger (0 - 59, 60 to randomize).
    TriggerType string
    Trigger type. Valid values: event-based, scheduled.
    TriggerWeekday string
    Day of week for trigger. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    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.
    Vdoms []AutomationtriggerVdomArgs
    Virtual domain(s) that this trigger is valid for. The structure of vdom block is documented below.
    description String
    Description.
    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 ].
    eventType String
    Event type.
    fabricEventName String
    Fabric connector event handler name.
    fabricEventSeverity String
    Fabric connector event severity.
    fazEventName String
    FortiAnalyzer event handler name.
    fazEventSeverity String
    FortiAnalyzer event severity.
    fazEventTags String
    FortiAnalyzer event tags.
    fields List<AutomationtriggerField>
    Customized trigger field settings. The structure of fields block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    iocLevel String
    IOC threat level. Valid values: medium, high.
    licenseType String
    License type.
    logid Integer
    Log ID to trigger event.
    logidBlocks List<AutomationtriggerLogidBlock>
    Log IDs to trigger event. The structure of logid_block block is documented below.
    name String
    Name.
    reportType String
    Security Rating report.
    serial String
    Fabric connector serial number.
    triggerDatetime String
    Trigger date and time (YYYY-MM-DD HH:MM:SS).
    triggerDay Integer
    Day within a month to trigger.
    triggerFrequency String
    Scheduled trigger frequency (default = daily).
    triggerHour Integer
    Hour of the day on which to trigger (0 - 23, default = 1).
    triggerMinute Integer
    Minute of the hour on which to trigger (0 - 59, 60 to randomize).
    triggerType String
    Trigger type. Valid values: event-based, scheduled.
    triggerWeekday String
    Day of week for trigger. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    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.
    vdoms List<AutomationtriggerVdom>
    Virtual domain(s) that this trigger is valid for. The structure of vdom block is documented below.
    description string
    Description.
    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 ].
    eventType string
    Event type.
    fabricEventName string
    Fabric connector event handler name.
    fabricEventSeverity string
    Fabric connector event severity.
    fazEventName string
    FortiAnalyzer event handler name.
    fazEventSeverity string
    FortiAnalyzer event severity.
    fazEventTags string
    FortiAnalyzer event tags.
    fields AutomationtriggerField[]
    Customized trigger field settings. The structure of fields block is documented below.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    iocLevel string
    IOC threat level. Valid values: medium, high.
    licenseType string
    License type.
    logid number
    Log ID to trigger event.
    logidBlocks AutomationtriggerLogidBlock[]
    Log IDs to trigger event. The structure of logid_block block is documented below.
    name string
    Name.
    reportType string
    Security Rating report.
    serial string
    Fabric connector serial number.
    triggerDatetime string
    Trigger date and time (YYYY-MM-DD HH:MM:SS).
    triggerDay number
    Day within a month to trigger.
    triggerFrequency string
    Scheduled trigger frequency (default = daily).
    triggerHour number
    Hour of the day on which to trigger (0 - 23, default = 1).
    triggerMinute number
    Minute of the hour on which to trigger (0 - 59, 60 to randomize).
    triggerType string
    Trigger type. Valid values: event-based, scheduled.
    triggerWeekday string
    Day of week for trigger. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    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.
    vdoms AutomationtriggerVdom[]
    Virtual domain(s) that this trigger is valid for. The structure of vdom block is documented below.
    description str
    Description.
    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 ].
    event_type str
    Event type.
    fabric_event_name str
    Fabric connector event handler name.
    fabric_event_severity str
    Fabric connector event severity.
    faz_event_name str
    FortiAnalyzer event handler name.
    faz_event_severity str
    FortiAnalyzer event severity.
    faz_event_tags str
    FortiAnalyzer event tags.
    fields Sequence[AutomationtriggerFieldArgs]
    Customized trigger field settings. The structure of fields block is documented below.
    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, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    ioc_level str
    IOC threat level. Valid values: medium, high.
    license_type str
    License type.
    logid int
    Log ID to trigger event.
    logid_blocks Sequence[AutomationtriggerLogidBlockArgs]
    Log IDs to trigger event. The structure of logid_block block is documented below.
    name str
    Name.
    report_type str
    Security Rating report.
    serial str
    Fabric connector serial number.
    trigger_datetime str
    Trigger date and time (YYYY-MM-DD HH:MM:SS).
    trigger_day int
    Day within a month to trigger.
    trigger_frequency str
    Scheduled trigger frequency (default = daily).
    trigger_hour int
    Hour of the day on which to trigger (0 - 23, default = 1).
    trigger_minute int
    Minute of the hour on which to trigger (0 - 59, 60 to randomize).
    trigger_type str
    Trigger type. Valid values: event-based, scheduled.
    trigger_weekday str
    Day of week for trigger. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    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.
    vdoms Sequence[AutomationtriggerVdomArgs]
    Virtual domain(s) that this trigger is valid for. The structure of vdom block is documented below.
    description String
    Description.
    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 ].
    eventType String
    Event type.
    fabricEventName String
    Fabric connector event handler name.
    fabricEventSeverity String
    Fabric connector event severity.
    fazEventName String
    FortiAnalyzer event handler name.
    fazEventSeverity String
    FortiAnalyzer event severity.
    fazEventTags String
    FortiAnalyzer event tags.
    fields List<Property Map>
    Customized trigger field settings. The structure of fields block is documented below.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    iocLevel String
    IOC threat level. Valid values: medium, high.
    licenseType String
    License type.
    logid Number
    Log ID to trigger event.
    logidBlocks List<Property Map>
    Log IDs to trigger event. The structure of logid_block block is documented below.
    name String
    Name.
    reportType String
    Security Rating report.
    serial String
    Fabric connector serial number.
    triggerDatetime String
    Trigger date and time (YYYY-MM-DD HH:MM:SS).
    triggerDay Number
    Day within a month to trigger.
    triggerFrequency String
    Scheduled trigger frequency (default = daily).
    triggerHour Number
    Hour of the day on which to trigger (0 - 23, default = 1).
    triggerMinute Number
    Minute of the hour on which to trigger (0 - 59, 60 to randomize).
    triggerType String
    Trigger type. Valid values: event-based, scheduled.
    triggerWeekday String
    Day of week for trigger. Valid values: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
    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.
    vdoms List<Property Map>
    Virtual domain(s) that this trigger is valid for. The structure of vdom block is documented below.

    Supporting Types

    AutomationtriggerField, AutomationtriggerFieldArgs

    Id int
    Entry ID.
    Name string
    Name.
    Value string
    Value.
    Id int
    Entry ID.
    Name string
    Name.
    Value string
    Value.
    id Integer
    Entry ID.
    name String
    Name.
    value String
    Value.
    id number
    Entry ID.
    name string
    Name.
    value string
    Value.
    id int
    Entry ID.
    name str
    Name.
    value str
    Value.
    id Number
    Entry ID.
    name String
    Name.
    value String
    Value.

    AutomationtriggerLogidBlock, AutomationtriggerLogidBlockArgs

    Id int
    Log ID.
    Id int
    Log ID.
    id Integer
    Log ID.
    id number
    Log ID.
    id int
    Log ID.
    id Number
    Log ID.

    AutomationtriggerVdom, AutomationtriggerVdomArgs

    Name string
    Virtual domain name.
    Name string
    Virtual domain name.
    name String
    Virtual domain name.
    name string
    Virtual domain name.
    name str
    Virtual domain name.
    name String
    Virtual domain name.

    Import

    System AutomationTrigger can be imported using any of these accepted formats:

    $ pulumi import fortios:system/automationtrigger:Automationtrigger labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:system/automationtrigger:Automationtrigger labelname {{name}}
    

    $ 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