Parameter | Type | Description | Example |
---|---|---|---|
object | The version information. | ||
revisionId | string | The published version. | apr-xxx |
environmentInfo | object | The environment information. | |
environmentId | string | The environment ID. | env-xxx |
name | string | The environment name. | test |
alias | string | The environment alias. | Test |
gatewayInfo | object | The instance information. | |
gatewayId | string | The instance ID. | gw-xxx |
name | string | The instance name. | Instance 1 |
subDomains | array | The default domain names of the environment. | |
HttpApiDomainInfo | The domain name information. | ||
customDomains | array | The custom domain names. | |
HttpApiDomainInfo | The domain name information. | ||
backendScene | string | The publishing scenario. Valid values:
| SingleService |
backendType | string | The type of the backend service. Valid values:
| Service |
serviceConfigs | array<object> | The configurations of existing services. For single-service publishing, only one entry is allowed. For other scenarios, multiple entries are allowed. | |
object | |||
gatewayServiceId | string | The service ID. | gs-xxx |
port | integer | The service port. | 8080 |
protocol | string | The service protocol. | HTTP |
weight | integer | The service weight. | 100 |
version | string | The service version. | v1 |
match | HttpApiBackendMatchConditions | The matching conditions. | |
dnsConfigs | array<object> | The configurations of DNS domain names. For single-service publishing, only one entry is allowed. For other scenarios, multiple entries are allowed. | |
object | The configuration of a single DNS domain name. | ||
dnsList | array | The DNS domain names. | |
string | The configuration of a single DNS domain name. Format: Domain name:Port. | www.example.com:80 | |
weight | integer | The weight. Valid values: [1,100]. This parameter is valid only in proportional routing. | 100 |
match | HttpApiBackendMatchConditions | The matching condition. This condition is valid only in content-based routing. | |
vipConfigs | array<object> | The configurations of fixed IP addresses. For single-service publishing, only one entry is allowed. For other scenarios, multiple entries are allowed. | |
object | The fixed IP address configurations. | ||
endpoints | array | The IP addresses. | |
string | The configuration of a single IP address. Format: IP address:Port. | 192.168.1.100:8080 | |
weight | integer | The weight. Valid values: [1,100]. This parameter is valid only in proportional routing. | 100 |
match | HttpApiBackendMatchConditions | The matching condition. This condition is valid only in content-based routing. | |
cloudProductConfig | object | The cloud service configurations. | |
cloudProductType | string | The type of the cloud service. | FC |
functionConfigs | array<object> | The Function Compute configurations. | |
object | |||
name | string | The function name. | demo-function |
qualifier | string | The function version or alias. | LATEST |
gatewayServiceId | string | The associated service ID. | gs-xxx |
weight | integer | The service weight. | 100 |
match | HttpApiBackendMatchConditions | The matching conditions. | |
containerServiceConfigs | array<object> | The ACK configurations. | |
object | |||
gatewayServiceId | string | The associated service ID. | gs-xxx |
name | string | The K8s service name. | demo-service |
namespace | string | The K8s namespace. | default |
protocol | string | The service protocol. | HTTP |
weight | string | The service weight. | 100 |
match | HttpApiBackendMatchConditions | The matching conditions. | |
port | integer | The service port. | 8080 |
mseNacosConfigs | array<object> | The MSE Nacos configurations. | |
object | |||
gatewayServiceId | string | The associated service ID. | gs-xxx |
name | string | The Nacos service name. | spring-demo |
namespace | string | The Nacos namespace. | public |
groupName | string | The service group. | DEFAULT_GROUP |
weight | integer | The service weight. | 100 |
match | HttpApiBackendMatchConditions | The matching conditions. | |
operations | array | The operations. | |
HttpApiOperationInfo | The operation information. | ||
createTimestamp | long | The publishing timestamp. | 1718807057927 |
isCurrentVersion | boolean | Specifies whether the current version is used. | true |