published on Monday, May 4, 2026 by fortinetdev
published on Monday, May 4, 2026 by fortinetdev
ObjectFmg Script
The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.
schedule:fortimanager.ObjectFmgScriptSchedule
Create ObjectFmgScript Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectFmgScript(name: string, args?: ObjectFmgScriptArgs, opts?: CustomResourceOptions);@overload
def ObjectFmgScript(resource_name: str,
args: Optional[ObjectFmgScriptArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectFmgScript(resource_name: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
content: Optional[str] = None,
desc: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
filter_build: Optional[float] = None,
filter_device: Optional[float] = None,
filter_hostname: Optional[str] = None,
filter_ostype: Optional[float] = None,
filter_osver: Optional[float] = None,
filter_platform: Optional[str] = None,
filter_serial: Optional[str] = None,
members: Optional[Sequence[str]] = None,
name: Optional[str] = None,
object_fmg_script_id: Optional[str] = None,
schedules: Optional[Sequence[ObjectFmgScriptScheduleArgs]] = None,
scopetype: Optional[str] = None,
target: Optional[str] = None,
type: Optional[str] = None,
update_if_exist: Optional[bool] = None)func NewObjectFmgScript(ctx *Context, name string, args *ObjectFmgScriptArgs, opts ...ResourceOption) (*ObjectFmgScript, error)public ObjectFmgScript(string name, ObjectFmgScriptArgs? args = null, CustomResourceOptions? opts = null)
public ObjectFmgScript(String name, ObjectFmgScriptArgs args)
public ObjectFmgScript(String name, ObjectFmgScriptArgs args, CustomResourceOptions options)
type: fortimanager:ObjectFmgScript
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 ObjectFmgScriptArgs
- 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 ObjectFmgScriptArgs
- 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 ObjectFmgScriptArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectFmgScriptArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectFmgScriptArgs
- 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 objectFmgScriptResource = new Fortimanager.ObjectFmgScript("objectFmgScriptResource", new()
{
Adom = "string",
Content = "string",
Desc = "string",
DynamicSortSubtable = "string",
FilterBuild = 0,
FilterDevice = 0,
FilterHostname = "string",
FilterOstype = 0,
FilterOsver = 0,
FilterPlatform = "string",
FilterSerial = "string",
Members = new[]
{
"string",
},
Name = "string",
ObjectFmgScriptId = "string",
Schedules = new[]
{
new Fortimanager.Inputs.ObjectFmgScriptScheduleArgs
{
Datetime = "string",
DayOfWeek = 0,
Device = 0,
RunOnDb = 0,
Timestamp = 0,
Type = "string",
User = "string",
},
},
Scopetype = "string",
Target = "string",
Type = "string",
UpdateIfExist = false,
});
example, err := fortimanager.NewObjectFmgScript(ctx, "objectFmgScriptResource", &fortimanager.ObjectFmgScriptArgs{
Adom: pulumi.String("string"),
Content: pulumi.String("string"),
Desc: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
FilterBuild: pulumi.Float64(0),
FilterDevice: pulumi.Float64(0),
FilterHostname: pulumi.String("string"),
FilterOstype: pulumi.Float64(0),
FilterOsver: pulumi.Float64(0),
FilterPlatform: pulumi.String("string"),
FilterSerial: pulumi.String("string"),
Members: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
ObjectFmgScriptId: pulumi.String("string"),
Schedules: fortimanager.ObjectFmgScriptScheduleTypeArray{
&fortimanager.ObjectFmgScriptScheduleTypeArgs{
Datetime: pulumi.String("string"),
DayOfWeek: pulumi.Float64(0),
Device: pulumi.Float64(0),
RunOnDb: pulumi.Float64(0),
Timestamp: pulumi.Float64(0),
Type: pulumi.String("string"),
User: pulumi.String("string"),
},
},
Scopetype: pulumi.String("string"),
Target: pulumi.String("string"),
Type: pulumi.String("string"),
UpdateIfExist: pulumi.Bool(false),
})
var objectFmgScriptResource = new ObjectFmgScript("objectFmgScriptResource", ObjectFmgScriptArgs.builder()
.adom("string")
.content("string")
.desc("string")
.dynamicSortSubtable("string")
.filterBuild(0.0)
.filterDevice(0.0)
.filterHostname("string")
.filterOstype(0.0)
.filterOsver(0.0)
.filterPlatform("string")
.filterSerial("string")
.members("string")
.name("string")
.objectFmgScriptId("string")
.schedules(ObjectFmgScriptScheduleArgs.builder()
.datetime("string")
.dayOfWeek(0.0)
.device(0.0)
.runOnDb(0.0)
.timestamp(0.0)
.type("string")
.user("string")
.build())
.scopetype("string")
.target("string")
.type("string")
.updateIfExist(false)
.build());
object_fmg_script_resource = fortimanager.ObjectFmgScript("objectFmgScriptResource",
adom="string",
content="string",
desc="string",
dynamic_sort_subtable="string",
filter_build=float(0),
filter_device=float(0),
filter_hostname="string",
filter_ostype=float(0),
filter_osver=float(0),
filter_platform="string",
filter_serial="string",
members=["string"],
name="string",
object_fmg_script_id="string",
schedules=[{
"datetime": "string",
"day_of_week": float(0),
"device": float(0),
"run_on_db": float(0),
"timestamp": float(0),
"type": "string",
"user": "string",
}],
scopetype="string",
target="string",
type="string",
update_if_exist=False)
const objectFmgScriptResource = new fortimanager.ObjectFmgScript("objectFmgScriptResource", {
adom: "string",
content: "string",
desc: "string",
dynamicSortSubtable: "string",
filterBuild: 0,
filterDevice: 0,
filterHostname: "string",
filterOstype: 0,
filterOsver: 0,
filterPlatform: "string",
filterSerial: "string",
members: ["string"],
name: "string",
objectFmgScriptId: "string",
schedules: [{
datetime: "string",
dayOfWeek: 0,
device: 0,
runOnDb: 0,
timestamp: 0,
type: "string",
user: "string",
}],
scopetype: "string",
target: "string",
type: "string",
updateIfExist: false,
});
type: fortimanager:ObjectFmgScript
properties:
adom: string
content: string
desc: string
dynamicSortSubtable: string
filterBuild: 0
filterDevice: 0
filterHostname: string
filterOstype: 0
filterOsver: 0
filterPlatform: string
filterSerial: string
members:
- string
name: string
objectFmgScriptId: string
schedules:
- datetime: string
dayOfWeek: 0
device: 0
runOnDb: 0
timestamp: 0
type: string
user: string
scopetype: string
target: string
type: string
updateIfExist: false
ObjectFmgScript Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ObjectFmgScript resource accepts the following input properties:
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Content string
- Content.
- Desc string
- Desc.
- Dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Filter
Build double - Filter_Build.
- Filter
Device double - Filter_Device.
- Filter
Hostname string - Filter_Hostname.
- Filter
Ostype double - Filter_Ostype.
- Filter
Osver double - Filter_Osver.
- Filter
Platform string - Filter_Platform.
- Filter
Serial string - Filter_Serial.
- Members List<string>
- Member.
- Name string
- Name.
- Object
Fmg stringScript Id - an identifier for the resource with format {{name}}.
- Schedules
List<Object
Fmg Script Schedule> - Schedule. The structure of
scheduleblock is documented below. - Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Target string
- Target. Valid values:
devdb,remote,adomdb. - Type string
- Type. Valid values:
cli,tcl,cligrp,tclgrp,jinja. - Update
If boolExist
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Content string
- Content.
- Desc string
- Desc.
- Dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Filter
Build float64 - Filter_Build.
- Filter
Device float64 - Filter_Device.
- Filter
Hostname string - Filter_Hostname.
- Filter
Ostype float64 - Filter_Ostype.
- Filter
Osver float64 - Filter_Osver.
- Filter
Platform string - Filter_Platform.
- Filter
Serial string - Filter_Serial.
- Members []string
- Member.
- Name string
- Name.
- Object
Fmg stringScript Id - an identifier for the resource with format {{name}}.
- Schedules
[]Object
Fmg Script Schedule Type Args - Schedule. The structure of
scheduleblock is documented below. - Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Target string
- Target. Valid values:
devdb,remote,adomdb. - Type string
- Type. Valid values:
cli,tcl,cligrp,tclgrp,jinja. - Update
If boolExist
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - content String
- Content.
- desc String
- Desc.
- dynamic
Sort StringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- filter
Build Double - Filter_Build.
- filter
Device Double - Filter_Device.
- filter
Hostname String - Filter_Hostname.
- filter
Ostype Double - Filter_Ostype.
- filter
Osver Double - Filter_Osver.
- filter
Platform String - Filter_Platform.
- filter
Serial String - Filter_Serial.
- members List<String>
- Member.
- name String
- Name.
- object
Fmg StringScript Id - an identifier for the resource with format {{name}}.
- schedules
List<Object
Fmg Script Schedule> - Schedule. The structure of
scheduleblock is documented below. - scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - target String
- Target. Valid values:
devdb,remote,adomdb. - type String
- Type. Valid values:
cli,tcl,cligrp,tclgrp,jinja. - update
If BooleanExist
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - content string
- Content.
- desc string
- Desc.
- dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- filter
Build number - Filter_Build.
- filter
Device number - Filter_Device.
- filter
Hostname string - Filter_Hostname.
- filter
Ostype number - Filter_Ostype.
- filter
Osver number - Filter_Osver.
- filter
Platform string - Filter_Platform.
- filter
Serial string - Filter_Serial.
- members string[]
- Member.
- name string
- Name.
- object
Fmg stringScript Id - an identifier for the resource with format {{name}}.
- schedules
Object
Fmg Script Schedule[] - Schedule. The structure of
scheduleblock is documented below. - scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - target string
- Target. Valid values:
devdb,remote,adomdb. - type string
- Type. Valid values:
cli,tcl,cligrp,tclgrp,jinja. - update
If booleanExist
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - content str
- Content.
- desc str
- Desc.
- dynamic_
sort_ strsubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- filter_
build float - Filter_Build.
- filter_
device float - Filter_Device.
- filter_
hostname str - Filter_Hostname.
- filter_
ostype float - Filter_Ostype.
- filter_
osver float - Filter_Osver.
- filter_
platform str - Filter_Platform.
- filter_
serial str - Filter_Serial.
- members Sequence[str]
- Member.
- name str
- Name.
- object_
fmg_ strscript_ id - an identifier for the resource with format {{name}}.
- schedules
Sequence[Object
Fmg Script Schedule Args] - Schedule. The structure of
scheduleblock is documented below. - scopetype str
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - target str
- Target. Valid values:
devdb,remote,adomdb. - type str
- Type. Valid values:
cli,tcl,cligrp,tclgrp,jinja. - update_
if_ boolexist
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - content String
- Content.
- desc String
- Desc.
- dynamic
Sort StringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- filter
Build Number - Filter_Build.
- filter
Device Number - Filter_Device.
- filter
Hostname String - Filter_Hostname.
- filter
Ostype Number - Filter_Ostype.
- filter
Osver Number - Filter_Osver.
- filter
Platform String - Filter_Platform.
- filter
Serial String - Filter_Serial.
- members List<String>
- Member.
- name String
- Name.
- object
Fmg StringScript Id - an identifier for the resource with format {{name}}.
- schedules List<Property Map>
- Schedule. The structure of
scheduleblock is documented below. - scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - target String
- Target. Valid values:
devdb,remote,adomdb. - type String
- Type. Valid values:
cli,tcl,cligrp,tclgrp,jinja. - update
If BooleanExist
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectFmgScript 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 ObjectFmgScript Resource
Get an existing ObjectFmgScript 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?: ObjectFmgScriptState, opts?: CustomResourceOptions): ObjectFmgScript@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adom: Optional[str] = None,
content: Optional[str] = None,
desc: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
filter_build: Optional[float] = None,
filter_device: Optional[float] = None,
filter_hostname: Optional[str] = None,
filter_ostype: Optional[float] = None,
filter_osver: Optional[float] = None,
filter_platform: Optional[str] = None,
filter_serial: Optional[str] = None,
members: Optional[Sequence[str]] = None,
name: Optional[str] = None,
object_fmg_script_id: Optional[str] = None,
schedules: Optional[Sequence[ObjectFmgScriptScheduleArgs]] = None,
scopetype: Optional[str] = None,
target: Optional[str] = None,
type: Optional[str] = None,
update_if_exist: Optional[bool] = None) -> ObjectFmgScriptfunc GetObjectFmgScript(ctx *Context, name string, id IDInput, state *ObjectFmgScriptState, opts ...ResourceOption) (*ObjectFmgScript, error)public static ObjectFmgScript Get(string name, Input<string> id, ObjectFmgScriptState? state, CustomResourceOptions? opts = null)public static ObjectFmgScript get(String name, Output<String> id, ObjectFmgScriptState state, CustomResourceOptions options)resources: _: type: fortimanager:ObjectFmgScript get: id: ${id}- 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.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Content string
- Content.
- Desc string
- Desc.
- Dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Filter
Build double - Filter_Build.
- Filter
Device double - Filter_Device.
- Filter
Hostname string - Filter_Hostname.
- Filter
Ostype double - Filter_Ostype.
- Filter
Osver double - Filter_Osver.
- Filter
Platform string - Filter_Platform.
- Filter
Serial string - Filter_Serial.
- Members List<string>
- Member.
- Name string
- Name.
- Object
Fmg stringScript Id - an identifier for the resource with format {{name}}.
- Schedules
List<Object
Fmg Script Schedule> - Schedule. The structure of
scheduleblock is documented below. - Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Target string
- Target. Valid values:
devdb,remote,adomdb. - Type string
- Type. Valid values:
cli,tcl,cligrp,tclgrp,jinja. - Update
If boolExist
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Content string
- Content.
- Desc string
- Desc.
- Dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- Filter
Build float64 - Filter_Build.
- Filter
Device float64 - Filter_Device.
- Filter
Hostname string - Filter_Hostname.
- Filter
Ostype float64 - Filter_Ostype.
- Filter
Osver float64 - Filter_Osver.
- Filter
Platform string - Filter_Platform.
- Filter
Serial string - Filter_Serial.
- Members []string
- Member.
- Name string
- Name.
- Object
Fmg stringScript Id - an identifier for the resource with format {{name}}.
- Schedules
[]Object
Fmg Script Schedule Type Args - Schedule. The structure of
scheduleblock is documented below. - Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - Target string
- Target. Valid values:
devdb,remote,adomdb. - Type string
- Type. Valid values:
cli,tcl,cligrp,tclgrp,jinja. - Update
If boolExist
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - content String
- Content.
- desc String
- Desc.
- dynamic
Sort StringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- filter
Build Double - Filter_Build.
- filter
Device Double - Filter_Device.
- filter
Hostname String - Filter_Hostname.
- filter
Ostype Double - Filter_Ostype.
- filter
Osver Double - Filter_Osver.
- filter
Platform String - Filter_Platform.
- filter
Serial String - Filter_Serial.
- members List<String>
- Member.
- name String
- Name.
- object
Fmg StringScript Id - an identifier for the resource with format {{name}}.
- schedules
List<Object
Fmg Script Schedule> - Schedule. The structure of
scheduleblock is documented below. - scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - target String
- Target. Valid values:
devdb,remote,adomdb. - type String
- Type. Valid values:
cli,tcl,cligrp,tclgrp,jinja. - update
If BooleanExist
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - content string
- Content.
- desc string
- Desc.
- dynamic
Sort stringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- filter
Build number - Filter_Build.
- filter
Device number - Filter_Device.
- filter
Hostname string - Filter_Hostname.
- filter
Ostype number - Filter_Ostype.
- filter
Osver number - Filter_Osver.
- filter
Platform string - Filter_Platform.
- filter
Serial string - Filter_Serial.
- members string[]
- Member.
- name string
- Name.
- object
Fmg stringScript Id - an identifier for the resource with format {{name}}.
- schedules
Object
Fmg Script Schedule[] - Schedule. The structure of
scheduleblock is documented below. - scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - target string
- Target. Valid values:
devdb,remote,adomdb. - type string
- Type. Valid values:
cli,tcl,cligrp,tclgrp,jinja. - update
If booleanExist
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - content str
- Content.
- desc str
- Desc.
- dynamic_
sort_ strsubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- filter_
build float - Filter_Build.
- filter_
device float - Filter_Device.
- filter_
hostname str - Filter_Hostname.
- filter_
ostype float - Filter_Ostype.
- filter_
osver float - Filter_Osver.
- filter_
platform str - Filter_Platform.
- filter_
serial str - Filter_Serial.
- members Sequence[str]
- Member.
- name str
- Name.
- object_
fmg_ strscript_ id - an identifier for the resource with format {{name}}.
- schedules
Sequence[Object
Fmg Script Schedule Args] - Schedule. The structure of
scheduleblock is documented below. - scopetype str
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - target str
- Target. Valid values:
devdb,remote,adomdb. - type str
- Type. Valid values:
cli,tcl,cligrp,tclgrp,jinja. - update_
if_ boolexist
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - content String
- Content.
- desc String
- Desc.
- dynamic
Sort StringSubtable - true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
- filter
Build Number - Filter_Build.
- filter
Device Number - Filter_Device.
- filter
Hostname String - Filter_Hostname.
- filter
Ostype Number - Filter_Ostype.
- filter
Osver Number - Filter_Osver.
- filter
Platform String - Filter_Platform.
- filter
Serial String - Filter_Serial.
- members List<String>
- Member.
- name String
- Name.
- object
Fmg StringScript Id - an identifier for the resource with format {{name}}.
- schedules List<Property Map>
- Schedule. The structure of
scheduleblock is documented below. - scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - target String
- Target. Valid values:
devdb,remote,adomdb. - type String
- Type. Valid values:
cli,tcl,cligrp,tclgrp,jinja. - update
If BooleanExist
Supporting Types
ObjectFmgScriptSchedule, ObjectFmgScriptScheduleArgs
Import
ObjectFmg Script can be imported using any of these accepted formats:
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/objectFmgScript:ObjectFmgScript labelname {{name}}
$ unset “FORTIMANAGER_IMPORT_TABLE”
-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortimanager fortinetdev/terraform-provider-fortimanager
- License
- Notes
- This Pulumi package is based on the
fortimanagerTerraform Provider.
published on Monday, May 4, 2026 by fortinetdev
