mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-07-04 21:24:24 +08:00
49 lines
1.8 KiB
Go
49 lines
1.8 KiB
Go
// Copyright 2018 JDCLOUD.COM
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
//
|
|
// NOTE: This class is auto generated by the jdcloud code generator program.
|
|
|
|
package models
|
|
|
|
|
|
type ReadWriteProxy struct {
|
|
|
|
/* 读写分离代理服务 ID (Optional) */
|
|
ReadWriteProxyId string `json:"readWriteProxyId"`
|
|
|
|
/* 读写分离代理服务的状态;参见[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
|
|
Status string `json:"status"`
|
|
|
|
/* 读写分离代理服务关联的RDS实例 ID (Optional) */
|
|
InstanceId string `json:"instanceId"`
|
|
|
|
/* 读写分离代理服务公网域名 (Optional) */
|
|
PublicDomainName string `json:"publicDomainName"`
|
|
|
|
/* 读写分离代理服务内网域名 (Optional) */
|
|
InternalDomainName string `json:"internalDomainName"`
|
|
|
|
/* 读写分离代理服务访问端口 (Optional) */
|
|
Port string `json:"port"`
|
|
|
|
/* 延迟阈值 (Optional) */
|
|
DelayThreshold int `json:"delayThreshold"`
|
|
|
|
/* 读写分离代理后端实例负载均衡策略;当前支持的负载均衡策略请查看[枚举参数定义](../Enum-Definitions/Enum-Definitions.md) (Optional) */
|
|
LoadBalancerPolicy string `json:"loadBalancerPolicy"`
|
|
|
|
/* 后端实例健康检查配置详情 (Optional) */
|
|
HealthCheck HealthCheck `json:"healthCheck"`
|
|
}
|