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; /** * Specify the action to perform when the associated traffic, identity, and device posture expressions 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; /** * Indicate the date of deletion, if any. */ readonly deletedAt: pulumi.Output; /** * Specify the rule description. */ readonly description: pulumi.Output; readonly devicePosture: pulumi.Output; /** * Specify whether the rule is enabled. */ readonly enabled: pulumi.Output; /** * Defines the expiration time stamp and default duration of a DNS policy. Takes precedence over the policy's `schedule` configuration, if any. This does not apply to HTTP or network policies. Settable only for `dns` rules. */ readonly expiration: pulumi.Output; /** * Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions. */ readonly filters: pulumi.Output; readonly identity: pulumi.Output; /** * Specify the rule name. */ readonly name: pulumi.Output; readonly precedence: pulumi.Output; /** * Indicate that this rule is shared via the Orgs API and read only. */ readonly readOnly: pulumi.Output; readonly ruleSettings: pulumi.Output; /** * Defines the schedule for activating DNS policies. Settable only for `dns` and `dnsResolver` rules. */ readonly schedule: pulumi.Output; /** * Indicate that this rule is sharable via the Orgs API. */ readonly sharable: pulumi.Output; /** * Provide the account tag of the account that created the rule. */ readonly sourceAccount: pulumi.Output; readonly traffic: pulumi.Output; readonly updatedAt: pulumi.Output; /** * Indicate the version number of the rule(read-only). */ readonly version: pulumi.Output; /** * Indicate a warning for a misconfigured rule, if any. */ readonly warningStatus: 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; /** * Specify the action to perform when the associated traffic, identity, and device posture expressions 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; /** * Indicate the date of deletion, if any. */ deletedAt?: pulumi.Input; /** * Specify the rule description. */ description?: pulumi.Input; devicePosture?: pulumi.Input; /** * Specify whether the rule is enabled. */ enabled?: pulumi.Input; /** * Defines the expiration time stamp and default duration of a DNS policy. Takes precedence over the policy's `schedule` configuration, if any. This does not apply to HTTP or network policies. Settable only for `dns` rules. */ expiration?: pulumi.Input; /** * Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions. */ filters?: pulumi.Input[]>; identity?: pulumi.Input; /** * Specify the rule name. */ name?: pulumi.Input; precedence?: pulumi.Input; /** * Indicate that this rule is shared via the Orgs API and read only. */ readOnly?: pulumi.Input; ruleSettings?: pulumi.Input; /** * Defines the schedule for activating DNS policies. Settable only for `dns` and `dnsResolver` rules. */ schedule?: pulumi.Input; /** * Indicate that this rule is sharable via the Orgs API. */ sharable?: pulumi.Input; /** * Provide the account tag of the account that created the rule. */ sourceAccount?: pulumi.Input; traffic?: pulumi.Input; updatedAt?: pulumi.Input; /** * Indicate the version number of the rule(read-only). */ version?: pulumi.Input; /** * Indicate a warning for a misconfigured rule, if any. */ warningStatus?: pulumi.Input; } /** * The set of arguments for constructing a ZeroTrustGatewayPolicy resource. */ export interface ZeroTrustGatewayPolicyArgs { accountId: pulumi.Input; /** * Specify the action to perform when the associated traffic, identity, and device posture expressions 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; /** * Specify the rule description. */ description?: pulumi.Input; devicePosture?: pulumi.Input; /** * Specify whether the rule is enabled. */ enabled?: pulumi.Input; /** * Defines the expiration time stamp and default duration of a DNS policy. Takes precedence over the policy's `schedule` configuration, if any. This does not apply to HTTP or network policies. Settable only for `dns` rules. */ expiration?: pulumi.Input; /** * Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions. */ filters?: pulumi.Input[]>; identity?: pulumi.Input; /** * Specify the rule name. */ name: pulumi.Input; precedence?: pulumi.Input; ruleSettings?: pulumi.Input; /** * Defines the schedule for activating DNS policies. Settable only for `dns` and `dnsResolver` rules. */ schedule?: pulumi.Input; traffic?: pulumi.Input; }