Skip to content

Commit

Permalink
sdk: rolling update for 0.21.51 (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
ucloud-bot authored Mar 14, 2023
1 parent 42c0995 commit ef1b3f1
Show file tree
Hide file tree
Showing 19 changed files with 2,844 additions and 423 deletions.
60 changes: 30 additions & 30 deletions services/ipsecvpn/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,36 @@ type VPNGatewayDataSet struct {
VPNGatewayName string
}

/*
IPSecData - IPSec参数
*/
type IPSecData struct {

// IPSec通道中使用的认证算法
IPSecAuthenticationAlgorithm string

// IPSec通道中使用的加密算法
IPSecEncryptionAlgorithm string

// 指定VPN连接的本地子网,用逗号分隔
IPSecLocalSubnetIds []string

// 是否开启PFS功能,Disable表示关闭,数字表示DH组
IPSecPFSDhGroup string

// 使用的安全协议,ESP或AH
IPSecProtocol string

// 指定VPN连接的客户网段,用逗号分隔
IPSecRemoteSubnets []string

// IPSec中SA的生存时间
IPSecSALifetime string

// IPSec中SA的生存时间(以字节计)
IPSecSALifetimeBytes string
}

/*
IKEData - IKE信息
*/
Expand Down Expand Up @@ -113,36 +143,6 @@ type IKEData struct {
IKEVersion string
}

/*
IPSecData - IPSec参数
*/
type IPSecData struct {

// IPSec通道中使用的认证算法
IPSecAuthenticationAlgorithm string

// IPSec通道中使用的加密算法
IPSecEncryptionAlgorithm string

// 指定VPN连接的本地子网,用逗号分隔
IPSecLocalSubnetIds []string

// 是否开启PFS功能,Disable表示关闭,数字表示DH组
IPSecPFSDhGroup string

// 使用的安全协议,ESP或AH
IPSecProtocol string

// 指定VPN连接的客户网段,用逗号分隔
IPSecRemoteSubnets []string

// IPSec中SA的生存时间
IPSecSALifetime string

// IPSec中SA的生存时间(以字节计)
IPSecSALifetimeBytes string
}

/*
VPNTunnelDataSet - DescribeVPNTunnel信息
*/
Expand Down
102 changes: 51 additions & 51 deletions services/pathx/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,18 +210,15 @@ type SrcAreaInfo struct {
}

/*
ForwardTask - 全球统一接入转发端口任务信息
AccelerationAreaInfos - 加速大区信息
*/
type ForwardTask struct {

// 加速端口
Port int
type AccelerationAreaInfos struct {

// 转发协议,枚举值["TCP","UDP","HTTPHTTP","HTTPSHTTP","HTTPSHTTPS","WSWS","WSSWS","WSSWSS"]。TCP和UDP代表四层转发,其余为七层转发。
Protocol string
// 加速区code
AccelerationArea string

// 源站服务器监听的端口号
RSPort int
// 加速节点信息
AccelerationNodes []SrcAreaInfo
}

/*
Expand All @@ -237,15 +234,18 @@ type OutPublicIpInfo struct {
}

/*
AccelerationAreaInfos - 加速大区信息
ForwardTask - 全球统一接入转发端口任务信息
*/
type AccelerationAreaInfos struct {
type ForwardTask struct {

// 加速区code
AccelerationArea string
// 加速端口
Port int

// 加速节点信息
AccelerationNodes []SrcAreaInfo
// 转发协议,枚举值["TCP","UDP","HTTPHTTP","HTTPSHTTP","HTTPSHTTPS","WSWS","WSSWS","WSSWSS"]。TCP和UDP代表四层转发,其余为七层转发。
Protocol string

// 源站服务器监听的端口号
RSPort int
}

/*
Expand Down Expand Up @@ -359,6 +359,42 @@ type AccelerationInfo struct {
NodeInfo []NodeDelays
}

/*
UGAL7Forwarder - UGA实例 7层转发器信息
*/
type UGAL7Forwarder struct {

// 接入端口
Port int

// 转发协议,枚举值["TCP","UDP","HTTPHTTP","HTTPSHTTP","HTTPSHTTPS"]。TCP和UDP代表四层转发,其余为七层转发
Protocol string

// RSPort,源站监听端口
RSPort int

// 证书ID
SSLId string

// 证书名称
SSLName string
}

/*
UGAL4Forwarder - UGA实例 4层转发器信息
*/
type UGAL4Forwarder struct {

// 接入端口
Port int

// 转发协议,枚举值["TCP","UDP","HTTPHTTP","HTTPSHTTP","HTTPSHTTPS"]。TCP和UDP代表四层转发,其余为七层转发
Protocol string

// RSPort,源站监听端口
RSPort int
}

/*
UPathSet - uga关联的upath信息
*/
Expand Down Expand Up @@ -401,42 +437,6 @@ type UGAATask struct {
Protocol string
}

/*
UGAL4Forwarder - UGA实例 4层转发器信息
*/
type UGAL4Forwarder struct {

// 接入端口
Port int

// 转发协议,枚举值["TCP","UDP","HTTPHTTP","HTTPSHTTP","HTTPSHTTPS"]。TCP和UDP代表四层转发,其余为七层转发
Protocol string

// RSPort,源站监听端口
RSPort int
}

/*
UGAL7Forwarder - UGA实例 7层转发器信息
*/
type UGAL7Forwarder struct {

// 接入端口
Port int

// 转发协议,枚举值["TCP","UDP","HTTPHTTP","HTTPSHTTP","HTTPSHTTPS"]。TCP和UDP代表四层转发,其余为七层转发
Protocol string

// RSPort,源站监听端口
RSPort int

// 证书ID
SSLId string

// 证书名称
SSLName string
}

/*
UGAAInfo - 全球加速实例信息
*/
Expand Down
Loading

0 comments on commit ef1b3f1

Please sign in to comment.