1. Packages
  2. Alicloud Provider
  3. API Docs
  4. vpc
  5. CommonBandwithPackageAttachment
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

alicloud.vpc.CommonBandwithPackageAttachment

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

    Example Usage

    Basic Usage

    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 _default = new alicloud.vpc.CommonBandwithPackage("default", {
        bandwidth: "3",
        internetChargeType: "PayByTraffic",
    });
    const defaultEipAddress = new alicloud.ecs.EipAddress("default", {
        bandwidth: "3",
        internetChargeType: "PayByTraffic",
    });
    const defaultCommonBandwithPackageAttachment = new alicloud.vpc.CommonBandwithPackageAttachment("default", {
        bandwidthPackageId: _default.id,
        instanceId: defaultEipAddress.id,
        bandwidthPackageBandwidth: "2",
        ipType: "EIP",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    default = alicloud.vpc.CommonBandwithPackage("default",
        bandwidth="3",
        internet_charge_type="PayByTraffic")
    default_eip_address = alicloud.ecs.EipAddress("default",
        bandwidth="3",
        internet_charge_type="PayByTraffic")
    default_common_bandwith_package_attachment = alicloud.vpc.CommonBandwithPackageAttachment("default",
        bandwidth_package_id=default.id,
        instance_id=default_eip_address.id,
        bandwidth_package_bandwidth="2",
        ip_type="EIP")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		name := "terraform-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		_, err := vpc.NewCommonBandwithPackage(ctx, "default", &vpc.CommonBandwithPackageArgs{
    			Bandwidth:          pulumi.String("3"),
    			InternetChargeType: pulumi.String("PayByTraffic"),
    		})
    		if err != nil {
    			return err
    		}
    		defaultEipAddress, err := ecs.NewEipAddress(ctx, "default", &ecs.EipAddressArgs{
    			Bandwidth:          pulumi.String("3"),
    			InternetChargeType: pulumi.String("PayByTraffic"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = vpc.NewCommonBandwithPackageAttachment(ctx, "default", &vpc.CommonBandwithPackageAttachmentArgs{
    			BandwidthPackageId:        _default.ID(),
    			InstanceId:                defaultEipAddress.ID(),
    			BandwidthPackageBandwidth: pulumi.String("2"),
    			IpType:                    pulumi.String("EIP"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "terraform-example";
        var @default = new AliCloud.Vpc.CommonBandwithPackage("default", new()
        {
            Bandwidth = "3",
            InternetChargeType = "PayByTraffic",
        });
    
        var defaultEipAddress = new AliCloud.Ecs.EipAddress("default", new()
        {
            Bandwidth = "3",
            InternetChargeType = "PayByTraffic",
        });
    
        var defaultCommonBandwithPackageAttachment = new AliCloud.Vpc.CommonBandwithPackageAttachment("default", new()
        {
            BandwidthPackageId = @default.Id,
            InstanceId = defaultEipAddress.Id,
            BandwidthPackageBandwidth = "2",
            IpType = "EIP",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.vpc.CommonBandwithPackage;
    import com.pulumi.alicloud.vpc.CommonBandwithPackageArgs;
    import com.pulumi.alicloud.ecs.EipAddress;
    import com.pulumi.alicloud.ecs.EipAddressArgs;
    import com.pulumi.alicloud.vpc.CommonBandwithPackageAttachment;
    import com.pulumi.alicloud.vpc.CommonBandwithPackageAttachmentArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            final var name = config.get("name").orElse("terraform-example");
            var default_ = new CommonBandwithPackage("default", CommonBandwithPackageArgs.builder()
                .bandwidth(3)
                .internetChargeType("PayByTraffic")
                .build());
    
            var defaultEipAddress = new EipAddress("defaultEipAddress", EipAddressArgs.builder()
                .bandwidth("3")
                .internetChargeType("PayByTraffic")
                .build());
    
            var defaultCommonBandwithPackageAttachment = new CommonBandwithPackageAttachment("defaultCommonBandwithPackageAttachment", CommonBandwithPackageAttachmentArgs.builder()
                .bandwidthPackageId(default_.id())
                .instanceId(defaultEipAddress.id())
                .bandwidthPackageBandwidth("2")
                .ipType("EIP")
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    resources:
      default:
        type: alicloud:vpc:CommonBandwithPackage
        properties:
          bandwidth: 3
          internetChargeType: PayByTraffic
      defaultEipAddress:
        type: alicloud:ecs:EipAddress
        name: default
        properties:
          bandwidth: '3'
          internetChargeType: PayByTraffic
      defaultCommonBandwithPackageAttachment:
        type: alicloud:vpc:CommonBandwithPackageAttachment
        name: default
        properties:
          bandwidthPackageId: ${default.id}
          instanceId: ${defaultEipAddress.id}
          bandwidthPackageBandwidth: '2'
          ipType: EIP
    

    Create CommonBandwithPackageAttachment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CommonBandwithPackageAttachment(name: string, args: CommonBandwithPackageAttachmentArgs, opts?: CustomResourceOptions);
    @overload
    def CommonBandwithPackageAttachment(resource_name: str,
                                        args: CommonBandwithPackageAttachmentArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def CommonBandwithPackageAttachment(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        bandwidth_package_id: Optional[str] = None,
                                        instance_id: Optional[str] = None,
                                        bandwidth_package_bandwidth: Optional[str] = None,
                                        cancel_common_bandwidth_package_ip_bandwidth: Optional[bool] = None,
                                        ip_type: Optional[str] = None)
    func NewCommonBandwithPackageAttachment(ctx *Context, name string, args CommonBandwithPackageAttachmentArgs, opts ...ResourceOption) (*CommonBandwithPackageAttachment, error)
    public CommonBandwithPackageAttachment(string name, CommonBandwithPackageAttachmentArgs args, CustomResourceOptions? opts = null)
    public CommonBandwithPackageAttachment(String name, CommonBandwithPackageAttachmentArgs args)
    public CommonBandwithPackageAttachment(String name, CommonBandwithPackageAttachmentArgs args, CustomResourceOptions options)
    
    type: alicloud:vpc:CommonBandwithPackageAttachment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CommonBandwithPackageAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CommonBandwithPackageAttachmentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CommonBandwithPackageAttachmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CommonBandwithPackageAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CommonBandwithPackageAttachmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var commonBandwithPackageAttachmentResource = new AliCloud.Vpc.CommonBandwithPackageAttachment("commonBandwithPackageAttachmentResource", new()
    {
        BandwidthPackageId = "string",
        InstanceId = "string",
        BandwidthPackageBandwidth = "string",
        CancelCommonBandwidthPackageIpBandwidth = false,
        IpType = "string",
    });
    
    example, err := vpc.NewCommonBandwithPackageAttachment(ctx, "commonBandwithPackageAttachmentResource", &vpc.CommonBandwithPackageAttachmentArgs{
    	BandwidthPackageId:                      pulumi.String("string"),
    	InstanceId:                              pulumi.String("string"),
    	BandwidthPackageBandwidth:               pulumi.String("string"),
    	CancelCommonBandwidthPackageIpBandwidth: pulumi.Bool(false),
    	IpType:                                  pulumi.String("string"),
    })
    
    var commonBandwithPackageAttachmentResource = new CommonBandwithPackageAttachment("commonBandwithPackageAttachmentResource", CommonBandwithPackageAttachmentArgs.builder()
        .bandwidthPackageId("string")
        .instanceId("string")
        .bandwidthPackageBandwidth("string")
        .cancelCommonBandwidthPackageIpBandwidth(false)
        .ipType("string")
        .build());
    
    common_bandwith_package_attachment_resource = alicloud.vpc.CommonBandwithPackageAttachment("commonBandwithPackageAttachmentResource",
        bandwidth_package_id="string",
        instance_id="string",
        bandwidth_package_bandwidth="string",
        cancel_common_bandwidth_package_ip_bandwidth=False,
        ip_type="string")
    
    const commonBandwithPackageAttachmentResource = new alicloud.vpc.CommonBandwithPackageAttachment("commonBandwithPackageAttachmentResource", {
        bandwidthPackageId: "string",
        instanceId: "string",
        bandwidthPackageBandwidth: "string",
        cancelCommonBandwidthPackageIpBandwidth: false,
        ipType: "string",
    });
    
    type: alicloud:vpc:CommonBandwithPackageAttachment
    properties:
        bandwidthPackageBandwidth: string
        bandwidthPackageId: string
        cancelCommonBandwidthPackageIpBandwidth: false
        instanceId: string
        ipType: string
    

    CommonBandwithPackageAttachment Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The CommonBandwithPackageAttachment resource accepts the following input properties:

    BandwidthPackageId string
    The ID of the Internet Shared Bandwidth instance.
    InstanceId string

    The ID of the EIP that you want to query.

    You can specify up to 50 EIP IDs. Separate multiple IDs with commas (,).

    NOTE: If both EipAddress and AllocationId are specified, you can specify up to 50 EIP IDs for AllocationId, and specify up to 50 EIPs for EipAddress.

    BandwidthPackageBandwidth string
    The maximum bandwidth for the EIP. This value cannot be larger than the maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s.
    CancelCommonBandwidthPackageIpBandwidth bool
    Whether to cancel the maximum bandwidth configuration for the EIP. Default: false.
    IpType string
    The type of IP address. Set the value to EIP to associate EIPs with the Internet Shared Bandwidth instance.
    BandwidthPackageId string
    The ID of the Internet Shared Bandwidth instance.
    InstanceId string

    The ID of the EIP that you want to query.

    You can specify up to 50 EIP IDs. Separate multiple IDs with commas (,).

    NOTE: If both EipAddress and AllocationId are specified, you can specify up to 50 EIP IDs for AllocationId, and specify up to 50 EIPs for EipAddress.

    BandwidthPackageBandwidth string
    The maximum bandwidth for the EIP. This value cannot be larger than the maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s.
    CancelCommonBandwidthPackageIpBandwidth bool
    Whether to cancel the maximum bandwidth configuration for the EIP. Default: false.
    IpType string
    The type of IP address. Set the value to EIP to associate EIPs with the Internet Shared Bandwidth instance.
    bandwidthPackageId String
    The ID of the Internet Shared Bandwidth instance.
    instanceId String

    The ID of the EIP that you want to query.

    You can specify up to 50 EIP IDs. Separate multiple IDs with commas (,).

    NOTE: If both EipAddress and AllocationId are specified, you can specify up to 50 EIP IDs for AllocationId, and specify up to 50 EIPs for EipAddress.

    bandwidthPackageBandwidth String
    The maximum bandwidth for the EIP. This value cannot be larger than the maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s.
    cancelCommonBandwidthPackageIpBandwidth Boolean
    Whether to cancel the maximum bandwidth configuration for the EIP. Default: false.
    ipType String
    The type of IP address. Set the value to EIP to associate EIPs with the Internet Shared Bandwidth instance.
    bandwidthPackageId string
    The ID of the Internet Shared Bandwidth instance.
    instanceId string

    The ID of the EIP that you want to query.

    You can specify up to 50 EIP IDs. Separate multiple IDs with commas (,).

    NOTE: If both EipAddress and AllocationId are specified, you can specify up to 50 EIP IDs for AllocationId, and specify up to 50 EIPs for EipAddress.

    bandwidthPackageBandwidth string
    The maximum bandwidth for the EIP. This value cannot be larger than the maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s.
    cancelCommonBandwidthPackageIpBandwidth boolean
    Whether to cancel the maximum bandwidth configuration for the EIP. Default: false.
    ipType string
    The type of IP address. Set the value to EIP to associate EIPs with the Internet Shared Bandwidth instance.
    bandwidth_package_id str
    The ID of the Internet Shared Bandwidth instance.
    instance_id str

    The ID of the EIP that you want to query.

    You can specify up to 50 EIP IDs. Separate multiple IDs with commas (,).

    NOTE: If both EipAddress and AllocationId are specified, you can specify up to 50 EIP IDs for AllocationId, and specify up to 50 EIPs for EipAddress.

    bandwidth_package_bandwidth str
    The maximum bandwidth for the EIP. This value cannot be larger than the maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s.
    cancel_common_bandwidth_package_ip_bandwidth bool
    Whether to cancel the maximum bandwidth configuration for the EIP. Default: false.
    ip_type str
    The type of IP address. Set the value to EIP to associate EIPs with the Internet Shared Bandwidth instance.
    bandwidthPackageId String
    The ID of the Internet Shared Bandwidth instance.
    instanceId String

    The ID of the EIP that you want to query.

    You can specify up to 50 EIP IDs. Separate multiple IDs with commas (,).

    NOTE: If both EipAddress and AllocationId are specified, you can specify up to 50 EIP IDs for AllocationId, and specify up to 50 EIPs for EipAddress.

    bandwidthPackageBandwidth String
    The maximum bandwidth for the EIP. This value cannot be larger than the maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s.
    cancelCommonBandwidthPackageIpBandwidth Boolean
    Whether to cancel the maximum bandwidth configuration for the EIP. Default: false.
    ipType String
    The type of IP address. Set the value to EIP to associate EIPs with the Internet Shared Bandwidth instance.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CommonBandwithPackageAttachment resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the Internet Shared Bandwidth instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the Internet Shared Bandwidth instance.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the Internet Shared Bandwidth instance.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status of the Internet Shared Bandwidth instance.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The status of the Internet Shared Bandwidth instance.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the Internet Shared Bandwidth instance.

    Look up Existing CommonBandwithPackageAttachment Resource

    Get an existing CommonBandwithPackageAttachment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CommonBandwithPackageAttachmentState, opts?: CustomResourceOptions): CommonBandwithPackageAttachment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bandwidth_package_bandwidth: Optional[str] = None,
            bandwidth_package_id: Optional[str] = None,
            cancel_common_bandwidth_package_ip_bandwidth: Optional[bool] = None,
            instance_id: Optional[str] = None,
            ip_type: Optional[str] = None,
            status: Optional[str] = None) -> CommonBandwithPackageAttachment
    func GetCommonBandwithPackageAttachment(ctx *Context, name string, id IDInput, state *CommonBandwithPackageAttachmentState, opts ...ResourceOption) (*CommonBandwithPackageAttachment, error)
    public static CommonBandwithPackageAttachment Get(string name, Input<string> id, CommonBandwithPackageAttachmentState? state, CustomResourceOptions? opts = null)
    public static CommonBandwithPackageAttachment get(String name, Output<String> id, CommonBandwithPackageAttachmentState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BandwidthPackageBandwidth string
    The maximum bandwidth for the EIP. This value cannot be larger than the maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s.
    BandwidthPackageId string
    The ID of the Internet Shared Bandwidth instance.
    CancelCommonBandwidthPackageIpBandwidth bool
    Whether to cancel the maximum bandwidth configuration for the EIP. Default: false.
    InstanceId string

    The ID of the EIP that you want to query.

    You can specify up to 50 EIP IDs. Separate multiple IDs with commas (,).

    NOTE: If both EipAddress and AllocationId are specified, you can specify up to 50 EIP IDs for AllocationId, and specify up to 50 EIPs for EipAddress.

    IpType string
    The type of IP address. Set the value to EIP to associate EIPs with the Internet Shared Bandwidth instance.
    Status string
    The status of the Internet Shared Bandwidth instance.
    BandwidthPackageBandwidth string
    The maximum bandwidth for the EIP. This value cannot be larger than the maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s.
    BandwidthPackageId string
    The ID of the Internet Shared Bandwidth instance.
    CancelCommonBandwidthPackageIpBandwidth bool
    Whether to cancel the maximum bandwidth configuration for the EIP. Default: false.
    InstanceId string

    The ID of the EIP that you want to query.

    You can specify up to 50 EIP IDs. Separate multiple IDs with commas (,).

    NOTE: If both EipAddress and AllocationId are specified, you can specify up to 50 EIP IDs for AllocationId, and specify up to 50 EIPs for EipAddress.

    IpType string
    The type of IP address. Set the value to EIP to associate EIPs with the Internet Shared Bandwidth instance.
    Status string
    The status of the Internet Shared Bandwidth instance.
    bandwidthPackageBandwidth String
    The maximum bandwidth for the EIP. This value cannot be larger than the maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s.
    bandwidthPackageId String
    The ID of the Internet Shared Bandwidth instance.
    cancelCommonBandwidthPackageIpBandwidth Boolean
    Whether to cancel the maximum bandwidth configuration for the EIP. Default: false.
    instanceId String

    The ID of the EIP that you want to query.

    You can specify up to 50 EIP IDs. Separate multiple IDs with commas (,).

    NOTE: If both EipAddress and AllocationId are specified, you can specify up to 50 EIP IDs for AllocationId, and specify up to 50 EIPs for EipAddress.

    ipType String
    The type of IP address. Set the value to EIP to associate EIPs with the Internet Shared Bandwidth instance.
    status String
    The status of the Internet Shared Bandwidth instance.
    bandwidthPackageBandwidth string
    The maximum bandwidth for the EIP. This value cannot be larger than the maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s.
    bandwidthPackageId string
    The ID of the Internet Shared Bandwidth instance.
    cancelCommonBandwidthPackageIpBandwidth boolean
    Whether to cancel the maximum bandwidth configuration for the EIP. Default: false.
    instanceId string

    The ID of the EIP that you want to query.

    You can specify up to 50 EIP IDs. Separate multiple IDs with commas (,).

    NOTE: If both EipAddress and AllocationId are specified, you can specify up to 50 EIP IDs for AllocationId, and specify up to 50 EIPs for EipAddress.

    ipType string
    The type of IP address. Set the value to EIP to associate EIPs with the Internet Shared Bandwidth instance.
    status string
    The status of the Internet Shared Bandwidth instance.
    bandwidth_package_bandwidth str
    The maximum bandwidth for the EIP. This value cannot be larger than the maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s.
    bandwidth_package_id str
    The ID of the Internet Shared Bandwidth instance.
    cancel_common_bandwidth_package_ip_bandwidth bool
    Whether to cancel the maximum bandwidth configuration for the EIP. Default: false.
    instance_id str

    The ID of the EIP that you want to query.

    You can specify up to 50 EIP IDs. Separate multiple IDs with commas (,).

    NOTE: If both EipAddress and AllocationId are specified, you can specify up to 50 EIP IDs for AllocationId, and specify up to 50 EIPs for EipAddress.

    ip_type str
    The type of IP address. Set the value to EIP to associate EIPs with the Internet Shared Bandwidth instance.
    status str
    The status of the Internet Shared Bandwidth instance.
    bandwidthPackageBandwidth String
    The maximum bandwidth for the EIP. This value cannot be larger than the maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s.
    bandwidthPackageId String
    The ID of the Internet Shared Bandwidth instance.
    cancelCommonBandwidthPackageIpBandwidth Boolean
    Whether to cancel the maximum bandwidth configuration for the EIP. Default: false.
    instanceId String

    The ID of the EIP that you want to query.

    You can specify up to 50 EIP IDs. Separate multiple IDs with commas (,).

    NOTE: If both EipAddress and AllocationId are specified, you can specify up to 50 EIP IDs for AllocationId, and specify up to 50 EIPs for EipAddress.

    ipType String
    The type of IP address. Set the value to EIP to associate EIPs with the Internet Shared Bandwidth instance.
    status String
    The status of the Internet Shared Bandwidth instance.

    Import

    CBWP Common Bandwidth Package Attachment can be imported using the id, e.g.

    $ pulumi import alicloud:vpc/commonBandwithPackageAttachment:CommonBandwithPackageAttachment example <bandwidth_package_id>:<instance_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi