CommonBandwidthPackageProps
Properties for defining a CommonBandwidthPackage
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-commonbandwidthpackage
Initializer
import ros_cdk_vpc
ros_cdk_vpc.CommonBandwidthPackageProps(
bandwidth: typing.Union[typing.Union[int, float], IResolvable],
deletion_protection: typing.Union[bool, IResolvable] = None,
description: typing.Union[str, IResolvable] = None,
internet_charge_type: typing.Union[str, IResolvable] = None,
isp: typing.Union[str, IResolvable] = None,
name: typing.Union[str, IResolvable] = None,
ratio: typing.Union[typing.Union[int, float], IResolvable] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
tags: typing.List[TagsProperty] = None,
zone: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
bandwidth |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property bandwidth: The peak bandwidth of the Internet Shared Bandwidth instance. |
deletion_protection |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property deletionProtection: Whether to enable deletion protection. |
description |
typing.Union[str, ros_cdk_core.IResolvable] |
Property description: The description of the Internet Shared Bandwidth instance. |
internet_charge_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property internetChargeType: The billing model of the Internet Shared Bandwidth instance. |
isp |
typing.Union[str, ros_cdk_core.IResolvable] |
Property isp: Line type of EIP, value: BGP (multi-line). |
name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property name: The name of the Internet Shared Bandwidth instance. |
ratio |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property ratio: The minimum consumption ratio of the Internet Shared Bandwidth instance. |
resource_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property resourceGroupId: The ID of the resource group. |
tags |
typing.List[TagsProperty] |
Property tags: Tags to attach to instance. |
zone |
typing.Union[str, ros_cdk_core.IResolvable] |
Property zone: Zone Id. |
bandwidth
Required
bandwidth: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property bandwidth: The peak bandwidth of the Internet Shared Bandwidth instance.
Unit: Mbit/s.
deletion_protection
Optional
deletion_protection: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property deletionProtection: Whether to enable deletion protection.
Default to False.
description
Optional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: The description of the Internet Shared Bandwidth instance.
The description must be 2 to 256 characters in length. It must start with a letter, and cannot start with http:// or https://.
internet_charge_type
Optional
internet_charge_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property internetChargeType: The billing model of the Internet Shared Bandwidth instance.
Allowed values: PayByBandwidth (default): Billed by bandwidth. PayBy95: Charged at Enhanced 95.
isp
Optional
isp: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property isp: Line type of EIP, value: BGP (multi-line).
name
Optional
name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property name: The name of the Internet Shared Bandwidth instance.
The name must be 2 to 128 characters in length and can contain letters, numbers, periods (.), underscores (_), and hyphens (-). The name must start with a letter, and cannot start with http:// or https://.
ratio
Optional
ratio: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property ratio: The minimum consumption ratio of the Internet Shared Bandwidth instance.
Default to 100. Note This parameter is only supported on the China site.
resource_group_id
Optional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: The ID of the resource group.
tags
Optional
tags: typing.List[TagsProperty]
- Type: typing.List[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.
zone
Optional
zone: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property zone: Zone Id.