UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

138 lines (137 loc) 3.87 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to manage waf system bot * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@volcengine/pulumi"; * * const foo = new volcengine.waf.SystemBot("foo", { * action: "observe", * botType: "feed_fetcher", * enable: 0, * host: "www.tf-test.com", * projectName: "default", * }); * ``` * * ## Import * * WafSystemBot can be imported using the id, e.g. * * ```sh * $ pulumi import volcengine:waf/systemBot:SystemBot default BotType:Host * ``` */ export declare class SystemBot extends pulumi.CustomResource { /** * Get an existing SystemBot 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<pulumi.ID>, state?: SystemBotState, opts?: pulumi.CustomResourceOptions): SystemBot; /** * Returns true if the given object is an instance of SystemBot. 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 SystemBot; /** * The execution action of the Bot. */ readonly action: pulumi.Output<string>; /** * The name of bot. */ readonly botType: pulumi.Output<string>; /** * The description of the Bot. */ readonly description: pulumi.Output<string>; /** * Whether to enable bot. */ readonly enable: pulumi.Output<number>; /** * Domain name information. */ readonly host: pulumi.Output<string>; /** * The Name of the affiliated project resource. */ readonly projectName: pulumi.Output<string | undefined>; /** * The ID of the Bot rule. */ readonly ruleTag: pulumi.Output<string>; /** * Create a SystemBot 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: SystemBotArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SystemBot resources. */ export interface SystemBotState { /** * The execution action of the Bot. */ action?: pulumi.Input<string>; /** * The name of bot. */ botType?: pulumi.Input<string>; /** * The description of the Bot. */ description?: pulumi.Input<string>; /** * Whether to enable bot. */ enable?: pulumi.Input<number>; /** * Domain name information. */ host?: pulumi.Input<string>; /** * The Name of the affiliated project resource. */ projectName?: pulumi.Input<string>; /** * The ID of the Bot rule. */ ruleTag?: pulumi.Input<string>; } /** * The set of arguments for constructing a SystemBot resource. */ export interface SystemBotArgs { /** * The execution action of the Bot. */ action?: pulumi.Input<string>; /** * The name of bot. */ botType: pulumi.Input<string>; /** * Whether to enable bot. */ enable?: pulumi.Input<number>; /** * Domain name information. */ host: pulumi.Input<string>; /** * The Name of the affiliated project resource. */ projectName?: pulumi.Input<string>; }