@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
128 lines (127 loc) • 3.18 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of waf prohibitions
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.waf.getProhibitions({
* endTime: 1749808824,
* host: "www.tf-test.com",
* startTime: 1749805224,
* });
* ```
*/
export declare function getProhibitions(args: GetProhibitionsArgs, opts?: pulumi.InvokeOptions): Promise<GetProhibitionsResult>;
/**
* A collection of arguments for invoking getProhibitions.
*/
export interface GetProhibitionsArgs {
/**
* end time.
*/
endTime: number;
/**
* The domain name of the website that needs to be queried.
*/
host: string;
/**
* The list shows the order.
*/
letterOrderBy?: string;
/**
* A Name Regex of Resource.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* Attack type filtering.
*/
reasons?: string[];
/**
* starting time.
*/
startTime: number;
}
/**
* A collection of values returned by getProhibitions.
*/
export interface GetProhibitionsResult {
readonly endTime: number;
readonly host: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Details of the attack IP.
*/
readonly ipAggGroups: outputs.waf.GetProhibitionsIpAggGroup[];
readonly letterOrderBy?: string;
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* Reason for the ban.
*/
readonly reasons?: string[];
readonly startTime: number;
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of waf prohibitions
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.waf.getProhibitions({
* endTime: 1749808824,
* host: "www.tf-test.com",
* startTime: 1749805224,
* });
* ```
*/
export declare function getProhibitionsOutput(args: GetProhibitionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProhibitionsResult>;
/**
* A collection of arguments for invoking getProhibitions.
*/
export interface GetProhibitionsOutputArgs {
/**
* end time.
*/
endTime: pulumi.Input<number>;
/**
* The domain name of the website that needs to be queried.
*/
host: pulumi.Input<string>;
/**
* The list shows the order.
*/
letterOrderBy?: pulumi.Input<string>;
/**
* A Name Regex of Resource.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* Attack type filtering.
*/
reasons?: pulumi.Input<pulumi.Input<string>[]>;
/**
* starting time.
*/
startTime: pulumi.Input<number>;
}