import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * The ``rabbitmq.Shovel`` resource creates and manages a dynamic shovel. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as rabbitmq from "@pulumi/rabbitmq"; * * const test = new rabbitmq.VHost("test", {name: "test"}); * const testExchange = new rabbitmq.Exchange("test", { * settings: { * type: "fanout", * durable: false, * autoDelete: true, * }, * name: "test_exchange", * vhost: test.name, * }); * const testQueue = new rabbitmq.Queue("test", { * settings: { * durable: false, * autoDelete: true, * }, * name: "test_queue", * vhost: test.name, * }); * const shovelTest = new rabbitmq.Shovel("shovelTest", { * info: { * sourceUri: "amqp:///test", * sourceExchange: testExchange.name, * sourceExchangeKey: "test", * destinationUri: "amqp:///test", * destinationQueue: testQueue.name, * }, * name: "shovelTest", * vhost: test.name, * }); * ``` * * ## Import * * Shovels can be imported using the `name` and `vhost` * E.g. * * ```sh * $ pulumi import rabbitmq:index/shovel:Shovel test shovelTest@test * ``` */ export declare class Shovel extends pulumi.CustomResource { /** * Get an existing Shovel 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?: ShovelState, opts?: pulumi.CustomResourceOptions): Shovel; /** * Returns true if the given object is an instance of Shovel. 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 Shovel; /** * The settings of the dynamic shovel. The structure is * described below. */ readonly info: pulumi.Output; /** * The shovel name. */ readonly name: pulumi.Output; /** * The vhost to create the resource in. */ readonly vhost: pulumi.Output; /** * Create a Shovel 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: ShovelArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Shovel resources. */ export interface ShovelState { /** * The settings of the dynamic shovel. The structure is * described below. */ info?: pulumi.Input; /** * The shovel name. */ name?: pulumi.Input; /** * The vhost to create the resource in. */ vhost?: pulumi.Input; } /** * The set of arguments for constructing a Shovel resource. */ export interface ShovelArgs { /** * The settings of the dynamic shovel. The structure is * described below. */ info: pulumi.Input; /** * The shovel name. */ name?: pulumi.Input; /** * The vhost to create the resource in. */ vhost: pulumi.Input; } //# sourceMappingURL=shovel.d.ts.map