Show / Hide Table of Contents

Class CreateCostAnomalyMonitorDetails

The create CostAnomalyMonitor details. The clients should pass ocid of the compartmentId for the monitor resource to be created. tenantIdFilter and resourceFilter targets resources to monitor in a given tenancy.

Inheritance
object
CreateCostAnomalyMonitorDetails
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 CreateCostAnomalyMonitorDetails

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

CostAlertSubscriptionMap

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

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

Description

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

The description of the cost anomaly monitor.

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

Name

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

The name of the cost anomaly monitor. Avoid entering confidential information.

Remarks

Required

TargetResourceFilter

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

Required

In this article
Back to top