Class ProfileSummary
The metadata associated with the profile summary.
Inherited Members
Namespace: Oci.OptimizerService.Models
Assembly: OCI.DotNetSDK.Optimizer.dll
Syntax
public class ProfileSummaryProperties
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.
 | 
Description
Declaration
[Required(ErrorMessage = "Description is required.")]
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Text describing the profile. | 
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.
 | 
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The unique OCID of the profile. | 
Remarks
Required
LevelsConfiguration
Declaration
[JsonProperty(PropertyName = "levelsConfiguration")]
public LevelsConfiguration LevelsConfiguration { get; set; }Property Value
| Type | Description | 
|---|---|
| LevelsConfiguration | 
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleState? LifecycleState { get; set; }Property Value
| Type | Description | 
|---|---|
| LifecycleState? | The profile's current state. | 
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. | 
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 | 
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | The date and time the profile was created, in the format defined by RFC3339. | 
Remarks
Required
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }Property Value
| Type | Description | 
|---|---|
| DateTime? | The date and time the profile was last updated, in the format defined by RFC3339. | 
Remarks
Required