Skip to content

Commit

Permalink
sdk: rolling update for 0.21.41 (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
ucloud-bot authored Aug 15, 2022
1 parent fb47163 commit 7a5851f
Show file tree
Hide file tree
Showing 17 changed files with 555 additions and 457 deletions.
50 changes: 25 additions & 25 deletions services/pathx/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,18 @@ type SrcAreaInfo struct {
FlagUnicode string
}

/*
AccelerationAreaInfos - 加速大区信息
*/
type AccelerationAreaInfos struct {

// 加速区code
AccelerationArea string

// 加速节点信息
AccelerationNodes []SrcAreaInfo
}

/*
ForwardTask - 全球统一接入转发端口任务信息
*/
Expand Down Expand Up @@ -236,18 +248,6 @@ type OutPublicIpInfo struct {
IP string
}

/*
AccelerationAreaInfos - 加速大区信息
*/
type AccelerationAreaInfos struct {

// 加速区code
AccelerationArea string

// 加速节点信息
AccelerationNodes []SrcAreaInfo
}

/*
ForwardInfo - 全球统一接入加速实例配置信息
*/
Expand Down Expand Up @@ -360,24 +360,15 @@ type AccelerationInfo struct {
}

/*
UGAL7Forwarder - UGA实例 7层转发器信息
UGAATask - 用户在UGAA实例下配置的多端口任务
*/
type UGAL7Forwarder struct {
type UGAATask struct {

// 接入端口
Port int

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

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

// 证书ID
SSLId string

// 证书名称
SSLName string
}

/*
Expand Down Expand Up @@ -426,15 +417,24 @@ type UPathSet struct {
}

/*
UGAATask - 用户在UGAA实例下配置的多端口任务
UGAL7Forwarder - UGA实例 7层转发器信息
*/
type UGAATask struct {
type UGAL7Forwarder struct {

// 接入端口
Port int

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

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

// 证书ID
SSLId string

// 证书名称
SSLName string
}

/*
Expand Down
32 changes: 16 additions & 16 deletions services/ubill/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@
package ubill

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

//
KeyId string
ProductName string

//
Value string
}

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

//
ProductName string
KeyId string

//
Value string
Expand Down 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
48 changes: 24 additions & 24 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 @@ -578,21 +578,6 @@ type OriginConf struct {
OriginProtocol string
}

/*
AdvancedConf - 域名高级配置
*/
type AdvancedConf struct {

// http转https回源 true是,false否
Http2Https bool

// 客户端响应http头列表
HttpClientHeader []string

// 源站http头列表
HttpOriginHeader []string
}

/*
CacheAllConfig - 缓存相关的配置
*/
Expand All @@ -611,6 +596,21 @@ type CacheAllConfig struct {
HttpCodeCacheList []CacheConf
}

/*
AdvancedConf - 域名高级配置
*/
type AdvancedConf struct {

// http转https回源 true是,false否
Http2Https bool

// 客户端响应http头列表
HttpClientHeader []string

// 源站http头列表
HttpOriginHeader []string
}

/*
AccessControlConf - 访问控制配置参数
*/
Expand Down
24 changes: 12 additions & 12 deletions services/uec/apis.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,18 +195,6 @@ func (c *UECClient) CreateUEcFirewall(req *CreateUEcFirewallRequest) (*CreateUEc
return &res, nil
}

/*
CreateUEcHolderParamStorage is request schema for complex param
*/
type CreateUEcHolderParamStorage struct {

// 存储卷挂载路径
Path *string `required:"false"`

// 存储卷资源id
ResourceId *string `required:"false"`
}

/*
CreateUEcHolderParamImage is request schema for complex param
*/
Expand Down Expand Up @@ -252,6 +240,18 @@ type CreateUEcHolderParamPack struct {
WorkDir *string `required:"false"`
}

/*
CreateUEcHolderParamStorage is request schema for complex param
*/
type CreateUEcHolderParamStorage struct {

// 存储卷挂载路径
Path *string `required:"false"`

// 存储卷资源id
ResourceId *string `required:"false"`
}

// CreateUEcHolderRequest is request schema for CreateUEcHolder action
type CreateUEcHolderRequest struct {
request.CommonBase
Expand Down
30 changes: 15 additions & 15 deletions services/uec/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,21 +110,6 @@ type CfgDictList struct {
ResourceId string
}

/*
ImageList - 容器组镜像密钥列表
*/
type ImageList struct {

// 镜像密钥
ImageKey string

// 仓库地址
StoreAddr string

// 用户名称
UserName string
}

/*
DockerInfo - 容器信息
*/
Expand Down Expand Up @@ -179,6 +164,21 @@ type StorVolumeInfo struct {
ResourceId string
}

/*
ImageList - 容器组镜像密钥列表
*/
type ImageList struct {

// 镜像密钥
ImageKey string

// 仓库地址
StoreAddr string

// 用户名称
UserName string
}

/*
IpList - 容器组外网ip列表
*/
Expand Down
42 changes: 21 additions & 21 deletions services/ufile/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,27 @@ type LifeCycleItem struct {
Status string
}

/*
UFileTotalReportItem - 总消费信息
*/
type UFileTotalReportItem struct {

// API请求次数(万次)
ApiTimes float64

// 忙时流量;单位byte;海外无此字段
BusyFlow float64

// cdn回源流量;单位byte
CdnFlow float64

// 下载流量:单位byte;国内无此字段
Flow float64

// 闲时流量;单位byte;海外无此字段
IdleFlow float64
}

/*
UFileDailyReportItem -
*/
Expand Down Expand Up @@ -167,27 +188,6 @@ type UFileDailyReportItem struct {
Storage float64
}

/*
UFileTotalReportItem - 总消费信息
*/
type UFileTotalReportItem struct {

// API请求次数(万次)
ApiTimes float64

// 忙时流量;单位byte;海外无此字段
BusyFlow float64

// cdn回源流量;单位byte
CdnFlow float64

// 下载流量:单位byte;国内无此字段
Flow float64

// 闲时流量;单位byte;海外无此字段
IdleFlow float64
}

/*
UFileReportItem -
*/
Expand Down
Loading

0 comments on commit 7a5851f

Please sign in to comment.