import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Subscription resource in Oracle Cloud Infrastructure Notifications service. * * Gets the specified subscription's configuration information. * * Transactions Per Minute (TPM) per-tenancy limit for this operation: 60. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSubscription = oci.ons.getSubscription({ * subscriptionId: testSubscriptionOciOnsSubscription.id, * }); * ``` */ export declare function getSubscription(args: GetSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSubscription. */ export interface GetSubscriptionArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription to retrieve. */ subscriptionId: string; } /** * A collection of values returned by getSubscription. */ export interface GetSubscriptionResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the subscription. */ readonly compartmentId: string; /** * The time when this suscription was created. */ readonly createdTime: 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 delivery policy of the subscription. Stored as a JSON string. */ readonly deliveryPolicy: string; /** * A locator that corresponds to the subscription protocol. For example, an email address for a subscription that uses the `EMAIL` protocol, or a URL for a subscription that uses an HTTP-based protocol. */ readonly endpoint: 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; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription. */ readonly id: string; /** * The protocol used for the subscription. */ readonly protocol: string; /** * The lifecycle state of the subscription. The status of a new subscription is PENDING; when confirmed, the subscription status changes to ACTIVE. */ readonly state: string; readonly subscriptionId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated topic. */ readonly topicId: string; } /** * This data source provides details about a specific Subscription resource in Oracle Cloud Infrastructure Notifications service. * * Gets the specified subscription's configuration information. * * Transactions Per Minute (TPM) per-tenancy limit for this operation: 60. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSubscription = oci.ons.getSubscription({ * subscriptionId: testSubscriptionOciOnsSubscription.id, * }); * ``` */ export declare function getSubscriptionOutput(args: GetSubscriptionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSubscription. */ export interface GetSubscriptionOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription to retrieve. */ subscriptionId: pulumi.Input; } //# sourceMappingURL=getSubscription.d.ts.map