AutoActivateStatus

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

Bases: object

Status of autoactivation for the given data key in the APM Domain.

Attributes:

DATA_KEY_PRIVATE_DATA_KEY

A constant which can be used with the data_key property of a AutoActivateStatus.

DATA_KEY_PUBLIC_DATA_KEY

A constant which can be used with the data_key property of a AutoActivateStatus.

STATE_OFF

A constant which can be used with the state property of a AutoActivateStatus.

STATE_ON

A constant which can be used with the state property of a AutoActivateStatus.

data_key

[Required] Gets the data_key of this AutoActivateStatus.

state

[Required] Gets the state of this AutoActivateStatus.

Methods:

__init__(**kwargs)

Initializes a new AutoActivateStatus 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 AutoActivateStatus. 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 AutoActivateStatus. This constant has a value of “PUBLIC_DATA_KEY”

STATE_OFF = 'OFF'

A constant which can be used with the state property of a AutoActivateStatus. This constant has a value of “OFF”

STATE_ON = 'ON'

A constant which can be used with the state property of a AutoActivateStatus. This constant has a value of “ON”

__init__(**kwargs)

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

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

  • data_key (str) – The value to assign to the data_key property of this AutoActivateStatus. 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’.

property data_key

[Required] Gets the data_key of this AutoActivateStatus. 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 AutoActivateStatus.

Return type

str

property state

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

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

Returns

The state of this AutoActivateStatus.

Return type

str