@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
144 lines (143 loc) • 3.74 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of waf bot analyse protect rules
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.waf.getBotAnalyseProtectRules({
* botSpace: "BotRepeat",
* host: "www.tf-test.com",
* });
* ```
*/
export declare function getBotAnalyseProtectRules(args: GetBotAnalyseProtectRulesArgs, opts?: pulumi.InvokeOptions): Promise<GetBotAnalyseProtectRulesResult>;
/**
* A collection of arguments for invoking getBotAnalyseProtectRules.
*/
export interface GetBotAnalyseProtectRulesArgs {
/**
* Bot protection rule type.
*/
botSpace: string;
/**
* Website domain names that require the setting of protection rules.
*/
host: string;
/**
* The name of the rule.
*/
name?: string;
/**
* A Name Regex of Resource.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* Protective path.
*/
path?: string;
/**
* The name of the project to which your domain names belong.
*/
projectName?: string;
/**
* Unique identification of rules.
*/
ruleTag?: string;
}
/**
* A collection of values returned by getBotAnalyseProtectRules.
*/
export interface GetBotAnalyseProtectRulesResult {
readonly botSpace: string;
/**
* The details of the Bot rules.
*/
readonly datas: outputs.waf.GetBotAnalyseProtectRulesData[];
/**
* The domain name where the protection rule is located.
*/
readonly host: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The name of rule.
*/
readonly name?: string;
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* Request path.
*/
readonly path?: string;
readonly projectName?: string;
/**
* Rule label, that is, the complete rule ID.
*/
readonly ruleTag?: string;
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of waf bot analyse protect rules
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.waf.getBotAnalyseProtectRules({
* botSpace: "BotRepeat",
* host: "www.tf-test.com",
* });
* ```
*/
export declare function getBotAnalyseProtectRulesOutput(args: GetBotAnalyseProtectRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBotAnalyseProtectRulesResult>;
/**
* A collection of arguments for invoking getBotAnalyseProtectRules.
*/
export interface GetBotAnalyseProtectRulesOutputArgs {
/**
* Bot protection rule type.
*/
botSpace: pulumi.Input<string>;
/**
* Website domain names that require the setting of protection rules.
*/
host: pulumi.Input<string>;
/**
* The name of the rule.
*/
name?: pulumi.Input<string>;
/**
* A Name Regex of Resource.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* Protective path.
*/
path?: pulumi.Input<string>;
/**
* The name of the project to which your domain names belong.
*/
projectName?: pulumi.Input<string>;
/**
* Unique identification of rules.
*/
ruleTag?: pulumi.Input<string>;
}