Gateway2Props
Properties for defining a Gateway2.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-gateway2
Initializer
import com.aliyun.ros.cdk.mse.Gateway2Props;
Gateway2Props.builder()
.vpcId(java.lang.String)
.vpcId(IResolvable)
// .acceptLanguage(java.lang.String)
// .acceptLanguage(IResolvable)
// .chargeType(java.lang.String)
// .chargeType(IResolvable)
// .clbNetworkType(java.lang.String)
// .clbNetworkType(IResolvable)
// .enableHardwareAcceleration(java.lang.Boolean)
// .enableHardwareAcceleration(IResolvable)
// .enableSls(java.lang.Boolean)
// .enableSls(IResolvable)
// .enableXtrace(java.lang.Boolean)
// .enableXtrace(IResolvable)
// .enterpriseSecurityGroup(java.lang.Boolean)
// .enterpriseSecurityGroup(IResolvable)
// .internetSlb(java.lang.String)
// .internetSlb(IResolvable)
// .managedEntryNetworkType(java.lang.String)
// .managedEntryNetworkType(IResolvable)
// .mserVersion(java.lang.String)
// .mserVersion(IResolvable)
// .name(java.lang.String)
// .name(IResolvable)
// .nlbNetworkType(java.lang.String)
// .nlbNetworkType(IResolvable)
// .period(java.lang.Number)
// .period(IResolvable)
// .periodUnit(java.lang.String)
// .periodUnit(IResolvable)
// .replica(java.lang.Number)
// .replica(IResolvable)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
// .slbSpec(java.lang.String)
// .slbSpec(IResolvable)
// .spec(java.lang.String)
// .spec(IResolvable)
// .tags(java.util.List<TagsProperty>)
// .vSwitchId(java.lang.String)
// .vSwitchId(IResolvable)
// .vSwitchId2(java.lang.String)
// .vSwitchId2(IResolvable)
// .xtraceRatio(java.lang.Number)
// .xtraceRatio(IResolvable)
// .zoneInfo(IResolvable)
// .zoneInfo(java.util.List<IResolvable)
// .zoneInfo(ZoneInfoProperty>)
.build();
Properties
| Name | Type | Description |
|---|---|---|
vpcId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property vpcId: The ID of the vpc. |
acceptLanguage | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property acceptLanguage: The language of the response. |
chargeType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property chargeType: The billing method you specify when you purchase an normal instance. |
clbNetworkType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property clbNetworkType: The network type of the purchased Classic Load Balancer (CLB) instance that is billed based on LCUs. |
enableHardwareAcceleration | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property enableHardwareAcceleration: Specifies whether to enable hardware acceleration. |
enableSls | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property enableSls: Specifies whether to activate Log Service. |
enableXtrace | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property enableXtrace: Whether to activate Tracing Analysis. |
enterpriseSecurityGroup | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property enterpriseSecurityGroup: Specifies whether to use an Enterprise Security Group. |
internetSlb | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property internetSlb: Public network SLB specifications (for normal instances). |
managedEntryNetworkType | java.lang.String OR com.aliyun.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 | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property mserVersion: The edition of the gateway. |
name | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property name: The name of the created gateway. |
nlbNetworkType | java.lang.String OR com.aliyun.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 | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property period: Prepaid time period. |
periodUnit | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property periodUnit: Charge period for created instances. |
replica | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property replica: The number of nodes you specify when you purchase an normal instance. |
resourceGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property resourceGroupId: The ID of the resource group. |
slbSpec | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property slbSpec: Private network SLB specifications (for normal instances). |
spec | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property spec: The node specifications you specify when you purchase an normal instance. |
tags | java.util.List<TagsProperty> | Property tags: The list of tags in the form of key\/value pairs. |
vSwitchId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property vSwitchId: The primary VSwitch ID. |
vSwitchId2 | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property vSwitchId2: The secondary VSwitch ID. |
xtraceRatio | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property xtraceRatio: The sampling rate of Tracing Analysis. |
zoneInfo | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property zoneInfo: The info details of the available zone. |
vpcIdRequired
public java.lang.Object getVpcId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vpcId: The ID of the vpc.
acceptLanguageOptional
public java.lang.Object getAcceptLanguage();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property acceptLanguage: The language of the response.
Valid values: zh: Chinese en: English
chargeTypeOptional
public java.lang.Object getChargeType();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getClbNetworkType();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getEnableHardwareAcceleration();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property enableHardwareAcceleration: Specifies whether to enable hardware acceleration.
enableSlsOptional
public java.lang.Object getEnableSls();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property enableSls: Specifies whether to activate Log Service.
enableXtraceOptional
public java.lang.Object getEnableXtrace();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property enableXtrace: Whether to activate Tracing Analysis.
enterpriseSecurityGroupOptional
public java.lang.Object getEnterpriseSecurityGroup();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property enterpriseSecurityGroup: Specifies whether to use an Enterprise Security Group.
internetSlbOptional
public java.lang.Object getInternetSlb();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getManagedEntryNetworkType();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getMserVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property mserVersion: The edition of the gateway.
mse_premium: Professional Editionmse_pro: Standard Editionmse_serverless: Serverless Edition
nameOptional
public java.lang.Object getName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property name: The name of the created gateway.
nlbNetworkTypeOptional
public java.lang.Object getNlbNetworkType();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getPeriod();
- Type: java.lang.Number OR com.aliyun.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 java.lang.Object getPeriodUnit();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getReplica();
- Type: java.lang.Number OR com.aliyun.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 java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: The ID of the resource group.
slbSpecOptional
public java.lang.Object getSlbSpec();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getSpec();
- Type: java.lang.String OR com.aliyun.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 java.util.List<TagsProperty> getTags();
- Type: java.util.List<TagsProperty>
Property tags: The list of tags in the form of key\/value pairs.
You can define a maximum of 20 tags.
vSwitchIdOptional
public java.lang.Object getVSwitchId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vSwitchId: The primary VSwitch ID.
vSwitchId2Optional
public java.lang.Object getVSwitchId2();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vSwitchId2: The secondary VSwitch ID.
xtraceRatioOptional
public java.lang.Object getXtraceRatio();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property xtraceRatio: The sampling rate of Tracing Analysis.
Valid values: [1,100]
zoneInfoOptional
public java.lang.Object getZoneInfo();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
ZoneInfoProperty>
Property zoneInfo: The info details of the available zone.