import * as pulumi from "@pulumi/pulumi"; /** * Reference a DBaaS logs role stream permission. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const permission = new ovh.dbaas.LogsRolePermissionStream("permission", { * serviceName: "ldp-xx-xxxxx", * roleId: ro.id, * streamId: mystream.streamId, * }); * ``` * * ## Import * * DBaaS logs role stream permission can be imported using the `service_name`, `role_id` and `id` of the permission, separated by "/" E.g., * * bash * * ```sh * $ pulumi import ovh:Dbaas/logsRolePermissionStream:LogsRolePermissionStream ovh_dbaas_logs_role_permission_stream.perm ldp-ra-XX/dc145bc2-eb01-4efe-a802-XXXXXX/e4818fa8-f426-11ef-a1f6-XXXXXXX * ``` */ export declare class LogsRolePermissionStream extends pulumi.CustomResource { /** * Get an existing LogsRolePermissionStream 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?: LogsRolePermissionStreamState, opts?: pulumi.CustomResourceOptions): LogsRolePermissionStream; /** * Returns true if the given object is an instance of LogsRolePermissionStream. 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 LogsRolePermissionStream; /** * Permission ID */ readonly permissionId: pulumi.Output; /** * Permission type (e.g., READ_ONLY) */ readonly permissionType: pulumi.Output; /** * The DBaaS Logs role id */ readonly roleId: pulumi.Output; /** * The service name */ readonly serviceName: pulumi.Output; /** * The DBaaS Logs Graylog output stream id */ readonly streamId: pulumi.Output; /** * Create a LogsRolePermissionStream 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: LogsRolePermissionStreamArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LogsRolePermissionStream resources. */ export interface LogsRolePermissionStreamState { /** * Permission ID */ permissionId?: pulumi.Input; /** * Permission type (e.g., READ_ONLY) */ permissionType?: pulumi.Input; /** * The DBaaS Logs role id */ roleId?: pulumi.Input; /** * The service name */ serviceName?: pulumi.Input; /** * The DBaaS Logs Graylog output stream id */ streamId?: pulumi.Input; } /** * The set of arguments for constructing a LogsRolePermissionStream resource. */ export interface LogsRolePermissionStreamArgs { /** * The DBaaS Logs role id */ roleId: pulumi.Input; /** * The service name */ serviceName: pulumi.Input; /** * The DBaaS Logs Graylog output stream id */ streamId: pulumi.Input; }