This topic describes how to publish An alert published to all subscriptions in the specified topic. Each message is delivered at least once per subscription. (Notifications and Monitoring services.) using the Notifications service.
Each message is broadcast to all An endpoint for a topic. Published messages are sent to each subscription for a topic. Supported subscription protocols include Email and HTTPS (PagerDuty). (Notifications service.) in the specified A communication channel for sending messages to the subscriptions in the topic. (Notifications service.). Every message sent out as email contains a link to unsubscribe from the related topic.
Message delivery rate limits per endpoint: 60 messages per minute for HTTPS (PagerDuty) protocol, 10 messages per minute for Email protocol.
Avoid entering confidential information when assigning descriptions, tags, or friendly names to your cloud resources through the Oracle Cloud Infrastructure Console, API, or CLI.
- IAM policies: To use Notifications, you must be given the required type of access in a An IAM document that specifies who has what type of access to your resources. It is used in different ways: to mean an individual statement written in the policy language; to mean a collection of statements in a single, named "policy" document (which has an Oracle Cloud ID (OCID) assigned to it); and to mean the overall body of policies your organization uses to control access to resources. written by an administrator, whether you're using the Console or the REST API with an SDK, CLI, or other tool. If you try to perform an action and get a response that you don’t have permission or are unauthorized, confirm with your administrator the type of access you've been granted and which A collection of related resources that can be accessed only by certain groups that have been given permission by an administrator in your organization. you should work in. For more information on user authorizations, see Notifications Overview.
- Before you can publish a message, you need a topic with at least one subscription. See Managing Topics and Subscriptions.
Using the Console
- Open the navigation menu. Under Solutions, Platform and Edge, go to Application Integration and click Notifications.
- On the Topics page, for the topic you want, click the Actions icon (three dots), and then click Publish Message.
In the Publish Message dialog box, fill in the fields:
Title: Enter the title you want to send.
For the Email protocol, the title renders as the subject line of the email message. For the HTTPS (PagerDuty) protocol, the title renders as the title line of the message body within the PagerDuty notification.
Message: Enter the content you want to send.
Message size limit per request: 64KB.
- Click Publish.
Using the API
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.
Use these API operations to publish messages: