fortimanager.FmupdateFdssettingUpdateschedule
Explore with Pulumi AI
Configure the schedule when built-in FortiGuard retrieves antivirus and IPS updates.
This resource is a sub resource for variable
update_schedule
of resourcefortimanager.FmupdateFdssetting
. Conflict and overwrite may occur if use both of them.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";
const trname = new fortimanager.FmupdateFdssettingUpdateschedule("trname", {
day: "Sunday",
frequency: "every",
status: "enable",
times: ["5"],
});
import pulumi
import pulumi_fortimanager as fortimanager
trname = fortimanager.FmupdateFdssettingUpdateschedule("trname",
day="Sunday",
frequency="every",
status="enable",
times=["5"])
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.NewFmupdateFdssettingUpdateschedule(ctx, "trname", &fortimanager.FmupdateFdssettingUpdatescheduleArgs{
Day: pulumi.String("Sunday"),
Frequency: pulumi.String("every"),
Status: pulumi.String("enable"),
Times: pulumi.StringArray{
pulumi.String("5"),
},
})
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.FmupdateFdssettingUpdateschedule("trname", new()
{
Day = "Sunday",
Frequency = "every",
Status = "enable",
Times = new[]
{
"5",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.FmupdateFdssettingUpdateschedule;
import com.pulumi.fortimanager.FmupdateFdssettingUpdatescheduleArgs;
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 FmupdateFdssettingUpdateschedule("trname", FmupdateFdssettingUpdatescheduleArgs.builder()
.day("Sunday")
.frequency("every")
.status("enable")
.times("5")
.build());
}
}
resources:
trname:
type: fortimanager:FmupdateFdssettingUpdateschedule
properties:
day: Sunday
frequency: every
status: enable
times:
- '5'
Create FmupdateFdssettingUpdateschedule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FmupdateFdssettingUpdateschedule(name: string, args?: FmupdateFdssettingUpdatescheduleArgs, opts?: CustomResourceOptions);
@overload
def FmupdateFdssettingUpdateschedule(resource_name: str,
args: Optional[FmupdateFdssettingUpdatescheduleArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def FmupdateFdssettingUpdateschedule(resource_name: str,
opts: Optional[ResourceOptions] = None,
day: Optional[str] = None,
fmupdate_fdssetting_updateschedule_id: Optional[str] = None,
frequency: Optional[str] = None,
status: Optional[str] = None,
times: Optional[Sequence[str]] = None)
func NewFmupdateFdssettingUpdateschedule(ctx *Context, name string, args *FmupdateFdssettingUpdatescheduleArgs, opts ...ResourceOption) (*FmupdateFdssettingUpdateschedule, error)
public FmupdateFdssettingUpdateschedule(string name, FmupdateFdssettingUpdatescheduleArgs? args = null, CustomResourceOptions? opts = null)
public FmupdateFdssettingUpdateschedule(String name, FmupdateFdssettingUpdatescheduleArgs args)
public FmupdateFdssettingUpdateschedule(String name, FmupdateFdssettingUpdatescheduleArgs args, CustomResourceOptions options)
type: fortimanager:FmupdateFdssettingUpdateschedule
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 FmupdateFdssettingUpdatescheduleArgs
- 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 FmupdateFdssettingUpdatescheduleArgs
- 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 FmupdateFdssettingUpdatescheduleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FmupdateFdssettingUpdatescheduleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FmupdateFdssettingUpdatescheduleArgs
- 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 fmupdateFdssettingUpdatescheduleResource = new Fortimanager.FmupdateFdssettingUpdateschedule("fmupdateFdssettingUpdatescheduleResource", new()
{
Day = "string",
FmupdateFdssettingUpdatescheduleId = "string",
Frequency = "string",
Status = "string",
Times = new[]
{
"string",
},
});
example, err := fortimanager.NewFmupdateFdssettingUpdateschedule(ctx, "fmupdateFdssettingUpdatescheduleResource", &fortimanager.FmupdateFdssettingUpdatescheduleArgs{
Day: pulumi.String("string"),
FmupdateFdssettingUpdatescheduleId: pulumi.String("string"),
Frequency: pulumi.String("string"),
Status: pulumi.String("string"),
Times: pulumi.StringArray{
pulumi.String("string"),
},
})
var fmupdateFdssettingUpdatescheduleResource = new FmupdateFdssettingUpdateschedule("fmupdateFdssettingUpdatescheduleResource", FmupdateFdssettingUpdatescheduleArgs.builder()
.day("string")
.fmupdateFdssettingUpdatescheduleId("string")
.frequency("string")
.status("string")
.times("string")
.build());
fmupdate_fdssetting_updateschedule_resource = fortimanager.FmupdateFdssettingUpdateschedule("fmupdateFdssettingUpdatescheduleResource",
day="string",
fmupdate_fdssetting_updateschedule_id="string",
frequency="string",
status="string",
times=["string"])
const fmupdateFdssettingUpdatescheduleResource = new fortimanager.FmupdateFdssettingUpdateschedule("fmupdateFdssettingUpdatescheduleResource", {
day: "string",
fmupdateFdssettingUpdatescheduleId: "string",
frequency: "string",
status: "string",
times: ["string"],
});
type: fortimanager:FmupdateFdssettingUpdateschedule
properties:
day: string
fmupdateFdssettingUpdatescheduleId: string
frequency: string
status: string
times:
- string
FmupdateFdssettingUpdateschedule 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 FmupdateFdssettingUpdateschedule resource accepts the following input properties:
- Day string
- Configure the day the update will occur, if the freqnecy is weekly (Sunday - Saturday, default = Monday). Sunday - Update every Sunday. Monday - Update every Monday. Tuesday - Update every Tuesday. Wednesday - Update every Wednesday. Thursday - Update every Thursday. Friday - Update every Friday. Saturday - Update every Saturday. Valid values:
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
. - Fmupdate
Fdssetting stringUpdateschedule Id - an identifier for the resource.
- Frequency string
- Configure update frequency: every - time interval, daily - once a day, weekly - once a week (default = every). every - Time interval. daily - Every day. weekly - Every week. Valid values:
every
,daily
,weekly
. - Status string
- Enable/disable scheduled updates. disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
. - Times List<string>
- Time interval between updates, or the hour and minute when the update occurs (hh: 0 - 23, mm: 0 - 59 or 60 = random, default = 00:10).
- Day string
- Configure the day the update will occur, if the freqnecy is weekly (Sunday - Saturday, default = Monday). Sunday - Update every Sunday. Monday - Update every Monday. Tuesday - Update every Tuesday. Wednesday - Update every Wednesday. Thursday - Update every Thursday. Friday - Update every Friday. Saturday - Update every Saturday. Valid values:
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
. - Fmupdate
Fdssetting stringUpdateschedule Id - an identifier for the resource.
- Frequency string
- Configure update frequency: every - time interval, daily - once a day, weekly - once a week (default = every). every - Time interval. daily - Every day. weekly - Every week. Valid values:
every
,daily
,weekly
. - Status string
- Enable/disable scheduled updates. disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
. - Times []string
- Time interval between updates, or the hour and minute when the update occurs (hh: 0 - 23, mm: 0 - 59 or 60 = random, default = 00:10).
- day String
- Configure the day the update will occur, if the freqnecy is weekly (Sunday - Saturday, default = Monday). Sunday - Update every Sunday. Monday - Update every Monday. Tuesday - Update every Tuesday. Wednesday - Update every Wednesday. Thursday - Update every Thursday. Friday - Update every Friday. Saturday - Update every Saturday. Valid values:
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
. - fmupdate
Fdssetting StringUpdateschedule Id - an identifier for the resource.
- frequency String
- Configure update frequency: every - time interval, daily - once a day, weekly - once a week (default = every). every - Time interval. daily - Every day. weekly - Every week. Valid values:
every
,daily
,weekly
. - status String
- Enable/disable scheduled updates. disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
. - times List<String>
- Time interval between updates, or the hour and minute when the update occurs (hh: 0 - 23, mm: 0 - 59 or 60 = random, default = 00:10).
- day string
- Configure the day the update will occur, if the freqnecy is weekly (Sunday - Saturday, default = Monday). Sunday - Update every Sunday. Monday - Update every Monday. Tuesday - Update every Tuesday. Wednesday - Update every Wednesday. Thursday - Update every Thursday. Friday - Update every Friday. Saturday - Update every Saturday. Valid values:
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
. - fmupdate
Fdssetting stringUpdateschedule Id - an identifier for the resource.
- frequency string
- Configure update frequency: every - time interval, daily - once a day, weekly - once a week (default = every). every - Time interval. daily - Every day. weekly - Every week. Valid values:
every
,daily
,weekly
. - status string
- Enable/disable scheduled updates. disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
. - times string[]
- Time interval between updates, or the hour and minute when the update occurs (hh: 0 - 23, mm: 0 - 59 or 60 = random, default = 00:10).
- day str
- Configure the day the update will occur, if the freqnecy is weekly (Sunday - Saturday, default = Monday). Sunday - Update every Sunday. Monday - Update every Monday. Tuesday - Update every Tuesday. Wednesday - Update every Wednesday. Thursday - Update every Thursday. Friday - Update every Friday. Saturday - Update every Saturday. Valid values:
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
. - fmupdate_
fdssetting_ strupdateschedule_ id - an identifier for the resource.
- frequency str
- Configure update frequency: every - time interval, daily - once a day, weekly - once a week (default = every). every - Time interval. daily - Every day. weekly - Every week. Valid values:
every
,daily
,weekly
. - status str
- Enable/disable scheduled updates. disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
. - times Sequence[str]
- Time interval between updates, or the hour and minute when the update occurs (hh: 0 - 23, mm: 0 - 59 or 60 = random, default = 00:10).
- day String
- Configure the day the update will occur, if the freqnecy is weekly (Sunday - Saturday, default = Monday). Sunday - Update every Sunday. Monday - Update every Monday. Tuesday - Update every Tuesday. Wednesday - Update every Wednesday. Thursday - Update every Thursday. Friday - Update every Friday. Saturday - Update every Saturday. Valid values:
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
. - fmupdate
Fdssetting StringUpdateschedule Id - an identifier for the resource.
- frequency String
- Configure update frequency: every - time interval, daily - once a day, weekly - once a week (default = every). every - Time interval. daily - Every day. weekly - Every week. Valid values:
every
,daily
,weekly
. - status String
- Enable/disable scheduled updates. disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
. - times List<String>
- Time interval between updates, or the hour and minute when the update occurs (hh: 0 - 23, mm: 0 - 59 or 60 = random, default = 00:10).
Outputs
All input properties are implicitly available as output properties. Additionally, the FmupdateFdssettingUpdateschedule 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 FmupdateFdssettingUpdateschedule Resource
Get an existing FmupdateFdssettingUpdateschedule 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?: FmupdateFdssettingUpdatescheduleState, opts?: CustomResourceOptions): FmupdateFdssettingUpdateschedule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
day: Optional[str] = None,
fmupdate_fdssetting_updateschedule_id: Optional[str] = None,
frequency: Optional[str] = None,
status: Optional[str] = None,
times: Optional[Sequence[str]] = None) -> FmupdateFdssettingUpdateschedule
func GetFmupdateFdssettingUpdateschedule(ctx *Context, name string, id IDInput, state *FmupdateFdssettingUpdatescheduleState, opts ...ResourceOption) (*FmupdateFdssettingUpdateschedule, error)
public static FmupdateFdssettingUpdateschedule Get(string name, Input<string> id, FmupdateFdssettingUpdatescheduleState? state, CustomResourceOptions? opts = null)
public static FmupdateFdssettingUpdateschedule get(String name, Output<String> id, FmupdateFdssettingUpdatescheduleState state, CustomResourceOptions options)
resources: _: type: fortimanager:FmupdateFdssettingUpdateschedule 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.
- Day string
- Configure the day the update will occur, if the freqnecy is weekly (Sunday - Saturday, default = Monday). Sunday - Update every Sunday. Monday - Update every Monday. Tuesday - Update every Tuesday. Wednesday - Update every Wednesday. Thursday - Update every Thursday. Friday - Update every Friday. Saturday - Update every Saturday. Valid values:
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
. - Fmupdate
Fdssetting stringUpdateschedule Id - an identifier for the resource.
- Frequency string
- Configure update frequency: every - time interval, daily - once a day, weekly - once a week (default = every). every - Time interval. daily - Every day. weekly - Every week. Valid values:
every
,daily
,weekly
. - Status string
- Enable/disable scheduled updates. disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
. - Times List<string>
- Time interval between updates, or the hour and minute when the update occurs (hh: 0 - 23, mm: 0 - 59 or 60 = random, default = 00:10).
- Day string
- Configure the day the update will occur, if the freqnecy is weekly (Sunday - Saturday, default = Monday). Sunday - Update every Sunday. Monday - Update every Monday. Tuesday - Update every Tuesday. Wednesday - Update every Wednesday. Thursday - Update every Thursday. Friday - Update every Friday. Saturday - Update every Saturday. Valid values:
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
. - Fmupdate
Fdssetting stringUpdateschedule Id - an identifier for the resource.
- Frequency string
- Configure update frequency: every - time interval, daily - once a day, weekly - once a week (default = every). every - Time interval. daily - Every day. weekly - Every week. Valid values:
every
,daily
,weekly
. - Status string
- Enable/disable scheduled updates. disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
. - Times []string
- Time interval between updates, or the hour and minute when the update occurs (hh: 0 - 23, mm: 0 - 59 or 60 = random, default = 00:10).
- day String
- Configure the day the update will occur, if the freqnecy is weekly (Sunday - Saturday, default = Monday). Sunday - Update every Sunday. Monday - Update every Monday. Tuesday - Update every Tuesday. Wednesday - Update every Wednesday. Thursday - Update every Thursday. Friday - Update every Friday. Saturday - Update every Saturday. Valid values:
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
. - fmupdate
Fdssetting StringUpdateschedule Id - an identifier for the resource.
- frequency String
- Configure update frequency: every - time interval, daily - once a day, weekly - once a week (default = every). every - Time interval. daily - Every day. weekly - Every week. Valid values:
every
,daily
,weekly
. - status String
- Enable/disable scheduled updates. disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
. - times List<String>
- Time interval between updates, or the hour and minute when the update occurs (hh: 0 - 23, mm: 0 - 59 or 60 = random, default = 00:10).
- day string
- Configure the day the update will occur, if the freqnecy is weekly (Sunday - Saturday, default = Monday). Sunday - Update every Sunday. Monday - Update every Monday. Tuesday - Update every Tuesday. Wednesday - Update every Wednesday. Thursday - Update every Thursday. Friday - Update every Friday. Saturday - Update every Saturday. Valid values:
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
. - fmupdate
Fdssetting stringUpdateschedule Id - an identifier for the resource.
- frequency string
- Configure update frequency: every - time interval, daily - once a day, weekly - once a week (default = every). every - Time interval. daily - Every day. weekly - Every week. Valid values:
every
,daily
,weekly
. - status string
- Enable/disable scheduled updates. disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
. - times string[]
- Time interval between updates, or the hour and minute when the update occurs (hh: 0 - 23, mm: 0 - 59 or 60 = random, default = 00:10).
- day str
- Configure the day the update will occur, if the freqnecy is weekly (Sunday - Saturday, default = Monday). Sunday - Update every Sunday. Monday - Update every Monday. Tuesday - Update every Tuesday. Wednesday - Update every Wednesday. Thursday - Update every Thursday. Friday - Update every Friday. Saturday - Update every Saturday. Valid values:
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
. - fmupdate_
fdssetting_ strupdateschedule_ id - an identifier for the resource.
- frequency str
- Configure update frequency: every - time interval, daily - once a day, weekly - once a week (default = every). every - Time interval. daily - Every day. weekly - Every week. Valid values:
every
,daily
,weekly
. - status str
- Enable/disable scheduled updates. disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
. - times Sequence[str]
- Time interval between updates, or the hour and minute when the update occurs (hh: 0 - 23, mm: 0 - 59 or 60 = random, default = 00:10).
- day String
- Configure the day the update will occur, if the freqnecy is weekly (Sunday - Saturday, default = Monday). Sunday - Update every Sunday. Monday - Update every Monday. Tuesday - Update every Tuesday. Wednesday - Update every Wednesday. Thursday - Update every Thursday. Friday - Update every Friday. Saturday - Update every Saturday. Valid values:
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
,Saturday
. - fmupdate
Fdssetting StringUpdateschedule Id - an identifier for the resource.
- frequency String
- Configure update frequency: every - time interval, daily - once a day, weekly - once a week (default = every). every - Time interval. daily - Every day. weekly - Every week. Valid values:
every
,daily
,weekly
. - status String
- Enable/disable scheduled updates. disable - Disable setting. enable - Enable setting. Valid values:
disable
,enable
. - times List<String>
- Time interval between updates, or the hour and minute when the update occurs (hh: 0 - 23, mm: 0 - 59 or 60 = random, default = 00:10).
Import
Fmupdate FdsSettingUpdateSchedule can be imported using any of these accepted formats:
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/fmupdateFdssettingUpdateschedule:FmupdateFdssettingUpdateschedule labelname FmupdateFdsSettingUpdateSchedule
$ unset “FORTIMANAGER_IMPORT_TABLE”
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
fortimanager
Terraform Provider.