fortimanager.DvmdbScript
Explore with Pulumi AI
Script table.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";
const trname = new fortimanager.DvmdbScript("trname", {
    content: "terraform-tefv",
    target: "device_database",
    type: "cli",
});
import pulumi
import pulumi_fortimanager as fortimanager
trname = fortimanager.DvmdbScript("trname",
    content="terraform-tefv",
    target="device_database",
    type="cli")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fortimanager.NewDvmdbScript(ctx, "trname", &fortimanager.DvmdbScriptArgs{
			Content: pulumi.String("terraform-tefv"),
			Target:  pulumi.String("device_database"),
			Type:    pulumi.String("cli"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;
return await Deployment.RunAsync(() => 
{
    var trname = new Fortimanager.DvmdbScript("trname", new()
    {
        Content = "terraform-tefv",
        Target = "device_database",
        Type = "cli",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.DvmdbScript;
import com.pulumi.fortimanager.DvmdbScriptArgs;
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 DvmdbScript("trname", DvmdbScriptArgs.builder()
            .content("terraform-tefv")
            .target("device_database")
            .type("cli")
            .build());
    }
}
resources:
  trname:
    type: fortimanager:DvmdbScript
    properties:
      content: terraform-tefv
      target: device_database
      type: cli
Create DvmdbScript Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DvmdbScript(name: string, args?: DvmdbScriptArgs, opts?: CustomResourceOptions);@overload
def DvmdbScript(resource_name: str,
                args: Optional[DvmdbScriptArgs] = None,
                opts: Optional[ResourceOptions] = None)
@overload
def DvmdbScript(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                adom: Optional[str] = None,
                content: Optional[str] = None,
                desc: Optional[str] = None,
                dvmdb_script_id: 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[str] = None,
                filter_osver: Optional[str] = None,
                filter_platform: Optional[str] = None,
                filter_serial: Optional[str] = None,
                modification_time: Optional[str] = None,
                name: Optional[str] = None,
                scopetype: Optional[str] = None,
                script_schedules: Optional[Sequence[DvmdbScriptScriptScheduleArgs]] = None,
                target: Optional[str] = None,
                type: Optional[str] = None)func NewDvmdbScript(ctx *Context, name string, args *DvmdbScriptArgs, opts ...ResourceOption) (*DvmdbScript, error)public DvmdbScript(string name, DvmdbScriptArgs? args = null, CustomResourceOptions? opts = null)
public DvmdbScript(String name, DvmdbScriptArgs args)
public DvmdbScript(String name, DvmdbScriptArgs args, CustomResourceOptions options)
type: fortimanager:DvmdbScript
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 DvmdbScriptArgs
- 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 DvmdbScriptArgs
- 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 DvmdbScriptArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DvmdbScriptArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DvmdbScriptArgs
- 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 dvmdbScriptResource = new Fortimanager.DvmdbScript("dvmdbScriptResource", new()
{
    Adom = "string",
    Content = "string",
    Desc = "string",
    DvmdbScriptId = "string",
    DynamicSortSubtable = "string",
    FilterBuild = 0,
    FilterDevice = 0,
    FilterHostname = "string",
    FilterOstype = "string",
    FilterOsver = "string",
    FilterPlatform = "string",
    FilterSerial = "string",
    ModificationTime = "string",
    Name = "string",
    Scopetype = "string",
    ScriptSchedules = new[]
    {
        new Fortimanager.Inputs.DvmdbScriptScriptScheduleArgs
        {
            Datetime = "string",
            DayOfWeek = "string",
            Device = 0,
            Name = "string",
            RunOnDb = "string",
            Type = "string",
        },
    },
    Target = "string",
    Type = "string",
});
example, err := fortimanager.NewDvmdbScript(ctx, "dvmdbScriptResource", &fortimanager.DvmdbScriptArgs{
Adom: pulumi.String("string"),
Content: pulumi.String("string"),
Desc: pulumi.String("string"),
DvmdbScriptId: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
FilterBuild: pulumi.Float64(0),
FilterDevice: pulumi.Float64(0),
FilterHostname: pulumi.String("string"),
FilterOstype: pulumi.String("string"),
FilterOsver: pulumi.String("string"),
FilterPlatform: pulumi.String("string"),
FilterSerial: pulumi.String("string"),
ModificationTime: pulumi.String("string"),
Name: pulumi.String("string"),
Scopetype: pulumi.String("string"),
ScriptSchedules: .DvmdbScriptScriptScheduleArray{
&.DvmdbScriptScriptScheduleArgs{
Datetime: pulumi.String("string"),
DayOfWeek: pulumi.String("string"),
Device: pulumi.Float64(0),
Name: pulumi.String("string"),
RunOnDb: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
Target: pulumi.String("string"),
Type: pulumi.String("string"),
})
var dvmdbScriptResource = new DvmdbScript("dvmdbScriptResource", DvmdbScriptArgs.builder()
    .adom("string")
    .content("string")
    .desc("string")
    .dvmdbScriptId("string")
    .dynamicSortSubtable("string")
    .filterBuild(0)
    .filterDevice(0)
    .filterHostname("string")
    .filterOstype("string")
    .filterOsver("string")
    .filterPlatform("string")
    .filterSerial("string")
    .modificationTime("string")
    .name("string")
    .scopetype("string")
    .scriptSchedules(DvmdbScriptScriptScheduleArgs.builder()
        .datetime("string")
        .dayOfWeek("string")
        .device(0)
        .name("string")
        .runOnDb("string")
        .type("string")
        .build())
    .target("string")
    .type("string")
    .build());
dvmdb_script_resource = fortimanager.DvmdbScript("dvmdbScriptResource",
    adom="string",
    content="string",
    desc="string",
    dvmdb_script_id="string",
    dynamic_sort_subtable="string",
    filter_build=0,
    filter_device=0,
    filter_hostname="string",
    filter_ostype="string",
    filter_osver="string",
    filter_platform="string",
    filter_serial="string",
    modification_time="string",
    name="string",
    scopetype="string",
    script_schedules=[{
        "datetime": "string",
        "day_of_week": "string",
        "device": 0,
        "name": "string",
        "run_on_db": "string",
        "type": "string",
    }],
    target="string",
    type="string")
const dvmdbScriptResource = new fortimanager.DvmdbScript("dvmdbScriptResource", {
    adom: "string",
    content: "string",
    desc: "string",
    dvmdbScriptId: "string",
    dynamicSortSubtable: "string",
    filterBuild: 0,
    filterDevice: 0,
    filterHostname: "string",
    filterOstype: "string",
    filterOsver: "string",
    filterPlatform: "string",
    filterSerial: "string",
    modificationTime: "string",
    name: "string",
    scopetype: "string",
    scriptSchedules: [{
        datetime: "string",
        dayOfWeek: "string",
        device: 0,
        name: "string",
        runOnDb: "string",
        type: "string",
    }],
    target: "string",
    type: "string",
});
type: fortimanager:DvmdbScript
properties:
    adom: string
    content: string
    desc: string
    dvmdbScriptId: string
    dynamicSortSubtable: string
    filterBuild: 0
    filterDevice: 0
    filterHostname: string
    filterOstype: string
    filterOsver: string
    filterPlatform: string
    filterSerial: string
    modificationTime: string
    name: string
    scopetype: string
    scriptSchedules:
        - datetime: string
          dayOfWeek: string
          device: 0
          name: string
          runOnDb: string
          type: string
    target: string
    type: string
DvmdbScript 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 DvmdbScript 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
- The full content of the script result log.
- Desc string
- Desc.
- DvmdbScript stringId 
- an identifier for the resource with format {{name}}.
- DynamicSort 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.
- FilterBuild double
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- FilterDevice double
- Name or id of an existing device in the database. It has no effect if target is "adom_database".
- FilterHostname string
- The value has no effect if target is "adom_database".
- FilterOstype string
- The value has no effect if target is "adom_database". Valid values: unknown,fos.
- FilterOsver string
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database". Valid values: unknown,4.00,5.00,6.00.
- FilterPlatform string
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- FilterSerial string
- The value has no effect if target is "adom_database".
- ModificationTime string
- It is a read-only attribute indicating the time when the script was created or modified. The value will be ignored in add/set/update requests.
- Name string
- Name.
- 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.
- ScriptSchedules List<DvmdbScript Script Schedule> 
- Script_Schedule. The structure of script_scheduleblock is documented below.
- Target string
- Target. Valid values: device_database,remote_device,adom_database.
- Type string
- Type. Valid values: cli,tcl,cligrp.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- Content string
- The full content of the script result log.
- Desc string
- Desc.
- DvmdbScript stringId 
- an identifier for the resource with format {{name}}.
- DynamicSort 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.
- FilterBuild float64
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- FilterDevice float64
- Name or id of an existing device in the database. It has no effect if target is "adom_database".
- FilterHostname string
- The value has no effect if target is "adom_database".
- FilterOstype string
- The value has no effect if target is "adom_database". Valid values: unknown,fos.
- FilterOsver string
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database". Valid values: unknown,4.00,5.00,6.00.
- FilterPlatform string
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- FilterSerial string
- The value has no effect if target is "adom_database".
- ModificationTime string
- It is a read-only attribute indicating the time when the script was created or modified. The value will be ignored in add/set/update requests.
- Name string
- Name.
- 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.
- ScriptSchedules []DvmdbScript Script Schedule Args 
- Script_Schedule. The structure of script_scheduleblock is documented below.
- Target string
- Target. Valid values: device_database,remote_device,adom_database.
- Type string
- Type. Valid values: cli,tcl,cligrp.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- content String
- The full content of the script result log.
- desc String
- Desc.
- dvmdbScript StringId 
- an identifier for the resource with format {{name}}.
- dynamicSort 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.
- filterBuild Double
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- filterDevice Double
- Name or id of an existing device in the database. It has no effect if target is "adom_database".
- filterHostname String
- The value has no effect if target is "adom_database".
- filterOstype String
- The value has no effect if target is "adom_database". Valid values: unknown,fos.
- filterOsver String
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database". Valid values: unknown,4.00,5.00,6.00.
- filterPlatform String
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- filterSerial String
- The value has no effect if target is "adom_database".
- modificationTime String
- It is a read-only attribute indicating the time when the script was created or modified. The value will be ignored in add/set/update requests.
- name String
- Name.
- 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.
- scriptSchedules List<DvmdbScript Script Schedule> 
- Script_Schedule. The structure of script_scheduleblock is documented below.
- target String
- Target. Valid values: device_database,remote_device,adom_database.
- type String
- Type. Valid values: cli,tcl,cligrp.
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- content string
- The full content of the script result log.
- desc string
- Desc.
- dvmdbScript stringId 
- an identifier for the resource with format {{name}}.
- dynamicSort 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.
- filterBuild number
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- filterDevice number
- Name or id of an existing device in the database. It has no effect if target is "adom_database".
- filterHostname string
- The value has no effect if target is "adom_database".
- filterOstype string
- The value has no effect if target is "adom_database". Valid values: unknown,fos.
- filterOsver string
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database". Valid values: unknown,4.00,5.00,6.00.
- filterPlatform string
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- filterSerial string
- The value has no effect if target is "adom_database".
- modificationTime string
- It is a read-only attribute indicating the time when the script was created or modified. The value will be ignored in add/set/update requests.
- name string
- Name.
- 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.
- scriptSchedules DvmdbScript Script Schedule[] 
- Script_Schedule. The structure of script_scheduleblock is documented below.
- target string
- Target. Valid values: device_database,remote_device,adom_database.
- type string
- Type. Valid values: cli,tcl,cligrp.
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- content str
- The full content of the script result log.
- desc str
- Desc.
- dvmdb_script_ strid 
- an identifier for the resource with format {{name}}.
- 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
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- filter_device float
- Name or id of an existing device in the database. It has no effect if target is "adom_database".
- filter_hostname str
- The value has no effect if target is "adom_database".
- filter_ostype str
- The value has no effect if target is "adom_database". Valid values: unknown,fos.
- filter_osver str
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database". Valid values: unknown,4.00,5.00,6.00.
- filter_platform str
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- filter_serial str
- The value has no effect if target is "adom_database".
- modification_time str
- It is a read-only attribute indicating the time when the script was created or modified. The value will be ignored in add/set/update requests.
- name str
- Name.
- 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.
- script_schedules Sequence[DvmdbScript Script Schedule Args] 
- Script_Schedule. The structure of script_scheduleblock is documented below.
- target str
- Target. Valid values: device_database,remote_device,adom_database.
- type str
- Type. Valid values: cli,tcl,cligrp.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- content String
- The full content of the script result log.
- desc String
- Desc.
- dvmdbScript StringId 
- an identifier for the resource with format {{name}}.
- dynamicSort 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.
- filterBuild Number
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- filterDevice Number
- Name or id of an existing device in the database. It has no effect if target is "adom_database".
- filterHostname String
- The value has no effect if target is "adom_database".
- filterOstype String
- The value has no effect if target is "adom_database". Valid values: unknown,fos.
- filterOsver String
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database". Valid values: unknown,4.00,5.00,6.00.
- filterPlatform String
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- filterSerial String
- The value has no effect if target is "adom_database".
- modificationTime String
- It is a read-only attribute indicating the time when the script was created or modified. The value will be ignored in add/set/update requests.
- name String
- Name.
- 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.
- scriptSchedules List<Property Map>
- Script_Schedule. The structure of script_scheduleblock is documented below.
- target String
- Target. Valid values: device_database,remote_device,adom_database.
- type String
- Type. Valid values: cli,tcl,cligrp.
Outputs
All input properties are implicitly available as output properties. Additionally, the DvmdbScript 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 DvmdbScript Resource
Get an existing DvmdbScript 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?: DvmdbScriptState, opts?: CustomResourceOptions): DvmdbScript@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        content: Optional[str] = None,
        desc: Optional[str] = None,
        dvmdb_script_id: 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[str] = None,
        filter_osver: Optional[str] = None,
        filter_platform: Optional[str] = None,
        filter_serial: Optional[str] = None,
        modification_time: Optional[str] = None,
        name: Optional[str] = None,
        scopetype: Optional[str] = None,
        script_schedules: Optional[Sequence[DvmdbScriptScriptScheduleArgs]] = None,
        target: Optional[str] = None,
        type: Optional[str] = None) -> DvmdbScriptfunc GetDvmdbScript(ctx *Context, name string, id IDInput, state *DvmdbScriptState, opts ...ResourceOption) (*DvmdbScript, error)public static DvmdbScript Get(string name, Input<string> id, DvmdbScriptState? state, CustomResourceOptions? opts = null)public static DvmdbScript get(String name, Output<String> id, DvmdbScriptState state, CustomResourceOptions options)resources:  _:    type: fortimanager:DvmdbScript    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
- The full content of the script result log.
- Desc string
- Desc.
- DvmdbScript stringId 
- an identifier for the resource with format {{name}}.
- DynamicSort 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.
- FilterBuild double
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- FilterDevice double
- Name or id of an existing device in the database. It has no effect if target is "adom_database".
- FilterHostname string
- The value has no effect if target is "adom_database".
- FilterOstype string
- The value has no effect if target is "adom_database". Valid values: unknown,fos.
- FilterOsver string
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database". Valid values: unknown,4.00,5.00,6.00.
- FilterPlatform string
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- FilterSerial string
- The value has no effect if target is "adom_database".
- ModificationTime string
- It is a read-only attribute indicating the time when the script was created or modified. The value will be ignored in add/set/update requests.
- Name string
- Name.
- 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.
- ScriptSchedules List<DvmdbScript Script Schedule> 
- Script_Schedule. The structure of script_scheduleblock is documented below.
- Target string
- Target. Valid values: device_database,remote_device,adom_database.
- Type string
- Type. Valid values: cli,tcl,cligrp.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- Content string
- The full content of the script result log.
- Desc string
- Desc.
- DvmdbScript stringId 
- an identifier for the resource with format {{name}}.
- DynamicSort 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.
- FilterBuild float64
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- FilterDevice float64
- Name or id of an existing device in the database. It has no effect if target is "adom_database".
- FilterHostname string
- The value has no effect if target is "adom_database".
- FilterOstype string
- The value has no effect if target is "adom_database". Valid values: unknown,fos.
- FilterOsver string
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database". Valid values: unknown,4.00,5.00,6.00.
- FilterPlatform string
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- FilterSerial string
- The value has no effect if target is "adom_database".
- ModificationTime string
- It is a read-only attribute indicating the time when the script was created or modified. The value will be ignored in add/set/update requests.
- Name string
- Name.
- 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.
- ScriptSchedules []DvmdbScript Script Schedule Args 
- Script_Schedule. The structure of script_scheduleblock is documented below.
- Target string
- Target. Valid values: device_database,remote_device,adom_database.
- Type string
- Type. Valid values: cli,tcl,cligrp.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- content String
- The full content of the script result log.
- desc String
- Desc.
- dvmdbScript StringId 
- an identifier for the resource with format {{name}}.
- dynamicSort 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.
- filterBuild Double
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- filterDevice Double
- Name or id of an existing device in the database. It has no effect if target is "adom_database".
- filterHostname String
- The value has no effect if target is "adom_database".
- filterOstype String
- The value has no effect if target is "adom_database". Valid values: unknown,fos.
- filterOsver String
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database". Valid values: unknown,4.00,5.00,6.00.
- filterPlatform String
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- filterSerial String
- The value has no effect if target is "adom_database".
- modificationTime String
- It is a read-only attribute indicating the time when the script was created or modified. The value will be ignored in add/set/update requests.
- name String
- Name.
- 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.
- scriptSchedules List<DvmdbScript Script Schedule> 
- Script_Schedule. The structure of script_scheduleblock is documented below.
- target String
- Target. Valid values: device_database,remote_device,adom_database.
- type String
- Type. Valid values: cli,tcl,cligrp.
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- content string
- The full content of the script result log.
- desc string
- Desc.
- dvmdbScript stringId 
- an identifier for the resource with format {{name}}.
- dynamicSort 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.
- filterBuild number
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- filterDevice number
- Name or id of an existing device in the database. It has no effect if target is "adom_database".
- filterHostname string
- The value has no effect if target is "adom_database".
- filterOstype string
- The value has no effect if target is "adom_database". Valid values: unknown,fos.
- filterOsver string
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database". Valid values: unknown,4.00,5.00,6.00.
- filterPlatform string
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- filterSerial string
- The value has no effect if target is "adom_database".
- modificationTime string
- It is a read-only attribute indicating the time when the script was created or modified. The value will be ignored in add/set/update requests.
- name string
- Name.
- 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.
- scriptSchedules DvmdbScript Script Schedule[] 
- Script_Schedule. The structure of script_scheduleblock is documented below.
- target string
- Target. Valid values: device_database,remote_device,adom_database.
- type string
- Type. Valid values: cli,tcl,cligrp.
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- content str
- The full content of the script result log.
- desc str
- Desc.
- dvmdb_script_ strid 
- an identifier for the resource with format {{name}}.
- 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
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- filter_device float
- Name or id of an existing device in the database. It has no effect if target is "adom_database".
- filter_hostname str
- The value has no effect if target is "adom_database".
- filter_ostype str
- The value has no effect if target is "adom_database". Valid values: unknown,fos.
- filter_osver str
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database". Valid values: unknown,4.00,5.00,6.00.
- filter_platform str
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- filter_serial str
- The value has no effect if target is "adom_database".
- modification_time str
- It is a read-only attribute indicating the time when the script was created or modified. The value will be ignored in add/set/update requests.
- name str
- Name.
- 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.
- script_schedules Sequence[DvmdbScript Script Schedule Args] 
- Script_Schedule. The structure of script_scheduleblock is documented below.
- target str
- Target. Valid values: device_database,remote_device,adom_database.
- type str
- Type. Valid values: cli,tcl,cligrp.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- content String
- The full content of the script result log.
- desc String
- Desc.
- dvmdbScript StringId 
- an identifier for the resource with format {{name}}.
- dynamicSort 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.
- filterBuild Number
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- filterDevice Number
- Name or id of an existing device in the database. It has no effect if target is "adom_database".
- filterHostname String
- The value has no effect if target is "adom_database".
- filterOstype String
- The value has no effect if target is "adom_database". Valid values: unknown,fos.
- filterOsver String
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database". Valid values: unknown,4.00,5.00,6.00.
- filterPlatform String
- The value will be ignored in add/set/update requests if filter_ostype is not set. It has no effect if target is "adom_database".
- filterSerial String
- The value has no effect if target is "adom_database".
- modificationTime String
- It is a read-only attribute indicating the time when the script was created or modified. The value will be ignored in add/set/update requests.
- name String
- Name.
- 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.
- scriptSchedules List<Property Map>
- Script_Schedule. The structure of script_scheduleblock is documented below.
- target String
- Target. Valid values: device_database,remote_device,adom_database.
- type String
- Type. Valid values: cli,tcl,cligrp.
Supporting Types
DvmdbScriptScriptSchedule, DvmdbScriptScriptScheduleArgs        
- Datetime string
- Indicates the date and time of the schedule. It should follow the following format for each scheduling type:onetime: "YYYY-MM-DD hh:mm:ss"daily: "hh:mm"weekly: "hh:mm"monthly: "DD hh:mm"
- DayOf stringWeek 
- Day_Of_Week. Valid values: unknown,sun,mon,tue,wed,thu,fri,sat.
- Device double
- Name or id of an existing device in the database.
- Name string
- Name.
- RunOn stringDb 
- Indicates if the scheduled script should be executed on device database. It should always be disable for tcl scripts. Valid values: disable,enable.
- Type string
- Type. Valid values: auto,onetime,daily,weekly,monthly.
- Datetime string
- Indicates the date and time of the schedule. It should follow the following format for each scheduling type:onetime: "YYYY-MM-DD hh:mm:ss"daily: "hh:mm"weekly: "hh:mm"monthly: "DD hh:mm"
- DayOf stringWeek 
- Day_Of_Week. Valid values: unknown,sun,mon,tue,wed,thu,fri,sat.
- Device float64
- Name or id of an existing device in the database.
- Name string
- Name.
- RunOn stringDb 
- Indicates if the scheduled script should be executed on device database. It should always be disable for tcl scripts. Valid values: disable,enable.
- Type string
- Type. Valid values: auto,onetime,daily,weekly,monthly.
- datetime String
- Indicates the date and time of the schedule. It should follow the following format for each scheduling type:onetime: "YYYY-MM-DD hh:mm:ss"daily: "hh:mm"weekly: "hh:mm"monthly: "DD hh:mm"
- dayOf StringWeek 
- Day_Of_Week. Valid values: unknown,sun,mon,tue,wed,thu,fri,sat.
- device Double
- Name or id of an existing device in the database.
- name String
- Name.
- runOn StringDb 
- Indicates if the scheduled script should be executed on device database. It should always be disable for tcl scripts. Valid values: disable,enable.
- type String
- Type. Valid values: auto,onetime,daily,weekly,monthly.
- datetime string
- Indicates the date and time of the schedule. It should follow the following format for each scheduling type:onetime: "YYYY-MM-DD hh:mm:ss"daily: "hh:mm"weekly: "hh:mm"monthly: "DD hh:mm"
- dayOf stringWeek 
- Day_Of_Week. Valid values: unknown,sun,mon,tue,wed,thu,fri,sat.
- device number
- Name or id of an existing device in the database.
- name string
- Name.
- runOn stringDb 
- Indicates if the scheduled script should be executed on device database. It should always be disable for tcl scripts. Valid values: disable,enable.
- type string
- Type. Valid values: auto,onetime,daily,weekly,monthly.
- datetime str
- Indicates the date and time of the schedule. It should follow the following format for each scheduling type:onetime: "YYYY-MM-DD hh:mm:ss"daily: "hh:mm"weekly: "hh:mm"monthly: "DD hh:mm"
- day_of_ strweek 
- Day_Of_Week. Valid values: unknown,sun,mon,tue,wed,thu,fri,sat.
- device float
- Name or id of an existing device in the database.
- name str
- Name.
- run_on_ strdb 
- Indicates if the scheduled script should be executed on device database. It should always be disable for tcl scripts. Valid values: disable,enable.
- type str
- Type. Valid values: auto,onetime,daily,weekly,monthly.
- datetime String
- Indicates the date and time of the schedule. It should follow the following format for each scheduling type:onetime: "YYYY-MM-DD hh:mm:ss"daily: "hh:mm"weekly: "hh:mm"monthly: "DD hh:mm"
- dayOf StringWeek 
- Day_Of_Week. Valid values: unknown,sun,mon,tue,wed,thu,fri,sat.
- device Number
- Name or id of an existing device in the database.
- name String
- Name.
- runOn StringDb 
- Indicates if the scheduled script should be executed on device database. It should always be disable for tcl scripts. Valid values: disable,enable.
- type String
- Type. Valid values: auto,onetime,daily,weekly,monthly.
Import
Dvmdb Script can be imported using any of these accepted formats:
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/dvmdbScript:DvmdbScript 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.