CreateProfileDetails

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

Bases: object

Details for creating a profile.

Methods

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

Attributes

compartment_id [Required] Gets the compartment_id of this CreateProfileDetails.
defined_tags Gets the defined_tags of this CreateProfileDetails.
description [Required] Gets the description of this CreateProfileDetails.
freeform_tags Gets the freeform_tags of this CreateProfileDetails.
levels_configuration [Required] Gets the levels_configuration of this CreateProfileDetails.
name [Required] Gets the name of this CreateProfileDetails.
target_compartments Gets the target_compartments of this CreateProfileDetails.
target_tags Gets the target_tags of this CreateProfileDetails.
__init__(**kwargs)

Initializes a new CreateProfileDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateProfileDetails.
  • name (str) – The value to assign to the name property of this CreateProfileDetails.
  • description (str) – The value to assign to the description property of this CreateProfileDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateProfileDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateProfileDetails.
  • levels_configuration (oci.optimizer.models.LevelsConfiguration) – The value to assign to the levels_configuration property of this CreateProfileDetails.
  • target_compartments (oci.optimizer.models.TargetCompartments) – The value to assign to the target_compartments property of this CreateProfileDetails.
  • target_tags (oci.optimizer.models.TargetTags) – The value to assign to the target_tags property of this CreateProfileDetails.
compartment_id

[Required] Gets the compartment_id of this CreateProfileDetails. The OCID of the tenancy. The tenancy is the root compartment.

Returns:The compartment_id of this CreateProfileDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateProfileDetails. 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 CreateProfileDetails.
Return type:dict(str, dict(str, object))
description

[Required] Gets the description of this CreateProfileDetails. Text describing the profile. Avoid entering confidential information.

Returns:The description of this CreateProfileDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateProfileDetails. 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 CreateProfileDetails.
Return type:dict(str, str)
levels_configuration

[Required] Gets the levels_configuration of this CreateProfileDetails.

Returns:The levels_configuration of this CreateProfileDetails.
Return type:oci.optimizer.models.LevelsConfiguration
name

[Required] Gets the name of this CreateProfileDetails. The name assigned to the profile. Avoid entering confidential information.

Returns:The name of this CreateProfileDetails.
Return type:str
target_compartments

Gets the target_compartments of this CreateProfileDetails.

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

Gets the target_tags of this CreateProfileDetails.

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