Skip to content

Commit

Permalink
sdk: rolling update for 0.21.54 (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
ucloud-bot authored Mar 21, 2023
1 parent 0c4def0 commit 9718bdc
Show file tree
Hide file tree
Showing 20 changed files with 548 additions and 512 deletions.
60 changes: 30 additions & 30 deletions services/ipsecvpn/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,36 +80,6 @@ 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 @@ -143,6 +113,36 @@ 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
70 changes: 35 additions & 35 deletions services/pathx/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,18 +224,6 @@ type ForwardTask struct {
RSPort int
}

/*
OutPublicIpInfo - 线路回源IP信息
*/
type OutPublicIpInfo struct {

// 线路回源节点机房代号
Area string

// 线路回源节点EIP
IP string
}

/*
AccelerationAreaInfos - 加速大区信息
*/
Expand All @@ -248,6 +236,18 @@ type AccelerationAreaInfos struct {
AccelerationNodes []SrcAreaInfo
}

/*
OutPublicIpInfo - 线路回源IP信息
*/
type OutPublicIpInfo struct {

// 线路回源节点机房代号
Area string

// 线路回源节点EIP
IP string
}

/*
ForwardInfo - 全球统一接入加速实例配置信息
*/
Expand Down Expand Up @@ -359,6 +359,21 @@ type AccelerationInfo struct {
NodeInfo []NodeDelays
}

/*
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 @@ -389,27 +404,6 @@ type UPathSet struct {
UPathName string
}

/*
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
}

/*
UGAATask - 用户在UGAA实例下配置的多端口任务
*/
Expand All @@ -423,9 +417,9 @@ type UGAATask struct {
}

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

// 接入端口
Port int
Expand All @@ -435,6 +429,12 @@ type UGAL4Forwarder struct {

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

// 证书ID
SSLId string

// 证书名称
SSLName string
}

/*
Expand Down
26 changes: 13 additions & 13 deletions services/uads/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ type ServiceInfo struct {
// 套餐最大防护组
DefenceDDosMaxFlowArr []int

// 防护状态
// 防护状态,Started:正常、Stopped:关闭、Expired:过期
DefenceStatus string

// 防护类型
Expand Down Expand Up @@ -233,18 +233,6 @@ type FwdSourceInfoConf struct {
Toa int
}

/*
FwdSourceInfo - 转发规则,回源配置信息
*/
type FwdSourceInfo struct {

// 回源配置列表
Conf []FwdSourceInfoConf

// 回源类型,分 IP 和 Domain
Type string
}

/*
FwdClientProxyInfo - 转发规则,回源代理配置列表
*/
Expand All @@ -257,6 +245,18 @@ type FwdClientProxyInfo struct {
IPList []string
}

/*
FwdSourceInfo - 转发规则,回源配置信息
*/
type FwdSourceInfo struct {

// 回源配置列表
Conf []FwdSourceInfoConf

// 回源类型,分 IP 和 Domain
Type string
}

/*
BGPFwdRule - BGP高防的转发规则信息
*/
Expand Down
20 changes: 10 additions & 10 deletions services/ubill/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,26 +120,26 @@ type AccountInfo struct {
}

/*
ResourceExtendInfo - 资源标识
ItemDetail - 产品配置
*/
type ResourceExtendInfo struct {
type ItemDetail struct {

// 资源标识健
KeyId string
// 产品小类名称
ProductName string

// 资源标识值
// 产品小类规格
Value string
}

/*
ItemDetail - 产品配置
ResourceExtendInfo - 资源标识
*/
type ItemDetail struct {
type ResourceExtendInfo struct {

// 产品小类名称
ProductName string
// 资源标识健
KeyId string

// 产品小类规格
// 资源标识值
Value string
}

Expand Down
9 changes: 9 additions & 0 deletions services/ucdn/apis.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,9 @@ type DescribeNewUcdnPrefetchCacheTaskRequest struct {
// 查询的结束时间,格式为Unix Timestamp。EndTime默认为当前时间,BeginTime默认为当前时间前一天时间。
EndTime *int `required:"false"`

// 是否全站加速 默认false
IsDcdn *bool `required:"false"`

// 返回数据长度,默认全部,自然数
Limit *int `required:"false"`

Expand Down Expand Up @@ -373,6 +376,9 @@ type DescribeNewUcdnRefreshCacheTaskRequest struct {
// 查询的结束时间,格式为Unix Timestamp。EndTime默认为当前时间,BeginTime默认为当前时间前一天时间。
EndTime *int `required:"false"`

// 是否全站加速 默认false
IsDcdn *bool `required:"false"`

// 返回数据长度,默认全部,自然数
Limit *int `required:"false"`

Expand Down Expand Up @@ -1512,6 +1518,9 @@ type GetUcdnDomainLogV2Request struct {

// 查询的结束时间,格式为Unix Timestamp
EndTime *int `required:"true"`

// 是否全站加速 默认false
IsDcdn *bool `required:"false"`
}

// GetUcdnDomainLogV2Response is response schema for GetUcdnDomainLogV2 action
Expand Down
Loading

0 comments on commit 9718bdc

Please sign in to comment.