import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
 * Provides a Datadog DeploymentGate resource. This can be used to create and manage Datadog deployment_gate.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as datadog from "@pulumi/datadog";
 *
 * // Create new deployment_gate resource
 * const foo = new datadog.DeploymentGate("foo", {
 *     dryRun: false,
 *     env: "production",
 *     identifier: "my-gate",
 *     service: "my-service",
 *     rules: [
 *         {
 *             name: "fdd",
 *             type: "faulty_deployment_detection",
 *             dryRun: false,
 *             options: [{
 *                 duration: 1300,
 *                 excludedResources: ["GET api/v1/test"],
 *             }],
 *         },
 *         {
 *             name: "monitor",
 *             type: "monitor",
 *             dryRun: false,
 *             options: [{
 *                 query: "service:test-service",
 *                 duration: 1300,
 *             }],
 *         },
 *     ],
 * });
 * ```
 *
 * ## Import
 *
 * The `pulumi import` command can be used, for example:
 *
 * ```sh
 * $ pulumi import datadog:index/deploymentGate:DeploymentGate new_list ""
 * ```
 */
export declare class DeploymentGate extends pulumi.CustomResource {
    /**
     * Get an existing DeploymentGate 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?: DeploymentGateState, opts?: pulumi.CustomResourceOptions): DeploymentGate;
    /**
     * Returns true if the given object is an instance of DeploymentGate.  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 DeploymentGate;
    /**
     * Creation timestamp of the deployment gate.
     */
    readonly createdAt: pulumi.Output<string>;
    /**
     * Enable Dry Run to test gate behavior without impacting deployments. The evaluation of a dry run gate always responds with a pass status, but the in-app result is the real status based on rules evaluation. This is particularly useful when performing an initial evaluation of the gate behavior without impacting the deployment pipeline.
     */
    readonly dryRun: pulumi.Output<boolean>;
    /**
     * The target environment (example: dev).
     */
    readonly env: pulumi.Output<string>;
    /**
     * Unique name for multiple gates on the same service/environment.
     */
    readonly identifier: pulumi.Output<string>;
    /**
     * Deployment rules for this gate.
     */
    readonly rules: pulumi.Output<outputs.DeploymentGateRule[] | undefined>;
    /**
     * The service name (example: transaction-backend).
     */
    readonly service: pulumi.Output<string>;
    /**
     * Last update timestamp of the deployment gate.
     */
    readonly updatedAt: pulumi.Output<string>;
    /**
     * Create a DeploymentGate 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: DeploymentGateArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering DeploymentGate resources.
 */
export interface DeploymentGateState {
    /**
     * Creation timestamp of the deployment gate.
     */
    createdAt?: pulumi.Input<string | undefined>;
    /**
     * Enable Dry Run to test gate behavior without impacting deployments. The evaluation of a dry run gate always responds with a pass status, but the in-app result is the real status based on rules evaluation. This is particularly useful when performing an initial evaluation of the gate behavior without impacting the deployment pipeline.
     */
    dryRun?: pulumi.Input<boolean | undefined>;
    /**
     * The target environment (example: dev).
     */
    env?: pulumi.Input<string | undefined>;
    /**
     * Unique name for multiple gates on the same service/environment.
     */
    identifier?: pulumi.Input<string | undefined>;
    /**
     * Deployment rules for this gate.
     */
    rules?: pulumi.Input<pulumi.Input<inputs.DeploymentGateRule>[] | undefined>;
    /**
     * The service name (example: transaction-backend).
     */
    service?: pulumi.Input<string | undefined>;
    /**
     * Last update timestamp of the deployment gate.
     */
    updatedAt?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a DeploymentGate resource.
 */
export interface DeploymentGateArgs {
    /**
     * Enable Dry Run to test gate behavior without impacting deployments. The evaluation of a dry run gate always responds with a pass status, but the in-app result is the real status based on rules evaluation. This is particularly useful when performing an initial evaluation of the gate behavior without impacting the deployment pipeline.
     */
    dryRun?: pulumi.Input<boolean | undefined>;
    /**
     * The target environment (example: dev).
     */
    env: pulumi.Input<string>;
    /**
     * Unique name for multiple gates on the same service/environment.
     */
    identifier?: pulumi.Input<string | undefined>;
    /**
     * Deployment rules for this gate.
     */
    rules?: pulumi.Input<pulumi.Input<inputs.DeploymentGateRule>[] | undefined>;
    /**
     * The service name (example: transaction-backend).
     */
    service: pulumi.Input<string>;
}
//# sourceMappingURL=deploymentGate.d.ts.map