BulkActivateAttributeDetail¶
-
class
oci.apm_traces.models.BulkActivateAttributeDetail(**kwargs)¶ Bases:
objectObject 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_LOGSA constant which can be used with the attribute_name_space property of a BulkActivateAttributeDetail. ATTRIBUTE_NAME_SPACE_SYNTHETICA constant which can be used with the attribute_name_space property of a BulkActivateAttributeDetail. ATTRIBUTE_NAME_SPACE_TRACESA constant which can be used with the attribute_name_space property of a BulkActivateAttributeDetail. ATTRIBUTE_TYPE_NONEA constant which can be used with the attribute_type property of a BulkActivateAttributeDetail. ATTRIBUTE_TYPE_NUMERICA constant which can be used with the attribute_type property of a BulkActivateAttributeDetail. ATTRIBUTE_TYPE_STRINGA constant which can be used with the attribute_type property of a BulkActivateAttributeDetail. UNIT_BYTESA constant which can be used with the unit property of a BulkActivateAttributeDetail. UNIT_COUNTA constant which can be used with the unit property of a BulkActivateAttributeDetail. UNIT_DURATION_MSA constant which can be used with the unit property of a BulkActivateAttributeDetail. UNIT_EPOCH_TIME_MSA constant which can be used with the unit property of a BulkActivateAttributeDetail. UNIT_NONEA constant which can be used with the unit property of a BulkActivateAttributeDetail. UNIT_PERCENTAGEA constant which can be used with the unit property of a BulkActivateAttributeDetail. UNIT_TRACE_STATUSA constant which can be used with the unit property of a BulkActivateAttributeDetail. attribute_expressionGets the attribute_expression of this BulkActivateAttributeDetail. attribute_name[Required] Gets the attribute_name of this BulkActivateAttributeDetail. attribute_name_spaceGets the attribute_name_space of this BulkActivateAttributeDetail. attribute_type[Required] Gets the attribute_type of this BulkActivateAttributeDetail. unitGets the unit of this BulkActivateAttributeDetail. Methods
__init__(**kwargs)Initializes a new BulkActivateAttributeDetail object with values from keyword arguments. -
ATTRIBUTE_NAME_SPACE_LOGS= 'LOGS'¶ A constant which can be used with the attribute_name_space property of a BulkActivateAttributeDetail. This constant has a value of “LOGS”
-
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_NONE= 'NONE'¶ A constant which can be used with the attribute_type property of a BulkActivateAttributeDetail. This constant has a value of “NONE”
-
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”, “NONE”
- attribute_expression (str) – The value to assign to the attribute_expression property of this BulkActivateAttributeDetail.
- 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”, “LOGS”
-
attribute_expression¶ Gets the attribute_expression of this BulkActivateAttributeDetail. Attribute expression if this attribute is an alias
Returns: The attribute_expression of this BulkActivateAttributeDetail. Return type: str
-
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”, “LOGS”
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”, “NONE”
Returns: The attribute_type of this BulkActivateAttributeDetail. Return type: str
-
unit¶ Gets the unit of this BulkActivateAttributeDetail. Unit of the attribute to be updated. If unit is not specified, it defaults to NONE.
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
-