CommonBandwidthPackageProps
Properties for defining a CommonBandwidthPackage.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-commonbandwidthpackage
Initializer
import { CommonBandwidthPackageProps } from '@alicloud/ros-cdk-vpc'
const commonBandwidthPackageProps: CommonBandwidthPackageProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
bandwidth | number | @alicloud/ros-cdk-core.IResolvable | Property bandwidth: The maximum bandwidth of the Internet Shared Bandwidth instance. |
deletionProtection | boolean | @alicloud/ros-cdk-core.IResolvable | Property deletionProtection: Whether to enable deletion protection. |
description | string | @alicloud/ros-cdk-core.IResolvable | Property description: The description of the Internet Shared Bandwidth instance. |
internetChargeType | string | @alicloud/ros-cdk-core.IResolvable | Property internetChargeType: The billing method of the Internet Shared Bandwidth instance. |
isp | string | @alicloud/ros-cdk-core.IResolvable | Property isp: The line type. |
name | string | @alicloud/ros-cdk-core.IResolvable | Property name: The name of the Internet Shared Bandwidth instance. |
ratio | number | @alicloud/ros-cdk-core.IResolvable | Property ratio: The percentage of the minimum bandwidth commitment. |
resourceGroupId | string | @alicloud/ros-cdk-core.IResolvable | Property resourceGroupId: The ID of the resource group. |
tags | TagsProperty[] | Property tags: Tags to attach to instance. |
zone | string | @alicloud/ros-cdk-core.IResolvable | Property zone: The zone of the Internet Shared Bandwidth instance. |
bandwidthRequired
public readonly bandwidth: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property bandwidth: The maximum bandwidth of the Internet Shared Bandwidth instance.
Unit: Mbit\/s. Valid values: 1 to 1000. Default value: 1.
deletionProtectionOptional
public readonly deletionProtection: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property deletionProtection: Whether to enable deletion protection.
Default to False.
descriptionOptional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
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
public readonly internetChargeType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
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
public readonly isp: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
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
public readonly name: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
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
public readonly ratio: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property ratio: The percentage of the minimum bandwidth commitment.
Set the parameter to 20.
resourceGroupIdOptional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: The ID of the resource group.
tagsOptional
public readonly tags: TagsProperty[];
- Type: 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
public readonly zone: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
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.