CostAnomalyMonitorSummary

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

Bases: object

A CostAnomalyMonitor.

Attributes:

TYPE_CUSTOM

A constant which can be used with the type property of a CostAnomalyMonitorSummary.

TYPE_DEFAULT

A constant which can be used with the type property of a CostAnomalyMonitorSummary.

compartment_id

[Required] Gets the compartment_id of this CostAnomalyMonitorSummary.

defined_tags

Gets the defined_tags of this CostAnomalyMonitorSummary.

description

Gets the description of this CostAnomalyMonitorSummary.

freeform_tags

Gets the freeform_tags of this CostAnomalyMonitorSummary.

id

[Required] Gets the id of this CostAnomalyMonitorSummary.

lifecycle_state

[Required] Gets the lifecycle_state of this CostAnomalyMonitorSummary.

name

[Required] Gets the name of this CostAnomalyMonitorSummary.

system_tags

Gets the system_tags of this CostAnomalyMonitorSummary.

target_resource_filter

[Required] Gets the target_resource_filter of this CostAnomalyMonitorSummary.

time_created

[Required] Gets the time_created of this CostAnomalyMonitorSummary.

time_updated

[Required] Gets the time_updated of this CostAnomalyMonitorSummary.

type

Gets the type of this CostAnomalyMonitorSummary.

Methods:

__init__(**kwargs)

Initializes a new CostAnomalyMonitorSummary object with values from keyword arguments.

TYPE_CUSTOM = 'CUSTOM'

A constant which can be used with the type property of a CostAnomalyMonitorSummary. This constant has a value of “CUSTOM”

TYPE_DEFAULT = 'DEFAULT'

A constant which can be used with the type property of a CostAnomalyMonitorSummary. This constant has a value of “DEFAULT”

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this CostAnomalyMonitorSummary.

  • compartment_id (str) – The value to assign to the compartment_id property of this CostAnomalyMonitorSummary.

  • name (str) – The value to assign to the name property of this CostAnomalyMonitorSummary.

  • type (str) – The value to assign to the type property of this CostAnomalyMonitorSummary. Allowed values for this property are: “DEFAULT”, “CUSTOM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • description (str) – The value to assign to the description property of this CostAnomalyMonitorSummary.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this CostAnomalyMonitorSummary.

  • target_resource_filter (oci.budget.models.TargetResourceFilter) – The value to assign to the target_resource_filter property of this CostAnomalyMonitorSummary.

  • time_created (datetime) – The value to assign to the time_created property of this CostAnomalyMonitorSummary.

  • time_updated (datetime) – The value to assign to the time_updated property of this CostAnomalyMonitorSummary.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CostAnomalyMonitorSummary.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CostAnomalyMonitorSummary.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this CostAnomalyMonitorSummary.

property compartment_id

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

Returns

The compartment_id of this CostAnomalyMonitorSummary.

Return type

str

property defined_tags

Gets the defined_tags of this CostAnomalyMonitorSummary. 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 CostAnomalyMonitorSummary.

Return type

dict(str, dict(str, object))

property description

Gets the description of this CostAnomalyMonitorSummary. The description of the budget.

Returns

The description of this CostAnomalyMonitorSummary.

Return type

str

property freeform_tags

Gets the freeform_tags of this CostAnomalyMonitorSummary. 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 CostAnomalyMonitorSummary.

Return type

dict(str, str)

property id

[Required] Gets the id of this CostAnomalyMonitorSummary. The OCID of the Cost Anomaly Monitor.

Returns

The id of this CostAnomalyMonitorSummary.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this CostAnomalyMonitorSummary. The current state of the cost monitor.

Returns

The lifecycle_state of this CostAnomalyMonitorSummary.

Return type

str

property name

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

Returns

The name of this CostAnomalyMonitorSummary.

Return type

str

property system_tags

Gets the system_tags of this CostAnomalyMonitorSummary. 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”}}

Returns

The system_tags of this CostAnomalyMonitorSummary.

Return type

dict(str, dict(str, object))

property target_resource_filter

[Required] Gets the target_resource_filter of this CostAnomalyMonitorSummary.

Returns

The target_resource_filter of this CostAnomalyMonitorSummary.

Return type

oci.budget.models.TargetResourceFilter

property time_created

[Required] Gets the time_created of this CostAnomalyMonitorSummary. The time that the cost monitor was created.

Returns

The time_created of this CostAnomalyMonitorSummary.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this CostAnomalyMonitorSummary. The time that the cost monitor was last updated.

Returns

The time_updated of this CostAnomalyMonitorSummary.

Return type

datetime

property type

Gets the type of this CostAnomalyMonitorSummary. Type of cost monitor

Allowed values for this property are: “DEFAULT”, “CUSTOM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The type of this CostAnomalyMonitorSummary.

Return type

str