CreateCostAnomalyMonitorDetails

class oci.budget.models.CreateCostAnomalyMonitorDetails(**kwargs)

Bases: object

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.

Methods

__init__(**kwargs) Initializes a new CreateCostAnomalyMonitorDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this CreateCostAnomalyMonitorDetails.
cost_alert_subscription_map Gets the cost_alert_subscription_map of this CreateCostAnomalyMonitorDetails.
defined_tags Gets the defined_tags of this CreateCostAnomalyMonitorDetails.
description Gets the description of this CreateCostAnomalyMonitorDetails.
freeform_tags Gets the freeform_tags of this CreateCostAnomalyMonitorDetails.
name [Required] Gets the name of this CreateCostAnomalyMonitorDetails.
target_resource_filter [Required] Gets the target_resource_filter of this CreateCostAnomalyMonitorDetails.
__init__(**kwargs)

Initializes a new CreateCostAnomalyMonitorDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateCostAnomalyMonitorDetails.
  • name (str) – The value to assign to the name property of this CreateCostAnomalyMonitorDetails.
  • description (str) – The value to assign to the description property of this CreateCostAnomalyMonitorDetails.
  • target_resource_filter (oci.budget.models.TargetResourceFilter) – The value to assign to the target_resource_filter property of this CreateCostAnomalyMonitorDetails.
  • cost_alert_subscription_map (oci.budget.models.CostAlertSubscriptionMap) – The value to assign to the cost_alert_subscription_map property of this CreateCostAnomalyMonitorDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateCostAnomalyMonitorDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateCostAnomalyMonitorDetails.
compartment_id

[Required] Gets the compartment_id of this CreateCostAnomalyMonitorDetails. The OCID of the compartment.

Returns:The compartment_id of this CreateCostAnomalyMonitorDetails.
Return type:str
cost_alert_subscription_map

Gets the cost_alert_subscription_map of this CreateCostAnomalyMonitorDetails.

Returns:The cost_alert_subscription_map of this CreateCostAnomalyMonitorDetails.
Return type:oci.budget.models.CostAlertSubscriptionMap
defined_tags

Gets the defined_tags of this CreateCostAnomalyMonitorDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this CreateCostAnomalyMonitorDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateCostAnomalyMonitorDetails. The description of the cost anomaly monitor.

Returns:The description of this CreateCostAnomalyMonitorDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateCostAnomalyMonitorDetails. 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”}

Returns:The freeform_tags of this CreateCostAnomalyMonitorDetails.
Return type:dict(str, str)
name

[Required] Gets the name of this CreateCostAnomalyMonitorDetails. The name of the cost anomaly monitor. Avoid entering confidential information.

Returns:The name of this CreateCostAnomalyMonitorDetails.
Return type:str
target_resource_filter

[Required] Gets the target_resource_filter of this CreateCostAnomalyMonitorDetails.

Returns:The target_resource_filter of this CreateCostAnomalyMonitorDetails.
Return type:oci.budget.models.TargetResourceFilter