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 - aggregation_interval_in_days- Gets the aggregation_interval_in_days of this CreateProfileDetails. - 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. - system_tags- Gets the system_tags 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.
- aggregation_interval_in_days (int) – The value to assign to the aggregation_interval_in_days 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.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_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.
 
 - 
aggregation_interval_in_days¶
- Gets the aggregation_interval_in_days of this CreateProfileDetails. The time period over which to collect data for the recommendations, measured in number of days. - Returns: - The aggregation_interval_in_days of this CreateProfileDetails. - Return type: - int 
 - 
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 
 - 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 
 - 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 
 - Gets the system_tags of this CreateProfileDetails. 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 CreateProfileDetails. - Return type: - dict(str, dict(str, object)) 
 - 
target_compartments¶
- Gets the target_compartments of this CreateProfileDetails. - Returns: - The target_compartments of this CreateProfileDetails. - Return type: - oci.optimizer.models.TargetCompartments 
 - Gets the target_tags of this CreateProfileDetails. - Returns: - The target_tags of this CreateProfileDetails. - Return type: - oci.optimizer.models.TargetTags 
 
-