import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Notification Topics in Oracle Cloud Infrastructure Notifications service. * * Lists topics in the specified compartment. * * Transactions Per Minute (TPM) per-tenancy limit for this operation: 120. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNotificationTopics = oci.ons.getNotificationTopics({ * compartmentId: compartmentId, * id: notificationTopicId, * name: notificationTopicName, * state: notificationTopicState, * }); * ``` */ export declare function getNotificationTopics(args: GetNotificationTopicsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNotificationTopics. */ export interface GetNotificationTopicsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; filters?: inputs.Ons.GetNotificationTopicsFilter[]; /** * A filter to only return resources that match the given id exactly. */ id?: string; /** * A filter to only return resources that match the given name exactly. */ name?: string; /** * Filter returned list by specified lifecycle state. This parameter is case-insensitive. */ state?: string; } /** * A collection of values returned by getNotificationTopics. */ export interface GetNotificationTopicsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the topic. */ readonly compartmentId: string; readonly filters?: outputs.Ons.GetNotificationTopicsFilter[]; readonly id?: string; /** * The name of the topic. */ readonly name?: string; /** * The list of notification_topics. */ readonly notificationTopics: outputs.Ons.GetNotificationTopicsNotificationTopic[]; /** * The lifecycle state of the topic. */ readonly state?: string; } /** * This data source provides the list of Notification Topics in Oracle Cloud Infrastructure Notifications service. * * Lists topics in the specified compartment. * * Transactions Per Minute (TPM) per-tenancy limit for this operation: 120. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNotificationTopics = oci.ons.getNotificationTopics({ * compartmentId: compartmentId, * id: notificationTopicId, * name: notificationTopicName, * state: notificationTopicState, * }); * ``` */ export declare function getNotificationTopicsOutput(args: GetNotificationTopicsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNotificationTopics. */ export interface GetNotificationTopicsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to only return resources that match the given id exactly. */ id?: pulumi.Input; /** * A filter to only return resources that match the given name exactly. */ name?: pulumi.Input; /** * Filter returned list by specified lifecycle state. This parameter is case-insensitive. */ state?: pulumi.Input; } //# sourceMappingURL=getNotificationTopics.d.ts.map