UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

95 lines (94 loc) 2.57 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({}); * ``` */ /** @deprecated volcengine.waf.Domains has been deprecated in favor of volcengine.waf.getDomains */ export declare function domains(args?: DomainsArgs, opts?: pulumi.InvokeOptions): Promise<DomainsResult>; /** * A collection of arguments for invoking Domains. */ export interface DomainsArgs { /** * 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 Domains. */ export interface DomainsResult { readonly accurateQuery?: number; /** * The collection of query. */ readonly datas: outputs.waf.DomainsData[]; /** * 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({}); * ``` */ /** @deprecated volcengine.waf.Domains has been deprecated in favor of volcengine.waf.getDomains */ export declare function domainsOutput(args?: DomainsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<DomainsResult>; /** * A collection of arguments for invoking Domains. */ export interface DomainsOutputArgs { /** * 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>; }