pulumi-bunnynet
Version:
A Pulumi provider for managing Bunny.net CDN and edge computing resources, dynamically bridged from the Terraform Bunnynet provider with support for pull zones, storage, DNS, compute containers, and video streaming.
119 lines • 5 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
export declare class PullzoneWafRule extends pulumi.CustomResource {
/**
* Get an existing PullzoneWafRule resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PullzoneWafRuleState, opts?: pulumi.CustomResourceOptions): PullzoneWafRule;
/**
* Returns true if the given object is an instance of PullzoneWafRule. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is PullzoneWafRule;
/**
* The condition to trigger the WAF rule.
*/
readonly conditions: pulumi.Output<outputs.PullzoneWafRuleCondition[] | undefined>;
/**
* The WAF rule description.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* The WAF rule name.
*/
readonly name: pulumi.Output<string>;
/**
* The ID of the linked pullzone.
*/
readonly pullzone: pulumi.Output<number>;
/**
* The ID of the WAF rule.
*/
readonly pullzoneWafRuleId: pulumi.Output<number>;
/**
* The response once the WAF rule is triggered.
*/
readonly response: pulumi.Output<outputs.PullzoneWafRuleResponse | undefined>;
/**
* Options: `CMDLINE`, `COMPRESSWHITESPACE`, `CSSDECODE`, `HEXENCODE`, `HTMLENTITYDECODE`, `JSDECODE`, `LENGTH`, `LOWERCASE`, `MD5`, `NORMALISEPATH`, `NORMALISEPATHWIN`, `NORMALIZEPATH`, `NORMALIZEPATHWIN`, `REMOVECOMMENTS`, `REMOVENULLS`, `REMOVEWHITESPACE`, `REPLACECOMMENTS`, `SHA1`, `URLDECODE`, `URLDECODEUNI`, `UTF8TOUNICODE`
*/
readonly transformations: pulumi.Output<string[] | undefined>;
/**
* Create a PullzoneWafRule resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: PullzoneWafRuleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering PullzoneWafRule resources.
*/
export interface PullzoneWafRuleState {
/**
* The condition to trigger the WAF rule.
*/
conditions?: pulumi.Input<pulumi.Input<inputs.PullzoneWafRuleCondition>[] | undefined>;
/**
* The WAF rule description.
*/
description?: pulumi.Input<string | undefined>;
/**
* The WAF rule name.
*/
name?: pulumi.Input<string | undefined>;
/**
* The ID of the linked pullzone.
*/
pullzone?: pulumi.Input<number | undefined>;
/**
* The ID of the WAF rule.
*/
pullzoneWafRuleId?: pulumi.Input<number | undefined>;
/**
* The response once the WAF rule is triggered.
*/
response?: pulumi.Input<inputs.PullzoneWafRuleResponse | undefined>;
/**
* Options: `CMDLINE`, `COMPRESSWHITESPACE`, `CSSDECODE`, `HEXENCODE`, `HTMLENTITYDECODE`, `JSDECODE`, `LENGTH`, `LOWERCASE`, `MD5`, `NORMALISEPATH`, `NORMALISEPATHWIN`, `NORMALIZEPATH`, `NORMALIZEPATHWIN`, `REMOVECOMMENTS`, `REMOVENULLS`, `REMOVEWHITESPACE`, `REPLACECOMMENTS`, `SHA1`, `URLDECODE`, `URLDECODEUNI`, `UTF8TOUNICODE`
*/
transformations?: pulumi.Input<pulumi.Input<string>[] | undefined>;
}
/**
* The set of arguments for constructing a PullzoneWafRule resource.
*/
export interface PullzoneWafRuleArgs {
/**
* The condition to trigger the WAF rule.
*/
conditions?: pulumi.Input<pulumi.Input<inputs.PullzoneWafRuleCondition>[] | undefined>;
/**
* The WAF rule description.
*/
description?: pulumi.Input<string | undefined>;
/**
* The WAF rule name.
*/
name?: pulumi.Input<string | undefined>;
/**
* The ID of the linked pullzone.
*/
pullzone: pulumi.Input<number>;
/**
* The response once the WAF rule is triggered.
*/
response?: pulumi.Input<inputs.PullzoneWafRuleResponse | undefined>;
/**
* Options: `CMDLINE`, `COMPRESSWHITESPACE`, `CSSDECODE`, `HEXENCODE`, `HTMLENTITYDECODE`, `JSDECODE`, `LENGTH`, `LOWERCASE`, `MD5`, `NORMALISEPATH`, `NORMALISEPATHWIN`, `NORMALIZEPATH`, `NORMALIZEPATHWIN`, `REMOVECOMMENTS`, `REMOVENULLS`, `REMOVEWHITESPACE`, `REPLACECOMMENTS`, `SHA1`, `URLDECODE`, `URLDECODEUNI`, `UTF8TOUNICODE`
*/
transformations?: pulumi.Input<pulumi.Input<string>[] | undefined>;
}
//# sourceMappingURL=pullzoneWafRule.d.ts.map