Show / Hide Table of Contents

Class CostAnomalyEventSummary

A CostAnomalyEvent.

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

Properties

CompartmentId

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

The OCID of the compartment.

Remarks

Required

CostAnomalyName

Declaration
[JsonProperty(PropertyName = "costAnomalyName")]
public string CostAnomalyName { get; set; }
Property Value
Type Description
string

The name of the associated cost Anomaly.

CostImpact

Declaration
[JsonProperty(PropertyName = "costImpact")]
public double CostImpact { get; set; }
Property Value
Type Description
double

The cost impact of the detected anomaly.

CostMonitorId

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

The OCID of the associated cost monitor.

Remarks

Required

CostMonitorName

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

The name of the associated cost monitor.

Remarks

Required

CostMonitorType

Declaration
[JsonProperty(PropertyName = "costMonitorType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MonitorType? CostMonitorType { get; set; }
Property Value
Type Description
MonitorType?

Type of cost monitor

CostVariancePercentage

Declaration
[JsonProperty(PropertyName = "costVariancePercentage")]
public double CostVariancePercentage { get; set; }
Property Value
Type Description
double

The cost variance percentage of the detected anomaly.

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: {"Operations": {"CostCenter": "42"}}

FreeformTags

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

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}

Id

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

The OCID of the Cost Anomaly Event.

Remarks

Required

LifecycleState

Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CostAnomalyEvent.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
CostAnomalyEvent.LifecycleStateEnum?

The current state of the cost anomaly event.

RootCauseDetail

Declaration
[Required(ErrorMessage = "RootCauseDetail is required.")]
[JsonProperty(PropertyName = "rootCauseDetail")]
public RootCauseDetail RootCauseDetail { get; set; }
Property Value
Type Description
RootCauseDetail
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>>

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}

TargetResourceFilter

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

Required

TimeAnomalyEventDate

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

The event date of the anomaly event.

Remarks

Required

In this article
Back to top