BulkActivateAttributeDetail

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

Bases: object

Object that contains the details about a single attribute in the bulk request to be activated. The attributeNameSpace and unit are optional parameters, and the attributeNameSpace will default to TRACES if it is not passed in.

Attributes

ATTRIBUTE_NAME_SPACE_SYNTHETIC A constant which can be used with the attribute_name_space property of a BulkActivateAttributeDetail.
ATTRIBUTE_NAME_SPACE_TRACES A constant which can be used with the attribute_name_space property of a BulkActivateAttributeDetail.
ATTRIBUTE_TYPE_NUMERIC A constant which can be used with the attribute_type property of a BulkActivateAttributeDetail.
ATTRIBUTE_TYPE_STRING A constant which can be used with the attribute_type property of a BulkActivateAttributeDetail.
UNIT_BYTES A constant which can be used with the unit property of a BulkActivateAttributeDetail.
UNIT_COUNT A constant which can be used with the unit property of a BulkActivateAttributeDetail.
UNIT_DURATION_MS A constant which can be used with the unit property of a BulkActivateAttributeDetail.
UNIT_EPOCH_TIME_MS A constant which can be used with the unit property of a BulkActivateAttributeDetail.
UNIT_NONE A constant which can be used with the unit property of a BulkActivateAttributeDetail.
UNIT_PERCENTAGE A constant which can be used with the unit property of a BulkActivateAttributeDetail.
UNIT_TRACE_STATUS A constant which can be used with the unit property of a BulkActivateAttributeDetail.
attribute_name [Required] Gets the attribute_name of this BulkActivateAttributeDetail.
attribute_name_space Gets the attribute_name_space of this BulkActivateAttributeDetail.
attribute_type [Required] Gets the attribute_type of this BulkActivateAttributeDetail.
unit Gets the unit of this BulkActivateAttributeDetail.

Methods

__init__(**kwargs) Initializes a new BulkActivateAttributeDetail object with values from keyword arguments.
ATTRIBUTE_NAME_SPACE_SYNTHETIC = 'SYNTHETIC'

A constant which can be used with the attribute_name_space property of a BulkActivateAttributeDetail. This constant has a value of “SYNTHETIC”

ATTRIBUTE_NAME_SPACE_TRACES = 'TRACES'

A constant which can be used with the attribute_name_space property of a BulkActivateAttributeDetail. This constant has a value of “TRACES”

ATTRIBUTE_TYPE_NUMERIC = 'NUMERIC'

A constant which can be used with the attribute_type property of a BulkActivateAttributeDetail. This constant has a value of “NUMERIC”

ATTRIBUTE_TYPE_STRING = 'STRING'

A constant which can be used with the attribute_type property of a BulkActivateAttributeDetail. This constant has a value of “STRING”

UNIT_BYTES = 'BYTES'

A constant which can be used with the unit property of a BulkActivateAttributeDetail. This constant has a value of “BYTES”

UNIT_COUNT = 'COUNT'

A constant which can be used with the unit property of a BulkActivateAttributeDetail. This constant has a value of “COUNT”

UNIT_DURATION_MS = 'DURATION_MS'

A constant which can be used with the unit property of a BulkActivateAttributeDetail. This constant has a value of “DURATION_MS”

UNIT_EPOCH_TIME_MS = 'EPOCH_TIME_MS'

A constant which can be used with the unit property of a BulkActivateAttributeDetail. This constant has a value of “EPOCH_TIME_MS”

UNIT_NONE = 'NONE'

A constant which can be used with the unit property of a BulkActivateAttributeDetail. This constant has a value of “NONE”

UNIT_PERCENTAGE = 'PERCENTAGE'

A constant which can be used with the unit property of a BulkActivateAttributeDetail. This constant has a value of “PERCENTAGE”

UNIT_TRACE_STATUS = 'TRACE_STATUS'

A constant which can be used with the unit property of a BulkActivateAttributeDetail. This constant has a value of “TRACE_STATUS”

__init__(**kwargs)

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

Parameters:
  • attribute_name (str) – The value to assign to the attribute_name property of this BulkActivateAttributeDetail.
  • attribute_type (str) – The value to assign to the attribute_type property of this BulkActivateAttributeDetail. Allowed values for this property are: “NUMERIC”, “STRING”
  • unit (str) – The value to assign to the unit property of this BulkActivateAttributeDetail. Allowed values for this property are: “NONE”, “EPOCH_TIME_MS”, “BYTES”, “COUNT”, “DURATION_MS”, “TRACE_STATUS”, “PERCENTAGE”
  • attribute_name_space (str) – The value to assign to the attribute_name_space property of this BulkActivateAttributeDetail. Allowed values for this property are: “TRACES”, “SYNTHETIC”
attribute_name

[Required] Gets the attribute_name of this BulkActivateAttributeDetail. Name of the attribute to be activated.

Returns:The attribute_name of this BulkActivateAttributeDetail.
Return type:str
attribute_name_space

Gets the attribute_name_space of this BulkActivateAttributeDetail. Namespace of the attribute to be activated. The attributeNameSpace will default to TRACES if it is not passed in.

Allowed values for this property are: “TRACES”, “SYNTHETIC”

Returns:The attribute_name_space of this BulkActivateAttributeDetail.
Return type:str
attribute_type

[Required] Gets the attribute_type of this BulkActivateAttributeDetail. Type of the attribute to be activated.

Allowed values for this property are: “NUMERIC”, “STRING”

Returns:The attribute_type of this BulkActivateAttributeDetail.
Return type:str
unit

Gets the unit of this BulkActivateAttributeDetail. Unit of the attribute to be updated.

Allowed values for this property are: “NONE”, “EPOCH_TIME_MS”, “BYTES”, “COUNT”, “DURATION_MS”, “TRACE_STATUS”, “PERCENTAGE”

Returns:The unit of this BulkActivateAttributeDetail.
Return type:str