AnnouncementSubscriptionSummary¶
- class oci.announcements_service.models.AnnouncementSubscriptionSummary(**kwargs)¶
Bases:
objectA summary representation of an announcement subscription.
Methods:
__init__(**kwargs)Initializes a new AnnouncementSubscriptionSummary object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this AnnouncementSubscriptionSummary.
[Required] Gets the defined_tags of this AnnouncementSubscriptionSummary.
[Required] Gets the display_name of this AnnouncementSubscriptionSummary.
[Required] Gets the freeform_tags of this AnnouncementSubscriptionSummary.
[Required] Gets the id of this AnnouncementSubscriptionSummary.
Gets the lifecycle_details of this AnnouncementSubscriptionSummary.
[Required] Gets the lifecycle_state of this AnnouncementSubscriptionSummary.
[Required] Gets the ons_topic_id of this AnnouncementSubscriptionSummary.
Gets the system_tags of this AnnouncementSubscriptionSummary.
[Required] Gets the time_created of this AnnouncementSubscriptionSummary.
Gets the time_updated of this AnnouncementSubscriptionSummary.
- __init__(**kwargs)¶
Initializes a new AnnouncementSubscriptionSummary 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 AnnouncementSubscriptionSummary.
display_name (str) – The value to assign to the display_name property of this AnnouncementSubscriptionSummary.
compartment_id (str) – The value to assign to the compartment_id property of this AnnouncementSubscriptionSummary.
time_created (datetime) – The value to assign to the time_created property of this AnnouncementSubscriptionSummary.
time_updated (datetime) – The value to assign to the time_updated property of this AnnouncementSubscriptionSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this AnnouncementSubscriptionSummary.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this AnnouncementSubscriptionSummary.
ons_topic_id (str) – The value to assign to the ons_topic_id property of this AnnouncementSubscriptionSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AnnouncementSubscriptionSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AnnouncementSubscriptionSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AnnouncementSubscriptionSummary.
- property compartment_id¶
[Required] Gets the compartment_id of this AnnouncementSubscriptionSummary. The OCID of the compartment that contains the announcement subscription.
- Returns
The compartment_id of this AnnouncementSubscriptionSummary.
- Return type
str
- property defined_tags¶
[Required] Gets the defined_tags of this AnnouncementSubscriptionSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this AnnouncementSubscriptionSummary.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this AnnouncementSubscriptionSummary. A user-friendly name for the announcement subscription. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this AnnouncementSubscriptionSummary.
- Return type
str
- property freeform_tags¶
[Required] Gets the freeform_tags of this AnnouncementSubscriptionSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this AnnouncementSubscriptionSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this AnnouncementSubscriptionSummary. The OCID of the announcement subscription.
- Returns
The id of this AnnouncementSubscriptionSummary.
- Return type
str
- property lifecycle_details¶
Gets the lifecycle_details of this AnnouncementSubscriptionSummary. A message describing the current lifecycle state in more detail. For example, details might provide required or recommended actions for a resource in a Failed state.
- Returns
The lifecycle_details of this AnnouncementSubscriptionSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this AnnouncementSubscriptionSummary. The current lifecycle state of the announcement subscription.
- Returns
The lifecycle_state of this AnnouncementSubscriptionSummary.
- Return type
str
- property ons_topic_id¶
[Required] Gets the ons_topic_id of this AnnouncementSubscriptionSummary. The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription.
- Returns
The ons_topic_id of this AnnouncementSubscriptionSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this AnnouncementSubscriptionSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns
The system_tags of this AnnouncementSubscriptionSummary.
- Return type
dict(str, dict(str, object))