Data Source: oci_ons_notification_topic
This data source provides details about a specific Notification Topic resource in Oracle Cloud Infrastructure Notifications service.
Gets the specified topic’s configuration information.
Example Usage
data "oci_ons_notification_topic" "test_notification_topic" {
#Required
topic_id = oci_ons_notification_topic.test_notification_topic.id
}
Argument Reference
The following arguments are supported:
topic_id
- (Required) The OCID of the topic to retrieve.Transactions Per Minute (TPM) per-tenancy limit for this operation: 120.
Attributes Reference
The following attributes are exported:
api_endpoint
- The endpoint for managing subscriptions or publishing messages to the topic.compartment_id
- The OCID of the compartment for the topic.defined_tags
- 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
- The description of the topic.etag
- For optimistic concurrency control. Seeif-match
.freeform_tags
- 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
- The name of the topic.short_topic_id
- A unique short topic Id. This is used only for SMS subscriptions.state
- The lifecycle state of the topic.time_created
- The time the topic was created.topic_id
- The OCID of the topic.