UpdateAndPropagateTagsDetails¶
-
class
oci.stack_monitoring.models.
UpdateAndPropagateTagsDetails
(**kwargs)¶ Bases:
object
The information about monitored resource tags. Request will fail if at least one of freeformTags or definedTags are not specified. Provided tags will be added or updated in the existing list of tags for the affected resources. Resources to be updated are identified based on association types specified. If association types are not specified, then tags will be updated only for the current resource.
Methods
__init__
(**kwargs)Initializes a new UpdateAndPropagateTagsDetails object with values from keyword arguments. Attributes
association_types
Gets the association_types of this UpdateAndPropagateTagsDetails. defined_tags
Gets the defined_tags of this UpdateAndPropagateTagsDetails. freeform_tags
Gets the freeform_tags of this UpdateAndPropagateTagsDetails. -
__init__
(**kwargs)¶ Initializes a new UpdateAndPropagateTagsDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateAndPropagateTagsDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateAndPropagateTagsDetails.
- association_types (list[str]) – The value to assign to the association_types property of this UpdateAndPropagateTagsDetails.
-
association_types
¶ Gets the association_types of this UpdateAndPropagateTagsDetails. Association types that will be traversed recursively starting from the current resource, to identify resources for which the tags will be updated. If no association type is specified, only current resource will be updated. Default is empty list, which means no related resources will be updated.
Returns: The association_types of this UpdateAndPropagateTagsDetails. Return type: list[str]
Gets the defined_tags of this UpdateAndPropagateTagsDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this UpdateAndPropagateTagsDetails. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this UpdateAndPropagateTagsDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this UpdateAndPropagateTagsDetails. Return type: dict(str, str)
-