WafMeterDatum

class oci.waas.models.WafMeterDatum(**kwargs)

Bases: object

WafMeterDatum model.

Methods

__init__(**kwargs) Initializes a new WafMeterDatum object with values from keyword arguments.

Attributes

compartment_id Gets the compartment_id of this WafMeterDatum.
is_bot_enabled Gets the is_bot_enabled of this WafMeterDatum.
is_oci_origin Gets the is_oci_origin of this WafMeterDatum.
request_count Gets the request_count of this WafMeterDatum.
tag_slug Gets the tag_slug of this WafMeterDatum.
tenancy_id Gets the tenancy_id of this WafMeterDatum.
time_observed Gets the time_observed of this WafMeterDatum.
time_range_in_seconds Gets the time_range_in_seconds of this WafMeterDatum.
traffic_in_bytes Gets the traffic_in_bytes of this WafMeterDatum.
waas_policy_id Gets the waas_policy_id of this WafMeterDatum.
__init__(**kwargs)

Initializes a new WafMeterDatum 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 WafMeterDatum.
  • time_range_in_seconds (int) – The value to assign to the time_range_in_seconds property of this WafMeterDatum.
  • tenancy_id (str) – The value to assign to the tenancy_id property of this WafMeterDatum.
  • compartment_id (str) – The value to assign to the compartment_id property of this WafMeterDatum.
  • waas_policy_id (str) – The value to assign to the waas_policy_id property of this WafMeterDatum.
  • is_oci_origin (bool) – The value to assign to the is_oci_origin property of this WafMeterDatum.
  • is_bot_enabled (bool) – The value to assign to the is_bot_enabled property of this WafMeterDatum.
  • request_count (int) – The value to assign to the request_count property of this WafMeterDatum.
  • traffic_in_bytes (int) – The value to assign to the traffic_in_bytes property of this WafMeterDatum.
  • tag_slug (str) – The value to assign to the tag_slug property of this WafMeterDatum.
compartment_id

Gets the compartment_id of this WafMeterDatum. The compartment OCID of the data.

Returns:The compartment_id of this WafMeterDatum.
Return type:str
is_bot_enabled

Gets the is_bot_enabled of this WafMeterDatum. True if bot manager is enabled.

Returns:The is_bot_enabled of this WafMeterDatum.
Return type:bool
is_oci_origin

Gets the is_oci_origin of this WafMeterDatum. True if origin (endpoint) is an OCI resource. False if external.

Returns:The is_oci_origin of this WafMeterDatum.
Return type:bool
request_count

Gets the request_count of this WafMeterDatum. The number of incoming requests.

Returns:The request_count of this WafMeterDatum.
Return type:int
tag_slug

Gets the tag_slug of this WafMeterDatum. The tag slug for the specified waasPolicyId.

Returns:The tag_slug of this WafMeterDatum.
Return type:str
tenancy_id

Gets the tenancy_id of this WafMeterDatum. The tenancy OCID of the data.

Returns:The tenancy_id of this WafMeterDatum.
Return type:str
time_observed

Gets the time_observed of this WafMeterDatum. The date and time the traffic was observed, rounded down to the start of a range, and expressed in RFC 3339 timestamp format.

Returns:The time_observed of this WafMeterDatum.
Return type:datetime
time_range_in_seconds

Gets the time_range_in_seconds of this WafMeterDatum. The number of seconds this data covers.

Returns:The time_range_in_seconds of this WafMeterDatum.
Return type:int
traffic_in_bytes

Gets the traffic_in_bytes of this WafMeterDatum. Traffic in bytes.

Returns:The traffic_in_bytes of this WafMeterDatum.
Return type:int
waas_policy_id

Gets the waas_policy_id of this WafMeterDatum. The policy OCID of the data.

Returns:The waas_policy_id of this WafMeterDatum.
Return type:str