Skip to content

CommonBandwidthPackageProps

Properties for defining a CommonBandwidthPackage.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-commonbandwidthpackage

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc"
&alicloudroscdkvpc.CommonBandwidthPackageProps {
    Bandwidth: interface{},
    DeletionProtection: interface{},
    Description: interface{},
    InternetChargeType: interface{},
    Isp: interface{},
    Name: interface{},
    Ratio: interface{},
    ResourceGroupId: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc.RosCommonBandwidthPackage.TagsProperty,
    Zone: interface{},
}

Properties

Name Type Description
Bandwidth interface{} Property bandwidth: The maximum bandwidth of the Internet Shared Bandwidth instance.
DeletionProtection interface{} Property deletionProtection: Whether to enable deletion protection.
Description interface{} Property description: The description of the Internet Shared Bandwidth instance.
InternetChargeType interface{} Property internetChargeType: The billing method of the Internet Shared Bandwidth instance.
Isp interface{} Property isp: The line type.
Name interface{} Property name: The name of the Internet Shared Bandwidth instance.
Ratio interface{} Property ratio: The percentage of the minimum bandwidth commitment.
ResourceGroupId interface{} Property resourceGroupId: The ID of the resource group.
Tags *[]TagsProperty Property tags: Tags to attach to instance.
Zone interface{} Property zone: The zone of the Internet Shared Bandwidth instance.

BandwidthRequired

Bandwidth interface{}
  • Type: interface{}

Property bandwidth: The maximum bandwidth of the Internet Shared Bandwidth instance.

Unit: Mbit/s. Valid values: 1 to 1000. Default value: 1.


DeletionProtectionOptional

DeletionProtection interface{}
  • Type: interface{}

Property deletionProtection: Whether to enable deletion protection.

Default to False.


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: The description of the Internet Shared Bandwidth instance.

The description must be 0 to 256 characters in length and cannot start with http:\/\/ or https:\/\/.


InternetChargeTypeOptional

InternetChargeType interface{}
  • Type: interface{}

Property internetChargeType: The billing method of the Internet Shared Bandwidth instance.

Set the value to PayByTraffic, which specifies the pay-by-data-transfer billing method.


IspOptional

Isp interface{}
  • Type: interface{}

Property isp: The line type.

Valid values:

  • BGP (default) All regions support BGP (Multi-ISP).
  • BGP_PRO BGP (Multi-ISP) Pro lines are available in the China (Hong Kong), Singapore, Japan (Tokyo), Philippines (Manila), Malaysia (Kuala Lumpur), Indonesia (Jakarta), and Thailand (Bangkok) regions. If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
  • ChinaTelecom
  • ChinaUnicom
  • ChinaMobile
  • ChinaTelecom_L2
  • ChinaUnicom_L2
  • ChinaMobile_L2 If your services are deployed in China East 1 Finance, this parameter is required and you must set the value to BGP_FinanceCloud.

NameOptional

Name interface{}
  • Type: interface{}

Property name: The name of the Internet Shared Bandwidth instance.

The name must be 0 to 128 characters in length and cannot start with http:\/\/ or https:\/\/.


RatioOptional

Ratio interface{}
  • Type: interface{}

Property ratio: The percentage of the minimum bandwidth commitment.

Set the parameter to 20.


ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: The ID of the resource group.


TagsOptional

Tags *[]TagsProperty

Property tags: Tags to attach to instance.

Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.


ZoneOptional

Zone interface{}
  • Type: interface{}

Property zone: The zone of the Internet Shared Bandwidth instance.

This parameter is required if you create an Internet Shared Bandwidth instance for a cloud box.