AbsoluteTimeStartPolicy¶
-
class
oci.cloud_guard.models.
AbsoluteTimeStartPolicy
(**kwargs)¶ Bases:
oci.cloud_guard.models.continuous_query_start_policy.ContinuousQueryStartPolicy
Start policy that defines the exact start time
Attributes
START_POLICY_TYPE_ABSOLUTE_TIME_START_POLICY
str(object=’’) -> str START_POLICY_TYPE_NO_DELAY_START_POLICY
str(object=’’) -> str query_start_time
Gets the query_start_time of this AbsoluteTimeStartPolicy. start_policy_type
[Required] Gets the start_policy_type of this ContinuousQueryStartPolicy. Methods
__init__
(**kwargs)Initializes a new AbsoluteTimeStartPolicy object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
START_POLICY_TYPE_ABSOLUTE_TIME_START_POLICY
= 'ABSOLUTE_TIME_START_POLICY'¶
-
START_POLICY_TYPE_NO_DELAY_START_POLICY
= 'NO_DELAY_START_POLICY'¶
-
__init__
(**kwargs)¶ Initializes a new AbsoluteTimeStartPolicy object with values from keyword arguments. The default value of the
start_policy_type
attribute of this class isABSOLUTE_TIME_START_POLICY
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - start_policy_type (str) – The value to assign to the start_policy_type property of this AbsoluteTimeStartPolicy. Allowed values for this property are: “NO_DELAY_START_POLICY”, “ABSOLUTE_TIME_START_POLICY”
- query_start_time (datetime) – The value to assign to the query_start_time property of this AbsoluteTimeStartPolicy.
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
query_start_time
¶ Gets the query_start_time of this AbsoluteTimeStartPolicy. Time when the query can start. If not specified it can start immediately
Returns: The query_start_time of this AbsoluteTimeStartPolicy. Return type: datetime
-
start_policy_type
¶ [Required] Gets the start_policy_type of this ContinuousQueryStartPolicy. Start policy delay timing
Allowed values for this property are: “NO_DELAY_START_POLICY”, “ABSOLUTE_TIME_START_POLICY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The start_policy_type of this ContinuousQueryStartPolicy. Return type: str
-