UpdateTagDetails¶
-
class
oci.identity.models.
UpdateTagDetails
(**kwargs)¶ Bases:
object
UpdateTagDetails model.
Methods
__init__
(**kwargs)Initializes a new UpdateTagDetails object with values from keyword arguments. Attributes
defined_tags
Gets the defined_tags of this UpdateTagDetails. description
Gets the description of this UpdateTagDetails. freeform_tags
Gets the freeform_tags of this UpdateTagDetails. is_cost_tracking
Gets the is_cost_tracking of this UpdateTagDetails. is_retired
Gets the is_retired of this UpdateTagDetails. validator
Gets the validator of this UpdateTagDetails. -
__init__
(**kwargs)¶ Initializes a new UpdateTagDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - description (str) – The value to assign to the description property of this UpdateTagDetails.
- is_retired (bool) – The value to assign to the is_retired property of this UpdateTagDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateTagDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateTagDetails.
- is_cost_tracking (bool) – The value to assign to the is_cost_tracking property of this UpdateTagDetails.
- validator (oci.identity.models.BaseTagDefinitionValidator) – The value to assign to the validator property of this UpdateTagDetails.
Gets the defined_tags of this UpdateTagDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this UpdateTagDetails. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this UpdateTagDetails. The description you assign to the tag during creation.
Returns: The description of this UpdateTagDetails. Return type: str
Gets the freeform_tags of this UpdateTagDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this UpdateTagDetails. Return type: dict(str, str)
-
is_cost_tracking
¶ Gets the is_cost_tracking of this UpdateTagDetails. Indicates whether the tag is enabled for cost tracking.
Returns: The is_cost_tracking of this UpdateTagDetails. Return type: bool
-
is_retired
¶ Gets the is_retired of this UpdateTagDetails. Whether the tag is retired. See Retiring Key Definitions and Namespace Definitions.
Returns: The is_retired of this UpdateTagDetails. Return type: bool
-
validator
¶ Gets the validator of this UpdateTagDetails.
Returns: The validator of this UpdateTagDetails. Return type: oci.identity.models.BaseTagDefinitionValidator
-