Skip to content

Commit

Permalink
sdk: rolling update for 0.21.55 (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
ucloud-bot authored Mar 21, 2023
1 parent 9718bdc commit 704651e
Show file tree
Hide file tree
Showing 17 changed files with 423 additions and 423 deletions.
2 changes: 1 addition & 1 deletion services/iam/apis.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ type CreateGroupRequest struct {
request.CommonBase

// 对用户组的描述
Description *string `required:"true"`
Description *string `required:"false"`

// 用户组名称
GroupName *string `required:"true"`
Expand Down
60 changes: 30 additions & 30 deletions services/pathx/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,21 +209,6 @@ type SrcAreaInfo struct {
FlagUnicode string
}

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

// 加速端口
Port int

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

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

/*
AccelerationAreaInfos - 加速大区信息
*/
Expand All @@ -248,6 +233,21 @@ type OutPublicIpInfo struct {
IP string
}

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

// 加速端口
Port int

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

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

/*
ForwardInfo - 全球统一接入加速实例配置信息
*/
Expand Down Expand Up @@ -359,21 +359,6 @@ 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 @@ -404,6 +389,21 @@ 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
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

/*
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
62 changes: 31 additions & 31 deletions services/ucdn/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -548,21 +548,6 @@ type BandwidthTrafficInfo struct {
Traffic float64
}

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

// 是否忽略
Ignore bool

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

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

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

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

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

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

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

// 状态码缓存配置列表,参见CacheConf
HttpCodeCacheList []CacheConf
/*
AccessControlConf - 访问控制配置参数
*/
type AccessControlConf struct {

// ip黑名单,多个ip,可表示为:IpBlackList.0=1.1.1.1,IpBlackList.1=2.2.2.2
IpBlackList []string

// refer配置
ReferConf ReferConf
}

/*
Expand Down Expand Up @@ -654,15 +648,21 @@ type AdvancedConf struct {
}

/*
AccessControlConf - 访问控制配置参数
CacheAllConfig - 缓存相关的配置
*/
type AccessControlConf struct {
type CacheAllConfig struct {

// ip黑名单,多个ip,可表示为:IpBlackList.0=1.1.1.1,IpBlackList.1=2.2.2.2
IpBlackList []string
// 缓存Host,不同的域名可以配置为同一个CacheHost来实现缓存共享,默认为加速域名
CacheHost string

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

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

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

/*
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
36 changes: 18 additions & 18 deletions services/uec/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,6 @@ type ResourceInfo struct {
State int
}

/*
EnvList - 容器环境变量列表
*/
type EnvList struct {

// 环境变量key值
Key string

// 环境变量Value值
Value string
}

/*
CfgDictList - 容器配置字典列表
*/
Expand All @@ -111,15 +99,15 @@ type CfgDictList struct {
}

/*
IpList - 容器组外网ip列表
EnvList - 容器环境变量列表
*/
type IpList struct {
type EnvList struct {

// 外网ip
Ip string
// 环境变量key值
Key string

// 运营商
Isp string
// 环境变量Value值
Value string
}

/*
Expand Down Expand Up @@ -155,6 +143,18 @@ type StorVolumeInfo struct {
ResourceId string
}

/*
IpList - 容器组外网ip列表
*/
type IpList struct {

// 外网ip
Ip string

// 运营商
Isp string
}

/*
DockerInfo - 容器信息
*/
Expand Down
Loading

0 comments on commit 704651e

Please sign in to comment.