import * as pulumi from "@pulumi/pulumi"; /** * After you create an instance in the RabbitMQ console, plugins are disabled by default. You can manually enable or disable plugins for the instance. Enabling or disabling certain plugins will cause a rolling restart of the cluster. It is recommended to perform this operation outside of business hours. A rolling restart may result in the loss of non-persistent messages and temporary connection instability, such as connection drops. After a connection drop, whether the client automatically reconnects depends on its configuration * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const instancepluginDemo = new volcenginecc.rabbitmq.InstancePlugin("instancepluginDemo", { * instanceId: "rbtmq-db26b7****", * pluginName: "ccapi-test", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:rabbitmq/instancePlugin:InstancePlugin example "instance_id|plugin_name" * ``` */ export declare class InstancePlugin extends pulumi.CustomResource { /** * Get an existing InstancePlugin 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?: InstancePluginState, opts?: pulumi.CustomResourceOptions): InstancePlugin; /** * Returns true if the given object is an instance of InstancePlugin. 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 InstancePlugin; /** * Plugin description */ readonly description: pulumi.Output; /** * Notes for disabling this plugin */ readonly disablePrompt: pulumi.Output; /** * Notes for enabling this plugin */ readonly enablePrompt: pulumi.Output; /** * Whether the plugin is enabled. true: The plugin is enabled. false: The plugin is disabled */ readonly enabled: pulumi.Output; /** * Instance ID */ readonly instanceId: pulumi.Output; /** * Whether enabling or disabling the plugin will cause a RabbitMQ instance restart. true: The instance will restart. false: The instance will not restart */ readonly needRebootOnChange: pulumi.Output; /** * Plugin name */ readonly pluginName: pulumi.Output; /** * Plugin listening port */ readonly port: pulumi.Output; /** * Plugin version */ readonly version: pulumi.Output; /** * Create a InstancePlugin 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: InstancePluginArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering InstancePlugin resources. */ export interface InstancePluginState { /** * Plugin description */ description?: pulumi.Input; /** * Notes for disabling this plugin */ disablePrompt?: pulumi.Input; /** * Notes for enabling this plugin */ enablePrompt?: pulumi.Input; /** * Whether the plugin is enabled. true: The plugin is enabled. false: The plugin is disabled */ enabled?: pulumi.Input; /** * Instance ID */ instanceId?: pulumi.Input; /** * Whether enabling or disabling the plugin will cause a RabbitMQ instance restart. true: The instance will restart. false: The instance will not restart */ needRebootOnChange?: pulumi.Input; /** * Plugin name */ pluginName?: pulumi.Input; /** * Plugin listening port */ port?: pulumi.Input; /** * Plugin version */ version?: pulumi.Input; } /** * The set of arguments for constructing a InstancePlugin resource. */ export interface InstancePluginArgs { /** * Instance ID */ instanceId: pulumi.Input; /** * Plugin name */ pluginName?: pulumi.Input; }