UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

111 lines (110 loc) 2.99 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of waf custom pages * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.waf.getCustomPages({ * host: "www.tf-test.com", * }); * ``` */ /** @deprecated volcengine.waf.CustomPages has been deprecated in favor of volcengine.waf.getCustomPages */ export declare function customPages(args: CustomPagesArgs, opts?: pulumi.InvokeOptions): Promise<CustomPagesResult>; /** * A collection of arguments for invoking CustomPages. */ export interface CustomPagesArgs { /** * The domain names that need to be viewed. */ host: string; /** * A Name Regex of Resource. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; /** * The name of the project to which your domain names belong. */ projectName?: string; /** * Unique identification of the rules. */ ruleTag?: string; } /** * A collection of values returned by CustomPages. */ export interface CustomPagesResult { /** * Details of the rules. */ readonly datas: outputs.waf.CustomPagesData[]; /** * Domain name to be protected. */ readonly host: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly nameRegex?: string; readonly outputFile?: string; readonly projectName?: string; /** * Unique identification of the rules. */ readonly ruleTag?: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of waf custom pages * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.waf.getCustomPages({ * host: "www.tf-test.com", * }); * ``` */ /** @deprecated volcengine.waf.CustomPages has been deprecated in favor of volcengine.waf.getCustomPages */ export declare function customPagesOutput(args: CustomPagesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<CustomPagesResult>; /** * A collection of arguments for invoking CustomPages. */ export interface CustomPagesOutputArgs { /** * The domain names that need to be viewed. */ 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>; /** * The name of the project to which your domain names belong. */ projectName?: pulumi.Input<string>; /** * Unique identification of the rules. */ ruleTag?: pulumi.Input<string>; }