import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the list of log subscription for a cluster associated with a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const subscriptions = ovh.CloudProjectDatabase.getDatabaseLogSubscriptions({ * serviceName: "XXX", * engine: "YYY", * clusterId: "ZZZ", * }); * export const subscriptionIds = subscriptions.then(subscriptions => subscriptions.subscriptionIds); * ``` */ export declare function getDatabaseLogSubscriptions(args: GetDatabaseLogSubscriptionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDatabaseLogSubscriptions. */ export interface GetDatabaseLogSubscriptionsArgs { /** * Cluster ID. */ clusterId: string; /** * The database engine for which you want to retrieve a subscription. To get a full list of available engine visit. [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases). */ engine: string; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: string; } /** * A collection of values returned by getDatabaseLogSubscriptions. */ export interface GetDatabaseLogSubscriptionsResult { /** * See Argument Reference above. */ readonly clusterId: string; /** * See Argument Reference above. */ readonly engine: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * See Argument Reference above. */ readonly serviceName: string; /** * The list of log subscription ids of the cluster associated with the project. */ readonly subscriptionIds: string[]; } /** * Use this data source to get the list of log subscription for a cluster associated with a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const subscriptions = ovh.CloudProjectDatabase.getDatabaseLogSubscriptions({ * serviceName: "XXX", * engine: "YYY", * clusterId: "ZZZ", * }); * export const subscriptionIds = subscriptions.then(subscriptions => subscriptions.subscriptionIds); * ``` */ export declare function getDatabaseLogSubscriptionsOutput(args: GetDatabaseLogSubscriptionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDatabaseLogSubscriptions. */ export interface GetDatabaseLogSubscriptionsOutputArgs { /** * Cluster ID. */ clusterId: pulumi.Input; /** * The database engine for which you want to retrieve a subscription. To get a full list of available engine visit. [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases). */ engine: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: pulumi.Input; }