Skip to content

Commit

Permalink
sdk: rolling update for 0.22.19 (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
ucloud-bot authored May 30, 2024
1 parent f617cb5 commit e38568a
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 13 deletions.
6 changes: 6 additions & 0 deletions services/nlb/apis.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@ AddNLBTargetsParamTargets is request schema for complex param
*/
type AddNLBTargetsParamTargets struct {

// 服务节点是否启用
Enabled *bool `required:"false"`

// 服务节点的端口,限定取值:[1-65535]
Port *int `required:"false"`

// 服务节点所在地域
Region *string `required:"false"`

// 服务节点的IP。在IP类型时,必传
ResourceIP *string `required:"false"`

Expand Down
6 changes: 6 additions & 0 deletions services/nlb/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,18 @@ Target - 服务节点信息
*/
type Target struct {

// 服务节点是否开启
Enabled bool

// 服务节点的标识 ID说明:添加服务节点的时候无需传更新服务节点属性时必传
Id string

// 服务节点的端口
Port int

// 服务节点所在地域
Region string

// 服务节点的IP。在IP类型时,必传
ResourceIP string

Expand Down
24 changes: 12 additions & 12 deletions services/udb/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,6 @@ type UDBBackupSet struct {
Zone string
}

/*
UFileDataSet - 增加ufile的描述
*/
type UFileDataSet struct {

// bucket名称
Bucket string

// Ufile的令牌tokenid
TokenID string
}

/*
UDBSlaveInstanceSet - DescribeUDBSlaveInstance
*/
Expand Down Expand Up @@ -185,6 +173,18 @@ type UDBSlaveInstanceSet struct {
Zone string
}

/*
UFileDataSet - 增加ufile的描述
*/
type UFileDataSet struct {

// bucket名称
Bucket string

// Ufile的令牌tokenid
TokenID string
}

/*
UDBInstanceSet - DescribeUDBInstance
*/
Expand Down
2 changes: 1 addition & 1 deletion ucloud/version/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package version

const Version = "0.22.18"
const Version = "0.22.19"

0 comments on commit e38568a

Please sign in to comment.