import * as pulumi from "@pulumi/pulumi"; /** * Creates a DBaaS Logs Opensearch output alias. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const alias = new ovh.dbaas.LogsOutputOpenSearchAlias("alias", { * serviceName: "....", * description: "my opensearch alias", * suffix: "alias", * }); * ``` * * ## Import * * DBaaS logs Opensearch output alias can be imported using the `service_name` and `alias_id`, separated by "/" E.g., * * bash * * ```sh * $ pulumi import ovh:Dbaas/logsOutputOpenSearchAlias:LogsOutputOpenSearchAlias this ldp-XX-NNNNN/7e2301b6-c0fe-41d9-bc58-44fd844f1e3e * ``` */ export declare class LogsOutputOpenSearchAlias extends pulumi.CustomResource { /** * Get an existing LogsOutputOpenSearchAlias 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?: LogsOutputOpenSearchAliasState, opts?: pulumi.CustomResourceOptions): LogsOutputOpenSearchAlias; /** * Returns true if the given object is an instance of LogsOutputOpenSearchAlias. 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 LogsOutputOpenSearchAlias; /** * Alias Id */ readonly aliasId: pulumi.Output; /** * Alias creation */ readonly createdAt: pulumi.Output; /** * Current alias size (in bytes) */ readonly currentSize: pulumi.Output; /** * Index description */ readonly description: pulumi.Output; /** * List of attached indexes id */ readonly indexes: pulumi.Output; /** * Indicates if you are allowed to edit entry */ readonly isEditable: pulumi.Output; /** * Alias name */ readonly name: pulumi.Output; /** * Number of indices linked */ readonly nbIndex: pulumi.Output; /** * Number of streams linked */ readonly nbStream: pulumi.Output; /** * The service name */ readonly serviceName: pulumi.Output; /** * List of attached streams id */ readonly streams: pulumi.Output; /** * Index suffix */ readonly suffix: pulumi.Output; /** * Input last update */ readonly updatedAt: pulumi.Output; /** * Create a LogsOutputOpenSearchAlias 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: LogsOutputOpenSearchAliasArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LogsOutputOpenSearchAlias resources. */ export interface LogsOutputOpenSearchAliasState { /** * Alias Id */ aliasId?: pulumi.Input; /** * Alias creation */ createdAt?: pulumi.Input; /** * Current alias size (in bytes) */ currentSize?: pulumi.Input; /** * Index description */ description?: pulumi.Input; /** * List of attached indexes id */ indexes?: pulumi.Input[]>; /** * Indicates if you are allowed to edit entry */ isEditable?: pulumi.Input; /** * Alias name */ name?: pulumi.Input; /** * Number of indices linked */ nbIndex?: pulumi.Input; /** * Number of streams linked */ nbStream?: pulumi.Input; /** * The service name */ serviceName?: pulumi.Input; /** * List of attached streams id */ streams?: pulumi.Input[]>; /** * Index suffix */ suffix?: pulumi.Input; /** * Input last update */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a LogsOutputOpenSearchAlias resource. */ export interface LogsOutputOpenSearchAliasArgs { /** * Index description */ description: pulumi.Input; /** * List of attached indexes id */ indexes?: pulumi.Input[]>; /** * Number of indices linked */ nbIndex?: pulumi.Input; /** * Number of streams linked */ nbStream?: pulumi.Input; /** * The service name */ serviceName: pulumi.Input; /** * List of attached streams id */ streams?: pulumi.Input[]>; /** * Index suffix */ suffix: pulumi.Input; }