Class RecommendationSummary
The metadata associated with the recommendation summary.
Inherited Members
Namespace: Oci.OptimizerService.Models
Assembly: OCI.DotNetSDK.Optimizer.dll
Syntax
public class RecommendationSummary
Properties
CategoryId
Declaration
[Required(ErrorMessage = "CategoryId is required.")]
[JsonProperty(PropertyName = "categoryId")]
public string CategoryId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique OCID associated with the category. |
Remarks
Required
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
Description
Declaration
[Required(ErrorMessage = "Description is required.")]
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Text describing the recommendation. |
Remarks
Required
EstimatedCostSaving
Declaration
[Required(ErrorMessage = "EstimatedCostSaving is required.")]
[JsonProperty(PropertyName = "estimatedCostSaving")]
public double EstimatedCostSaving { get; set; }
Property Value
Type | Description |
---|---|
double | The estimated cost savings, in dollars, for the recommendation. |
Remarks
Required
ExtendedMetadata
Declaration
[JsonProperty(PropertyName = "extendedMetadata")]
public Dictionary<string, string> ExtendedMetadata { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Additional metadata key/value pairs for the recommendation summary.
|
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The unique OCID associated with the recommendation. |
Remarks
Required
Importance
Declaration
[Required(ErrorMessage = "Importance is required.")]
[JsonProperty(PropertyName = "importance")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Importance? Importance { get; set; }
Property Value
Type | Description |
---|---|
Importance? | The level of importance assigned to the recommendation. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
LifecycleState? | The recommendation'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 recommendation. |
Remarks
Required
ResourceCounts
Declaration
[Required(ErrorMessage = "ResourceCounts is required.")]
[JsonProperty(PropertyName = "resourceCounts")]
public List<ResourceCount> ResourceCounts { get; set; }
Property Value
Type | Description |
---|---|
List<ResourceCount> | An array of |
Remarks
Required
Status
Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Status? Status { get; set; }
Property Value
Type | Description |
---|---|
Status? | The current status of the recommendation. |
Remarks
Required
SupportedLevels
Declaration
[JsonProperty(PropertyName = "supportedLevels")]
public SupportedLevels SupportedLevels { get; set; }
Property Value
Type | Description |
---|---|
SupportedLevels |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the recommendation details were created, in the format defined by RFC3339. |
TimeStatusBegin
Declaration
[Required(ErrorMessage = "TimeStatusBegin is required.")]
[JsonProperty(PropertyName = "timeStatusBegin")]
public DateTime? TimeStatusBegin { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time that the recommendation entered its current status. The format is defined by RFC3339.
|
Remarks
Required
TimeStatusEnd
Declaration
[JsonProperty(PropertyName = "timeStatusEnd")]
public DateTime? TimeStatusEnd { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the current status will change. The format is defined by RFC3339.
|
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the recommendation details were last updated, in the format defined by RFC3339. |