Gateway2Props
Properties for defining a Gateway2.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-gateway2
Initializer
import { Gateway2Props } from '@alicloud/ros-cdk-mse'
const gateway2Props: Gateway2Props = { ... }
Properties
| Name | Type | Description |
|---|---|---|
vpcId | string | @alicloud/ros-cdk-core.IResolvable | Property vpcId: The ID of the vpc. |
acceptLanguage | string | @alicloud/ros-cdk-core.IResolvable | Property acceptLanguage: The language of the response. |
chargeType | string | @alicloud/ros-cdk-core.IResolvable | Property chargeType: The billing method you specify when you purchase an normal instance. |
clbNetworkType | string | @alicloud/ros-cdk-core.IResolvable | Property clbNetworkType: The network type of the purchased Classic Load Balancer (CLB) instance that is billed based on LCUs. |
enableHardwareAcceleration | boolean | @alicloud/ros-cdk-core.IResolvable | Property enableHardwareAcceleration: Specifies whether to enable hardware acceleration. |
enableSls | boolean | @alicloud/ros-cdk-core.IResolvable | Property enableSls: Specifies whether to activate Log Service. |
enableXtrace | boolean | @alicloud/ros-cdk-core.IResolvable | Property enableXtrace: Whether to activate Tracing Analysis. |
enterpriseSecurityGroup | boolean | @alicloud/ros-cdk-core.IResolvable | Property enterpriseSecurityGroup: Specifies whether to use an Enterprise Security Group. |
internetSlb | string | @alicloud/ros-cdk-core.IResolvable | Property internetSlb: Public network SLB specifications (for normal instances). |
managedEntryNetworkType | string | @alicloud/ros-cdk-core.IResolvable | Property managedEntryNetworkType: Gateway entrance type (applicable to the mse_premium instance) pubnet: public network privatenet: privatenet privatepubnet: public + private network. |
mserVersion | string | @alicloud/ros-cdk-core.IResolvable | Property mserVersion: The edition of the gateway. |
name | string | @alicloud/ros-cdk-core.IResolvable | Property name: The name of the created gateway. |
nlbNetworkType | string | @alicloud/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 | number | @alicloud/ros-cdk-core.IResolvable | Property period: Prepaid time period. |
periodUnit | string | @alicloud/ros-cdk-core.IResolvable | Property periodUnit: Charge period for created instances. |
replica | number | @alicloud/ros-cdk-core.IResolvable | Property replica: The number of nodes you specify when you purchase an normal instance. |
resourceGroupId | string | @alicloud/ros-cdk-core.IResolvable | Property resourceGroupId: The ID of the resource group. |
slbSpec | string | @alicloud/ros-cdk-core.IResolvable | Property slbSpec: Private network SLB specifications (for normal instances). |
spec | string | @alicloud/ros-cdk-core.IResolvable | Property spec: The node specifications you specify when you purchase an normal instance. |
tags | TagsProperty[] | Property tags: The list of tags in the form of key\/value pairs. |
vSwitchId | string | @alicloud/ros-cdk-core.IResolvable | Property vSwitchId: The primary VSwitch ID. |
vSwitchId2 | string | @alicloud/ros-cdk-core.IResolvable | Property vSwitchId2: The secondary VSwitch ID. |
xtraceRatio | number | @alicloud/ros-cdk-core.IResolvable | Property xtraceRatio: The sampling rate of Tracing Analysis. |
zoneInfo | @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ZoneInfoProperty[] | Property zoneInfo: The info details of the available zone. |
vpcIdRequired
public readonly vpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcId: The ID of the vpc.
acceptLanguageOptional
public readonly acceptLanguage: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property acceptLanguage: The language of the response.
Valid values: zh: Chinese en: English
chargeTypeOptional
public readonly chargeType: string | IResolvable;
- Type: string | @alicloud/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
clbNetworkTypeOptional
public readonly clbNetworkType: string | IResolvable;
- Type: string | @alicloud/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
enableHardwareAccelerationOptional
public readonly enableHardwareAcceleration: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property enableHardwareAcceleration: Specifies whether to enable hardware acceleration.
enableSlsOptional
public readonly enableSls: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property enableSls: Specifies whether to activate Log Service.
enableXtraceOptional
public readonly enableXtrace: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property enableXtrace: Whether to activate Tracing Analysis.
enterpriseSecurityGroupOptional
public readonly enterpriseSecurityGroup: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property enterpriseSecurityGroup: Specifies whether to use an Enterprise Security Group.
internetSlbOptional
public readonly internetSlb: string | IResolvable;
- Type: string | @alicloud/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
managedEntryNetworkTypeOptional
public readonly managedEntryNetworkType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property managedEntryNetworkType: Gateway entrance type (applicable to the mse_premium instance) pubnet: public network privatenet: privatenet privatepubnet: public + private network.
mserVersionOptional
public readonly mserVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property mserVersion: The edition of the gateway.
mse_premium: Professional Edition - mse_pro: Standard Edition - mse_serverless: Serverless Edition
nameOptional
public readonly name: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property name: The name of the created gateway.
nlbNetworkTypeOptional
public readonly nlbNetworkType: string | IResolvable;
- Type: string | @alicloud/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
public readonly period: number | IResolvable;
- Type: number | @alicloud/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.
periodUnitOptional
public readonly periodUnit: string | IResolvable;
- Type: string | @alicloud/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
public readonly replica: number | IResolvable;
- Type: number | @alicloud/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.
resourceGroupIdOptional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: The ID of the resource group.
slbSpecOptional
public readonly slbSpec: string | IResolvable;
- Type: string | @alicloud/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
public readonly spec: string | IResolvable;
- Type: string | @alicloud/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
public readonly tags: TagsProperty[];
- Type: TagsProperty[]
Property tags: The list of tags in the form of key\/value pairs.
You can define a maximum of 20 tags.
vSwitchIdOptional
public readonly vSwitchId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vSwitchId: The primary VSwitch ID.
vSwitchId2Optional
public readonly vSwitchId2: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vSwitchId2: The secondary VSwitch ID.
xtraceRatioOptional
public readonly xtraceRatio: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property xtraceRatio: The sampling rate of Tracing Analysis.
Valid values: [1,100]
zoneInfoOptional
public readonly zoneInfo: IResolvable | IResolvable | ZoneInfoProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ZoneInfoProperty[]
Property zoneInfo: The info details of the available zone.