Getting a Subscription's Details

Get details for a subscription in Notifications.

  • These steps show how to get a subscription in the selected compartment. You can also list subscriptions in a topic.
    1. Open the navigation menu and click Developer Services. Under Application Integration, click Notifications.
    2. Click Subscriptions.
    3. On the Subscriptions page, select the compartment that contains the subscription that you want.
    4. In the Subscription OCID column, click the link for the subscription that you want.
  • Use the oci ons subscription get command and required parameters to get details for a subscription:

    oci ons subscription get --subscription-id <subscription_OCID>

    For a complete list of parameters and values for CLI commands, see the Command Line Reference for Notifications.

  • Run the GetSubscription operation to get details for a subscription.