UNPKG

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.

126 lines 7.15 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class PullzoneEdgerule extends pulumi.CustomResource { /** * Get an existing PullzoneEdgerule 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?: PullzoneEdgeruleState, opts?: pulumi.CustomResourceOptions): PullzoneEdgerule; /** * Returns true if the given object is an instance of PullzoneEdgerule. 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 PullzoneEdgerule; /** * Options: `BlockRequest`, `BypassAwsS3Authentication`, `BypassPermaCache`, `DisableOptimizer`, `DisableRequestCoalescing`, `DisableShield`, `DisableShieldAccessLists`, `DisableShieldBotDetection`, `DisableShieldChallenge`, `DisableShieldRateLimiting`, `DisableTokenAuthentication`, `DisableWAF`, `EnableRequestCoalescing`, `EnableTokenAuthentication`, `ForceCompression`, `ForceDownload`, `ForceSSL`, `IgnoreQueryString`, `OriginMagicContainers`, `OriginStorage`, `OriginUrl`, `OverrideBrowserCacheResponseHeader`, `OverrideBrowserCacheTime`, `OverrideCacheTime`, `OverrideCacheTimePublic`, `Redirect`, `RemoveBrowserCacheResponseHeader`, `RetryOrigin`, `RunEdgeScript`, `SetConnectionLimit`, `SetNetworkRateLimit`, `SetRequestHeader`, `SetRequestsPerSecondLimit`, `SetResponseHeader`, `SetStatusCode` */ readonly action: pulumi.Output<string | undefined>; readonly actionParameter1: pulumi.Output<string | undefined>; readonly actionParameter2: pulumi.Output<string | undefined>; readonly actionParameter3: pulumi.Output<string | undefined>; /** * List of actions for the edge rule. */ readonly actions: pulumi.Output<outputs.PullzoneEdgeruleAction[]>; /** * The description of the edge rule. */ readonly description: pulumi.Output<string>; /** * Indicates whether the edge rule is enabled. */ readonly enabled: pulumi.Output<boolean>; /** * Options: `MatchAll`, `MatchAny`, `MatchNone` */ readonly matchType: pulumi.Output<string>; /** * The priority of the edge rule. The lower number is executed first. */ readonly priority: pulumi.Output<number>; readonly pullzone: pulumi.Output<number>; readonly triggers: pulumi.Output<outputs.PullzoneEdgeruleTrigger[]>; /** * Create a PullzoneEdgerule 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: PullzoneEdgeruleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PullzoneEdgerule resources. */ export interface PullzoneEdgeruleState { /** * Options: `BlockRequest`, `BypassAwsS3Authentication`, `BypassPermaCache`, `DisableOptimizer`, `DisableRequestCoalescing`, `DisableShield`, `DisableShieldAccessLists`, `DisableShieldBotDetection`, `DisableShieldChallenge`, `DisableShieldRateLimiting`, `DisableTokenAuthentication`, `DisableWAF`, `EnableRequestCoalescing`, `EnableTokenAuthentication`, `ForceCompression`, `ForceDownload`, `ForceSSL`, `IgnoreQueryString`, `OriginMagicContainers`, `OriginStorage`, `OriginUrl`, `OverrideBrowserCacheResponseHeader`, `OverrideBrowserCacheTime`, `OverrideCacheTime`, `OverrideCacheTimePublic`, `Redirect`, `RemoveBrowserCacheResponseHeader`, `RetryOrigin`, `RunEdgeScript`, `SetConnectionLimit`, `SetNetworkRateLimit`, `SetRequestHeader`, `SetRequestsPerSecondLimit`, `SetResponseHeader`, `SetStatusCode` */ action?: pulumi.Input<string | undefined>; actionParameter1?: pulumi.Input<string | undefined>; actionParameter2?: pulumi.Input<string | undefined>; actionParameter3?: pulumi.Input<string | undefined>; /** * List of actions for the edge rule. */ actions?: pulumi.Input<pulumi.Input<inputs.PullzoneEdgeruleAction>[] | undefined>; /** * The description of the edge rule. */ description?: pulumi.Input<string | undefined>; /** * Indicates whether the edge rule is enabled. */ enabled?: pulumi.Input<boolean | undefined>; /** * Options: `MatchAll`, `MatchAny`, `MatchNone` */ matchType?: pulumi.Input<string | undefined>; /** * The priority of the edge rule. The lower number is executed first. */ priority?: pulumi.Input<number | undefined>; pullzone?: pulumi.Input<number | undefined>; triggers?: pulumi.Input<pulumi.Input<inputs.PullzoneEdgeruleTrigger>[] | undefined>; } /** * The set of arguments for constructing a PullzoneEdgerule resource. */ export interface PullzoneEdgeruleArgs { /** * Options: `BlockRequest`, `BypassAwsS3Authentication`, `BypassPermaCache`, `DisableOptimizer`, `DisableRequestCoalescing`, `DisableShield`, `DisableShieldAccessLists`, `DisableShieldBotDetection`, `DisableShieldChallenge`, `DisableShieldRateLimiting`, `DisableTokenAuthentication`, `DisableWAF`, `EnableRequestCoalescing`, `EnableTokenAuthentication`, `ForceCompression`, `ForceDownload`, `ForceSSL`, `IgnoreQueryString`, `OriginMagicContainers`, `OriginStorage`, `OriginUrl`, `OverrideBrowserCacheResponseHeader`, `OverrideBrowserCacheTime`, `OverrideCacheTime`, `OverrideCacheTimePublic`, `Redirect`, `RemoveBrowserCacheResponseHeader`, `RetryOrigin`, `RunEdgeScript`, `SetConnectionLimit`, `SetNetworkRateLimit`, `SetRequestHeader`, `SetRequestsPerSecondLimit`, `SetResponseHeader`, `SetStatusCode` */ action?: pulumi.Input<string | undefined>; actionParameter1?: pulumi.Input<string | undefined>; actionParameter2?: pulumi.Input<string | undefined>; actionParameter3?: pulumi.Input<string | undefined>; /** * List of actions for the edge rule. */ actions?: pulumi.Input<pulumi.Input<inputs.PullzoneEdgeruleAction>[] | undefined>; /** * The description of the edge rule. */ description?: pulumi.Input<string | undefined>; /** * Indicates whether the edge rule is enabled. */ enabled: pulumi.Input<boolean>; /** * Options: `MatchAll`, `MatchAny`, `MatchNone` */ matchType?: pulumi.Input<string | undefined>; /** * The priority of the edge rule. The lower number is executed first. */ priority?: pulumi.Input<number | undefined>; pullzone: pulumi.Input<number>; triggers: pulumi.Input<pulumi.Input<inputs.PullzoneEdgeruleTrigger>[]>; } //# sourceMappingURL=pullzoneEdgerule.d.ts.map