import * as pulumi from "@pulumi/pulumi"; /** * Creates a DBaaS Logs Opensearch output index. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const index = new ovh.dbaas.LogsOutputOpenSearchIndex("index", { * serviceName: "....", * description: "my opensearch index", * suffix: "index", * }); * ``` * * ## Import * * A DBaaS Logs Opensearch output index can be imported using the `service_name` and `id`, separated by "/" E.g., * * bash * * ```sh * $ pulumi import ovh:Dbaas/logsOutputOpenSearchIndex:LogsOutputOpenSearchIndex index service_name/id * ``` */ export declare class LogsOutputOpenSearchIndex extends pulumi.CustomResource { /** * Get an existing LogsOutputOpenSearchIndex resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: LogsOutputOpenSearchIndexState, opts?: pulumi.CustomResourceOptions): LogsOutputOpenSearchIndex; /** * Returns true if the given object is an instance of LogsOutputOpenSearchIndex. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is LogsOutputOpenSearchIndex; /** * If set, notify when size is near 80, 90 or 100 % of its maximum capacity */ readonly alertNotifyEnabled: pulumi.Output; /** * Index creation */ readonly createdAt: pulumi.Output; /** * Current index size (in bytes) */ readonly currentSize: pulumi.Output; /** * Index description */ readonly description: pulumi.Output; /** * Index ID */ readonly indexId: pulumi.Output; /** * Indicates if you are allowed to edit entry */ readonly isEditable: pulumi.Output; /** * Maximum index size (in bytes) */ readonly maxSize: pulumi.Output; /** * Index name */ readonly name: pulumi.Output; /** * Number of shards */ readonly nbShard: pulumi.Output; /** * The service name */ readonly serviceName: pulumi.Output; /** * Index suffix */ readonly suffix: pulumi.Output; /** * Index last update */ readonly updatedAt: pulumi.Output; /** * Create a LogsOutputOpenSearchIndex resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: LogsOutputOpenSearchIndexArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LogsOutputOpenSearchIndex resources. */ export interface LogsOutputOpenSearchIndexState { /** * If set, notify when size is near 80, 90 or 100 % of its maximum capacity */ alertNotifyEnabled?: pulumi.Input; /** * Index creation */ createdAt?: pulumi.Input; /** * Current index size (in bytes) */ currentSize?: pulumi.Input; /** * Index description */ description?: pulumi.Input; /** * Index ID */ indexId?: pulumi.Input; /** * Indicates if you are allowed to edit entry */ isEditable?: pulumi.Input; /** * Maximum index size (in bytes) */ maxSize?: pulumi.Input; /** * Index name */ name?: pulumi.Input; /** * Number of shards */ nbShard?: pulumi.Input; /** * The service name */ serviceName?: pulumi.Input; /** * Index suffix */ suffix?: pulumi.Input; /** * Index last update */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a LogsOutputOpenSearchIndex resource. */ export interface LogsOutputOpenSearchIndexArgs { /** * Index description */ description: pulumi.Input; /** * Number of shards */ nbShard: pulumi.Input; /** * The service name */ serviceName: pulumi.Input; /** * Index suffix */ suffix: pulumi.Input; }