CollectTracesData

class oci.database_migration.models.CollectTracesData(**kwargs)

Bases: object

Information regarding the DB trace and alert log collection

Attributes:

COLLECT_TRACES_STATE_FAILED

A constant which can be used with the collect_traces_state property of a CollectTracesData.

COLLECT_TRACES_STATE_IN_PROGRESS

A constant which can be used with the collect_traces_state property of a CollectTracesData.

COLLECT_TRACES_STATE_SUCCEEDED

A constant which can be used with the collect_traces_state property of a CollectTracesData.

bucket_name

[Required] Gets the bucket_name of this CollectTracesData.

collect_traces_state

[Required] Gets the collect_traces_state of this CollectTracesData.

namespace

[Required] Gets the namespace of this CollectTracesData.

object_name

[Required] Gets the object_name of this CollectTracesData.

Methods:

__init__(**kwargs)

Initializes a new CollectTracesData object with values from keyword arguments.

COLLECT_TRACES_STATE_FAILED = 'FAILED'

A constant which can be used with the collect_traces_state property of a CollectTracesData. This constant has a value of “FAILED”

COLLECT_TRACES_STATE_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the collect_traces_state property of a CollectTracesData. This constant has a value of “IN_PROGRESS”

COLLECT_TRACES_STATE_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the collect_traces_state property of a CollectTracesData. This constant has a value of “SUCCEEDED”

__init__(**kwargs)

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

Parameters
  • bucket_name (str) – The value to assign to the bucket_name property of this CollectTracesData.

  • namespace (str) – The value to assign to the namespace property of this CollectTracesData.

  • object_name (str) – The value to assign to the object_name property of this CollectTracesData.

  • collect_traces_state (str) – The value to assign to the collect_traces_state property of this CollectTracesData. Allowed values for this property are: “IN_PROGRESS”, “SUCCEEDED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property bucket_name

[Required] Gets the bucket_name of this CollectTracesData. Name of the bucket containing the file.

Returns

The bucket_name of this CollectTracesData.

Return type

str

property collect_traces_state

[Required] Gets the collect_traces_state of this CollectTracesData. Status of trace collection process.

Allowed values for this property are: “IN_PROGRESS”, “SUCCEEDED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The collect_traces_state of this CollectTracesData.

Return type

str

property namespace

[Required] Gets the namespace of this CollectTracesData. Object Storage namespace.

Returns

The namespace of this CollectTracesData.

Return type

str

property object_name

[Required] Gets the object_name of this CollectTracesData. Object name.

Returns

The object_name of this CollectTracesData.

Return type

str