import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "./types"; /** * Provides a resource which customizes Cloudflare zone settings. Note that after destroying this resource Zone Settings will be reset to their initial values. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as pulumi_cloudflare from "@mapped/pulumi-cloudflare"; * * const test = new cloudflare.ZoneSettingsOverride("test", { * zoneId: _var.cloudflare_zone_id, * settings: { * brotli: "on", * challengeTtl: 2700, * securityLevel: "high", * opportunisticEncryption: "on", * automaticHttpsRewrites: "on", * mirage: "on", * waf: "on", * minify: { * css: "on", * js: "off", * html: "off", * }, * securityHeader: { * enabled: true, * }, * }, * }); * ``` */ export declare class ZoneSettingsOverride extends pulumi.CustomResource { /** * Get an existing ZoneSettingsOverride 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?: ZoneSettingsOverrideState, opts?: pulumi.CustomResourceOptions): ZoneSettingsOverride; /** * Returns true if the given object is an instance of ZoneSettingsOverride. 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 ZoneSettingsOverride; /** * Settings present in the zone at the time the resource is created. This will be used to restore the original settings when this resource is destroyed. Shares the same schema as the `settings` attribute (Above). */ readonly initialSettings: pulumi.Output; /** * Time when this resource was created and the `initialSettings` were set. */ readonly initialSettingsReadAt: pulumi.Output; /** * Which of the current `settings` are not able to be set by the user. Which settings these are is determined by plan level and user permissions. * * `zoneStatus`. A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. * * `zoneType`. Status of the zone. Valid values: active, pending, initializing, moved, deleted, deactivated. */ readonly readonlySettings: pulumi.Output; /** * Settings overrides that will be applied to the zone. If a setting is not specified the existing setting will be used. For a full list of available settings see below. */ readonly settings: pulumi.Output; /** * The DNS zone ID to which apply settings. */ readonly zoneId: pulumi.Output; readonly zoneStatus: pulumi.Output; readonly zoneType: pulumi.Output; /** * Create a ZoneSettingsOverride 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: ZoneSettingsOverrideArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ZoneSettingsOverride resources. */ export interface ZoneSettingsOverrideState { /** * Settings present in the zone at the time the resource is created. This will be used to restore the original settings when this resource is destroyed. Shares the same schema as the `settings` attribute (Above). */ initialSettings?: pulumi.Input[]>; /** * Time when this resource was created and the `initialSettings` were set. */ initialSettingsReadAt?: pulumi.Input; /** * Which of the current `settings` are not able to be set by the user. Which settings these are is determined by plan level and user permissions. * * `zoneStatus`. A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. * * `zoneType`. Status of the zone. Valid values: active, pending, initializing, moved, deleted, deactivated. */ readonlySettings?: pulumi.Input[]>; /** * Settings overrides that will be applied to the zone. If a setting is not specified the existing setting will be used. For a full list of available settings see below. */ settings?: pulumi.Input; /** * The DNS zone ID to which apply settings. */ zoneId?: pulumi.Input; zoneStatus?: pulumi.Input; zoneType?: pulumi.Input; } /** * The set of arguments for constructing a ZoneSettingsOverride resource. */ export interface ZoneSettingsOverrideArgs { /** * Settings overrides that will be applied to the zone. If a setting is not specified the existing setting will be used. For a full list of available settings see below. */ settings?: pulumi.Input; /** * The DNS zone ID to which apply settings. */ zoneId: pulumi.Input; }