alicloud.cen.BandwidthLimit
Explore with Pulumi AI
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
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 ec = new AliCloud.Provider("ec", new()
{
Region = region1,
});
var @as = new AliCloud.Provider("as", new()
{
Region = region2,
});
var vpc1 = new AliCloud.Vpc.Network("vpc1", new()
{
VpcName = "tf-example",
CidrBlock = "192.168.0.0/16",
}, new CustomResourceOptions
{
Provider = alicloud.Ec,
});
var vpc2 = new AliCloud.Vpc.Network("vpc2", new()
{
VpcName = "tf-example",
CidrBlock = "172.16.0.0/12",
}, new CustomResourceOptions
{
Provider = alicloud.As,
});
var exampleInstance = new AliCloud.Cen.Instance("exampleInstance", new()
{
CenInstanceName = "tf_example",
Description = "an example for cen",
});
var example1 = new AliCloud.Cen.InstanceAttachment("example1", new()
{
InstanceId = exampleInstance.Id,
ChildInstanceId = vpc1.Id,
ChildInstanceType = "VPC",
ChildInstanceRegionId = region1,
});
var example2 = new AliCloud.Cen.InstanceAttachment("example2", new()
{
InstanceId = exampleInstance.Id,
ChildInstanceId = vpc2.Id,
ChildInstanceType = "VPC",
ChildInstanceRegionId = region2,
});
var exampleBandwidthPackage = new AliCloud.Cen.BandwidthPackage("exampleBandwidthPackage", new()
{
Bandwidth = 5,
CenBandwidthPackageName = "tf_example",
GeographicRegionAId = "Europe",
GeographicRegionBId = "Asia-Pacific",
});
var exampleBandwidthPackageAttachment = new AliCloud.Cen.BandwidthPackageAttachment("exampleBandwidthPackageAttachment", new()
{
InstanceId = exampleInstance.Id,
BandwidthPackageId = exampleBandwidthPackage.Id,
});
var exampleBandwidthLimit = new AliCloud.Cen.BandwidthLimit("exampleBandwidthLimit", new()
{
InstanceId = exampleBandwidthPackageAttachment.InstanceId,
RegionIds = new[]
{
example1.ChildInstanceRegionId,
example2.ChildInstanceRegionId,
},
Limit = 4,
});
});
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"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
}
_, err := alicloud.NewProvider(ctx, "ec", &alicloud.ProviderArgs{
Region: pulumi.String(region1),
})
if err != nil {
return err
}
_, err = alicloud.NewProvider(ctx, "as", &alicloud.ProviderArgs{
Region: pulumi.String(region2),
})
if err != nil {
return err
}
vpc1, err := vpc.NewNetwork(ctx, "vpc1", &vpc.NetworkArgs{
VpcName: pulumi.String("tf-example"),
CidrBlock: pulumi.String("192.168.0.0/16"),
}, pulumi.Provider(alicloud.Ec))
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"),
}, pulumi.Provider(alicloud.As))
if err != nil {
return err
}
exampleInstance, err := cen.NewInstance(ctx, "exampleInstance", &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: exampleInstance.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: exampleInstance.ID(),
ChildInstanceId: vpc2.ID(),
ChildInstanceType: pulumi.String("VPC"),
ChildInstanceRegionId: pulumi.String(region2),
})
if err != nil {
return err
}
exampleBandwidthPackage, err := cen.NewBandwidthPackage(ctx, "exampleBandwidthPackage", &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, "exampleBandwidthPackageAttachment", &cen.BandwidthPackageAttachmentArgs{
InstanceId: exampleInstance.ID(),
BandwidthPackageId: exampleBandwidthPackage.ID(),
})
if err != nil {
return err
}
_, err = cen.NewBandwidthLimit(ctx, "exampleBandwidthLimit", &cen.BandwidthLimitArgs{
InstanceId: exampleBandwidthPackageAttachment.InstanceId,
RegionIds: pulumi.StringArray{
example1.ChildInstanceRegionId,
example2.ChildInstanceRegionId,
},
BandwidthLimit: pulumi.Int(4),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.Provider;
import com.pulumi.alicloud.ProviderArgs;
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 com.pulumi.resources.CustomResourceOptions;
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 ec = new Provider("ec", ProviderArgs.builder()
.region(region1)
.build());
var as = new Provider("as", ProviderArgs.builder()
.region(region2)
.build());
var vpc1 = new Network("vpc1", NetworkArgs.builder()
.vpcName("tf-example")
.cidrBlock("192.168.0.0/16")
.build(), CustomResourceOptions.builder()
.provider(alicloud.ec())
.build());
var vpc2 = new Network("vpc2", NetworkArgs.builder()
.vpcName("tf-example")
.cidrBlock("172.16.0.0/12")
.build(), CustomResourceOptions.builder()
.provider(alicloud.as())
.build());
var exampleInstance = new Instance("exampleInstance", InstanceArgs.builder()
.cenInstanceName("tf_example")
.description("an example for cen")
.build());
var example1 = new InstanceAttachment("example1", InstanceAttachmentArgs.builder()
.instanceId(exampleInstance.id())
.childInstanceId(vpc1.id())
.childInstanceType("VPC")
.childInstanceRegionId(region1)
.build());
var example2 = new InstanceAttachment("example2", InstanceAttachmentArgs.builder()
.instanceId(exampleInstance.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(exampleInstance.id())
.bandwidthPackageId(exampleBandwidthPackage.id())
.build());
var exampleBandwidthLimit = new BandwidthLimit("exampleBandwidthLimit", BandwidthLimitArgs.builder()
.instanceId(exampleBandwidthPackageAttachment.instanceId())
.regionIds(
example1.childInstanceRegionId(),
example2.childInstanceRegionId())
.bandwidthLimit(4)
.build());
}
}
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"
ec = alicloud.Provider("ec", region=region1)
as_ = alicloud.Provider("as", region=region2)
vpc1 = alicloud.vpc.Network("vpc1",
vpc_name="tf-example",
cidr_block="192.168.0.0/16",
opts=pulumi.ResourceOptions(provider=alicloud["ec"]))
vpc2 = alicloud.vpc.Network("vpc2",
vpc_name="tf-example",
cidr_block="172.16.0.0/12",
opts=pulumi.ResourceOptions(provider=alicloud["as"]))
example_instance = alicloud.cen.Instance("exampleInstance",
cen_instance_name="tf_example",
description="an example for cen")
example1 = alicloud.cen.InstanceAttachment("example1",
instance_id=example_instance.id,
child_instance_id=vpc1.id,
child_instance_type="VPC",
child_instance_region_id=region1)
example2 = alicloud.cen.InstanceAttachment("example2",
instance_id=example_instance.id,
child_instance_id=vpc2.id,
child_instance_type="VPC",
child_instance_region_id=region2)
example_bandwidth_package = alicloud.cen.BandwidthPackage("exampleBandwidthPackage",
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("exampleBandwidthPackageAttachment",
instance_id=example_instance.id,
bandwidth_package_id=example_bandwidth_package.id)
example_bandwidth_limit = alicloud.cen.BandwidthLimit("exampleBandwidthLimit",
instance_id=example_bandwidth_package_attachment.instance_id,
region_ids=[
example1.child_instance_region_id,
example2.child_instance_region_id,
],
bandwidth_limit=4)
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 ec = new alicloud.Provider("ec", {region: region1});
const as = new alicloud.Provider("as", {region: region2});
const vpc1 = new alicloud.vpc.Network("vpc1", {
vpcName: "tf-example",
cidrBlock: "192.168.0.0/16",
}, {
provider: alicloud.ec,
});
const vpc2 = new alicloud.vpc.Network("vpc2", {
vpcName: "tf-example",
cidrBlock: "172.16.0.0/12",
}, {
provider: alicloud.as,
});
const exampleInstance = new alicloud.cen.Instance("exampleInstance", {
cenInstanceName: "tf_example",
description: "an example for cen",
});
const example1 = new alicloud.cen.InstanceAttachment("example1", {
instanceId: exampleInstance.id,
childInstanceId: vpc1.id,
childInstanceType: "VPC",
childInstanceRegionId: region1,
});
const example2 = new alicloud.cen.InstanceAttachment("example2", {
instanceId: exampleInstance.id,
childInstanceId: vpc2.id,
childInstanceType: "VPC",
childInstanceRegionId: region2,
});
const exampleBandwidthPackage = new alicloud.cen.BandwidthPackage("exampleBandwidthPackage", {
bandwidth: 5,
cenBandwidthPackageName: "tf_example",
geographicRegionAId: "Europe",
geographicRegionBId: "Asia-Pacific",
});
const exampleBandwidthPackageAttachment = new alicloud.cen.BandwidthPackageAttachment("exampleBandwidthPackageAttachment", {
instanceId: exampleInstance.id,
bandwidthPackageId: exampleBandwidthPackage.id,
});
const exampleBandwidthLimit = new alicloud.cen.BandwidthLimit("exampleBandwidthLimit", {
instanceId: exampleBandwidthPackageAttachment.instanceId,
regionIds: [
example1.childInstanceRegionId,
example2.childInstanceRegionId,
],
bandwidthLimit: 4,
});
configuration:
region1:
type: string
default: eu-central-1
region2:
type: string
default: ap-southeast-1
resources:
ec:
type: pulumi:providers:alicloud
properties:
region: ${region1}
as:
type: pulumi:providers:alicloud
properties:
region: ${region2}
vpc1:
type: alicloud:vpc:Network
properties:
vpcName: tf-example
cidrBlock: 192.168.0.0/16
options:
provider: ${alicloud.ec}
vpc2:
type: alicloud:vpc:Network
properties:
vpcName: tf-example
cidrBlock: 172.16.0.0/12
options:
provider: ${alicloud.as}
exampleInstance:
type: alicloud:cen:Instance
properties:
cenInstanceName: tf_example
description: an example for cen
example1:
type: alicloud:cen:InstanceAttachment
properties:
instanceId: ${exampleInstance.id}
childInstanceId: ${vpc1.id}
childInstanceType: VPC
childInstanceRegionId: ${region1}
example2:
type: alicloud:cen:InstanceAttachment
properties:
instanceId: ${exampleInstance.id}
childInstanceId: ${vpc2.id}
childInstanceType: VPC
childInstanceRegionId: ${region2}
exampleBandwidthPackage:
type: alicloud:cen:BandwidthPackage
properties:
bandwidth: 5
cenBandwidthPackageName: tf_example
geographicRegionAId: Europe
geographicRegionBId: Asia-Pacific
exampleBandwidthPackageAttachment:
type: alicloud:cen:BandwidthPackageAttachment
properties:
instanceId: ${exampleInstance.id}
bandwidthPackageId: ${exampleBandwidthPackage.id}
exampleBandwidthLimit:
type: alicloud:cen:BandwidthLimit
properties:
instanceId: ${exampleBandwidthPackageAttachment.instanceId}
regionIds:
- ${example1.childInstanceRegionId}
- ${example2.childInstanceRegionId}
bandwidthLimit: 4
Create BandwidthLimit Resource
new BandwidthLimit(name: string, args: BandwidthLimitArgs, opts?: CustomResourceOptions);
@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)
@overload
def BandwidthLimit(resource_name: str,
args: BandwidthLimitArgs,
opts: Optional[ResourceOptions] = 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.
- 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.
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:
- Instance
Id 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.
- Region
Ids List<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 string The ID of the CEN.
- Region
Ids []string List of the two regions to interconnect. Must be two different regions.
- bandwidth
Limit 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.
- instance
Id String The ID of the CEN.
- region
Ids List<String> List of the two regions to interconnect. Must be two different regions.
- bandwidth
Limit 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.
- instance
Id string The ID of the CEN.
- region
Ids 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.
- bandwidth
Limit 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.
- instance
Id String The ID of the CEN.
- region
Ids 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.
- Instance
Id 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.
- Region
Ids List<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 string The ID of the CEN.
- Region
Ids []string List of the two regions to interconnect. Must be two different regions.
- bandwidth
Limit 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.
- instance
Id String The ID of the CEN.
- region
Ids List<String> List of the two regions to interconnect. Must be two different regions.
- bandwidth
Limit 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.
- instance
Id string The ID of the CEN.
- region
Ids 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.
- bandwidth
Limit 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.
- instance
Id String The ID of the CEN.
- region
Ids 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
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.