import * as pulumi from "@pulumi/pulumi"; /** * Creates and manages ClickHouse roles. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const exampleRole = new aiven.ClickhouseRole("example_role", { * serviceName: exampleClickhouse.serviceName, * project: exampleProject.project, * role: "writer", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/clickhouseRole:ClickhouseRole example_role PROJECT/SERVICE_NAME/ROLE * ``` */ export declare class ClickhouseRole extends pulumi.CustomResource { /** * Get an existing ClickhouseRole 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?: ClickhouseRoleState, opts?: pulumi.CustomResourceOptions): ClickhouseRole; /** * Returns true if the given object is an instance of ClickhouseRole. 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 ClickhouseRole; /** * The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ readonly project: pulumi.Output; /** * The name of role. Changing this property forces recreation of the resource. */ readonly role: pulumi.Output; /** * The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ readonly serviceName: pulumi.Output; /** * Create a ClickhouseRole 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: ClickhouseRoleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ClickhouseRole resources. */ export interface ClickhouseRoleState { /** * The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ project?: pulumi.Input; /** * The name of role. Changing this property forces recreation of the resource. */ role?: pulumi.Input; /** * The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ serviceName?: pulumi.Input; } /** * The set of arguments for constructing a ClickhouseRole resource. */ export interface ClickhouseRoleArgs { /** * The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ project: pulumi.Input; /** * The name of role. Changing this property forces recreation of the resource. */ role: pulumi.Input; /** * The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ serviceName: pulumi.Input; } //# sourceMappingURL=clickhouseRole.d.ts.map