import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "../types";
/**
 * ## Example Usage
 * ### Self-Verification
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as huaweicloud from "@pulumi/huaweicloud";
 *
 * const test = new huaweicloud.Iam.ProtectionPolicy("test", {
 *     protectionEnabled: true,
 *     selfManagement: {
 *         accessKey: true,
 *         email: false,
 *         mobile: false,
 *         password: true,
 *     },
 * });
 * ```
 * ### Verification by another person
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as huaweicloud from "@pulumi/huaweicloud";
 *
 * const verification = new huaweicloud.Iam.ProtectionPolicy("verification", {
 *     protectionEnabled: true,
 *     verificationEmail: "example@email.com",
 * });
 * ```
 *
 * ## Import
 *
 * Identity protection policy can be imported using the account ID or domain ID, e.g. bash
 *
 * ```sh
 *  $ pulumi import huaweicloud:Iam/protectionPolicy:ProtectionPolicy example <your account ID>
 * ```
 */
export declare class ProtectionPolicy extends pulumi.CustomResource {
    /**
     * Get an existing ProtectionPolicy 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?: ProtectionPolicyState, opts?: pulumi.CustomResourceOptions): ProtectionPolicy;
    /**
     * Returns true if the given object is an instance of ProtectionPolicy.  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 ProtectionPolicy;
    /**
     * Specifies whether to enable operation protection.
     */
    readonly protectionEnabled: pulumi.Output<boolean>;
    /**
     * Specifies the attributes IAM users can modify.
     * The object structure is documented below.
     */
    readonly selfManagement: pulumi.Output<outputs.Iam.ProtectionPolicySelfManagement>;
    /**
     * Indicates whether the IAM users perform verification by themselves.
     */
    readonly selfVerification: pulumi.Output<boolean>;
    /**
     * Specifies the email address used for verification. An example value is `example@email.com`.
     */
    readonly verificationEmail: pulumi.Output<string | undefined>;
    /**
     * Specifies the mobile number used for verification. An example value is *0086-123456789*.
     */
    readonly verificationMobile: pulumi.Output<string | undefined>;
    /**
     * Create a ProtectionPolicy 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: ProtectionPolicyArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ProtectionPolicy resources.
 */
export interface ProtectionPolicyState {
    /**
     * Specifies whether to enable operation protection.
     */
    protectionEnabled?: pulumi.Input<boolean>;
    /**
     * Specifies the attributes IAM users can modify.
     * The object structure is documented below.
     */
    selfManagement?: pulumi.Input<inputs.Iam.ProtectionPolicySelfManagement>;
    /**
     * Indicates whether the IAM users perform verification by themselves.
     */
    selfVerification?: pulumi.Input<boolean>;
    /**
     * Specifies the email address used for verification. An example value is `example@email.com`.
     */
    verificationEmail?: pulumi.Input<string>;
    /**
     * Specifies the mobile number used for verification. An example value is *0086-123456789*.
     */
    verificationMobile?: pulumi.Input<string>;
}
/**
 * The set of arguments for constructing a ProtectionPolicy resource.
 */
export interface ProtectionPolicyArgs {
    /**
     * Specifies whether to enable operation protection.
     */
    protectionEnabled: pulumi.Input<boolean>;
    /**
     * Specifies the attributes IAM users can modify.
     * The object structure is documented below.
     */
    selfManagement?: pulumi.Input<inputs.Iam.ProtectionPolicySelfManagement>;
    /**
     * Specifies the email address used for verification. An example value is `example@email.com`.
     */
    verificationEmail?: pulumi.Input<string>;
    /**
     * Specifies the mobile number used for verification. An example value is *0086-123456789*.
     */
    verificationMobile?: pulumi.Input<string>;
}
