UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

93 lines (92 loc) 2.41 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of waf domains * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.waf.getDomains({}); * ``` */ export declare function getDomains(args?: GetDomainsArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainsResult>; /** * A collection of arguments for invoking getDomains. */ export interface GetDomainsArgs { /** * Matching mode. */ accurateQuery?: number; /** * The domain name of the protected website that needs to be queried. */ domain?: string; /** * A Name Regex of Resource. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by getDomains. */ export interface GetDomainsResult { readonly accurateQuery?: number; /** * The collection of query. */ readonly datas: outputs.waf.GetDomainsData[]; /** * domain names that need to be protected by WAF. */ readonly domain?: 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 domains * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.waf.getDomains({}); * ``` */ export declare function getDomainsOutput(args?: GetDomainsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDomainsResult>; /** * A collection of arguments for invoking getDomains. */ export interface GetDomainsOutputArgs { /** * Matching mode. */ accurateQuery?: pulumi.Input<number>; /** * The domain name of the protected website that needs to be queried. */ domain?: pulumi.Input<string>; /** * A Name Regex of Resource. */ nameRegex?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }