UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

87 lines (86 loc) 2.37 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of waf system bots * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.waf.getSystemBots({ * host: "www.tf-test.com", * }); * ``` */ /** @deprecated volcengine.waf.SystemBots has been deprecated in favor of volcengine.waf.getSystemBots */ export declare function systemBots(args: SystemBotsArgs, opts?: pulumi.InvokeOptions): Promise<SystemBotsResult>; /** * A collection of arguments for invoking SystemBots. */ export interface SystemBotsArgs { /** * Domain name information. */ host: string; /** * A Name Regex of Resource. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by SystemBots. */ export interface SystemBotsResult { /** * Host the Bot configuration information. */ readonly datas: outputs.waf.SystemBotsData[]; readonly host: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly nameRegex?: string; readonly outputFile?: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of waf system bots * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.waf.getSystemBots({ * host: "www.tf-test.com", * }); * ``` */ /** @deprecated volcengine.waf.SystemBots has been deprecated in favor of volcengine.waf.getSystemBots */ export declare function systemBotsOutput(args: SystemBotsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<SystemBotsResult>; /** * A collection of arguments for invoking SystemBots. */ export interface SystemBotsOutputArgs { /** * Domain name information. */ host: pulumi.Input<string>; /** * A Name Regex of Resource. */ nameRegex?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }