UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

147 lines (146 loc) 3.9 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of waf host groups * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.waf.getHostGroups({ * hostFix: "www.tf-test.com", * timeOrderBy: "DESC", * }); * ``` */ export declare function getHostGroups(args: GetHostGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetHostGroupsResult>; /** * A collection of arguments for invoking getHostGroups. */ export interface GetHostGroupsArgs { /** * The domain name information queried. */ hostFix?: string; /** * The ID of the domain name group. */ hostGroupId?: number; /** * A list of IDs. */ ids?: string[]; /** * Whether to return all domain name groups and their name information, it returns by default. */ listAll?: boolean; /** * The name of the domain name group being queried. */ nameFix?: string; /** * A Name Regex of Resource. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; /** * The rule ID associated with domain name groups. */ ruleTag?: string; /** * The list of rule ids associated with the domain name group shows the timing sequence. */ timeOrderBy: string; } /** * A collection of values returned by getHostGroups. */ export interface GetHostGroupsResult { readonly hostFix?: string; /** * The ID of the domain name group. */ readonly hostGroupId?: number; /** * Details of the domain name group list. */ readonly hostGroupLists: outputs.waf.GetHostGroupsHostGroupList[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids?: string[]; readonly listAll?: boolean; readonly nameFix?: string; readonly nameRegex?: string; readonly outputFile?: string; /** * The ID of the rule. */ readonly ruleTag?: string; readonly timeOrderBy: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of waf host groups * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.waf.getHostGroups({ * hostFix: "www.tf-test.com", * timeOrderBy: "DESC", * }); * ``` */ export declare function getHostGroupsOutput(args: GetHostGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetHostGroupsResult>; /** * A collection of arguments for invoking getHostGroups. */ export interface GetHostGroupsOutputArgs { /** * The domain name information queried. */ hostFix?: pulumi.Input<string>; /** * The ID of the domain name group. */ hostGroupId?: pulumi.Input<number>; /** * A list of IDs. */ ids?: pulumi.Input<pulumi.Input<string>[]>; /** * Whether to return all domain name groups and their name information, it returns by default. */ listAll?: pulumi.Input<boolean>; /** * The name of the domain name group being queried. */ nameFix?: 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 rule ID associated with domain name groups. */ ruleTag?: pulumi.Input<string>; /** * The list of rule ids associated with the domain name group shows the timing sequence. */ timeOrderBy: pulumi.Input<string>; }