Schedule¶
-
class
oci.vulnerability_scanning.models.Schedule(**kwargs)¶ Bases:
objectA scanning schedule
Attributes
DAY_OF_WEEK_FRIDAYA constant which can be used with the day_of_week property of a Schedule. DAY_OF_WEEK_MONDAYA constant which can be used with the day_of_week property of a Schedule. DAY_OF_WEEK_SATURDAYA constant which can be used with the day_of_week property of a Schedule. DAY_OF_WEEK_SUNDAYA constant which can be used with the day_of_week property of a Schedule. DAY_OF_WEEK_THURSDAYA constant which can be used with the day_of_week property of a Schedule. DAY_OF_WEEK_TUESDAYA constant which can be used with the day_of_week property of a Schedule. DAY_OF_WEEK_WEDNESDAYA constant which can be used with the day_of_week property of a Schedule. TYPE_DAILYA constant which can be used with the type property of a Schedule. TYPE_WEEKLYA constant which can be used with the type property of a Schedule. day_of_weekGets the day_of_week of this Schedule. type[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’.
-
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
-
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
-