import * as pulumi from "@pulumi/pulumi"; /** * 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 * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNotificationTopic = oci.ons.getNotificationTopic({ * topicId: testNotificationTopicOciOnsNotificationTopic.id, * }); * ``` */ export declare function getNotificationTopic(args: GetNotificationTopicArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNotificationTopic. */ export interface GetNotificationTopicArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to retrieve. * * Transactions Per Minute (TPM) per-tenancy limit for this operation: 120. */ topicId: string; } /** * A collection of values returned by getNotificationTopic. */ export interface GetNotificationTopicResult { /** * The endpoint for managing subscriptions or publishing messages to the topic. */ readonly apiEndpoint: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the topic. */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * The description of the topic. */ readonly description: string; /** * For optimistic concurrency control. See `if-match`. */ readonly etag: string; /** * 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; readonly id: string; /** * The name of the topic. */ readonly name: string; /** * A unique short topic Id. This is used only for SMS subscriptions. */ readonly shortTopicId: string; /** * The lifecycle state of the topic. */ readonly state: string; /** * The time the topic was created. */ readonly timeCreated: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic. */ readonly topicId: string; } /** * 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 * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNotificationTopic = oci.ons.getNotificationTopic({ * topicId: testNotificationTopicOciOnsNotificationTopic.id, * }); * ``` */ export declare function getNotificationTopicOutput(args: GetNotificationTopicOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNotificationTopic. */ export interface GetNotificationTopicOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to retrieve. * * Transactions Per Minute (TPM) per-tenancy limit for this operation: 120. */ topicId: pulumi.Input; } //# sourceMappingURL=getNotificationTopic.d.ts.map