@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
106 lines (105 loc) • 2.67 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of waf ip groups
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.waf.getIpGroups({
* timeOrderBy: "DESC",
* });
* ```
*/
export declare function getIpGroups(args: GetIpGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetIpGroupsResult>;
/**
* A collection of arguments for invoking getIpGroups.
*/
export interface GetIpGroupsArgs {
/**
* The address or address segment of the query.
*/
ip?: string;
/**
* A Name Regex of Resource.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* Query the association rule ID.
*/
ruleTag?: string;
/**
* The arrangement order of the address group.
*/
timeOrderBy: string;
}
/**
* A collection of values returned by getIpGroups.
*/
export interface GetIpGroupsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly ip?: string;
/**
* Address group list information.
*/
readonly ipGroupLists: outputs.waf.GetIpGroupsIpGroupList[];
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 ip groups
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.waf.getIpGroups({
* timeOrderBy: "DESC",
* });
* ```
*/
export declare function getIpGroupsOutput(args: GetIpGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIpGroupsResult>;
/**
* A collection of arguments for invoking getIpGroups.
*/
export interface GetIpGroupsOutputArgs {
/**
* The address or address segment of the query.
*/
ip?: pulumi.Input<string>;
/**
* A Name Regex of Resource.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* Query the association rule ID.
*/
ruleTag?: pulumi.Input<string>;
/**
* The arrangement order of the address group.
*/
timeOrderBy: pulumi.Input<string>;
}