import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ## Import * * ```sh * $ pulumi import cloudflare:index/zeroTrustGatewayPolicy:ZeroTrustGatewayPolicy example '/' * ``` */ export declare class ZeroTrustGatewayPolicy extends pulumi.CustomResource { /** * Get an existing ZeroTrustGatewayPolicy 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, state?: ZeroTrustGatewayPolicyState, opts?: pulumi.CustomResourceOptions): ZeroTrustGatewayPolicy; /** * Returns true if the given object is an instance of ZeroTrustGatewayPolicy. 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 ZeroTrustGatewayPolicy; readonly accountId: pulumi.Output; /** * The action to preform when the associated traffic, identity, and device posture expressions are either absent or evaluate to `true`. * Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", "l4Override", "egress", "resolve", "quarantine", "redirect". */ readonly action: pulumi.Output; readonly createdAt: pulumi.Output; /** * Date of deletion, if any. */ readonly deletedAt: pulumi.Output; /** * The description of the rule. */ readonly description: pulumi.Output; /** * The wirefilter expression used for device posture check matching. */ readonly devicePosture: pulumi.Output; /** * True if the rule is enabled. */ readonly enabled: pulumi.Output; /** * The expiration time stamp and default duration of a DNS policy. Takes * precedence over the policy's `schedule` configuration, if any. */ readonly expiration: pulumi.Output; /** * The protocol or layer to evaluate the traffic, identity, and device posture expressions. */ readonly filters: pulumi.Output; /** * The wirefilter expression used for identity matching. */ readonly identity: pulumi.Output; /** * The name of the rule. */ readonly name: pulumi.Output; readonly precedence: pulumi.Output; /** * Additional settings that modify the rule's action. */ readonly ruleSettings: pulumi.Output; /** * The schedule for activating DNS policies. This does not apply to HTTP or network policies. */ readonly schedule: pulumi.Output; /** * The wirefilter expression used for traffic matching. */ readonly traffic: pulumi.Output; readonly updatedAt: pulumi.Output; /** * version number of the rule */ readonly version: pulumi.Output; /** * Create a ZeroTrustGatewayPolicy 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: ZeroTrustGatewayPolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ZeroTrustGatewayPolicy resources. */ export interface ZeroTrustGatewayPolicyState { accountId?: pulumi.Input; /** * The action to preform when the associated traffic, identity, and device posture expressions are either absent or evaluate to `true`. * Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", "l4Override", "egress", "resolve", "quarantine", "redirect". */ action?: pulumi.Input; createdAt?: pulumi.Input; /** * Date of deletion, if any. */ deletedAt?: pulumi.Input; /** * The description of the rule. */ description?: pulumi.Input; /** * The wirefilter expression used for device posture check matching. */ devicePosture?: pulumi.Input; /** * True if the rule is enabled. */ enabled?: pulumi.Input; /** * The expiration time stamp and default duration of a DNS policy. Takes * precedence over the policy's `schedule` configuration, if any. */ expiration?: pulumi.Input; /** * The protocol or layer to evaluate the traffic, identity, and device posture expressions. */ filters?: pulumi.Input[]>; /** * The wirefilter expression used for identity matching. */ identity?: pulumi.Input; /** * The name of the rule. */ name?: pulumi.Input; precedence?: pulumi.Input; /** * Additional settings that modify the rule's action. */ ruleSettings?: pulumi.Input; /** * The schedule for activating DNS policies. This does not apply to HTTP or network policies. */ schedule?: pulumi.Input; /** * The wirefilter expression used for traffic matching. */ traffic?: pulumi.Input; updatedAt?: pulumi.Input; /** * version number of the rule */ version?: pulumi.Input; } /** * The set of arguments for constructing a ZeroTrustGatewayPolicy resource. */ export interface ZeroTrustGatewayPolicyArgs { accountId: pulumi.Input; /** * The action to preform when the associated traffic, identity, and device posture expressions are either absent or evaluate to `true`. * Available values: "on", "off", "allow", "block", "scan", "noscan", "safesearch", "ytrestricted", "isolate", "noisolate", "override", "l4Override", "egress", "resolve", "quarantine", "redirect". */ action: pulumi.Input; /** * The description of the rule. */ description?: pulumi.Input; /** * The wirefilter expression used for device posture check matching. */ devicePosture?: pulumi.Input; /** * True if the rule is enabled. */ enabled?: pulumi.Input; /** * The expiration time stamp and default duration of a DNS policy. Takes * precedence over the policy's `schedule` configuration, if any. */ expiration?: pulumi.Input; /** * The protocol or layer to evaluate the traffic, identity, and device posture expressions. */ filters?: pulumi.Input[]>; /** * The wirefilter expression used for identity matching. */ identity?: pulumi.Input; /** * The name of the rule. */ name: pulumi.Input; precedence?: pulumi.Input; /** * Additional settings that modify the rule's action. */ ruleSettings?: pulumi.Input; /** * The schedule for activating DNS policies. This does not apply to HTTP or network policies. */ schedule?: pulumi.Input; /** * The wirefilter expression used for traffic matching. */ traffic?: pulumi.Input; }