1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. cen
  5. BandwidthLimit
Alibaba Cloud v3.57.0 published on Saturday, Jun 15, 2024 by Pulumi

alicloud.cen.BandwidthLimit

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.0 published on Saturday, Jun 15, 2024 by Pulumi

    Provides a CEN cross-regional interconnection bandwidth resource. To connect networks in different regions, you must set cross-region interconnection bandwidth after buying a bandwidth package. The total bandwidth set for all the interconnected regions of a bandwidth package cannot exceed the bandwidth of the bandwidth package. By default, 1 Kbps bandwidth is provided for connectivity test. To run normal business, you must buy a bandwidth package and set a proper interconnection bandwidth.

    For example, a CEN instance is bound to a bandwidth package of 20 Mbps and the interconnection areas are Mainland China and North America. You can set the cross-region interconnection bandwidth between US West 1 and China East 1, China East 2, China South 1, and so on. However, the total bandwidth set for all the interconnected regions cannot exceed 20 Mbps.

    For information about CEN and how to use it, see Cross-region interconnection bandwidth

    NOTE: Available since v1.18.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const region1 = config.get("region1") || "eu-central-1";
    const region2 = config.get("region2") || "ap-southeast-1";
    const vpc1 = new alicloud.vpc.Network("vpc1", {
        vpcName: "tf-example",
        cidrBlock: "192.168.0.0/16",
    });
    const vpc2 = new alicloud.vpc.Network("vpc2", {
        vpcName: "tf-example",
        cidrBlock: "172.16.0.0/12",
    });
    const example = new alicloud.cen.Instance("example", {
        cenInstanceName: "tf_example",
        description: "an example for cen",
    });
    const example1 = new alicloud.cen.InstanceAttachment("example1", {
        instanceId: example.id,
        childInstanceId: vpc1.id,
        childInstanceType: "VPC",
        childInstanceRegionId: region1,
    });
    const example2 = new alicloud.cen.InstanceAttachment("example2", {
        instanceId: example.id,
        childInstanceId: vpc2.id,
        childInstanceType: "VPC",
        childInstanceRegionId: region2,
    });
    const exampleBandwidthPackage = new alicloud.cen.BandwidthPackage("example", {
        bandwidth: 5,
        cenBandwidthPackageName: "tf_example",
        geographicRegionAId: "Europe",
        geographicRegionBId: "Asia-Pacific",
    });
    const exampleBandwidthPackageAttachment = new alicloud.cen.BandwidthPackageAttachment("example", {
        instanceId: example.id,
        bandwidthPackageId: exampleBandwidthPackage.id,
    });
    const exampleBandwidthLimit = new alicloud.cen.BandwidthLimit("example", {
        instanceId: exampleBandwidthPackageAttachment.instanceId,
        regionIds: [
            example1.childInstanceRegionId,
            example2.childInstanceRegionId,
        ],
        bandwidthLimit: 4,
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    region1 = config.get("region1")
    if region1 is None:
        region1 = "eu-central-1"
    region2 = config.get("region2")
    if region2 is None:
        region2 = "ap-southeast-1"
    vpc1 = alicloud.vpc.Network("vpc1",
        vpc_name="tf-example",
        cidr_block="192.168.0.0/16")
    vpc2 = alicloud.vpc.Network("vpc2",
        vpc_name="tf-example",
        cidr_block="172.16.0.0/12")
    example = alicloud.cen.Instance("example",
        cen_instance_name="tf_example",
        description="an example for cen")
    example1 = alicloud.cen.InstanceAttachment("example1",
        instance_id=example.id,
        child_instance_id=vpc1.id,
        child_instance_type="VPC",
        child_instance_region_id=region1)
    example2 = alicloud.cen.InstanceAttachment("example2",
        instance_id=example.id,
        child_instance_id=vpc2.id,
        child_instance_type="VPC",
        child_instance_region_id=region2)
    example_bandwidth_package = alicloud.cen.BandwidthPackage("example",
        bandwidth=5,
        cen_bandwidth_package_name="tf_example",
        geographic_region_a_id="Europe",
        geographic_region_b_id="Asia-Pacific")
    example_bandwidth_package_attachment = alicloud.cen.BandwidthPackageAttachment("example",
        instance_id=example.id,
        bandwidth_package_id=example_bandwidth_package.id)
    example_bandwidth_limit = alicloud.cen.BandwidthLimit("example",
        instance_id=example_bandwidth_package_attachment.instance_id,
        region_ids=[
            example1.child_instance_region_id,
            example2.child_instance_region_id,
        ],
        bandwidth_limit=4)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
    	"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, "")
    		region1 := "eu-central-1"
    		if param := cfg.Get("region1"); param != "" {
    			region1 = param
    		}
    		region2 := "ap-southeast-1"
    		if param := cfg.Get("region2"); param != "" {
    			region2 = param
    		}
    		vpc1, err := vpc.NewNetwork(ctx, "vpc1", &vpc.NetworkArgs{
    			VpcName:   pulumi.String("tf-example"),
    			CidrBlock: pulumi.String("192.168.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		vpc2, err := vpc.NewNetwork(ctx, "vpc2", &vpc.NetworkArgs{
    			VpcName:   pulumi.String("tf-example"),
    			CidrBlock: pulumi.String("172.16.0.0/12"),
    		})
    		if err != nil {
    			return err
    		}
    		example, err := cen.NewInstance(ctx, "example", &cen.InstanceArgs{
    			CenInstanceName: pulumi.String("tf_example"),
    			Description:     pulumi.String("an example for cen"),
    		})
    		if err != nil {
    			return err
    		}
    		example1, err := cen.NewInstanceAttachment(ctx, "example1", &cen.InstanceAttachmentArgs{
    			InstanceId:            example.ID(),
    			ChildInstanceId:       vpc1.ID(),
    			ChildInstanceType:     pulumi.String("VPC"),
    			ChildInstanceRegionId: pulumi.String(region1),
    		})
    		if err != nil {
    			return err
    		}
    		example2, err := cen.NewInstanceAttachment(ctx, "example2", &cen.InstanceAttachmentArgs{
    			InstanceId:            example.ID(),
    			ChildInstanceId:       vpc2.ID(),
    			ChildInstanceType:     pulumi.String("VPC"),
    			ChildInstanceRegionId: pulumi.String(region2),
    		})
    		if err != nil {
    			return err
    		}
    		exampleBandwidthPackage, err := cen.NewBandwidthPackage(ctx, "example", &cen.BandwidthPackageArgs{
    			Bandwidth:               pulumi.Int(5),
    			CenBandwidthPackageName: pulumi.String("tf_example"),
    			GeographicRegionAId:     pulumi.String("Europe"),
    			GeographicRegionBId:     pulumi.String("Asia-Pacific"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleBandwidthPackageAttachment, err := cen.NewBandwidthPackageAttachment(ctx, "example", &cen.BandwidthPackageAttachmentArgs{
    			InstanceId:         example.ID(),
    			BandwidthPackageId: exampleBandwidthPackage.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = cen.NewBandwidthLimit(ctx, "example", &cen.BandwidthLimitArgs{
    			InstanceId: exampleBandwidthPackageAttachment.InstanceId,
    			RegionIds: pulumi.StringArray{
    				example1.ChildInstanceRegionId,
    				example2.ChildInstanceRegionId,
    			},
    			BandwidthLimit: pulumi.Int(4),
    		})
    		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 region1 = config.Get("region1") ?? "eu-central-1";
        var region2 = config.Get("region2") ?? "ap-southeast-1";
        var vpc1 = new AliCloud.Vpc.Network("vpc1", new()
        {
            VpcName = "tf-example",
            CidrBlock = "192.168.0.0/16",
        });
    
        var vpc2 = new AliCloud.Vpc.Network("vpc2", new()
        {
            VpcName = "tf-example",
            CidrBlock = "172.16.0.0/12",
        });
    
        var example = new AliCloud.Cen.Instance("example", new()
        {
            CenInstanceName = "tf_example",
            Description = "an example for cen",
        });
    
        var example1 = new AliCloud.Cen.InstanceAttachment("example1", new()
        {
            InstanceId = example.Id,
            ChildInstanceId = vpc1.Id,
            ChildInstanceType = "VPC",
            ChildInstanceRegionId = region1,
        });
    
        var example2 = new AliCloud.Cen.InstanceAttachment("example2", new()
        {
            InstanceId = example.Id,
            ChildInstanceId = vpc2.Id,
            ChildInstanceType = "VPC",
            ChildInstanceRegionId = region2,
        });
    
        var exampleBandwidthPackage = new AliCloud.Cen.BandwidthPackage("example", new()
        {
            Bandwidth = 5,
            CenBandwidthPackageName = "tf_example",
            GeographicRegionAId = "Europe",
            GeographicRegionBId = "Asia-Pacific",
        });
    
        var exampleBandwidthPackageAttachment = new AliCloud.Cen.BandwidthPackageAttachment("example", new()
        {
            InstanceId = example.Id,
            BandwidthPackageId = exampleBandwidthPackage.Id,
        });
    
        var exampleBandwidthLimit = new AliCloud.Cen.BandwidthLimit("example", new()
        {
            InstanceId = exampleBandwidthPackageAttachment.InstanceId,
            RegionIds = new[]
            {
                example1.ChildInstanceRegionId,
                example2.ChildInstanceRegionId,
            },
            Limit = 4,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.vpc.Network;
    import com.pulumi.alicloud.vpc.NetworkArgs;
    import com.pulumi.alicloud.cen.Instance;
    import com.pulumi.alicloud.cen.InstanceArgs;
    import com.pulumi.alicloud.cen.InstanceAttachment;
    import com.pulumi.alicloud.cen.InstanceAttachmentArgs;
    import com.pulumi.alicloud.cen.BandwidthPackage;
    import com.pulumi.alicloud.cen.BandwidthPackageArgs;
    import com.pulumi.alicloud.cen.BandwidthPackageAttachment;
    import com.pulumi.alicloud.cen.BandwidthPackageAttachmentArgs;
    import com.pulumi.alicloud.cen.BandwidthLimit;
    import com.pulumi.alicloud.cen.BandwidthLimitArgs;
    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 region1 = config.get("region1").orElse("eu-central-1");
            final var region2 = config.get("region2").orElse("ap-southeast-1");
            var vpc1 = new Network("vpc1", NetworkArgs.builder()
                .vpcName("tf-example")
                .cidrBlock("192.168.0.0/16")
                .build());
    
            var vpc2 = new Network("vpc2", NetworkArgs.builder()
                .vpcName("tf-example")
                .cidrBlock("172.16.0.0/12")
                .build());
    
            var example = new Instance("example", InstanceArgs.builder()
                .cenInstanceName("tf_example")
                .description("an example for cen")
                .build());
    
            var example1 = new InstanceAttachment("example1", InstanceAttachmentArgs.builder()
                .instanceId(example.id())
                .childInstanceId(vpc1.id())
                .childInstanceType("VPC")
                .childInstanceRegionId(region1)
                .build());
    
            var example2 = new InstanceAttachment("example2", InstanceAttachmentArgs.builder()
                .instanceId(example.id())
                .childInstanceId(vpc2.id())
                .childInstanceType("VPC")
                .childInstanceRegionId(region2)
                .build());
    
            var exampleBandwidthPackage = new BandwidthPackage("exampleBandwidthPackage", BandwidthPackageArgs.builder()
                .bandwidth(5)
                .cenBandwidthPackageName("tf_example")
                .geographicRegionAId("Europe")
                .geographicRegionBId("Asia-Pacific")
                .build());
    
            var exampleBandwidthPackageAttachment = new BandwidthPackageAttachment("exampleBandwidthPackageAttachment", BandwidthPackageAttachmentArgs.builder()
                .instanceId(example.id())
                .bandwidthPackageId(exampleBandwidthPackage.id())
                .build());
    
            var exampleBandwidthLimit = new BandwidthLimit("exampleBandwidthLimit", BandwidthLimitArgs.builder()
                .instanceId(exampleBandwidthPackageAttachment.instanceId())
                .regionIds(            
                    example1.childInstanceRegionId(),
                    example2.childInstanceRegionId())
                .bandwidthLimit(4)
                .build());
    
        }
    }
    
    configuration:
      region1:
        type: string
        default: eu-central-1
      region2:
        type: string
        default: ap-southeast-1
    resources:
      vpc1:
        type: alicloud:vpc:Network
        properties:
          vpcName: tf-example
          cidrBlock: 192.168.0.0/16
      vpc2:
        type: alicloud:vpc:Network
        properties:
          vpcName: tf-example
          cidrBlock: 172.16.0.0/12
      example:
        type: alicloud:cen:Instance
        properties:
          cenInstanceName: tf_example
          description: an example for cen
      example1:
        type: alicloud:cen:InstanceAttachment
        properties:
          instanceId: ${example.id}
          childInstanceId: ${vpc1.id}
          childInstanceType: VPC
          childInstanceRegionId: ${region1}
      example2:
        type: alicloud:cen:InstanceAttachment
        properties:
          instanceId: ${example.id}
          childInstanceId: ${vpc2.id}
          childInstanceType: VPC
          childInstanceRegionId: ${region2}
      exampleBandwidthPackage:
        type: alicloud:cen:BandwidthPackage
        name: example
        properties:
          bandwidth: 5
          cenBandwidthPackageName: tf_example
          geographicRegionAId: Europe
          geographicRegionBId: Asia-Pacific
      exampleBandwidthPackageAttachment:
        type: alicloud:cen:BandwidthPackageAttachment
        name: example
        properties:
          instanceId: ${example.id}
          bandwidthPackageId: ${exampleBandwidthPackage.id}
      exampleBandwidthLimit:
        type: alicloud:cen:BandwidthLimit
        name: example
        properties:
          instanceId: ${exampleBandwidthPackageAttachment.instanceId}
          regionIds:
            - ${example1.childInstanceRegionId}
            - ${example2.childInstanceRegionId}
          bandwidthLimit: 4
    

    Create BandwidthLimit Resource

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

    Constructor syntax

    new BandwidthLimit(name: string, args: BandwidthLimitArgs, opts?: CustomResourceOptions);
    @overload
    def BandwidthLimit(resource_name: str,
                       args: BandwidthLimitArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def BandwidthLimit(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       bandwidth_limit: Optional[int] = None,
                       instance_id: Optional[str] = None,
                       region_ids: Optional[Sequence[str]] = None)
    func NewBandwidthLimit(ctx *Context, name string, args BandwidthLimitArgs, opts ...ResourceOption) (*BandwidthLimit, error)
    public BandwidthLimit(string name, BandwidthLimitArgs args, CustomResourceOptions? opts = null)
    public BandwidthLimit(String name, BandwidthLimitArgs args)
    public BandwidthLimit(String name, BandwidthLimitArgs args, CustomResourceOptions options)
    
    type: alicloud:cen:BandwidthLimit
    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 BandwidthLimitArgs
    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 BandwidthLimitArgs
    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 BandwidthLimitArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BandwidthLimitArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BandwidthLimitArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var bandwidthLimitResource = new AliCloud.Cen.BandwidthLimit("bandwidthLimitResource", new()
    {
        Limit = 0,
        InstanceId = "string",
        RegionIds = new[]
        {
            "string",
        },
    });
    
    example, err := cen.NewBandwidthLimit(ctx, "bandwidthLimitResource", &cen.BandwidthLimitArgs{
    	BandwidthLimit: pulumi.Int(0),
    	InstanceId:     pulumi.String("string"),
    	RegionIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var bandwidthLimitResource = new BandwidthLimit("bandwidthLimitResource", BandwidthLimitArgs.builder()
        .bandwidthLimit(0)
        .instanceId("string")
        .regionIds("string")
        .build());
    
    bandwidth_limit_resource = alicloud.cen.BandwidthLimit("bandwidthLimitResource",
        bandwidth_limit=0,
        instance_id="string",
        region_ids=["string"])
    
    const bandwidthLimitResource = new alicloud.cen.BandwidthLimit("bandwidthLimitResource", {
        bandwidthLimit: 0,
        instanceId: "string",
        regionIds: ["string"],
    });
    
    type: alicloud:cen:BandwidthLimit
    properties:
        bandwidthLimit: 0
        instanceId: string
        regionIds:
            - string
    

    BandwidthLimit 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 BandwidthLimit resource accepts the following input properties:

    InstanceId string
    The ID of the CEN.
    Limit int

    The bandwidth configured for the interconnected regions communication.

    ->NOTE: The "alicloud_cen_bandwidthlimit" resource depends on the related "alicloud.cen.BandwidthPackageAttachment" resource and "alicloud.cen.InstanceAttachment" resource.

    RegionIds List<string>
    List of the two regions to interconnect. Must be two different regions.
    BandwidthLimit int

    The bandwidth configured for the interconnected regions communication.

    ->NOTE: The "alicloud_cen_bandwidthlimit" resource depends on the related "alicloud.cen.BandwidthPackageAttachment" resource and "alicloud.cen.InstanceAttachment" resource.

    InstanceId string
    The ID of the CEN.
    RegionIds []string
    List of the two regions to interconnect. Must be two different regions.
    bandwidthLimit Integer

    The bandwidth configured for the interconnected regions communication.

    ->NOTE: The "alicloud_cen_bandwidthlimit" resource depends on the related "alicloud.cen.BandwidthPackageAttachment" resource and "alicloud.cen.InstanceAttachment" resource.

    instanceId String
    The ID of the CEN.
    regionIds List<String>
    List of the two regions to interconnect. Must be two different regions.
    bandwidthLimit number

    The bandwidth configured for the interconnected regions communication.

    ->NOTE: The "alicloud_cen_bandwidthlimit" resource depends on the related "alicloud.cen.BandwidthPackageAttachment" resource and "alicloud.cen.InstanceAttachment" resource.

    instanceId string
    The ID of the CEN.
    regionIds string[]
    List of the two regions to interconnect. Must be two different regions.
    bandwidth_limit int

    The bandwidth configured for the interconnected regions communication.

    ->NOTE: The "alicloud_cen_bandwidthlimit" resource depends on the related "alicloud.cen.BandwidthPackageAttachment" resource and "alicloud.cen.InstanceAttachment" resource.

    instance_id str
    The ID of the CEN.
    region_ids Sequence[str]
    List of the two regions to interconnect. Must be two different regions.
    bandwidthLimit Number

    The bandwidth configured for the interconnected regions communication.

    ->NOTE: The "alicloud_cen_bandwidthlimit" resource depends on the related "alicloud.cen.BandwidthPackageAttachment" resource and "alicloud.cen.InstanceAttachment" resource.

    instanceId String
    The ID of the CEN.
    regionIds List<String>
    List of the two regions to interconnect. Must be two different regions.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing BandwidthLimit Resource

    Get an existing BandwidthLimit 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?: BandwidthLimitState, opts?: CustomResourceOptions): BandwidthLimit
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bandwidth_limit: Optional[int] = None,
            instance_id: Optional[str] = None,
            region_ids: Optional[Sequence[str]] = None) -> BandwidthLimit
    func GetBandwidthLimit(ctx *Context, name string, id IDInput, state *BandwidthLimitState, opts ...ResourceOption) (*BandwidthLimit, error)
    public static BandwidthLimit Get(string name, Input<string> id, BandwidthLimitState? state, CustomResourceOptions? opts = null)
    public static BandwidthLimit get(String name, Output<String> id, BandwidthLimitState 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:
    InstanceId string
    The ID of the CEN.
    Limit int

    The bandwidth configured for the interconnected regions communication.

    ->NOTE: The "alicloud_cen_bandwidthlimit" resource depends on the related "alicloud.cen.BandwidthPackageAttachment" resource and "alicloud.cen.InstanceAttachment" resource.

    RegionIds List<string>
    List of the two regions to interconnect. Must be two different regions.
    BandwidthLimit int

    The bandwidth configured for the interconnected regions communication.

    ->NOTE: The "alicloud_cen_bandwidthlimit" resource depends on the related "alicloud.cen.BandwidthPackageAttachment" resource and "alicloud.cen.InstanceAttachment" resource.

    InstanceId string
    The ID of the CEN.
    RegionIds []string
    List of the two regions to interconnect. Must be two different regions.
    bandwidthLimit Integer

    The bandwidth configured for the interconnected regions communication.

    ->NOTE: The "alicloud_cen_bandwidthlimit" resource depends on the related "alicloud.cen.BandwidthPackageAttachment" resource and "alicloud.cen.InstanceAttachment" resource.

    instanceId String
    The ID of the CEN.
    regionIds List<String>
    List of the two regions to interconnect. Must be two different regions.
    bandwidthLimit number

    The bandwidth configured for the interconnected regions communication.

    ->NOTE: The "alicloud_cen_bandwidthlimit" resource depends on the related "alicloud.cen.BandwidthPackageAttachment" resource and "alicloud.cen.InstanceAttachment" resource.

    instanceId string
    The ID of the CEN.
    regionIds string[]
    List of the two regions to interconnect. Must be two different regions.
    bandwidth_limit int

    The bandwidth configured for the interconnected regions communication.

    ->NOTE: The "alicloud_cen_bandwidthlimit" resource depends on the related "alicloud.cen.BandwidthPackageAttachment" resource and "alicloud.cen.InstanceAttachment" resource.

    instance_id str
    The ID of the CEN.
    region_ids Sequence[str]
    List of the two regions to interconnect. Must be two different regions.
    bandwidthLimit Number

    The bandwidth configured for the interconnected regions communication.

    ->NOTE: The "alicloud_cen_bandwidthlimit" resource depends on the related "alicloud.cen.BandwidthPackageAttachment" resource and "alicloud.cen.InstanceAttachment" resource.

    instanceId String
    The ID of the CEN.
    regionIds List<String>
    List of the two regions to interconnect. Must be two different regions.

    Import

    CEN bandwidth limit can be imported using the id, e.g.

    $ pulumi import alicloud:cen/bandwidthLimit:BandwidthLimit example cen-abc123456:cn-beijing:eu-west-1
    

    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.57.0 published on Saturday, Jun 15, 2024 by Pulumi