CostAlertSubscriptionSummary¶
- class oci.budget.models.CostAlertSubscriptionSummary(**kwargs)¶
Bases:
objectA CostAlertSubscription.
Methods:
__init__(**kwargs)Initializes a new CostAlertSubscriptionSummary object with values from keyword arguments.
Attributes:
[Required] Gets the channel_types of this CostAlertSubscriptionSummary.
[Required] Gets the compartment_id of this CostAlertSubscriptionSummary.
Gets the defined_tags of this CostAlertSubscriptionSummary.
Gets the freeform_tags of this CostAlertSubscriptionSummary.
[Required] Gets the id of this CostAlertSubscriptionSummary.
[Required] Gets the lifecycle_state of this CostAlertSubscriptionSummary.
[Required] Gets the name of this CostAlertSubscriptionSummary.
Gets the system_tags of this CostAlertSubscriptionSummary.
[Required] Gets the time_created of this CostAlertSubscriptionSummary.
- __init__(**kwargs)¶
Initializes a new CostAlertSubscriptionSummary 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 CostAlertSubscriptionSummary.
compartment_id (str) – The value to assign to the compartment_id property of this CostAlertSubscriptionSummary.
name (str) – The value to assign to the name property of this CostAlertSubscriptionSummary.
channel_types (str) – The value to assign to the channel_types property of this CostAlertSubscriptionSummary.
time_created (datetime) – The value to assign to the time_created property of this CostAlertSubscriptionSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this CostAlertSubscriptionSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CostAlertSubscriptionSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CostAlertSubscriptionSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this CostAlertSubscriptionSummary.
- property channel_types¶
[Required] Gets the channel_types of this CostAlertSubscriptionSummary. The notification channels types string.
- Returns
The channel_types of this CostAlertSubscriptionSummary.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this CostAlertSubscriptionSummary. The OCID of the compartment which hold the cost alert subscription resource.
- Returns
The compartment_id of this CostAlertSubscriptionSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CostAlertSubscriptionSummary. 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 CostAlertSubscriptionSummary.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
Gets the freeform_tags of this CostAlertSubscriptionSummary. 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 CostAlertSubscriptionSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this CostAlertSubscriptionSummary. The OCID of the Cost Alert Subscription.
- Returns
The id of this CostAlertSubscriptionSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this CostAlertSubscriptionSummary. The current state of the cost alert subscription.
- Returns
The lifecycle_state of this CostAlertSubscriptionSummary.
- Return type
str
- property name¶
[Required] Gets the name of this CostAlertSubscriptionSummary. The name of the cost alert subscription. Avoid entering confidential information.
- Returns
The name of this CostAlertSubscriptionSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this CostAlertSubscriptionSummary. 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 CostAlertSubscriptionSummary.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this CostAlertSubscriptionSummary. The time that the cost alert subscription was created.
- Returns
The time_created of this CostAlertSubscriptionSummary.
- Return type
datetime