WafTrafficDatum¶
- class oci.waas.models.WafTrafficDatum(**kwargs)¶
Bases:
objectA time series of traffic data for the Web Application Firewall configured for a policy.
Methods:
__init__(**kwargs)Initializes a new WafTrafficDatum object with values from keyword arguments.
Attributes:
Gets the compartment_id of this WafTrafficDatum.
Gets the tenancy_id of this WafTrafficDatum.
Gets the time_observed of this WafTrafficDatum.
Gets the time_range_in_seconds of this WafTrafficDatum.
Gets the traffic_in_bytes of this WafTrafficDatum.
Gets the waas_policy_id of this WafTrafficDatum.
- __init__(**kwargs)¶
Initializes a new WafTrafficDatum object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
time_observed (datetime) – The value to assign to the time_observed property of this WafTrafficDatum.
time_range_in_seconds (int) – The value to assign to the time_range_in_seconds property of this WafTrafficDatum.
tenancy_id (str) – The value to assign to the tenancy_id property of this WafTrafficDatum.
compartment_id (str) – The value to assign to the compartment_id property of this WafTrafficDatum.
waas_policy_id (str) – The value to assign to the waas_policy_id property of this WafTrafficDatum.
traffic_in_bytes (int) – The value to assign to the traffic_in_bytes property of this WafTrafficDatum.
- property compartment_id¶
Gets the compartment_id of this WafTrafficDatum. The compartment OCID of the data.
- Returns
The compartment_id of this WafTrafficDatum.
- Return type
str
- property tenancy_id¶
Gets the tenancy_id of this WafTrafficDatum. The tenancy OCID of the data.
- Returns
The tenancy_id of this WafTrafficDatum.
- Return type
str
- property time_observed¶
Gets the time_observed of this WafTrafficDatum. The date and time the traffic was observed, rounded down to the start of the range, and expressed in RFC 3339 timestamp format.
- Returns
The time_observed of this WafTrafficDatum.
- Return type
datetime
- property time_range_in_seconds¶
Gets the time_range_in_seconds of this WafTrafficDatum. The number of seconds this data covers.
- Returns
The time_range_in_seconds of this WafTrafficDatum.
- Return type
int
- property traffic_in_bytes¶
Gets the traffic_in_bytes of this WafTrafficDatum. Traffic in bytes.
- Returns
The traffic_in_bytes of this WafTrafficDatum.
- Return type
int
- property waas_policy_id¶
Gets the waas_policy_id of this WafTrafficDatum. The policy OCID of the data.
- Returns
The waas_policy_id of this WafTrafficDatum.
- Return type
str