Show / Hide Table of Contents

Class CreateProfileDetails

Details for creating a profile.

Inheritance
object
CreateProfileDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OptimizerService.Models
Assembly: OCI.DotNetSDK.Optimizer.dll
Syntax
public class CreateProfileDetails

Properties

AggregationIntervalInDays

Declaration
[JsonProperty(PropertyName = "aggregationIntervalInDays")]
public int? AggregationIntervalInDays { get; set; }
Property Value
Type Description
int?

The time period over which to collect data for the recommendations, measured in number of days.

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the tenancy. The tenancy is the root compartment.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

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"}}

Description

Declaration
[Required(ErrorMessage = "Description is required.")]
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

Text describing the profile. Avoid entering confidential information.

Remarks

Required

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

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"}

LevelsConfiguration

Declaration
[Required(ErrorMessage = "LevelsConfiguration is required.")]
[JsonProperty(PropertyName = "levelsConfiguration")]
public LevelsConfiguration LevelsConfiguration { get; set; }
Property Value
Type Description
LevelsConfiguration
Remarks

Required

Name

Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

The name assigned to the profile. Avoid entering confidential information.

Remarks

Required

SystemTags

Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: { "orcl-cloud": { "free-tier-retained": "true" } }

TargetCompartments

Declaration
[JsonProperty(PropertyName = "targetCompartments")]
public TargetCompartments TargetCompartments { get; set; }
Property Value
Type Description
TargetCompartments

TargetTags

Declaration
[JsonProperty(PropertyName = "targetTags")]
public TargetTags TargetTags { get; set; }
Property Value
Type Description
TargetTags
In this article
Back to top