import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleZoneHold = new cloudflare.ZoneHold("example_zone_hold", {zoneId: "023e105f4ecef8ad9ca31a8372d0c353"}); * ``` * * ## Import * * ```sh * $ pulumi import cloudflare:index/zoneHold:ZoneHold example '' * ``` */ export declare class ZoneHold extends pulumi.CustomResource { /** * Get an existing ZoneHold 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?: ZoneHoldState, opts?: pulumi.CustomResourceOptions): ZoneHold; /** * Returns true if the given object is an instance of ZoneHold. 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 ZoneHold; readonly hold: pulumi.Output; /** * If `holdAfter` is provided and future-dated, the hold will be temporarily disabled, * then automatically re-enabled by the system at the time specified * in this RFC3339-formatted timestamp. A past-dated `holdAfter` value will have * no effect on an existing, enabled hold. Providing an empty string will set its value * to the current time. */ readonly holdAfter: pulumi.Output; /** * If `true`, the zone hold will extend to block any subdomain of the given zone, as well * as SSL4SaaS Custom Hostnames. For example, a zone hold on a zone with the hostname * 'example.com' and include_subdomains=true will block 'example.com', * 'staging.example.com', 'api.staging.example.com', etc. */ readonly includeSubdomains: pulumi.Output; /** * Identifier. */ readonly zoneId: pulumi.Output; /** * Create a ZoneHold 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: ZoneHoldArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ZoneHold resources. */ export interface ZoneHoldState { hold?: pulumi.Input; /** * If `holdAfter` is provided and future-dated, the hold will be temporarily disabled, * then automatically re-enabled by the system at the time specified * in this RFC3339-formatted timestamp. A past-dated `holdAfter` value will have * no effect on an existing, enabled hold. Providing an empty string will set its value * to the current time. */ holdAfter?: pulumi.Input; /** * If `true`, the zone hold will extend to block any subdomain of the given zone, as well * as SSL4SaaS Custom Hostnames. For example, a zone hold on a zone with the hostname * 'example.com' and include_subdomains=true will block 'example.com', * 'staging.example.com', 'api.staging.example.com', etc. */ includeSubdomains?: pulumi.Input; /** * Identifier. */ zoneId?: pulumi.Input; } /** * The set of arguments for constructing a ZoneHold resource. */ export interface ZoneHoldArgs { /** * If `holdAfter` is provided and future-dated, the hold will be temporarily disabled, * then automatically re-enabled by the system at the time specified * in this RFC3339-formatted timestamp. A past-dated `holdAfter` value will have * no effect on an existing, enabled hold. Providing an empty string will set its value * to the current time. */ holdAfter?: pulumi.Input; /** * If `true`, the zone hold will extend to block any subdomain of the given zone, as well * as SSL4SaaS Custom Hostnames. For example, a zone hold on a zone with the hostname * 'example.com' and include_subdomains=true will block 'example.com', * 'staging.example.com', 'api.staging.example.com', etc. */ includeSubdomains?: pulumi.Input; /** * Identifier. */ zoneId: pulumi.Input; }