UpdateProfileDetails¶
-
class
oci.optimizer.models.UpdateProfileDetails(**kwargs)¶ Bases:
objectDetails for updating a profile.
Methods
__init__(**kwargs)Initializes a new UpdateProfileDetails object with values from keyword arguments. Attributes
aggregation_interval_in_daysGets the aggregation_interval_in_days of this UpdateProfileDetails. defined_tagsGets the defined_tags of this UpdateProfileDetails. descriptionGets the description of this UpdateProfileDetails. freeform_tagsGets the freeform_tags of this UpdateProfileDetails. levels_configurationGets the levels_configuration of this UpdateProfileDetails. nameGets the name of this UpdateProfileDetails. system_tagsGets the system_tags of this UpdateProfileDetails. target_compartmentsGets the target_compartments of this UpdateProfileDetails. target_tagsGets the target_tags of this UpdateProfileDetails. -
__init__(**kwargs)¶ Initializes a new UpdateProfileDetails 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 UpdateProfileDetails.
- aggregation_interval_in_days (int) – The value to assign to the aggregation_interval_in_days property of this UpdateProfileDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateProfileDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateProfileDetails.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this UpdateProfileDetails.
- levels_configuration (oci.optimizer.models.LevelsConfiguration) – The value to assign to the levels_configuration property of this UpdateProfileDetails.
- target_compartments (oci.optimizer.models.TargetCompartments) – The value to assign to the target_compartments property of this UpdateProfileDetails.
- target_tags (oci.optimizer.models.TargetTags) – The value to assign to the target_tags property of this UpdateProfileDetails.
- name (str) – The value to assign to the name property of this UpdateProfileDetails.
-
aggregation_interval_in_days¶ Gets the aggregation_interval_in_days of this UpdateProfileDetails. The time period over which to collect data for the recommendations, measured in number of days.
Returns: The aggregation_interval_in_days of this UpdateProfileDetails. Return type: int
Gets the defined_tags of this UpdateProfileDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this UpdateProfileDetails. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this UpdateProfileDetails. Text describing the profile. Avoid entering confidential information.
Returns: The description of this UpdateProfileDetails. Return type: str
Gets the freeform_tags of this UpdateProfileDetails. Simple key-value pair applied without any predefined name, type, or namespace. For more information, see Resource Tags. Exists for cross-compatibility only.
Example: {“bar-key”: “value”}
Returns: The freeform_tags of this UpdateProfileDetails. Return type: dict(str, str)
-
levels_configuration¶ Gets the levels_configuration of this UpdateProfileDetails.
Returns: The levels_configuration of this UpdateProfileDetails. Return type: oci.optimizer.models.LevelsConfiguration
-
name¶ Gets the name of this UpdateProfileDetails. The name assigned to the profile. Avoid entering confidential information.
Returns: The name of this UpdateProfileDetails. Return type: str
Gets the system_tags of this UpdateProfileDetails. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }
Returns: The system_tags of this UpdateProfileDetails. Return type: dict(str, dict(str, object))
-
target_compartments¶ Gets the target_compartments of this UpdateProfileDetails.
Returns: The target_compartments of this UpdateProfileDetails. Return type: oci.optimizer.models.TargetCompartments
Gets the target_tags of this UpdateProfileDetails.
Returns: The target_tags of this UpdateProfileDetails. Return type: oci.optimizer.models.TargetTags
-