Schedule¶
- class oci.vulnerability_scanning.models.Schedule(**kwargs)¶
Bases:
objectA scanning schedule
Attributes:
A constant which can be used with the day_of_week property of a Schedule.
A constant which can be used with the day_of_week property of a Schedule.
A constant which can be used with the day_of_week property of a Schedule.
A constant which can be used with the day_of_week property of a Schedule.
A constant which can be used with the day_of_week property of a Schedule.
A constant which can be used with the day_of_week property of a Schedule.
A constant which can be used with the day_of_week property of a Schedule.
A constant which can be used with the type property of a Schedule.
A constant which can be used with the type property of a Schedule.
Gets the day_of_week of this Schedule.
[Required] Gets the type of this Schedule.
Methods:
__init__(**kwargs)Initializes a new Schedule object with values from keyword arguments.
- DAY_OF_WEEK_FRIDAY = 'FRIDAY'¶
A constant which can be used with the day_of_week property of a Schedule. This constant has a value of “FRIDAY”
- DAY_OF_WEEK_MONDAY = 'MONDAY'¶
A constant which can be used with the day_of_week property of a Schedule. This constant has a value of “MONDAY”
- DAY_OF_WEEK_SATURDAY = 'SATURDAY'¶
A constant which can be used with the day_of_week property of a Schedule. This constant has a value of “SATURDAY”
- DAY_OF_WEEK_SUNDAY = 'SUNDAY'¶
A constant which can be used with the day_of_week property of a Schedule. This constant has a value of “SUNDAY”
- DAY_OF_WEEK_THURSDAY = 'THURSDAY'¶
A constant which can be used with the day_of_week property of a Schedule. This constant has a value of “THURSDAY”
- DAY_OF_WEEK_TUESDAY = 'TUESDAY'¶
A constant which can be used with the day_of_week property of a Schedule. This constant has a value of “TUESDAY”
- DAY_OF_WEEK_WEDNESDAY = 'WEDNESDAY'¶
A constant which can be used with the day_of_week property of a Schedule. This constant has a value of “WEDNESDAY”
- TYPE_DAILY = 'DAILY'¶
A constant which can be used with the type property of a Schedule. This constant has a value of “DAILY”
- TYPE_WEEKLY = 'WEEKLY'¶
A constant which can be used with the type property of a Schedule. This constant has a value of “WEEKLY”
- __init__(**kwargs)¶
Initializes a new Schedule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
type (str) – The value to assign to the type property of this Schedule. Allowed values for this property are: “DAILY”, “WEEKLY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
day_of_week (str) – The value to assign to the day_of_week property of this Schedule. Allowed values for this property are: “SUNDAY”, “MONDAY”, “TUESDAY”, “WEDNESDAY”, “THURSDAY”, “FRIDAY”, “SATURDAY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property day_of_week¶
Gets the day_of_week of this Schedule. Day of week the scheduled scan occurs (not applicable for DAILY type)
Allowed values for this property are: “SUNDAY”, “MONDAY”, “TUESDAY”, “WEDNESDAY”, “THURSDAY”, “FRIDAY”, “SATURDAY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The day_of_week of this Schedule.
- Return type
str
- property type¶
[Required] Gets the type of this Schedule. How often the scan occurs
Allowed values for this property are: “DAILY”, “WEEKLY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this Schedule.
- Return type
str