AbsoluteTimeStartPolicy

class oci.cloud_guard.models.AbsoluteTimeStartPolicy(**kwargs)

Bases: ContinuousQueryStartPolicy

DEPRECATED - Start policy that defines the exact start time

Attributes:

START_POLICY_TYPE_ABSOLUTE_TIME_START_POLICY

A constant which can be used with the start_policy_type property of a ContinuousQueryStartPolicy.

START_POLICY_TYPE_NO_DELAY_START_POLICY

A constant which can be used with the start_policy_type property of a ContinuousQueryStartPolicy.

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'

A constant which can be used with the start_policy_type property of a ContinuousQueryStartPolicy. This constant has a value of “ABSOLUTE_TIME_START_POLICY”

START_POLICY_TYPE_NO_DELAY_START_POLICY = 'NO_DELAY_START_POLICY'

A constant which can be used with the start_policy_type property of a ContinuousQueryStartPolicy. This constant has a value of “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 is ABSOLUTE_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.

property 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

property 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