import * as pulumi from "@pulumi/pulumi";
/**
 * Provides a resource to manage bandwidth package attachment
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooAddress = new volcengine.eip.Address("fooAddress", {
 *     billingType: "PostPaidByBandwidth",
 *     bandwidth: 1,
 *     isp: "BGP",
 *     description: "acc-test",
 *     projectName: "default",
 * });
 * const ipv4BandwidthPackage = new volcengine.bandwidth_package.BandwidthPackage("ipv4BandwidthPackage", {
 *     bandwidthPackageName: "acc-test-bp",
 *     billingType: "PostPaidByBandwidth",
 *     isp: "BGP",
 *     description: "acc-test",
 *     bandwidth: 2,
 *     protocol: "IPv4",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const ipv4Attachment = new volcengine.bandwidth_package.Attachment("ipv4Attachment", {
 *     allocationId: fooAddress.id,
 *     bandwidthPackageId: ipv4BandwidthPackage.id,
 * });
 * const fooZones = volcengine.ecs.getZones({});
 * const fooImages = volcengine.ecs.getImages({
 *     osType: "Linux",
 *     visibility: "public",
 *     instanceTypeId: "ecs.g1.large",
 * });
 * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
 *     vpcName: "acc-test-vpc",
 *     cidrBlock: "172.16.0.0/16",
 *     enableIpv6: true,
 * });
 * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
 *     subnetName: "acc-test-subnet",
 *     cidrBlock: "172.16.0.0/24",
 *     zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     vpcId: fooVpc.id,
 *     ipv6CidrBlock: 1,
 * });
 * const fooSecurityGroup = new volcengine.vpc.SecurityGroup("fooSecurityGroup", {
 *     vpcId: fooVpc.id,
 *     securityGroupName: "acc-test-security-group",
 * });
 * const fooIpv6Gateway = new volcengine.vpc.Ipv6Gateway("fooIpv6Gateway", {
 *     vpcId: fooVpc.id,
 *     description: "test",
 * });
 * const fooInstance = new volcengine.ecs.Instance("fooInstance", {
 *     imageId: fooImages.then(fooImages => fooImages.images?.[0]?.imageId),
 *     instanceType: "ecs.g1.large",
 *     instanceName: "acc-test-ecs-name",
 *     password: "93f0cb0614Aab12",
 *     instanceChargeType: "PostPaid",
 *     systemVolumeType: "ESSD_PL0",
 *     systemVolumeSize: 40,
 *     subnetId: fooSubnet.id,
 *     securityGroupIds: [fooSecurityGroup.id],
 *     ipv6AddressCount: 1,
 * });
 * const fooIpv6Addresses = volcengine.vpc.getIpv6AddressesOutput({
 *     associatedInstanceId: fooInstance.id,
 * });
 * const fooIpv6AddressBandwidth = new volcengine.vpc.Ipv6AddressBandwidth("fooIpv6AddressBandwidth", {
 *     ipv6Address: fooIpv6Addresses.apply(fooIpv6Addresses => fooIpv6Addresses.ipv6Addresses?.[0]?.ipv6Address),
 *     billingType: "PostPaidByBandwidth",
 *     bandwidth: 5,
 * });
 * const ipv6 = new volcengine.bandwidth_package.BandwidthPackage("ipv6", {
 *     bandwidthPackageName: "acc-test-bp",
 *     billingType: "PostPaidByBandwidth",
 *     isp: "BGP",
 *     description: "acc-test",
 *     bandwidth: 2,
 *     protocol: "IPv6",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const fooAttachment = new volcengine.bandwidth_package.Attachment("fooAttachment", {
 *     allocationId: fooIpv6AddressBandwidth.id,
 *     bandwidthPackageId: ipv6.id,
 * });
 * ```
 *
 * ## Import
 *
 * BandwidthPackageAttachment can be imported using the bandwidth package id and eip id, e.g.
 *
 * ```sh
 * $ pulumi import volcengine:bandwidth_package/attachment:Attachment default BandwidthPackageId:EipId
 * ```
 */
export declare class Attachment extends pulumi.CustomResource {
    /**
     * Get an existing Attachment 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?: AttachmentState, opts?: pulumi.CustomResourceOptions): Attachment;
    /**
     * Returns true if the given object is an instance of Attachment.  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 Attachment;
    /**
     * The ID of the public IP or IPv6 public bandwidth to be added to the shared bandwidth package instance.
     */
    readonly allocationId: pulumi.Output<string>;
    /**
     * The bandwidth package id.
     */
    readonly bandwidthPackageId: pulumi.Output<string>;
    /**
     * Create a Attachment 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: AttachmentArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering Attachment resources.
 */
export interface AttachmentState {
    /**
     * The ID of the public IP or IPv6 public bandwidth to be added to the shared bandwidth package instance.
     */
    allocationId?: pulumi.Input<string>;
    /**
     * The bandwidth package id.
     */
    bandwidthPackageId?: pulumi.Input<string>;
}
/**
 * The set of arguments for constructing a Attachment resource.
 */
export interface AttachmentArgs {
    /**
     * The ID of the public IP or IPv6 public bandwidth to be added to the shared bandwidth package instance.
     */
    allocationId: pulumi.Input<string>;
    /**
     * The bandwidth package id.
     */
    bandwidthPackageId: pulumi.Input<string>;
}
