@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
108 lines (107 loc) • 2.84 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",
* });
* ```
*/
/** @deprecated volcengine.waf.IpGroups has been deprecated in favor of volcengine.waf.getIpGroups */
export declare function ipGroups(args: IpGroupsArgs, opts?: pulumi.InvokeOptions): Promise<IpGroupsResult>;
/**
* A collection of arguments for invoking IpGroups.
*/
export interface IpGroupsArgs {
/**
* 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 IpGroups.
*/
export interface IpGroupsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly ip?: string;
/**
* Address group list information.
*/
readonly ipGroupLists: outputs.waf.IpGroupsIpGroupList[];
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",
* });
* ```
*/
/** @deprecated volcengine.waf.IpGroups has been deprecated in favor of volcengine.waf.getIpGroups */
export declare function ipGroupsOutput(args: IpGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<IpGroupsResult>;
/**
* A collection of arguments for invoking IpGroups.
*/
export interface IpGroupsOutputArgs {
/**
* 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>;
}