import * as pulumi from "@pulumi/pulumi";
/**
 * Manages a VPC attachment resource under the ER instance within HuaweiCloud.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as pulumi from "@huaweicloudos/pulumi";
 *
 * const config = new pulumi.Config();
 * const instanceId = config.requireObject("instanceId");
 * const vpcId = config.requireObject("vpcId");
 * const subnetId = config.requireObject("subnetId");
 * const attachmentName = config.requireObject("attachmentName");
 * const test = new huaweicloud.er.VpcAttachment("test", {
 *     instanceId: instanceId,
 *     vpcId: vpcId,
 *     subnetId: subnetId,
 *     description: "VPC attachment created by terraform",
 *     autoCreateVpcRoutes: true,
 *     tags: {
 *         foo: "bar",
 *         owner: "terraform",
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * VPC attachments can be imported using their `id` and the related `instance_id`, e.g. bash
 *
 * ```sh
 *  $ pulumi import huaweicloud:Er/vpcAttachment:VpcAttachment test <instance_id>/<id>
 * ```
 */
export declare class VpcAttachment extends pulumi.CustomResource {
    /**
     * Get an existing VpcAttachment 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?: VpcAttachmentState, opts?: pulumi.CustomResourceOptions): VpcAttachment;
    /**
     * Returns true if the given object is an instance of VpcAttachment.  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 VpcAttachment;
    /**
     * Specifies whether to automatically configure routes for the VPC
     * which pointing to the ER instance.
     * The destination CIDRs of the routes are fixed as follows:
     * + **10.0.0.0/8**
     * + **172.16.0.0/12**
     * + **192.168.0.0/16**
     */
    readonly autoCreateVpcRoutes: pulumi.Output<boolean>;
    /**
     * The creation time.
     */
    readonly createdAt: pulumi.Output<string>;
    /**
     * Specifies the description of the VPC attachment.
     * The description contain a maximum of `255` characters, and the angle brackets (< and >) are not allowed.
     */
    readonly description: pulumi.Output<string | undefined>;
    /**
     * Specifies the ID of the ER instance to which the VPC attachment
     * belongs.
     * Changing this parameter will create a new resource.
     */
    readonly instanceId: pulumi.Output<string>;
    /**
     * Specifies the name of the VPC attachment.
     * The name can contain `1` to `64` characters, only English letters, Chinese characters, digits, underscore (_),
     * hyphens (-) and dots (.) allowed.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Specifies the region where the ER instance and the VPC attachment are
     * located.
     * If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
     */
    readonly region: pulumi.Output<string>;
    /**
     * The current status of the VPC attachment.
     */
    readonly status: pulumi.Output<string>;
    /**
     * Specifies the ID of the VPC subnet to which the VPC attachment belongs.
     * Changing this parameter will create a new resource.
     */
    readonly subnetId: pulumi.Output<string>;
    /**
     * Specifies the key/value pairs to associate with the VPC attachment.
     */
    readonly tags: pulumi.Output<{
        [key: string]: string;
    } | undefined>;
    /**
     * The latest update time.
     */
    readonly updatedAt: pulumi.Output<string>;
    /**
     * Specifies the ID of the VPC to which the VPC attachment belongs.
     * Changing this parameter will create a new resource.
     */
    readonly vpcId: pulumi.Output<string>;
    /**
     * Create a VpcAttachment 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: VpcAttachmentArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering VpcAttachment resources.
 */
export interface VpcAttachmentState {
    /**
     * Specifies whether to automatically configure routes for the VPC
     * which pointing to the ER instance.
     * The destination CIDRs of the routes are fixed as follows:
     * + **10.0.0.0/8**
     * + **172.16.0.0/12**
     * + **192.168.0.0/16**
     */
    autoCreateVpcRoutes?: pulumi.Input<boolean>;
    /**
     * The creation time.
     */
    createdAt?: pulumi.Input<string>;
    /**
     * Specifies the description of the VPC attachment.
     * The description contain a maximum of `255` characters, and the angle brackets (< and >) are not allowed.
     */
    description?: pulumi.Input<string>;
    /**
     * Specifies the ID of the ER instance to which the VPC attachment
     * belongs.
     * Changing this parameter will create a new resource.
     */
    instanceId?: pulumi.Input<string>;
    /**
     * Specifies the name of the VPC attachment.
     * The name can contain `1` to `64` characters, only English letters, Chinese characters, digits, underscore (_),
     * hyphens (-) and dots (.) allowed.
     */
    name?: pulumi.Input<string>;
    /**
     * Specifies the region where the ER instance and the VPC attachment are
     * located.
     * If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
     */
    region?: pulumi.Input<string>;
    /**
     * The current status of the VPC attachment.
     */
    status?: pulumi.Input<string>;
    /**
     * Specifies the ID of the VPC subnet to which the VPC attachment belongs.
     * Changing this parameter will create a new resource.
     */
    subnetId?: pulumi.Input<string>;
    /**
     * Specifies the key/value pairs to associate with the VPC attachment.
     */
    tags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    }>;
    /**
     * The latest update time.
     */
    updatedAt?: pulumi.Input<string>;
    /**
     * Specifies the ID of the VPC to which the VPC attachment belongs.
     * Changing this parameter will create a new resource.
     */
    vpcId?: pulumi.Input<string>;
}
/**
 * The set of arguments for constructing a VpcAttachment resource.
 */
export interface VpcAttachmentArgs {
    /**
     * Specifies whether to automatically configure routes for the VPC
     * which pointing to the ER instance.
     * The destination CIDRs of the routes are fixed as follows:
     * + **10.0.0.0/8**
     * + **172.16.0.0/12**
     * + **192.168.0.0/16**
     */
    autoCreateVpcRoutes?: pulumi.Input<boolean>;
    /**
     * Specifies the description of the VPC attachment.
     * The description contain a maximum of `255` characters, and the angle brackets (< and >) are not allowed.
     */
    description?: pulumi.Input<string>;
    /**
     * Specifies the ID of the ER instance to which the VPC attachment
     * belongs.
     * Changing this parameter will create a new resource.
     */
    instanceId: pulumi.Input<string>;
    /**
     * Specifies the name of the VPC attachment.
     * The name can contain `1` to `64` characters, only English letters, Chinese characters, digits, underscore (_),
     * hyphens (-) and dots (.) allowed.
     */
    name?: pulumi.Input<string>;
    /**
     * Specifies the region where the ER instance and the VPC attachment are
     * located.
     * If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
     */
    region?: pulumi.Input<string>;
    /**
     * Specifies the ID of the VPC subnet to which the VPC attachment belongs.
     * Changing this parameter will create a new resource.
     */
    subnetId: pulumi.Input<string>;
    /**
     * Specifies the key/value pairs to associate with the VPC attachment.
     */
    tags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    }>;
    /**
     * Specifies the ID of the VPC to which the VPC attachment belongs.
     * Changing this parameter will create a new resource.
     */
    vpcId: pulumi.Input<string>;
}
