Skip to content

Commit

Permalink
sdk: rolling update for 0.21.56 (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
ucloud-bot authored Mar 21, 2023
1 parent 704651e commit b82f997
Show file tree
Hide file tree
Showing 18 changed files with 477 additions and 477 deletions.
2 changes: 1 addition & 1 deletion services/iam/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Group - 用户组模型
type Group struct {

// 用户组创建时间戳
CreateAt int
CreatedAt int

// 用户组描述信息
Description string
Expand Down
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
60 changes: 30 additions & 30 deletions services/pathx/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,18 @@ type SrcAreaInfo 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 All @@ -234,18 +237,15 @@ type OutPublicIpInfo 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 Down Expand Up @@ -389,21 +389,6 @@ type UPathSet struct {
UPathName string
}

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

// 接入端口
Port int

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

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

/*
UGAATask - 用户在UGAA实例下配置的多端口任务
*/
Expand Down Expand Up @@ -437,6 +422,21 @@ type UGAL7Forwarder struct {
SSLName string
}

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

// 接入端口
Port int

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

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

/*
UGAAInfo - 全球加速实例信息
*/
Expand Down
54 changes: 27 additions & 27 deletions services/uads/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,21 @@ type ServiceInfo struct {
Vendor int
}

/*
EIPAddrSet - EIP地址信息
*/
type EIPAddrSet struct {

// IP类型:gaofang
EIPType string

// 弹性IP地址
IP string

// 运营商信息, 枚举值为: BGP: BGP; International: 国际.
OperatorName string
}

/*
Resouce - 资源信息
*/
Expand All @@ -173,21 +188,6 @@ type Resouce struct {
Zone string
}

/*
EIPAddrSet - EIP地址信息
*/
type EIPAddrSet struct {

// IP类型:gaofang
EIPType string

// 弹性IP地址
IP string

// 运营商信息, 枚举值为: BGP: BGP; International: 国际.
OperatorName string
}

/*
IPInfo - 高防IP信息
*/
Expand Down Expand Up @@ -233,18 +233,6 @@ type FwdSourceInfoConf struct {
Toa int
}

/*
FwdClientProxyInfo - 转发规则,回源代理配置列表
*/
type FwdClientProxyInfo struct {

// 回源IP个数
Count int

// 回源IP列表
IPList []string
}

/*
FwdSourceInfo - 转发规则,回源配置信息
*/
Expand All @@ -257,6 +245,18 @@ type FwdSourceInfo struct {
Type string
}

/*
FwdClientProxyInfo - 转发规则,回源代理配置列表
*/
type FwdClientProxyInfo struct {

// 回源IP个数
Count int

// 回源IP列表
IPList []string
}

/*
BGPFwdRule - BGP高防的转发规则信息
*/
Expand Down
12 changes: 6 additions & 6 deletions services/ubill/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@
package ubill

/*
OrderDetail -
ResourceTag -
*/
type OrderDetail struct {
type ResourceTag struct {

//
ProductName string
KeyId string

//
Value string
}

/*
ResourceTag -
OrderDetail -
*/
type ResourceTag struct {
type OrderDetail struct {

//
KeyId string
ProductName string

//
Value string
Expand Down
70 changes: 35 additions & 35 deletions services/ucdn/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

package ucdn

/*
AccessConf - 访问控制
*/
type AccessConf struct {

// 多个ip用逗号隔开
IpBlacklist string
}

/*
CacheConf - 缓存配置
*/
Expand Down Expand Up @@ -38,6 +29,15 @@ type CacheConf struct {
PathPattern string
}

/*
AccessConf - 访问控制
*/
type AccessConf struct {

// 多个ip用逗号隔开
IpBlacklist string
}

/*
DomainInfo - 域名配置
*/
Expand Down Expand Up @@ -548,6 +548,21 @@ type BandwidthTrafficInfo struct {
Traffic float64
}

/*
CacheKeyInfo - 忽略参数缓存配置
*/
type CacheKeyInfo struct {

// 是否忽略
Ignore bool

// 路径模式,支持正则
PathPattern string

// 自定义变量,以$符号开头,多个变量用加号(+)连接,$querystring表示所有变量
QueryString string
}

/*
ReferConf - refer配置
*/
Expand All @@ -564,18 +579,21 @@ type ReferConf struct {
}

/*
CacheKeyInfo - 忽略参数缓存配置
CacheAllConfig - 缓存相关的配置
*/
type CacheKeyInfo struct {
type CacheAllConfig struct {

// 是否忽略
Ignore bool
// 缓存Host,不同的域名可以配置为同一个CacheHost来实现缓存共享,默认为加速域名
CacheHost string

// 路径模式,支持正则
PathPattern string
// 忽略参数缓存配置列表,参见CacheKeyInfo
CacheKeyList []CacheKeyInfo

// 自定义变量,以$符号开头,多个变量用加号(+)连接,$querystring表示所有变量
QueryString string
// 缓存配置列表,参见CacheConf
CacheList []CacheConf

// 状态码缓存配置列表,参见CacheConf
HttpCodeCacheList []CacheConf
}

/*
Expand Down Expand Up @@ -647,24 +665,6 @@ type AdvancedConf struct {
WebSocketEnable bool
}

/*
CacheAllConfig - 缓存相关的配置
*/
type CacheAllConfig struct {

// 缓存Host,不同的域名可以配置为同一个CacheHost来实现缓存共享,默认为加速域名
CacheHost string

// 忽略参数缓存配置列表,参见CacheKeyInfo
CacheKeyList []CacheKeyInfo

// 缓存配置列表,参见CacheConf
CacheList []CacheConf

// 状态码缓存配置列表,参见CacheConf
HttpCodeCacheList []CacheConf
}

/*
DomainConfigInfo - 更新域名配置
*/
Expand Down
Loading

0 comments on commit b82f997

Please sign in to comment.