import * as pulumi from "@pulumi/pulumi";
/**
 * Provides a Ens Eip Instance Attachment resource.
 *
 * Bind an EIP to an instance.
 *
 * For information about Ens Eip Instance Attachment and how to use it, see [What is Eip Instance Attachment](https://www.alibabacloud.com/help/en/ens/developer-reference/api-ens-2017-11-10-associateenseipaddress).
 *
 * > **NOTE:** Available since v1.227.0.
 *
 * ## Example Usage
 *
 * Basic Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as alicloud from "@pulumi/alicloud";
 *
 * const config = new pulumi.Config();
 * const name = config.get("name") || "terraform-example";
 * const ensRegionId = config.get("ensRegionId") || "cn-chenzhou-telecom_unicom_cmcc";
 * const defaultXKjq1W = new alicloud.ens.Instance("defaultXKjq1W", {
 *     systemDisk: {
 *         size: 20,
 *         category: "cloud_efficiency",
 *     },
 *     schedulingStrategy: "Concentrate",
 *     scheduleAreaLevel: "Region",
 *     imageId: "centos_6_08_64_20G_alibase_20171208",
 *     paymentType: "Subscription",
 *     instanceType: "ens.sn1.stiny",
 *     password: "12345678abcABC",
 *     status: "Running",
 *     amount: 1,
 *     internetChargeType: "95BandwidthByMonth",
 *     instanceName: name,
 *     autoUseCoupon: "true",
 *     instanceChargeStrategy: "PriceHighPriority",
 *     ensRegionId: ensRegionId,
 *     periodUnit: "Month",
 * });
 * const defaultsGsN4e = new alicloud.ens.Eip("defaultsGsN4e", {
 *     bandwidth: 5,
 *     eipName: name,
 *     ensRegionId: ensRegionId,
 *     internetChargeType: "95BandwidthByMonth",
 *     paymentType: "PayAsYouGo",
 * });
 * const _default = new alicloud.ens.EipInstanceAttachment("default", {
 *     instanceId: defaultXKjq1W.id,
 *     allocationId: defaultsGsN4e.id,
 *     instanceType: "EnsInstance",
 *     standby: false,
 * });
 * ```
 *
 * 📚 Need more examples? VIEW MORE EXAMPLES
 *
 * ## Import
 *
 * Ens Eip Instance Attachment can be imported using the id, e.g.
 *
 * ```sh
 * $ pulumi import alicloud:ens/eipInstanceAttachment:EipInstanceAttachment example <allocation_id>:<instance_id>:<instance_type>
 * ```
 */
export declare class EipInstanceAttachment extends pulumi.CustomResource {
    /**
     * Get an existing EipInstanceAttachment 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?: EipInstanceAttachmentState, opts?: pulumi.CustomResourceOptions): EipInstanceAttachment;
    /**
     * Returns true if the given object is an instance of EipInstanceAttachment.  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 EipInstanceAttachment;
    /**
     * The first ID of the resource
     */
    readonly allocationId: pulumi.Output<string>;
    /**
     * Instance ID
     */
    readonly instanceId: pulumi.Output<string>;
    /**
     * The type of the EIP instance. Value:
     * - `Nat`:NAT gateway.
     * - `SlbInstance`: Server Load Balancer (ELB).
     * - `NetworkInterface`: Secondary ENI.
     * - `EnsInstance` (default): The ENS instance.
     */
    readonly instanceType: pulumi.Output<string>;
    /**
     * Indicates whether the EIP is a backup EIP. Value:
     * - true: Spare.
     * - false: not standby.
     */
    readonly standby: pulumi.Output<boolean | undefined>;
    /**
     * The status of the EIP.
     */
    readonly status: pulumi.Output<string>;
    /**
     * Create a EipInstanceAttachment 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: EipInstanceAttachmentArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering EipInstanceAttachment resources.
 */
export interface EipInstanceAttachmentState {
    /**
     * The first ID of the resource
     */
    allocationId?: pulumi.Input<string | undefined>;
    /**
     * Instance ID
     */
    instanceId?: pulumi.Input<string | undefined>;
    /**
     * The type of the EIP instance. Value:
     * - `Nat`:NAT gateway.
     * - `SlbInstance`: Server Load Balancer (ELB).
     * - `NetworkInterface`: Secondary ENI.
     * - `EnsInstance` (default): The ENS instance.
     */
    instanceType?: pulumi.Input<string | undefined>;
    /**
     * Indicates whether the EIP is a backup EIP. Value:
     * - true: Spare.
     * - false: not standby.
     */
    standby?: pulumi.Input<boolean | undefined>;
    /**
     * The status of the EIP.
     */
    status?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a EipInstanceAttachment resource.
 */
export interface EipInstanceAttachmentArgs {
    /**
     * The first ID of the resource
     */
    allocationId: pulumi.Input<string>;
    /**
     * Instance ID
     */
    instanceId: pulumi.Input<string>;
    /**
     * The type of the EIP instance. Value:
     * - `Nat`:NAT gateway.
     * - `SlbInstance`: Server Load Balancer (ELB).
     * - `NetworkInterface`: Secondary ENI.
     * - `EnsInstance` (default): The ENS instance.
     */
    instanceType?: pulumi.Input<string | undefined>;
    /**
     * Indicates whether the EIP is a backup EIP. Value:
     * - true: Spare.
     * - false: not standby.
     */
    standby?: pulumi.Input<boolean | undefined>;
}
//# sourceMappingURL=eipInstanceAttachment.d.ts.map