Skip to content

GatewayServiceProps

Properties for defining a GatewayService.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-gatewayservice

Initializer

import com.aliyun.ros.cdk.mse.GatewayServiceProps;
GatewayServiceProps.builder()
    .gatewayUniqueId(java.lang.String)
    .gatewayUniqueId(IResolvable)
    .name(java.lang.String)
    .name(IResolvable)
    .sourceType(java.lang.String)
    .sourceType(IResolvable)
//  .dnsServerList(IResolvable)
//  .dnsServerList(java.util.List<java.lang.String)
//  .dnsServerList(IResolvable>)
//  .fcAlias(java.lang.String)
//  .fcAlias(IResolvable)
//  .fcServiceName(java.lang.String)
//  .fcServiceName(IResolvable)
//  .fcVersion(java.lang.String)
//  .fcVersion(IResolvable)
//  .groupName(java.lang.String)
//  .groupName(IResolvable)
//  .ips(IResolvable)
//  .ips(java.util.List<java.lang.String)
//  .ips(IResolvable>)
//  .namespace(java.lang.String)
//  .namespace(IResolvable)
//  .saeAppId(java.lang.String)
//  .saeAppId(IResolvable)
//  .servicePort(java.lang.Number)
//  .servicePort(IResolvable)
//  .serviceProtocol(java.lang.String)
//  .serviceProtocol(IResolvable)
//  .sourceId(java.lang.Number)
//  .sourceId(IResolvable)
//  .tlsSetting(IResolvable)
//  .tlsSetting(java.util.Map<java.lang.String, java.lang.Object>)
    .build();

Properties

Name Type Description
gatewayUniqueId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property gatewayUniqueId: Unique identifier of the gateway.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: Name of the service.
sourceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sourceType: Type of service source.
dnsServerList com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property dnsServerList: List of DNS servers.
fcAlias java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property fcAlias: Function Compute service alias.
fcServiceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property fcServiceName: Function Compute service name.
fcVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property fcVersion: Function Compute service version.
groupName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property groupName: Group name of the service.
ips com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property ips: List of IPs.
namespace java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property namespace: Namespace of the service.
saeAppId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property saeAppId: SAE application ID.
servicePort java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property servicePort: Port of the service.
serviceProtocol java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property serviceProtocol: Protocol of the service.
sourceId java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property sourceId: Source ID of the service.
tlsSetting com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property tlsSetting: The TLS settings, specified as a JSON string.

gatewayUniqueIdRequired

public java.lang.Object getGatewayUniqueId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property gatewayUniqueId: Unique identifier of the gateway.


nameRequired

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property name: Name of the service.


sourceTypeRequired

public java.lang.Object getSourceType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property sourceType: Type of service source.

Valid values:

  • MSE: MSE-NACOS
  • K8s: ACK container service
  • VIP: Fixed address
  • DNS: DNS domain name
  • FC: Function Compute
  • EDAS: EDAS
  • MSE_ZK: MSE-Zookeeper
  • SAE: SAE

dnsServerListOptional

public java.lang.Object getDnsServerList();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property dnsServerList: List of DNS servers.


fcAliasOptional

public java.lang.Object getFcAlias();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property fcAlias: Function Compute service alias.

Used when SourceType is FC.


fcServiceNameOptional

public java.lang.Object getFcServiceName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property fcServiceName: Function Compute service name.

Required when SourceType is FC.


fcVersionOptional

public java.lang.Object getFcVersion();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property fcVersion: Function Compute service version.

Used when SourceType is FC.


groupNameOptional

public java.lang.Object getGroupName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property groupName: Group name of the service.


ipsOptional

public java.lang.Object getIps();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property ips: List of IPs.


namespaceOptional

public java.lang.Object getNamespace();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property namespace: Namespace of the service.


saeAppIdOptional

public java.lang.Object getSaeAppId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property saeAppId: SAE application ID.


servicePortOptional

public java.lang.Object getServicePort();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property servicePort: Port of the service.


serviceProtocolOptional

public java.lang.Object getServiceProtocol();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property serviceProtocol: Protocol of the service.


sourceIdOptional

public java.lang.Object getSourceId();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property sourceId: Source ID of the service.

Used when specifying a source to add services.


tlsSettingOptional

public java.lang.Object getTlsSetting();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

Property tlsSetting: The TLS settings, specified as a JSON string.

The following fields are supported:

  • mode: The TLS mode.
  • certId: The certificate ID.
  • caCertId: The CA certificate ID.
  • caCertContent: The public key of the CA certificate.
  • sni: The Server Name Indication (SNI).