Skip to content

GatewayServiceProps

Properties for defining a GatewayService.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Mse;
new GatewayServiceProps {
    object GatewayUniqueId,
    object Name,
    object SourceType,
    object DnsServerList = null,
    object FcAlias = null,
    object FcServiceName = null,
    object FcVersion = null,
    object GroupName = null,
    object Ips = null,
    object Namespace = null,
    object SaeAppId = null,
    object ServicePort = null,
    object ServiceProtocol = null,
    object SourceId = null,
    object TlsSetting = null
};

Properties

Name Type Description
GatewayUniqueId object Property gatewayUniqueId: Unique identifier of the gateway.
Name object Property name: Name of the service.
SourceType object Property sourceType: Type of service source.
DnsServerList object Property dnsServerList: List of DNS servers.
FcAlias object Property fcAlias: Function Compute service alias.
FcServiceName object Property fcServiceName: Function Compute service name.
FcVersion object Property fcVersion: Function Compute service version.
GroupName object Property groupName: Group name of the service.
Ips object Property ips: List of IPs.
Namespace object Property namespace: Namespace of the service.
SaeAppId object Property saeAppId: SAE application ID.
ServicePort object Property servicePort: Port of the service.
ServiceProtocol object Property serviceProtocol: Protocol of the service.
SourceId object Property sourceId: Source ID of the service.
TlsSetting object Property tlsSetting: The TLS settings, specified as a JSON string.

GatewayUniqueIdRequired

public object GatewayUniqueId { get; set; }
  • Type: object

Property gatewayUniqueId: Unique identifier of the gateway.


NameRequired

public object Name { get; set; }
  • Type: object

Property name: Name of the service.


SourceTypeRequired

public object SourceType { get; set; }
  • Type: object

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 object DnsServerList { get; set; }
  • Type: object

Property dnsServerList: List of DNS servers.


FcAliasOptional

public object FcAlias { get; set; }
  • Type: object

Property fcAlias: Function Compute service alias.

Used when SourceType is FC.


FcServiceNameOptional

public object FcServiceName { get; set; }
  • Type: object

Property fcServiceName: Function Compute service name.

Required when SourceType is FC.


FcVersionOptional

public object FcVersion { get; set; }
  • Type: object

Property fcVersion: Function Compute service version.

Used when SourceType is FC.


GroupNameOptional

public object GroupName { get; set; }
  • Type: object

Property groupName: Group name of the service.


IpsOptional

public object Ips { get; set; }
  • Type: object

Property ips: List of IPs.


NamespaceOptional

public object Namespace { get; set; }
  • Type: object

Property namespace: Namespace of the service.


SaeAppIdOptional

public object SaeAppId { get; set; }
  • Type: object

Property saeAppId: SAE application ID.


ServicePortOptional

public object ServicePort { get; set; }
  • Type: object

Property servicePort: Port of the service.


ServiceProtocolOptional

public object ServiceProtocol { get; set; }
  • Type: object

Property serviceProtocol: Protocol of the service.


SourceIdOptional

public object SourceId { get; set; }
  • Type: object

Property sourceId: Source ID of the service.

Used when specifying a source to add services.


TlsSettingOptional

public object TlsSetting { get; set; }
  • Type: object

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).