checkpoint.ManagementSetAntiMalwareUpdateSchedule
Explore with Pulumi AI
Create ManagementSetAntiMalwareUpdateSchedule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementSetAntiMalwareUpdateSchedule(name: string, args?: ManagementSetAntiMalwareUpdateScheduleArgs, opts?: CustomResourceOptions);
@overload
def ManagementSetAntiMalwareUpdateSchedule(resource_name: str,
args: Optional[ManagementSetAntiMalwareUpdateScheduleArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementSetAntiMalwareUpdateSchedule(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
management_set_anti_malware_update_schedule_id: Optional[str] = None,
schedule: Optional[ManagementSetAntiMalwareUpdateScheduleScheduleArgs] = None)
func NewManagementSetAntiMalwareUpdateSchedule(ctx *Context, name string, args *ManagementSetAntiMalwareUpdateScheduleArgs, opts ...ResourceOption) (*ManagementSetAntiMalwareUpdateSchedule, error)
public ManagementSetAntiMalwareUpdateSchedule(string name, ManagementSetAntiMalwareUpdateScheduleArgs? args = null, CustomResourceOptions? opts = null)
public ManagementSetAntiMalwareUpdateSchedule(String name, ManagementSetAntiMalwareUpdateScheduleArgs args)
public ManagementSetAntiMalwareUpdateSchedule(String name, ManagementSetAntiMalwareUpdateScheduleArgs args, CustomResourceOptions options)
type: checkpoint:ManagementSetAntiMalwareUpdateSchedule
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 ManagementSetAntiMalwareUpdateScheduleArgs
- 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 ManagementSetAntiMalwareUpdateScheduleArgs
- 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 ManagementSetAntiMalwareUpdateScheduleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementSetAntiMalwareUpdateScheduleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementSetAntiMalwareUpdateScheduleArgs
- 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 managementSetAntiMalwareUpdateScheduleResource = new Checkpoint.ManagementSetAntiMalwareUpdateSchedule("managementSetAntiMalwareUpdateScheduleResource", new()
{
Enabled = false,
ManagementSetAntiMalwareUpdateScheduleId = "string",
Schedule = new Checkpoint.Inputs.ManagementSetAntiMalwareUpdateScheduleScheduleArgs
{
Recurrence = new Checkpoint.Inputs.ManagementSetAntiMalwareUpdateScheduleScheduleRecurrenceArgs
{
Days = new[]
{
"string",
},
IntervalHours = 0,
IntervalMinutes = 0,
IntervalSeconds = 0,
Pattern = "string",
Weekdays = new[]
{
"string",
},
},
Time = "string",
},
});
example, err := checkpoint.NewManagementSetAntiMalwareUpdateSchedule(ctx, "managementSetAntiMalwareUpdateScheduleResource", &checkpoint.ManagementSetAntiMalwareUpdateScheduleArgs{
Enabled: pulumi.Bool(false),
ManagementSetAntiMalwareUpdateScheduleId: pulumi.String("string"),
Schedule: &checkpoint.ManagementSetAntiMalwareUpdateScheduleScheduleArgs{
Recurrence: &checkpoint.ManagementSetAntiMalwareUpdateScheduleScheduleRecurrenceArgs{
Days: pulumi.StringArray{
pulumi.String("string"),
},
IntervalHours: pulumi.Float64(0),
IntervalMinutes: pulumi.Float64(0),
IntervalSeconds: pulumi.Float64(0),
Pattern: pulumi.String("string"),
Weekdays: pulumi.StringArray{
pulumi.String("string"),
},
},
Time: pulumi.String("string"),
},
})
var managementSetAntiMalwareUpdateScheduleResource = new ManagementSetAntiMalwareUpdateSchedule("managementSetAntiMalwareUpdateScheduleResource", ManagementSetAntiMalwareUpdateScheduleArgs.builder()
.enabled(false)
.managementSetAntiMalwareUpdateScheduleId("string")
.schedule(ManagementSetAntiMalwareUpdateScheduleScheduleArgs.builder()
.recurrence(ManagementSetAntiMalwareUpdateScheduleScheduleRecurrenceArgs.builder()
.days("string")
.intervalHours(0.0)
.intervalMinutes(0.0)
.intervalSeconds(0.0)
.pattern("string")
.weekdays("string")
.build())
.time("string")
.build())
.build());
management_set_anti_malware_update_schedule_resource = checkpoint.ManagementSetAntiMalwareUpdateSchedule("managementSetAntiMalwareUpdateScheduleResource",
enabled=False,
management_set_anti_malware_update_schedule_id="string",
schedule={
"recurrence": {
"days": ["string"],
"interval_hours": 0,
"interval_minutes": 0,
"interval_seconds": 0,
"pattern": "string",
"weekdays": ["string"],
},
"time": "string",
})
const managementSetAntiMalwareUpdateScheduleResource = new checkpoint.ManagementSetAntiMalwareUpdateSchedule("managementSetAntiMalwareUpdateScheduleResource", {
enabled: false,
managementSetAntiMalwareUpdateScheduleId: "string",
schedule: {
recurrence: {
days: ["string"],
intervalHours: 0,
intervalMinutes: 0,
intervalSeconds: 0,
pattern: "string",
weekdays: ["string"],
},
time: "string",
},
});
type: checkpoint:ManagementSetAntiMalwareUpdateSchedule
properties:
enabled: false
managementSetAntiMalwareUpdateScheduleId: string
schedule:
recurrence:
days:
- string
intervalHours: 0
intervalMinutes: 0
intervalSeconds: 0
pattern: string
weekdays:
- string
time: string
ManagementSetAntiMalwareUpdateSchedule 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 ManagementSetAntiMalwareUpdateSchedule resource accepts the following input properties:
- Enabled bool
- Enable/Disable Anti-Malware Update Schedule.
- Management
Set stringAnti Malware Update Schedule Id - Schedule
Management
Set Anti Malware Update Schedule Schedule - Schedule Configuration.schedule blocks are documented below.
- Enabled bool
- Enable/Disable Anti-Malware Update Schedule.
- Management
Set stringAnti Malware Update Schedule Id - Schedule
Management
Set Anti Malware Update Schedule Schedule Args - Schedule Configuration.schedule blocks are documented below.
- enabled Boolean
- Enable/Disable Anti-Malware Update Schedule.
- management
Set StringAnti Malware Update Schedule Id - schedule
Management
Set Anti Malware Update Schedule Schedule - Schedule Configuration.schedule blocks are documented below.
- enabled boolean
- Enable/Disable Anti-Malware Update Schedule.
- management
Set stringAnti Malware Update Schedule Id - schedule
Management
Set Anti Malware Update Schedule Schedule - Schedule Configuration.schedule blocks are documented below.
- enabled bool
- Enable/Disable Anti-Malware Update Schedule.
- management_
set_ stranti_ malware_ update_ schedule_ id - schedule
Management
Set Anti Malware Update Schedule Schedule Args - Schedule Configuration.schedule blocks are documented below.
- enabled Boolean
- Enable/Disable Anti-Malware Update Schedule.
- management
Set StringAnti Malware Update Schedule Id - schedule Property Map
- Schedule Configuration.schedule blocks are documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementSetAntiMalwareUpdateSchedule 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 ManagementSetAntiMalwareUpdateSchedule Resource
Get an existing ManagementSetAntiMalwareUpdateSchedule 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?: ManagementSetAntiMalwareUpdateScheduleState, opts?: CustomResourceOptions): ManagementSetAntiMalwareUpdateSchedule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
management_set_anti_malware_update_schedule_id: Optional[str] = None,
schedule: Optional[ManagementSetAntiMalwareUpdateScheduleScheduleArgs] = None) -> ManagementSetAntiMalwareUpdateSchedule
func GetManagementSetAntiMalwareUpdateSchedule(ctx *Context, name string, id IDInput, state *ManagementSetAntiMalwareUpdateScheduleState, opts ...ResourceOption) (*ManagementSetAntiMalwareUpdateSchedule, error)
public static ManagementSetAntiMalwareUpdateSchedule Get(string name, Input<string> id, ManagementSetAntiMalwareUpdateScheduleState? state, CustomResourceOptions? opts = null)
public static ManagementSetAntiMalwareUpdateSchedule get(String name, Output<String> id, ManagementSetAntiMalwareUpdateScheduleState state, CustomResourceOptions options)
resources: _: type: checkpoint:ManagementSetAntiMalwareUpdateSchedule 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.
- Enabled bool
- Enable/Disable Anti-Malware Update Schedule.
- Management
Set stringAnti Malware Update Schedule Id - Schedule
Management
Set Anti Malware Update Schedule Schedule - Schedule Configuration.schedule blocks are documented below.
- Enabled bool
- Enable/Disable Anti-Malware Update Schedule.
- Management
Set stringAnti Malware Update Schedule Id - Schedule
Management
Set Anti Malware Update Schedule Schedule Args - Schedule Configuration.schedule blocks are documented below.
- enabled Boolean
- Enable/Disable Anti-Malware Update Schedule.
- management
Set StringAnti Malware Update Schedule Id - schedule
Management
Set Anti Malware Update Schedule Schedule - Schedule Configuration.schedule blocks are documented below.
- enabled boolean
- Enable/Disable Anti-Malware Update Schedule.
- management
Set stringAnti Malware Update Schedule Id - schedule
Management
Set Anti Malware Update Schedule Schedule - Schedule Configuration.schedule blocks are documented below.
- enabled bool
- Enable/Disable Anti-Malware Update Schedule.
- management_
set_ stranti_ malware_ update_ schedule_ id - schedule
Management
Set Anti Malware Update Schedule Schedule Args - Schedule Configuration.schedule blocks are documented below.
- enabled Boolean
- Enable/Disable Anti-Malware Update Schedule.
- management
Set StringAnti Malware Update Schedule Id - schedule Property Map
- Schedule Configuration.schedule blocks are documented below.
Supporting Types
ManagementSetAntiMalwareUpdateScheduleSchedule, ManagementSetAntiMalwareUpdateScheduleScheduleArgs
- Recurrence
Management
Set Anti Malware Update Schedule Schedule Recurrence - Days recurrence.recurrence blocks are documented below.
- Time string
- Time in format HH:mm.
- Recurrence
Management
Set Anti Malware Update Schedule Schedule Recurrence - Days recurrence.recurrence blocks are documented below.
- Time string
- Time in format HH:mm.
- recurrence
Management
Set Anti Malware Update Schedule Schedule Recurrence - Days recurrence.recurrence blocks are documented below.
- time String
- Time in format HH:mm.
- recurrence
Management
Set Anti Malware Update Schedule Schedule Recurrence - Days recurrence.recurrence blocks are documented below.
- time string
- Time in format HH:mm.
- recurrence
Management
Set Anti Malware Update Schedule Schedule Recurrence - Days recurrence.recurrence blocks are documented below.
- time str
- Time in format HH:mm.
- recurrence Property Map
- Days recurrence.recurrence blocks are documented below.
- time String
- Time in format HH:mm.
ManagementSetAntiMalwareUpdateScheduleScheduleRecurrence, ManagementSetAntiMalwareUpdateScheduleScheduleRecurrenceArgs
- Days List<string>
- Days of the month to run the update. Valid values: interval in the range of 1 to 31. Required only when pattern is set to 'Monthly'.days blocks are documented below.
- Interval
Hours double - The amount of hours between updates. Required only when pattern is set to 'Interval'.
- Interval
Minutes double - The amount of minutes between updates. Required only when pattern is set to 'Interval'.
- Interval
Seconds double - The amount of seconds between updates. Required only when pattern is set to 'Interval'.
- Pattern string
- Days recurrence pattern.
- Weekdays List<string>
- Days of the week to run the update. Valid values: group of values from {'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'}. Required only when pattern is set to 'Weekly'.weekdays blocks are documented below.
- Days []string
- Days of the month to run the update. Valid values: interval in the range of 1 to 31. Required only when pattern is set to 'Monthly'.days blocks are documented below.
- Interval
Hours float64 - The amount of hours between updates. Required only when pattern is set to 'Interval'.
- Interval
Minutes float64 - The amount of minutes between updates. Required only when pattern is set to 'Interval'.
- Interval
Seconds float64 - The amount of seconds between updates. Required only when pattern is set to 'Interval'.
- Pattern string
- Days recurrence pattern.
- Weekdays []string
- Days of the week to run the update. Valid values: group of values from {'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'}. Required only when pattern is set to 'Weekly'.weekdays blocks are documented below.
- days List<String>
- Days of the month to run the update. Valid values: interval in the range of 1 to 31. Required only when pattern is set to 'Monthly'.days blocks are documented below.
- interval
Hours Double - The amount of hours between updates. Required only when pattern is set to 'Interval'.
- interval
Minutes Double - The amount of minutes between updates. Required only when pattern is set to 'Interval'.
- interval
Seconds Double - The amount of seconds between updates. Required only when pattern is set to 'Interval'.
- pattern String
- Days recurrence pattern.
- weekdays List<String>
- Days of the week to run the update. Valid values: group of values from {'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'}. Required only when pattern is set to 'Weekly'.weekdays blocks are documented below.
- days string[]
- Days of the month to run the update. Valid values: interval in the range of 1 to 31. Required only when pattern is set to 'Monthly'.days blocks are documented below.
- interval
Hours number - The amount of hours between updates. Required only when pattern is set to 'Interval'.
- interval
Minutes number - The amount of minutes between updates. Required only when pattern is set to 'Interval'.
- interval
Seconds number - The amount of seconds between updates. Required only when pattern is set to 'Interval'.
- pattern string
- Days recurrence pattern.
- weekdays string[]
- Days of the week to run the update. Valid values: group of values from {'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'}. Required only when pattern is set to 'Weekly'.weekdays blocks are documented below.
- days Sequence[str]
- Days of the month to run the update. Valid values: interval in the range of 1 to 31. Required only when pattern is set to 'Monthly'.days blocks are documented below.
- interval_
hours float - The amount of hours between updates. Required only when pattern is set to 'Interval'.
- interval_
minutes float - The amount of minutes between updates. Required only when pattern is set to 'Interval'.
- interval_
seconds float - The amount of seconds between updates. Required only when pattern is set to 'Interval'.
- pattern str
- Days recurrence pattern.
- weekdays Sequence[str]
- Days of the week to run the update. Valid values: group of values from {'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'}. Required only when pattern is set to 'Weekly'.weekdays blocks are documented below.
- days List<String>
- Days of the month to run the update. Valid values: interval in the range of 1 to 31. Required only when pattern is set to 'Monthly'.days blocks are documented below.
- interval
Hours Number - The amount of hours between updates. Required only when pattern is set to 'Interval'.
- interval
Minutes Number - The amount of minutes between updates. Required only when pattern is set to 'Interval'.
- interval
Seconds Number - The amount of seconds between updates. Required only when pattern is set to 'Interval'.
- pattern String
- Days recurrence pattern.
- weekdays List<String>
- Days of the week to run the update. Valid values: group of values from {'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'}. Required only when pattern is set to 'Weekly'.weekdays blocks are documented below.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpoint
Terraform Provider.