1. Packages
  2. Volcengine
  3. API Docs
  4. cen
  5. BandwidthPackage
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.cen.BandwidthPackage

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@volcengine/pulumi";

const foo = new volcengine.cen.BandwidthPackage("foo", {
    bandwidth: 2,
    billingType: "PrePaid",
    cenBandwidthPackageName: "acc-test-cen-bp",
    description: "acc-test",
    localGeographicRegionSetId: "China",
    peerGeographicRegionSetId: "China",
    period: 1,
    periodUnit: "Month",
    projectName: "default",
    tags: [{
        key: "k1",
        value: "v1",
    }],
});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo = volcengine.cen.BandwidthPackage("foo",
    bandwidth=2,
    billing_type="PrePaid",
    cen_bandwidth_package_name="acc-test-cen-bp",
    description="acc-test",
    local_geographic_region_set_id="China",
    peer_geographic_region_set_id="China",
    period=1,
    period_unit="Month",
    project_name="default",
    tags=[volcengine.cen.BandwidthPackageTagArgs(
        key="k1",
        value="v1",
    )])
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cen"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cen.NewBandwidthPackage(ctx, "foo", &cen.BandwidthPackageArgs{
			Bandwidth:                  pulumi.Int(2),
			BillingType:                pulumi.String("PrePaid"),
			CenBandwidthPackageName:    pulumi.String("acc-test-cen-bp"),
			Description:                pulumi.String("acc-test"),
			LocalGeographicRegionSetId: pulumi.String("China"),
			PeerGeographicRegionSetId:  pulumi.String("China"),
			Period:                     pulumi.Int(1),
			PeriodUnit:                 pulumi.String("Month"),
			ProjectName:                pulumi.String("default"),
			Tags: cen.BandwidthPackageTagArray{
				&cen.BandwidthPackageTagArgs{
					Key:   pulumi.String("k1"),
					Value: pulumi.String("v1"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;

return await Deployment.RunAsync(() => 
{
    var foo = new Volcengine.Cen.BandwidthPackage("foo", new()
    {
        Bandwidth = 2,
        BillingType = "PrePaid",
        CenBandwidthPackageName = "acc-test-cen-bp",
        Description = "acc-test",
        LocalGeographicRegionSetId = "China",
        PeerGeographicRegionSetId = "China",
        Period = 1,
        PeriodUnit = "Month",
        ProjectName = "default",
        Tags = new[]
        {
            new Volcengine.Cen.Inputs.BandwidthPackageTagArgs
            {
                Key = "k1",
                Value = "v1",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.cen.BandwidthPackage;
import com.pulumi.volcengine.cen.BandwidthPackageArgs;
import com.pulumi.volcengine.cen.inputs.BandwidthPackageTagArgs;
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) {
        var foo = new BandwidthPackage("foo", BandwidthPackageArgs.builder()        
            .bandwidth(2)
            .billingType("PrePaid")
            .cenBandwidthPackageName("acc-test-cen-bp")
            .description("acc-test")
            .localGeographicRegionSetId("China")
            .peerGeographicRegionSetId("China")
            .period(1)
            .periodUnit("Month")
            .projectName("default")
            .tags(BandwidthPackageTagArgs.builder()
                .key("k1")
                .value("v1")
                .build())
            .build());

    }
}
Copy
resources:
  foo:
    type: volcengine:cen:BandwidthPackage
    properties:
      bandwidth: 2
      billingType: PrePaid
      cenBandwidthPackageName: acc-test-cen-bp
      description: acc-test
      localGeographicRegionSetId: China
      peerGeographicRegionSetId: China
      period: 1
      periodUnit: Month
      projectName: default
      tags:
        - key: k1
          value: v1
Copy

Create BandwidthPackage Resource

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

Constructor syntax

new BandwidthPackage(name: string, args?: BandwidthPackageArgs, opts?: CustomResourceOptions);
@overload
def BandwidthPackage(resource_name: str,
                     args: Optional[BandwidthPackageArgs] = None,
                     opts: Optional[ResourceOptions] = None)

@overload
def BandwidthPackage(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     bandwidth: Optional[int] = None,
                     billing_type: Optional[str] = None,
                     cen_bandwidth_package_name: Optional[str] = None,
                     description: Optional[str] = None,
                     local_geographic_region_set_id: Optional[str] = None,
                     peer_geographic_region_set_id: Optional[str] = None,
                     period: Optional[int] = None,
                     period_unit: Optional[str] = None,
                     project_name: Optional[str] = None,
                     tags: Optional[Sequence[BandwidthPackageTagArgs]] = None)
func NewBandwidthPackage(ctx *Context, name string, args *BandwidthPackageArgs, opts ...ResourceOption) (*BandwidthPackage, error)
public BandwidthPackage(string name, BandwidthPackageArgs? args = null, CustomResourceOptions? opts = null)
public BandwidthPackage(String name, BandwidthPackageArgs args)
public BandwidthPackage(String name, BandwidthPackageArgs args, CustomResourceOptions options)
type: volcengine:cen:BandwidthPackage
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args BandwidthPackageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args BandwidthPackageArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args BandwidthPackageArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args BandwidthPackageArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. BandwidthPackageArgs
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 volcengineBandwidthPackageResource = new Volcengine.Cen.BandwidthPackage("volcengineBandwidthPackageResource", new()
{
    Bandwidth = 0,
    BillingType = "string",
    CenBandwidthPackageName = "string",
    Description = "string",
    LocalGeographicRegionSetId = "string",
    PeerGeographicRegionSetId = "string",
    Period = 0,
    PeriodUnit = "string",
    ProjectName = "string",
    Tags = new[]
    {
        new Volcengine.Cen.Inputs.BandwidthPackageTagArgs
        {
            Key = "string",
            Value = "string",
        },
    },
});
Copy
example, err := cen.NewBandwidthPackage(ctx, "volcengineBandwidthPackageResource", &cen.BandwidthPackageArgs{
	Bandwidth:                  pulumi.Int(0),
	BillingType:                pulumi.String("string"),
	CenBandwidthPackageName:    pulumi.String("string"),
	Description:                pulumi.String("string"),
	LocalGeographicRegionSetId: pulumi.String("string"),
	PeerGeographicRegionSetId:  pulumi.String("string"),
	Period:                     pulumi.Int(0),
	PeriodUnit:                 pulumi.String("string"),
	ProjectName:                pulumi.String("string"),
	Tags: cen.BandwidthPackageTagArray{
		&cen.BandwidthPackageTagArgs{
			Key:   pulumi.String("string"),
			Value: pulumi.String("string"),
		},
	},
})
Copy
var volcengineBandwidthPackageResource = new BandwidthPackage("volcengineBandwidthPackageResource", BandwidthPackageArgs.builder()
    .bandwidth(0)
    .billingType("string")
    .cenBandwidthPackageName("string")
    .description("string")
    .localGeographicRegionSetId("string")
    .peerGeographicRegionSetId("string")
    .period(0)
    .periodUnit("string")
    .projectName("string")
    .tags(BandwidthPackageTagArgs.builder()
        .key("string")
        .value("string")
        .build())
    .build());
Copy
volcengine_bandwidth_package_resource = volcengine.cen.BandwidthPackage("volcengineBandwidthPackageResource",
    bandwidth=0,
    billing_type="string",
    cen_bandwidth_package_name="string",
    description="string",
    local_geographic_region_set_id="string",
    peer_geographic_region_set_id="string",
    period=0,
    period_unit="string",
    project_name="string",
    tags=[{
        "key": "string",
        "value": "string",
    }])
Copy
const volcengineBandwidthPackageResource = new volcengine.cen.BandwidthPackage("volcengineBandwidthPackageResource", {
    bandwidth: 0,
    billingType: "string",
    cenBandwidthPackageName: "string",
    description: "string",
    localGeographicRegionSetId: "string",
    peerGeographicRegionSetId: "string",
    period: 0,
    periodUnit: "string",
    projectName: "string",
    tags: [{
        key: "string",
        value: "string",
    }],
});
Copy
type: volcengine:cen:BandwidthPackage
properties:
    bandwidth: 0
    billingType: string
    cenBandwidthPackageName: string
    description: string
    localGeographicRegionSetId: string
    peerGeographicRegionSetId: string
    period: 0
    periodUnit: string
    projectName: string
    tags:
        - key: string
          value: string
Copy

BandwidthPackage Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The BandwidthPackage resource accepts the following input properties:

Bandwidth int
The bandwidth of the cen bandwidth package. Value: 2~10000.
BillingType Changes to this property will trigger replacement. string
The billing type of the cen bandwidth package. Only support PrePaid and default value is PrePaid.
CenBandwidthPackageName string
The name of the cen bandwidth package.
Description string
The description of the cen bandwidth package.
LocalGeographicRegionSetId Changes to this property will trigger replacement. string
The local geographic region set id of the cen bandwidth package. Valid value: China, Asia.
PeerGeographicRegionSetId Changes to this property will trigger replacement. string
The peer geographic region set id of the cen bandwidth package. Valid value: China, Asia.
Period int
The period of the cen bandwidth package. Default value is 1.
PeriodUnit string
The period unit of the cen bandwidth package. Value: Month, Year. Default value is Month.
ProjectName string
The ProjectName of the cen bandwidth package.
Tags List<BandwidthPackageTag>
Tags.
Bandwidth int
The bandwidth of the cen bandwidth package. Value: 2~10000.
BillingType Changes to this property will trigger replacement. string
The billing type of the cen bandwidth package. Only support PrePaid and default value is PrePaid.
CenBandwidthPackageName string
The name of the cen bandwidth package.
Description string
The description of the cen bandwidth package.
LocalGeographicRegionSetId Changes to this property will trigger replacement. string
The local geographic region set id of the cen bandwidth package. Valid value: China, Asia.
PeerGeographicRegionSetId Changes to this property will trigger replacement. string
The peer geographic region set id of the cen bandwidth package. Valid value: China, Asia.
Period int
The period of the cen bandwidth package. Default value is 1.
PeriodUnit string
The period unit of the cen bandwidth package. Value: Month, Year. Default value is Month.
ProjectName string
The ProjectName of the cen bandwidth package.
Tags []BandwidthPackageTagArgs
Tags.
bandwidth Integer
The bandwidth of the cen bandwidth package. Value: 2~10000.
billingType Changes to this property will trigger replacement. String
The billing type of the cen bandwidth package. Only support PrePaid and default value is PrePaid.
cenBandwidthPackageName String
The name of the cen bandwidth package.
description String
The description of the cen bandwidth package.
localGeographicRegionSetId Changes to this property will trigger replacement. String
The local geographic region set id of the cen bandwidth package. Valid value: China, Asia.
peerGeographicRegionSetId Changes to this property will trigger replacement. String
The peer geographic region set id of the cen bandwidth package. Valid value: China, Asia.
period Integer
The period of the cen bandwidth package. Default value is 1.
periodUnit String
The period unit of the cen bandwidth package. Value: Month, Year. Default value is Month.
projectName String
The ProjectName of the cen bandwidth package.
tags List<BandwidthPackageTag>
Tags.
bandwidth number
The bandwidth of the cen bandwidth package. Value: 2~10000.
billingType Changes to this property will trigger replacement. string
The billing type of the cen bandwidth package. Only support PrePaid and default value is PrePaid.
cenBandwidthPackageName string
The name of the cen bandwidth package.
description string
The description of the cen bandwidth package.
localGeographicRegionSetId Changes to this property will trigger replacement. string
The local geographic region set id of the cen bandwidth package. Valid value: China, Asia.
peerGeographicRegionSetId Changes to this property will trigger replacement. string
The peer geographic region set id of the cen bandwidth package. Valid value: China, Asia.
period number
The period of the cen bandwidth package. Default value is 1.
periodUnit string
The period unit of the cen bandwidth package. Value: Month, Year. Default value is Month.
projectName string
The ProjectName of the cen bandwidth package.
tags BandwidthPackageTag[]
Tags.
bandwidth int
The bandwidth of the cen bandwidth package. Value: 2~10000.
billing_type Changes to this property will trigger replacement. str
The billing type of the cen bandwidth package. Only support PrePaid and default value is PrePaid.
cen_bandwidth_package_name str
The name of the cen bandwidth package.
description str
The description of the cen bandwidth package.
local_geographic_region_set_id Changes to this property will trigger replacement. str
The local geographic region set id of the cen bandwidth package. Valid value: China, Asia.
peer_geographic_region_set_id Changes to this property will trigger replacement. str
The peer geographic region set id of the cen bandwidth package. Valid value: China, Asia.
period int
The period of the cen bandwidth package. Default value is 1.
period_unit str
The period unit of the cen bandwidth package. Value: Month, Year. Default value is Month.
project_name str
The ProjectName of the cen bandwidth package.
tags Sequence[BandwidthPackageTagArgs]
Tags.
bandwidth Number
The bandwidth of the cen bandwidth package. Value: 2~10000.
billingType Changes to this property will trigger replacement. String
The billing type of the cen bandwidth package. Only support PrePaid and default value is PrePaid.
cenBandwidthPackageName String
The name of the cen bandwidth package.
description String
The description of the cen bandwidth package.
localGeographicRegionSetId Changes to this property will trigger replacement. String
The local geographic region set id of the cen bandwidth package. Valid value: China, Asia.
peerGeographicRegionSetId Changes to this property will trigger replacement. String
The peer geographic region set id of the cen bandwidth package. Valid value: China, Asia.
period Number
The period of the cen bandwidth package. Default value is 1.
periodUnit String
The period unit of the cen bandwidth package. Value: Month, Year. Default value is Month.
projectName String
The ProjectName of the cen bandwidth package.
tags List<Property Map>
Tags.

Outputs

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

AccountId string
The account ID of the cen bandwidth package.
BusinessStatus string
The business status of the cen bandwidth package.
CenBandwidthPackageId string
The ID of the cen bandwidth package.
CenIds List<string>
The cen IDs of the bandwidth package.
CreationTime string
The create time of the cen bandwidth package.
DeletedTime string
The deleted time of the cen bandwidth package.
ExpiredTime string
The expired time of the cen bandwidth package.
Id string
The provider-assigned unique ID for this managed resource.
RemainingBandwidth int
The remain bandwidth of the cen bandwidth package.
Status string
The status of the cen bandwidth package.
UpdateTime string
The update time of the cen bandwidth package.
AccountId string
The account ID of the cen bandwidth package.
BusinessStatus string
The business status of the cen bandwidth package.
CenBandwidthPackageId string
The ID of the cen bandwidth package.
CenIds []string
The cen IDs of the bandwidth package.
CreationTime string
The create time of the cen bandwidth package.
DeletedTime string
The deleted time of the cen bandwidth package.
ExpiredTime string
The expired time of the cen bandwidth package.
Id string
The provider-assigned unique ID for this managed resource.
RemainingBandwidth int
The remain bandwidth of the cen bandwidth package.
Status string
The status of the cen bandwidth package.
UpdateTime string
The update time of the cen bandwidth package.
accountId String
The account ID of the cen bandwidth package.
businessStatus String
The business status of the cen bandwidth package.
cenBandwidthPackageId String
The ID of the cen bandwidth package.
cenIds List<String>
The cen IDs of the bandwidth package.
creationTime String
The create time of the cen bandwidth package.
deletedTime String
The deleted time of the cen bandwidth package.
expiredTime String
The expired time of the cen bandwidth package.
id String
The provider-assigned unique ID for this managed resource.
remainingBandwidth Integer
The remain bandwidth of the cen bandwidth package.
status String
The status of the cen bandwidth package.
updateTime String
The update time of the cen bandwidth package.
accountId string
The account ID of the cen bandwidth package.
businessStatus string
The business status of the cen bandwidth package.
cenBandwidthPackageId string
The ID of the cen bandwidth package.
cenIds string[]
The cen IDs of the bandwidth package.
creationTime string
The create time of the cen bandwidth package.
deletedTime string
The deleted time of the cen bandwidth package.
expiredTime string
The expired time of the cen bandwidth package.
id string
The provider-assigned unique ID for this managed resource.
remainingBandwidth number
The remain bandwidth of the cen bandwidth package.
status string
The status of the cen bandwidth package.
updateTime string
The update time of the cen bandwidth package.
account_id str
The account ID of the cen bandwidth package.
business_status str
The business status of the cen bandwidth package.
cen_bandwidth_package_id str
The ID of the cen bandwidth package.
cen_ids Sequence[str]
The cen IDs of the bandwidth package.
creation_time str
The create time of the cen bandwidth package.
deleted_time str
The deleted time of the cen bandwidth package.
expired_time str
The expired time of the cen bandwidth package.
id str
The provider-assigned unique ID for this managed resource.
remaining_bandwidth int
The remain bandwidth of the cen bandwidth package.
status str
The status of the cen bandwidth package.
update_time str
The update time of the cen bandwidth package.
accountId String
The account ID of the cen bandwidth package.
businessStatus String
The business status of the cen bandwidth package.
cenBandwidthPackageId String
The ID of the cen bandwidth package.
cenIds List<String>
The cen IDs of the bandwidth package.
creationTime String
The create time of the cen bandwidth package.
deletedTime String
The deleted time of the cen bandwidth package.
expiredTime String
The expired time of the cen bandwidth package.
id String
The provider-assigned unique ID for this managed resource.
remainingBandwidth Number
The remain bandwidth of the cen bandwidth package.
status String
The status of the cen bandwidth package.
updateTime String
The update time of the cen bandwidth package.

Look up Existing BandwidthPackage Resource

Get an existing BandwidthPackage 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?: BandwidthPackageState, opts?: CustomResourceOptions): BandwidthPackage
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_id: Optional[str] = None,
        bandwidth: Optional[int] = None,
        billing_type: Optional[str] = None,
        business_status: Optional[str] = None,
        cen_bandwidth_package_id: Optional[str] = None,
        cen_bandwidth_package_name: Optional[str] = None,
        cen_ids: Optional[Sequence[str]] = None,
        creation_time: Optional[str] = None,
        deleted_time: Optional[str] = None,
        description: Optional[str] = None,
        expired_time: Optional[str] = None,
        local_geographic_region_set_id: Optional[str] = None,
        peer_geographic_region_set_id: Optional[str] = None,
        period: Optional[int] = None,
        period_unit: Optional[str] = None,
        project_name: Optional[str] = None,
        remaining_bandwidth: Optional[int] = None,
        status: Optional[str] = None,
        tags: Optional[Sequence[BandwidthPackageTagArgs]] = None,
        update_time: Optional[str] = None) -> BandwidthPackage
func GetBandwidthPackage(ctx *Context, name string, id IDInput, state *BandwidthPackageState, opts ...ResourceOption) (*BandwidthPackage, error)
public static BandwidthPackage Get(string name, Input<string> id, BandwidthPackageState? state, CustomResourceOptions? opts = null)
public static BandwidthPackage get(String name, Output<String> id, BandwidthPackageState state, CustomResourceOptions options)
resources:  _:    type: volcengine:cen:BandwidthPackage    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AccountId string
The account ID of the cen bandwidth package.
Bandwidth int
The bandwidth of the cen bandwidth package. Value: 2~10000.
BillingType Changes to this property will trigger replacement. string
The billing type of the cen bandwidth package. Only support PrePaid and default value is PrePaid.
BusinessStatus string
The business status of the cen bandwidth package.
CenBandwidthPackageId string
The ID of the cen bandwidth package.
CenBandwidthPackageName string
The name of the cen bandwidth package.
CenIds List<string>
The cen IDs of the bandwidth package.
CreationTime string
The create time of the cen bandwidth package.
DeletedTime string
The deleted time of the cen bandwidth package.
Description string
The description of the cen bandwidth package.
ExpiredTime string
The expired time of the cen bandwidth package.
LocalGeographicRegionSetId Changes to this property will trigger replacement. string
The local geographic region set id of the cen bandwidth package. Valid value: China, Asia.
PeerGeographicRegionSetId Changes to this property will trigger replacement. string
The peer geographic region set id of the cen bandwidth package. Valid value: China, Asia.
Period int
The period of the cen bandwidth package. Default value is 1.
PeriodUnit string
The period unit of the cen bandwidth package. Value: Month, Year. Default value is Month.
ProjectName string
The ProjectName of the cen bandwidth package.
RemainingBandwidth int
The remain bandwidth of the cen bandwidth package.
Status string
The status of the cen bandwidth package.
Tags List<BandwidthPackageTag>
Tags.
UpdateTime string
The update time of the cen bandwidth package.
AccountId string
The account ID of the cen bandwidth package.
Bandwidth int
The bandwidth of the cen bandwidth package. Value: 2~10000.
BillingType Changes to this property will trigger replacement. string
The billing type of the cen bandwidth package. Only support PrePaid and default value is PrePaid.
BusinessStatus string
The business status of the cen bandwidth package.
CenBandwidthPackageId string
The ID of the cen bandwidth package.
CenBandwidthPackageName string
The name of the cen bandwidth package.
CenIds []string
The cen IDs of the bandwidth package.
CreationTime string
The create time of the cen bandwidth package.
DeletedTime string
The deleted time of the cen bandwidth package.
Description string
The description of the cen bandwidth package.
ExpiredTime string
The expired time of the cen bandwidth package.
LocalGeographicRegionSetId Changes to this property will trigger replacement. string
The local geographic region set id of the cen bandwidth package. Valid value: China, Asia.
PeerGeographicRegionSetId Changes to this property will trigger replacement. string
The peer geographic region set id of the cen bandwidth package. Valid value: China, Asia.
Period int
The period of the cen bandwidth package. Default value is 1.
PeriodUnit string
The period unit of the cen bandwidth package. Value: Month, Year. Default value is Month.
ProjectName string
The ProjectName of the cen bandwidth package.
RemainingBandwidth int
The remain bandwidth of the cen bandwidth package.
Status string
The status of the cen bandwidth package.
Tags []BandwidthPackageTagArgs
Tags.
UpdateTime string
The update time of the cen bandwidth package.
accountId String
The account ID of the cen bandwidth package.
bandwidth Integer
The bandwidth of the cen bandwidth package. Value: 2~10000.
billingType Changes to this property will trigger replacement. String
The billing type of the cen bandwidth package. Only support PrePaid and default value is PrePaid.
businessStatus String
The business status of the cen bandwidth package.
cenBandwidthPackageId String
The ID of the cen bandwidth package.
cenBandwidthPackageName String
The name of the cen bandwidth package.
cenIds List<String>
The cen IDs of the bandwidth package.
creationTime String
The create time of the cen bandwidth package.
deletedTime String
The deleted time of the cen bandwidth package.
description String
The description of the cen bandwidth package.
expiredTime String
The expired time of the cen bandwidth package.
localGeographicRegionSetId Changes to this property will trigger replacement. String
The local geographic region set id of the cen bandwidth package. Valid value: China, Asia.
peerGeographicRegionSetId Changes to this property will trigger replacement. String
The peer geographic region set id of the cen bandwidth package. Valid value: China, Asia.
period Integer
The period of the cen bandwidth package. Default value is 1.
periodUnit String
The period unit of the cen bandwidth package. Value: Month, Year. Default value is Month.
projectName String
The ProjectName of the cen bandwidth package.
remainingBandwidth Integer
The remain bandwidth of the cen bandwidth package.
status String
The status of the cen bandwidth package.
tags List<BandwidthPackageTag>
Tags.
updateTime String
The update time of the cen bandwidth package.
accountId string
The account ID of the cen bandwidth package.
bandwidth number
The bandwidth of the cen bandwidth package. Value: 2~10000.
billingType Changes to this property will trigger replacement. string
The billing type of the cen bandwidth package. Only support PrePaid and default value is PrePaid.
businessStatus string
The business status of the cen bandwidth package.
cenBandwidthPackageId string
The ID of the cen bandwidth package.
cenBandwidthPackageName string
The name of the cen bandwidth package.
cenIds string[]
The cen IDs of the bandwidth package.
creationTime string
The create time of the cen bandwidth package.
deletedTime string
The deleted time of the cen bandwidth package.
description string
The description of the cen bandwidth package.
expiredTime string
The expired time of the cen bandwidth package.
localGeographicRegionSetId Changes to this property will trigger replacement. string
The local geographic region set id of the cen bandwidth package. Valid value: China, Asia.
peerGeographicRegionSetId Changes to this property will trigger replacement. string
The peer geographic region set id of the cen bandwidth package. Valid value: China, Asia.
period number
The period of the cen bandwidth package. Default value is 1.
periodUnit string
The period unit of the cen bandwidth package. Value: Month, Year. Default value is Month.
projectName string
The ProjectName of the cen bandwidth package.
remainingBandwidth number
The remain bandwidth of the cen bandwidth package.
status string
The status of the cen bandwidth package.
tags BandwidthPackageTag[]
Tags.
updateTime string
The update time of the cen bandwidth package.
account_id str
The account ID of the cen bandwidth package.
bandwidth int
The bandwidth of the cen bandwidth package. Value: 2~10000.
billing_type Changes to this property will trigger replacement. str
The billing type of the cen bandwidth package. Only support PrePaid and default value is PrePaid.
business_status str
The business status of the cen bandwidth package.
cen_bandwidth_package_id str
The ID of the cen bandwidth package.
cen_bandwidth_package_name str
The name of the cen bandwidth package.
cen_ids Sequence[str]
The cen IDs of the bandwidth package.
creation_time str
The create time of the cen bandwidth package.
deleted_time str
The deleted time of the cen bandwidth package.
description str
The description of the cen bandwidth package.
expired_time str
The expired time of the cen bandwidth package.
local_geographic_region_set_id Changes to this property will trigger replacement. str
The local geographic region set id of the cen bandwidth package. Valid value: China, Asia.
peer_geographic_region_set_id Changes to this property will trigger replacement. str
The peer geographic region set id of the cen bandwidth package. Valid value: China, Asia.
period int
The period of the cen bandwidth package. Default value is 1.
period_unit str
The period unit of the cen bandwidth package. Value: Month, Year. Default value is Month.
project_name str
The ProjectName of the cen bandwidth package.
remaining_bandwidth int
The remain bandwidth of the cen bandwidth package.
status str
The status of the cen bandwidth package.
tags Sequence[BandwidthPackageTagArgs]
Tags.
update_time str
The update time of the cen bandwidth package.
accountId String
The account ID of the cen bandwidth package.
bandwidth Number
The bandwidth of the cen bandwidth package. Value: 2~10000.
billingType Changes to this property will trigger replacement. String
The billing type of the cen bandwidth package. Only support PrePaid and default value is PrePaid.
businessStatus String
The business status of the cen bandwidth package.
cenBandwidthPackageId String
The ID of the cen bandwidth package.
cenBandwidthPackageName String
The name of the cen bandwidth package.
cenIds List<String>
The cen IDs of the bandwidth package.
creationTime String
The create time of the cen bandwidth package.
deletedTime String
The deleted time of the cen bandwidth package.
description String
The description of the cen bandwidth package.
expiredTime String
The expired time of the cen bandwidth package.
localGeographicRegionSetId Changes to this property will trigger replacement. String
The local geographic region set id of the cen bandwidth package. Valid value: China, Asia.
peerGeographicRegionSetId Changes to this property will trigger replacement. String
The peer geographic region set id of the cen bandwidth package. Valid value: China, Asia.
period Number
The period of the cen bandwidth package. Default value is 1.
periodUnit String
The period unit of the cen bandwidth package. Value: Month, Year. Default value is Month.
projectName String
The ProjectName of the cen bandwidth package.
remainingBandwidth Number
The remain bandwidth of the cen bandwidth package.
status String
The status of the cen bandwidth package.
tags List<Property Map>
Tags.
updateTime String
The update time of the cen bandwidth package.

Supporting Types

BandwidthPackageTag
, BandwidthPackageTagArgs

Key This property is required. string
The Key of Tags.
Value This property is required. string
The Value of Tags.
Key This property is required. string
The Key of Tags.
Value This property is required. string
The Value of Tags.
key This property is required. String
The Key of Tags.
value This property is required. String
The Value of Tags.
key This property is required. string
The Key of Tags.
value This property is required. string
The Value of Tags.
key This property is required. str
The Key of Tags.
value This property is required. str
The Value of Tags.
key This property is required. String
The Key of Tags.
value This property is required. String
The Value of Tags.

Import

CenBandwidthPackage can be imported using the id, e.g.

$ pulumi import volcengine:cen/bandwidthPackage:BandwidthPackage default cbp-4c2zaavbvh5f42****
Copy

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

Package Details

Repository
volcengine volcengine/pulumi-volcengine
License
Apache-2.0
Notes
This Pulumi package is based on the volcengine Terraform Provider.