fortios.system.Automationtrigger
Explore with Pulumi AI
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.
- Dynamic
Sort stringSubtable - 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 string - Event type.
- Fabric
Event stringName - Fabric connector event handler name.
- Fabric
Event stringSeverity - Fabric connector event severity.
- Faz
Event stringName - FortiAnalyzer event handler name.
- Faz
Event stringSeverity - FortiAnalyzer event severity.
- string
- FortiAnalyzer event tags.
- Fields
List<Pulumiverse.
Fortios. System. Inputs. Automationtrigger Field> - Customized trigger field settings. The structure of
fields
block is documented below. - Get
All stringTables - 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.
- Ioc
Level string - IOC threat level. Valid values:
medium
,high
. - License
Type string - License type.
- Logid int
- Log ID to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid_block
. - Logid
Blocks List<Pulumiverse.Fortios. System. Inputs. Automationtrigger Logid Block> - Log IDs to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid
. The structure oflogid_block
block is documented below. - Name string
- Name.
- Report
Type string - Security Rating report.
- Serial string
- Fabric connector serial number.
- Trigger
Datetime string - Trigger date and time (YYYY-MM-DD HH:MM:SS).
- Trigger
Day int - Day within a month to trigger.
- Trigger
Frequency string - 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, default = 0).
- Trigger
Type string - Trigger type. Valid values:
event-based
,scheduled
. - Trigger
Weekday 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. Automationtrigger Vdom> - Virtual domain(s) that this trigger is valid for. The structure of
vdom
block is documented below.
- Description string
- Description.
- Dynamic
Sort stringSubtable - 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 string - Event type.
- Fabric
Event stringName - Fabric connector event handler name.
- Fabric
Event stringSeverity - Fabric connector event severity.
- Faz
Event stringName - FortiAnalyzer event handler name.
- Faz
Event stringSeverity - FortiAnalyzer event severity.
- string
- FortiAnalyzer event tags.
- Fields
[]Automationtrigger
Field Args - Customized trigger field settings. The structure of
fields
block is documented below. - Get
All stringTables - 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.
- Ioc
Level string - IOC threat level. Valid values:
medium
,high
. - License
Type string - License type.
- Logid int
- Log ID to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid_block
. - Logid
Blocks []AutomationtriggerLogid Block Args - Log IDs to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid
. The structure oflogid_block
block is documented below. - Name string
- Name.
- Report
Type string - Security Rating report.
- Serial string
- Fabric connector serial number.
- Trigger
Datetime string - Trigger date and time (YYYY-MM-DD HH:MM:SS).
- Trigger
Day int - Day within a month to trigger.
- Trigger
Frequency string - 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, default = 0).
- Trigger
Type string - Trigger type. Valid values:
event-based
,scheduled
. - Trigger
Weekday 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
[]Automationtrigger
Vdom Args - Virtual domain(s) that this trigger is valid for. The structure of
vdom
block is documented below.
- description String
- Description.
- dynamic
Sort StringSubtable - 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 String - Event type.
- fabric
Event StringName - Fabric connector event handler name.
- fabric
Event StringSeverity - Fabric connector event severity.
- faz
Event StringName - FortiAnalyzer event handler name.
- faz
Event StringSeverity - FortiAnalyzer event severity.
- String
- FortiAnalyzer event tags.
- fields
List<Automationtrigger
Field> - Customized trigger field settings. The structure of
fields
block is documented below. - get
All StringTables - 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.
- ioc
Level String - IOC threat level. Valid values:
medium
,high
. - license
Type String - License type.
- logid Integer
- Log ID to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid_block
. - logid
Blocks List<AutomationtriggerLogid Block> - Log IDs to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid
. The structure oflogid_block
block is documented below. - name String
- Name.
- report
Type String - Security Rating report.
- serial String
- Fabric connector serial number.
- trigger
Datetime String - Trigger date and time (YYYY-MM-DD HH:MM:SS).
- trigger
Day Integer - Day within a month to trigger.
- trigger
Frequency String - Scheduled trigger frequency (default = daily).
- trigger
Hour Integer - Hour of the day on which to trigger (0 - 23, default = 1).
- trigger
Minute Integer - Minute of the hour on which to trigger (0 - 59, default = 0).
- trigger
Type String - Trigger type. Valid values:
event-based
,scheduled
. - trigger
Weekday 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<Automationtrigger
Vdom> - Virtual domain(s) that this trigger is valid for. The structure of
vdom
block is documented below.
- description string
- Description.
- dynamic
Sort stringSubtable - 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 string - Event type.
- fabric
Event stringName - Fabric connector event handler name.
- fabric
Event stringSeverity - Fabric connector event severity.
- faz
Event stringName - FortiAnalyzer event handler name.
- faz
Event stringSeverity - FortiAnalyzer event severity.
- string
- FortiAnalyzer event tags.
- fields
Automationtrigger
Field[] - Customized trigger field settings. The structure of
fields
block is documented below. - get
All stringTables - 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.
- ioc
Level string - IOC threat level. Valid values:
medium
,high
. - license
Type string - License type.
- logid number
- Log ID to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid_block
. - logid
Blocks AutomationtriggerLogid Block[] - Log IDs to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid
. The structure oflogid_block
block is documented below. - name string
- Name.
- report
Type string - Security Rating report.
- serial string
- Fabric connector serial number.
- trigger
Datetime string - Trigger date and time (YYYY-MM-DD HH:MM:SS).
- trigger
Day number - Day within a month to trigger.
- trigger
Frequency string - Scheduled trigger frequency (default = daily).
- trigger
Hour number - Hour of the day on which to trigger (0 - 23, default = 1).
- trigger
Minute number - Minute of the hour on which to trigger (0 - 59, default = 0).
- trigger
Type string - Trigger type. Valid values:
event-based
,scheduled
. - trigger
Weekday 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
Automationtrigger
Vdom[] - Virtual domain(s) that this trigger is valid for. The structure of
vdom
block is documented below.
- description str
- Description.
- dynamic_
sort_ strsubtable - 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_ strname - Fabric connector event handler name.
- fabric_
event_ strseverity - Fabric connector event severity.
- faz_
event_ strname - FortiAnalyzer event handler name.
- faz_
event_ strseverity - FortiAnalyzer event severity.
- str
- FortiAnalyzer event tags.
- fields
Sequence[Automationtrigger
Field Args] - Customized trigger field settings. The structure of
fields
block is documented below. - get_
all_ strtables - 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.
- ioc_
level str - IOC threat level. Valid values:
medium
,high
. - license_
type str - License type.
- logid int
- Log ID to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid_block
. - logid_
blocks Sequence[AutomationtriggerLogid Block Args] - Log IDs to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid
. The structure oflogid_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, default = 0).
- 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[Automationtrigger
Vdom Args] - Virtual domain(s) that this trigger is valid for. The structure of
vdom
block is documented below.
- description String
- Description.
- dynamic
Sort StringSubtable - 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 String - Event type.
- fabric
Event StringName - Fabric connector event handler name.
- fabric
Event StringSeverity - Fabric connector event severity.
- faz
Event StringName - FortiAnalyzer event handler name.
- faz
Event StringSeverity - FortiAnalyzer event severity.
- String
- FortiAnalyzer event tags.
- fields List<Property Map>
- Customized trigger field settings. The structure of
fields
block is documented below. - get
All StringTables - 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.
- ioc
Level String - IOC threat level. Valid values:
medium
,high
. - license
Type String - License type.
- logid Number
- Log ID to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid_block
. - logid
Blocks List<Property Map> - Log IDs to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid
. The structure oflogid_block
block is documented below. - name String
- Name.
- report
Type String - Security Rating report.
- serial String
- Fabric connector serial number.
- trigger
Datetime String - Trigger date and time (YYYY-MM-DD HH:MM:SS).
- trigger
Day Number - Day within a month to trigger.
- trigger
Frequency String - Scheduled trigger frequency (default = daily).
- trigger
Hour Number - Hour of the day on which to trigger (0 - 23, default = 1).
- trigger
Minute Number - Minute of the hour on which to trigger (0 - 59, default = 0).
- trigger
Type String - Trigger type. Valid values:
event-based
,scheduled
. - trigger
Weekday 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.
- Description string
- Description.
- Dynamic
Sort stringSubtable - 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 string - Event type.
- Fabric
Event stringName - Fabric connector event handler name.
- Fabric
Event stringSeverity - Fabric connector event severity.
- Faz
Event stringName - FortiAnalyzer event handler name.
- Faz
Event stringSeverity - FortiAnalyzer event severity.
- string
- FortiAnalyzer event tags.
- Fields
List<Pulumiverse.
Fortios. System. Inputs. Automationtrigger Field> - Customized trigger field settings. The structure of
fields
block is documented below. - Get
All stringTables - 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.
- Ioc
Level string - IOC threat level. Valid values:
medium
,high
. - License
Type string - License type.
- Logid int
- Log ID to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid_block
. - Logid
Blocks List<Pulumiverse.Fortios. System. Inputs. Automationtrigger Logid Block> - Log IDs to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid
. The structure oflogid_block
block is documented below. - Name string
- Name.
- Report
Type string - Security Rating report.
- Serial string
- Fabric connector serial number.
- Trigger
Datetime string - Trigger date and time (YYYY-MM-DD HH:MM:SS).
- Trigger
Day int - Day within a month to trigger.
- Trigger
Frequency string - 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, default = 0).
- Trigger
Type string - Trigger type. Valid values:
event-based
,scheduled
. - Trigger
Weekday 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. Automationtrigger Vdom> - Virtual domain(s) that this trigger is valid for. The structure of
vdom
block is documented below.
- Description string
- Description.
- Dynamic
Sort stringSubtable - 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 string - Event type.
- Fabric
Event stringName - Fabric connector event handler name.
- Fabric
Event stringSeverity - Fabric connector event severity.
- Faz
Event stringName - FortiAnalyzer event handler name.
- Faz
Event stringSeverity - FortiAnalyzer event severity.
- string
- FortiAnalyzer event tags.
- Fields
[]Automationtrigger
Field Args - Customized trigger field settings. The structure of
fields
block is documented below. - Get
All stringTables - 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.
- Ioc
Level string - IOC threat level. Valid values:
medium
,high
. - License
Type string - License type.
- Logid int
- Log ID to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid_block
. - Logid
Blocks []AutomationtriggerLogid Block Args - Log IDs to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid
. The structure oflogid_block
block is documented below. - Name string
- Name.
- Report
Type string - Security Rating report.
- Serial string
- Fabric connector serial number.
- Trigger
Datetime string - Trigger date and time (YYYY-MM-DD HH:MM:SS).
- Trigger
Day int - Day within a month to trigger.
- Trigger
Frequency string - 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, default = 0).
- Trigger
Type string - Trigger type. Valid values:
event-based
,scheduled
. - Trigger
Weekday 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
[]Automationtrigger
Vdom Args - Virtual domain(s) that this trigger is valid for. The structure of
vdom
block is documented below.
- description String
- Description.
- dynamic
Sort StringSubtable - 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 String - Event type.
- fabric
Event StringName - Fabric connector event handler name.
- fabric
Event StringSeverity - Fabric connector event severity.
- faz
Event StringName - FortiAnalyzer event handler name.
- faz
Event StringSeverity - FortiAnalyzer event severity.
- String
- FortiAnalyzer event tags.
- fields
List<Automationtrigger
Field> - Customized trigger field settings. The structure of
fields
block is documented below. - get
All StringTables - 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.
- ioc
Level String - IOC threat level. Valid values:
medium
,high
. - license
Type String - License type.
- logid Integer
- Log ID to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid_block
. - logid
Blocks List<AutomationtriggerLogid Block> - Log IDs to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid
. The structure oflogid_block
block is documented below. - name String
- Name.
- report
Type String - Security Rating report.
- serial String
- Fabric connector serial number.
- trigger
Datetime String - Trigger date and time (YYYY-MM-DD HH:MM:SS).
- trigger
Day Integer - Day within a month to trigger.
- trigger
Frequency String - Scheduled trigger frequency (default = daily).
- trigger
Hour Integer - Hour of the day on which to trigger (0 - 23, default = 1).
- trigger
Minute Integer - Minute of the hour on which to trigger (0 - 59, default = 0).
- trigger
Type String - Trigger type. Valid values:
event-based
,scheduled
. - trigger
Weekday 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<Automationtrigger
Vdom> - Virtual domain(s) that this trigger is valid for. The structure of
vdom
block is documented below.
- description string
- Description.
- dynamic
Sort stringSubtable - 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 string - Event type.
- fabric
Event stringName - Fabric connector event handler name.
- fabric
Event stringSeverity - Fabric connector event severity.
- faz
Event stringName - FortiAnalyzer event handler name.
- faz
Event stringSeverity - FortiAnalyzer event severity.
- string
- FortiAnalyzer event tags.
- fields
Automationtrigger
Field[] - Customized trigger field settings. The structure of
fields
block is documented below. - get
All stringTables - 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.
- ioc
Level string - IOC threat level. Valid values:
medium
,high
. - license
Type string - License type.
- logid number
- Log ID to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid_block
. - logid
Blocks AutomationtriggerLogid Block[] - Log IDs to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid
. The structure oflogid_block
block is documented below. - name string
- Name.
- report
Type string - Security Rating report.
- serial string
- Fabric connector serial number.
- trigger
Datetime string - Trigger date and time (YYYY-MM-DD HH:MM:SS).
- trigger
Day number - Day within a month to trigger.
- trigger
Frequency string - Scheduled trigger frequency (default = daily).
- trigger
Hour number - Hour of the day on which to trigger (0 - 23, default = 1).
- trigger
Minute number - Minute of the hour on which to trigger (0 - 59, default = 0).
- trigger
Type string - Trigger type. Valid values:
event-based
,scheduled
. - trigger
Weekday 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
Automationtrigger
Vdom[] - Virtual domain(s) that this trigger is valid for. The structure of
vdom
block is documented below.
- description str
- Description.
- dynamic_
sort_ strsubtable - 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_ strname - Fabric connector event handler name.
- fabric_
event_ strseverity - Fabric connector event severity.
- faz_
event_ strname - FortiAnalyzer event handler name.
- faz_
event_ strseverity - FortiAnalyzer event severity.
- str
- FortiAnalyzer event tags.
- fields
Sequence[Automationtrigger
Field Args] - Customized trigger field settings. The structure of
fields
block is documented below. - get_
all_ strtables - 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.
- ioc_
level str - IOC threat level. Valid values:
medium
,high
. - license_
type str - License type.
- logid int
- Log ID to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid_block
. - logid_
blocks Sequence[AutomationtriggerLogid Block Args] - Log IDs to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid
. The structure oflogid_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, default = 0).
- 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[Automationtrigger
Vdom Args] - Virtual domain(s) that this trigger is valid for. The structure of
vdom
block is documented below.
- description String
- Description.
- dynamic
Sort StringSubtable - 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 String - Event type.
- fabric
Event StringName - Fabric connector event handler name.
- fabric
Event StringSeverity - Fabric connector event severity.
- faz
Event StringName - FortiAnalyzer event handler name.
- faz
Event StringSeverity - FortiAnalyzer event severity.
- String
- FortiAnalyzer event tags.
- fields List<Property Map>
- Customized trigger field settings. The structure of
fields
block is documented below. - get
All StringTables - 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.
- ioc
Level String - IOC threat level. Valid values:
medium
,high
. - license
Type String - License type.
- logid Number
- Log ID to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid_block
. - logid
Blocks List<Property Map> - Log IDs to trigger event. Due to the data type change of API, for other versions of FortiOS, please check variable
logid
. The structure oflogid_block
block is documented below. - name String
- Name.
- report
Type String - Security Rating report.
- serial String
- Fabric connector serial number.
- trigger
Datetime String - Trigger date and time (YYYY-MM-DD HH:MM:SS).
- trigger
Day Number - Day within a month to trigger.
- trigger
Frequency String - Scheduled trigger frequency (default = daily).
- trigger
Hour Number - Hour of the day on which to trigger (0 - 23, default = 1).
- trigger
Minute Number - Minute of the hour on which to trigger (0 - 59, default = 0).
- trigger
Type String - Trigger type. Valid values:
event-based
,scheduled
. - trigger
Weekday 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
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.