AccessLogPolicy

class oci.apigateway.models.AccessLogPolicy(**kwargs)

Bases: object

Configures the logging policies for the access logs of an API Deployment.

Methods

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

Attributes

is_enabled Gets the is_enabled of this AccessLogPolicy.
__init__(**kwargs)

Initializes a new AccessLogPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:is_enabled (bool) – The value to assign to the is_enabled property of this AccessLogPolicy.
is_enabled

Gets the is_enabled of this AccessLogPolicy. Enables pushing of access logs to the legacy OCI Object Storage log archival bucket.

Oracle recommends using the OCI Logging service to enable, retrieve, and query access logs for an API Deployment. If there is an active log object for the API Deployment and its category is set to ‘access’ in OCI Logging service, the logs will not be uploaded to the legacy OCI Object Storage log archival bucket.

Please note that the functionality to push to the legacy OCI Object Storage log archival bucket has been deprecated and will be removed in the future.

Returns:The is_enabled of this AccessLogPolicy.
Return type:bool