UpdateProfileDetails

class oci.optimizer.models.UpdateProfileDetails(**kwargs)

Bases: object

Details for updating a profile.

Methods

__init__(**kwargs) Initializes a new UpdateProfileDetails object with values from keyword arguments.

Attributes

defined_tags Gets the defined_tags of this UpdateProfileDetails.
description Gets the description of this UpdateProfileDetails.
freeform_tags Gets the freeform_tags of this UpdateProfileDetails.
levels_configuration Gets the levels_configuration of this UpdateProfileDetails.
name Gets the name of this UpdateProfileDetails.
target_compartments Gets the target_compartments of this UpdateProfileDetails.
target_tags Gets 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.
  • 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.
  • 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.
defined_tags

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
freeform_tags

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
target_compartments

Gets the target_compartments of this UpdateProfileDetails.

Returns:The target_compartments of this UpdateProfileDetails.
Return type:oci.optimizer.models.TargetCompartments
target_tags

Gets the target_tags of this UpdateProfileDetails.

Returns:The target_tags of this UpdateProfileDetails.
Return type:oci.optimizer.models.TargetTags