AutoActivateToggleStatus

class oci.apm_traces.models.AutoActivateToggleStatus(**kwargs)

Bases: object

Response of a auto-activate toggle operation.

Attributes

DATA_KEY_PRIVATE_DATA_KEY A constant which can be used with the data_key property of a AutoActivateToggleStatus.
DATA_KEY_PUBLIC_DATA_KEY A constant which can be used with the data_key property of a AutoActivateToggleStatus.
STATUS_SUCCESS A constant which can be used with the status property of a AutoActivateToggleStatus.
data_key [Required] Gets the data_key of this AutoActivateToggleStatus.
state [Required] Gets the state of this AutoActivateToggleStatus.
status [Required] Gets the status of this AutoActivateToggleStatus.

Methods

__init__(**kwargs) Initializes a new AutoActivateToggleStatus object with values from keyword arguments.
DATA_KEY_PRIVATE_DATA_KEY = 'PRIVATE_DATA_KEY'

A constant which can be used with the data_key property of a AutoActivateToggleStatus. This constant has a value of “PRIVATE_DATA_KEY”

DATA_KEY_PUBLIC_DATA_KEY = 'PUBLIC_DATA_KEY'

A constant which can be used with the data_key property of a AutoActivateToggleStatus. This constant has a value of “PUBLIC_DATA_KEY”

STATUS_SUCCESS = 'SUCCESS'

A constant which can be used with the status property of a AutoActivateToggleStatus. This constant has a value of “SUCCESS”

__init__(**kwargs)

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

Parameters:
  • status (str) – The value to assign to the status property of this AutoActivateToggleStatus. Allowed values for this property are: “SUCCESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • state (str) – The value to assign to the state property of this AutoActivateToggleStatus.
  • data_key (str) – The value to assign to the data_key property of this AutoActivateToggleStatus. Allowed values for this property are: “PRIVATE_DATA_KEY”, “PUBLIC_DATA_KEY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
data_key

[Required] Gets the data_key of this AutoActivateToggleStatus. Data key type for which auto-activate needs needs to be turned on or off.

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

Returns:The data_key of this AutoActivateToggleStatus.
Return type:str
state

[Required] Gets the state of this AutoActivateToggleStatus. State of autoactivation in this APM Domain. If “ON” auto-activate is set to true, if “OFF” auto-activate is set to false.

Returns:The state of this AutoActivateToggleStatus.
Return type:str
status

[Required] Gets the status of this AutoActivateToggleStatus. Status of this operation.

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

Returns:The status of this AutoActivateToggleStatus.
Return type:str