GatewayProperties interface
Spring Cloud Gateway 属性有效负载
属性
| api |
Spring Cloud Gateway 的 API 元数据属性 |
| apm |
Spring Cloud Gateway 中使用的 APM 类型的集合 |
| client |
Client-Certification 身份验证。 |
| cors |
跨域资源共享属性 |
| environment |
Spring Cloud 网关的环境变量 |
| https |
指示是否只允许 https。 |
| instances | 实例集合属于 Spring Cloud Gateway。 注意:此属性不会序列化。 它只能由服务器填充。 |
| operator |
Spring Cloud 网关作员的属性。 注意:此属性不会序列化。 它只能由服务器填充。 |
| provisioning |
Spring Cloud 网关的状态。 注意:此属性不会序列化。 它只能由服务器填充。 |
| public | 指示 Spring Cloud Gateway 是否公开终结点。 |
| resource |
所需的 CPU 和内存的请求资源数量。 |
| sso |
单一登录相关配置 |
| url | Spring Cloud Gateway 的 URL,在“public”为 true 时公开。 注意:此属性不会序列化。 它只能由服务器填充。 |
属性详细信息
apiMetadataProperties
Spring Cloud Gateway 的 API 元数据属性
apiMetadataProperties?: GatewayApiMetadataProperties
属性值
apmTypes
Spring Cloud Gateway 中使用的 APM 类型的集合
apmTypes?: string[]
属性值
string[]
clientAuth
corsProperties
environmentVariables
Spring Cloud 网关的环境变量
environmentVariables?: GatewayPropertiesEnvironmentVariables
属性值
httpsOnly
指示是否只允许 https。
httpsOnly?: boolean
属性值
boolean
instances
实例集合属于 Spring Cloud Gateway。 注意:此属性不会序列化。 它只能由服务器填充。
instances?: GatewayInstance[]
属性值
operatorProperties
Spring Cloud 网关作员的属性。 注意:此属性不会序列化。 它只能由服务器填充。
operatorProperties?: GatewayOperatorProperties
属性值
provisioningState
Spring Cloud 网关的状态。 注意:此属性不会序列化。 它只能由服务器填充。
provisioningState?: string
属性值
string
public
指示 Spring Cloud Gateway 是否公开终结点。
public?: boolean
属性值
boolean
resourceRequests
ssoProperties
url
Spring Cloud Gateway 的 URL,在“public”为 true 时公开。 注意:此属性不会序列化。 它只能由服务器填充。
url?: string
属性值
string