AttributeUpdateResponse¶
-
class
oci.apm_traces.models.
AttributeUpdateResponse
(**kwargs)¶ Bases:
object
Response of an individual attribute item in the bulk update attribute operation.
Attributes
ATTRIBUTE_NAME_SPACE_SYNTHETIC
A constant which can be used with the attribute_name_space property of a AttributeUpdateResponse. ATTRIBUTE_NAME_SPACE_TRACES
A constant which can be used with the attribute_name_space property of a AttributeUpdateResponse. ATTRIBUTE_STATUS_ATTRIBUTE_DOES_NOT_EXIST
A constant which can be used with the attribute_status property of a AttributeUpdateResponse. ATTRIBUTE_STATUS_ATTRIBUTE_NOT_PROCESSED
A constant which can be used with the attribute_status property of a AttributeUpdateResponse. ATTRIBUTE_STATUS_ATTRIBUTE_UPDATED
A constant which can be used with the attribute_status property of a AttributeUpdateResponse. ATTRIBUTE_STATUS_ATTRIBUTE_UPDATE_NOT_ALLOWED
A constant which can be used with the attribute_status property of a AttributeUpdateResponse. ATTRIBUTE_STATUS_DUPLICATE_ATTRIBUTE
A constant which can be used with the attribute_status property of a AttributeUpdateResponse. ATTRIBUTE_STATUS_INVALID_ATTRIBUTE
A constant which can be used with the attribute_status property of a AttributeUpdateResponse. ATTRIBUTE_TYPE_NUMERIC
A constant which can be used with the attribute_type property of a AttributeUpdateResponse. ATTRIBUTE_TYPE_STRING
A constant which can be used with the attribute_type property of a AttributeUpdateResponse. OPERATION_TYPE_UPDATE_ATTRIBUTE_PROPERTIES
A constant which can be used with the operation_type property of a AttributeUpdateResponse. UNIT_BYTES
A constant which can be used with the unit property of a AttributeUpdateResponse. UNIT_COUNT
A constant which can be used with the unit property of a AttributeUpdateResponse. UNIT_DURATION_MS
A constant which can be used with the unit property of a AttributeUpdateResponse. UNIT_EPOCH_TIME_MS
A constant which can be used with the unit property of a AttributeUpdateResponse. UNIT_NONE
A constant which can be used with the unit property of a AttributeUpdateResponse. UNIT_PERCENTAGE
A constant which can be used with the unit property of a AttributeUpdateResponse. UNIT_TRACE_STATUS
A constant which can be used with the unit property of a AttributeUpdateResponse. attribute_name
[Required] Gets the attribute_name of this AttributeUpdateResponse. attribute_name_space
[Required] Gets the attribute_name_space of this AttributeUpdateResponse. attribute_status
Gets the attribute_status of this AttributeUpdateResponse. attribute_type
Gets the attribute_type of this AttributeUpdateResponse. notes
Gets the notes of this AttributeUpdateResponse. operation_type
Gets the operation_type of this AttributeUpdateResponse. time_updated
[Required] Gets the time_updated of this AttributeUpdateResponse. unit
Gets the unit of this AttributeUpdateResponse. Methods
__init__
(**kwargs)Initializes a new AttributeUpdateResponse 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 AttributeUpdateResponse. 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 AttributeUpdateResponse. This constant has a value of “TRACES”
-
ATTRIBUTE_STATUS_ATTRIBUTE_DOES_NOT_EXIST
= 'ATTRIBUTE_DOES_NOT_EXIST'¶ A constant which can be used with the attribute_status property of a AttributeUpdateResponse. This constant has a value of “ATTRIBUTE_DOES_NOT_EXIST”
-
ATTRIBUTE_STATUS_ATTRIBUTE_NOT_PROCESSED
= 'ATTRIBUTE_NOT_PROCESSED'¶ A constant which can be used with the attribute_status property of a AttributeUpdateResponse. This constant has a value of “ATTRIBUTE_NOT_PROCESSED”
-
ATTRIBUTE_STATUS_ATTRIBUTE_UPDATED
= 'ATTRIBUTE_UPDATED'¶ A constant which can be used with the attribute_status property of a AttributeUpdateResponse. This constant has a value of “ATTRIBUTE_UPDATED”
-
ATTRIBUTE_STATUS_ATTRIBUTE_UPDATE_NOT_ALLOWED
= 'ATTRIBUTE_UPDATE_NOT_ALLOWED'¶ A constant which can be used with the attribute_status property of a AttributeUpdateResponse. This constant has a value of “ATTRIBUTE_UPDATE_NOT_ALLOWED”
-
ATTRIBUTE_STATUS_DUPLICATE_ATTRIBUTE
= 'DUPLICATE_ATTRIBUTE'¶ A constant which can be used with the attribute_status property of a AttributeUpdateResponse. This constant has a value of “DUPLICATE_ATTRIBUTE”
-
ATTRIBUTE_STATUS_INVALID_ATTRIBUTE
= 'INVALID_ATTRIBUTE'¶ A constant which can be used with the attribute_status property of a AttributeUpdateResponse. This constant has a value of “INVALID_ATTRIBUTE”
-
ATTRIBUTE_TYPE_NUMERIC
= 'NUMERIC'¶ A constant which can be used with the attribute_type property of a AttributeUpdateResponse. This constant has a value of “NUMERIC”
-
ATTRIBUTE_TYPE_STRING
= 'STRING'¶ A constant which can be used with the attribute_type property of a AttributeUpdateResponse. This constant has a value of “STRING”
-
OPERATION_TYPE_UPDATE_ATTRIBUTE_PROPERTIES
= 'UPDATE_ATTRIBUTE_PROPERTIES'¶ A constant which can be used with the operation_type property of a AttributeUpdateResponse. This constant has a value of “UPDATE_ATTRIBUTE_PROPERTIES”
-
UNIT_BYTES
= 'BYTES'¶ A constant which can be used with the unit property of a AttributeUpdateResponse. This constant has a value of “BYTES”
-
UNIT_COUNT
= 'COUNT'¶ A constant which can be used with the unit property of a AttributeUpdateResponse. This constant has a value of “COUNT”
-
UNIT_DURATION_MS
= 'DURATION_MS'¶ A constant which can be used with the unit property of a AttributeUpdateResponse. 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 AttributeUpdateResponse. This constant has a value of “EPOCH_TIME_MS”
-
UNIT_NONE
= 'NONE'¶ A constant which can be used with the unit property of a AttributeUpdateResponse. This constant has a value of “NONE”
-
UNIT_PERCENTAGE
= 'PERCENTAGE'¶ A constant which can be used with the unit property of a AttributeUpdateResponse. This constant has a value of “PERCENTAGE”
-
UNIT_TRACE_STATUS
= 'TRACE_STATUS'¶ A constant which can be used with the unit property of a AttributeUpdateResponse. This constant has a value of “TRACE_STATUS”
-
__init__
(**kwargs)¶ Initializes a new AttributeUpdateResponse 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 AttributeUpdateResponse.
- attribute_type (str) – The value to assign to the attribute_type property of this AttributeUpdateResponse. Allowed values for this property are: “NUMERIC”, “STRING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- unit (str) – The value to assign to the unit property of this AttributeUpdateResponse. Allowed values for this property are: “NONE”, “EPOCH_TIME_MS”, “BYTES”, “COUNT”, “DURATION_MS”, “TRACE_STATUS”, “PERCENTAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- notes (str) – The value to assign to the notes property of this AttributeUpdateResponse.
- operation_type (str) – The value to assign to the operation_type property of this AttributeUpdateResponse. Allowed values for this property are: “UPDATE_ATTRIBUTE_PROPERTIES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- attribute_status (str) – The value to assign to the attribute_status property of this AttributeUpdateResponse. Allowed values for this property are: “ATTRIBUTE_UPDATED”, “DUPLICATE_ATTRIBUTE”, “INVALID_ATTRIBUTE”, “ATTRIBUTE_NOT_PROCESSED”, “ATTRIBUTE_DOES_NOT_EXIST”, “ATTRIBUTE_UPDATE_NOT_ALLOWED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- attribute_name_space (str) – The value to assign to the attribute_name_space property of this AttributeUpdateResponse. Allowed values for this property are: “TRACES”, “SYNTHETIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_updated (datetime) – The value to assign to the time_updated property of this AttributeUpdateResponse.
-
attribute_name
¶ [Required] Gets the attribute_name of this AttributeUpdateResponse. Attribute for which properties were updated in this bulk operation.
Returns: The attribute_name of this AttributeUpdateResponse. Return type: str
-
attribute_name_space
¶ [Required] Gets the attribute_name_space of this AttributeUpdateResponse. Namespace of the attribute whose properties were updated. The attributeNameSpace will default to TRACES if it is not passed in.
Allowed values for this property are: “TRACES”, “SYNTHETIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The attribute_name_space of this AttributeUpdateResponse. Return type: str
-
attribute_status
¶ Gets the attribute_status of this AttributeUpdateResponse. Status of the attribute after this operation. The attribute can have one of the following statuses after the update operation. The attribute can have either a success status or an error status. The status of the attribute must be correlated with the operation status property in the bulk operation metadata object. The bulk operation will be successful only when all attributes in the bulk request are processed successfully and they get a success status back. The following are successful status values of individual attribute items in a bulk update attribute operation. ATTRIBUTE_UPDATED - The attribute’s properites have been updated with the given properties. DUPLICATE_ATTRIBUTE - The attribute is a duplicate of an attribute that was present in this bulk request. Note that we deduplicate the attribute collection, process only unique attributes, and call out duplicates. A duplicate attribute in a bulk request will not prevent the processing of further attributes in the bulk operation. The following values are error statuses and the bulk processing is stopped when the first error is encountered. INVALID_ATTRIBUTE - The attribute is invalid. ATTRIBUTE_NOT_PROCESSED - The attribute was not processed, as there was another attribute in this bulk request collection that resulted in a processing error. ATTRIBUTE_DOES_NOT_EXIST - Attribute was neither active nor pinned inactive. ATTRIBUTE_UPDATE_NOT_ALLOWED - Attribute update is not allowed as it is an in-built system attribute.
Allowed values for this property are: “ATTRIBUTE_UPDATED”, “DUPLICATE_ATTRIBUTE”, “INVALID_ATTRIBUTE”, “ATTRIBUTE_NOT_PROCESSED”, “ATTRIBUTE_DOES_NOT_EXIST”, “ATTRIBUTE_UPDATE_NOT_ALLOWED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The attribute_status of this AttributeUpdateResponse. Return type: str
-
attribute_type
¶ Gets the attribute_type of this AttributeUpdateResponse. Type of the attribute.
Allowed values for this property are: “NUMERIC”, “STRING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The attribute_type of this AttributeUpdateResponse. Return type: str
-
notes
¶ Gets the notes of this AttributeUpdateResponse. Notes for the attribute.
Returns: The notes of this AttributeUpdateResponse. Return type: str
-
operation_type
¶ Gets the operation_type of this AttributeUpdateResponse. Type of operation - UPDATE_ATTRIBUTE_PROPERTIES.
Allowed values for this property are: “UPDATE_ATTRIBUTE_PROPERTIES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The operation_type of this AttributeUpdateResponse. Return type: str
-
time_updated
¶ [Required] Gets the time_updated of this AttributeUpdateResponse. Time when the attribute’s properties were updated.
Returns: The time_updated of this AttributeUpdateResponse. Return type: datetime
-
unit
¶ Gets the unit of this AttributeUpdateResponse. Unit updated for this attribute.
Allowed values for this property are: “NONE”, “EPOCH_TIME_MS”, “BYTES”, “COUNT”, “DURATION_MS”, “TRACE_STATUS”, “PERCENTAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The unit of this AttributeUpdateResponse. Return type: str
-