Gateway2Props
Properties for defining a Gateway2.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-gateway2
Initializer
import ros_cdk_mse
ros_cdk_mse.Gateway2Props(
vpc_id: typing.Union[str, IResolvable],
accept_language: typing.Union[str, IResolvable] = None,
charge_type: typing.Union[str, IResolvable] = None,
clb_network_type: typing.Union[str, IResolvable] = None,
enable_hardware_acceleration: typing.Union[bool, IResolvable] = None,
enable_sls: typing.Union[bool, IResolvable] = None,
enable_xtrace: typing.Union[bool, IResolvable] = None,
enterprise_security_group: typing.Union[bool, IResolvable] = None,
internet_slb: typing.Union[str, IResolvable] = None,
managed_entry_network_type: typing.Union[str, IResolvable] = None,
mser_version: typing.Union[str, IResolvable] = None,
name: typing.Union[str, IResolvable] = None,
nlb_network_type: typing.Union[str, IResolvable] = None,
period: typing.Union[typing.Union[int, float], IResolvable] = None,
period_unit: typing.Union[str, IResolvable] = None,
replica: typing.Union[typing.Union[int, float], IResolvable] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
slb_spec: typing.Union[str, IResolvable] = None,
spec: typing.Union[str, IResolvable] = None,
tags: typing.List[TagsProperty] = None,
v_switch_id: typing.Union[str, IResolvable] = None,
v_switch_id2: typing.Union[str, IResolvable] = None,
xtrace_ratio: typing.Union[typing.Union[int, float], IResolvable] = None,
zone_info: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ZoneInfoProperty]]] = None
)
Properties
| Name | Type | Description |
|---|---|---|
vpc_id | typing.Union[str, ros_cdk_core.IResolvable] | Property vpcId: The ID of the vpc. |
accept_language | typing.Union[str, ros_cdk_core.IResolvable] | Property acceptLanguage: The language of the response. |
charge_type | typing.Union[str, ros_cdk_core.IResolvable] | Property chargeType: The billing method you specify when you purchase an normal instance. |
clb_network_type | typing.Union[str, ros_cdk_core.IResolvable] | Property clbNetworkType: The network type of the purchased Classic Load Balancer (CLB) instance that is billed based on LCUs. |
enable_hardware_acceleration | typing.Union[bool, ros_cdk_core.IResolvable] | Property enableHardwareAcceleration: Specifies whether to enable hardware acceleration. |
enable_sls | typing.Union[bool, ros_cdk_core.IResolvable] | Property enableSls: Specifies whether to activate Log Service. |
enable_xtrace | typing.Union[bool, ros_cdk_core.IResolvable] | Property enableXtrace: Whether to activate Tracing Analysis. |
enterprise_security_group | typing.Union[bool, ros_cdk_core.IResolvable] | Property enterpriseSecurityGroup: Specifies whether to use an Enterprise Security Group. |
internet_slb | typing.Union[str, ros_cdk_core.IResolvable] | Property internetSlb: Public network SLB specifications (for normal instances). |
managed_entry_network_type | typing.Union[str, ros_cdk_core.IResolvable] | Property managedEntryNetworkType: Gateway entrance type (applicable to the mse_premium instance) pubnet: public network privatenet: privatenet privatepubnet: public + private network. |
mser_version | typing.Union[str, ros_cdk_core.IResolvable] | Property mserVersion: The edition of the gateway. |
name | typing.Union[str, ros_cdk_core.IResolvable] | Property name: The name of the created gateway. |
nlb_network_type | typing.Union[str, ros_cdk_core.IResolvable] | Property nlbNetworkType: The network type of the Network Load Balancer (NLB) instance you specify when you purchase a serverless instance. |
period | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property period: Prepaid time period. |
period_unit | typing.Union[str, ros_cdk_core.IResolvable] | Property periodUnit: Charge period for created instances. |
replica | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property replica: The number of nodes you specify when you purchase an normal instance. |
resource_group_id | typing.Union[str, ros_cdk_core.IResolvable] | Property resourceGroupId: The ID of the resource group. |
slb_spec | typing.Union[str, ros_cdk_core.IResolvable] | Property slbSpec: Private network SLB specifications (for normal instances). |
spec | typing.Union[str, ros_cdk_core.IResolvable] | Property spec: The node specifications you specify when you purchase an normal instance. |
tags | typing.List[TagsProperty] | Property tags: The list of tags in the form of key\/value pairs. |
v_switch_id | typing.Union[str, ros_cdk_core.IResolvable] | Property vSwitchId: The primary VSwitch ID. |
v_switch_id2 | typing.Union[str, ros_cdk_core.IResolvable] | Property vSwitchId2: The secondary VSwitch ID. |
xtrace_ratio | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property xtraceRatio: The sampling rate of Tracing Analysis. |
zone_info | typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ZoneInfoProperty]]] | Property zoneInfo: The info details of the available zone. |
vpc_idRequired
vpc_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property vpcId: The ID of the vpc.
accept_languageOptional
accept_language: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property acceptLanguage: The language of the response.
Valid values: zh: Chinese en: English
charge_typeOptional
charge_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property chargeType: The billing method you specify when you purchase an normal instance.
Valid values: PREPAY: subscription POSTPAY: pay-as-you-go
clb_network_typeOptional
clb_network_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property clbNetworkType: The network type of the purchased Classic Load Balancer (CLB) instance that is billed based on LCUs.
pubnet: Internet privatenet: private network privatepubnet: Internet and private network
enable_hardware_accelerationOptional
enable_hardware_acceleration: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property enableHardwareAcceleration: Specifies whether to enable hardware acceleration.
enable_slsOptional
enable_sls: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property enableSls: Specifies whether to activate Log Service.
enable_xtraceOptional
enable_xtrace: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property enableXtrace: Whether to activate Tracing Analysis.
enterprise_security_groupOptional
enterprise_security_group: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property enterpriseSecurityGroup: Specifies whether to use an Enterprise Security Group.
internet_slbOptional
internet_slb: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property internetSlb: Public network SLB specifications (for normal instances).
Simple type (slb.s1.small) Standard type 1 (slb.s2.smal) Standard type I(slb.s2.medium) Advanced Type 1 (slb.s3.small) Advanced I(slb.s3.medium) Super strong type I (slb.s3.large) Description Traditional example: When creating, you can only choose one purchasing agent in NLB, CLB billed by LCU, and CLB specifications. Serverless example: When creating, you can only choose one purchasing agent in NLB, CLB billed by LCU
managed_entry_network_typeOptional
managed_entry_network_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property managedEntryNetworkType: Gateway entrance type (applicable to the mse_premium instance) pubnet: public network privatenet: privatenet privatepubnet: public + private network.
mser_versionOptional
mser_version: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property mserVersion: The edition of the gateway.
mse_premium: Professional Editionmse_pro: Standard Editionmse_serverless: Serverless Edition
nameOptional
name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property name: The name of the created gateway.
nlb_network_typeOptional
nlb_network_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property nlbNetworkType: The network type of the Network Load Balancer (NLB) instance you specify when you purchase a serverless instance.
pubnet: Internet privatenet: private network privatepubnet: Internet and private network
periodOptional
period: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property period: Prepaid time period.
While choose by pay by month, it could be from 1 to 9. While choose pay by year, it could be from 1 to 3. This parameter is Only valid when updating from postpaid instance to prepaid instance.
period_unitOptional
period_unit: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property periodUnit: Charge period for created instances.
This parameter is only valid when updating from postpaid instance to prepaid instance.
replicaOptional
replica: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property replica: The number of nodes you specify when you purchase an normal instance.
For high availability, the value for this param is recommended to be greater than 2.
resource_group_idOptional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: The ID of the resource group.
slb_specOptional
slb_spec: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property slbSpec: Private network SLB specifications (for normal instances).
Simple type (slb.s1.small) Standard type 1 (slb.s2.small) Standard type I(slb.s2.medium) Advanced Type 1 (slb.s3.small) Advanced I(slb.s3.medium) Super strong type I (slb.s3.large) Description Traditional example: When creating, you can only choose one purchasing agent in NLB, CLB billed by LCU, and CLB specifications. Serverless example: When creating, you can only choose one purchasing agent in NLB, CLB billed by LCU
specOptional
spec: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property spec: The node specifications you specify when you purchase an normal instance.
Valid values: MSE_GTW_16_32_200_c(16C32G) MSE_GTW_2_4_200_c(2C4G) MSE_GTW_4_8_200_c(4C8G) MSE_GTW_8_16_200_c(8C16G)
tagsOptional
tags: typing.List[TagsProperty]
- Type: typing.List[TagsProperty]
Property tags: The list of tags in the form of key\/value pairs.
You can define a maximum of 20 tags.
v_switch_idOptional
v_switch_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property vSwitchId: The primary VSwitch ID.
v_switch_id2Optional
v_switch_id2: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property vSwitchId2: The secondary VSwitch ID.
xtrace_ratioOptional
xtrace_ratio: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property xtraceRatio: The sampling rate of Tracing Analysis.
Valid values: [1,100]
zone_infoOptional
zone_info: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ZoneInfoProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ZoneInfoProperty]]]
Property zoneInfo: The info details of the available zone.