-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sdk: rolling update for 0.22.24 (#426)
- Loading branch information
1 parent
2dd4830
commit 265d13c
Showing
11 changed files
with
970 additions
and
185 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Code is generated by ucloud-model, DO NOT EDIT IT. | ||
|
||
package udns | ||
|
||
import ( | ||
"github.com/ucloud/ucloud-sdk-go/ucloud" | ||
"github.com/ucloud/ucloud-sdk-go/ucloud/auth" | ||
) | ||
|
||
// UDNSClient is the client of UDNS | ||
type UDNSClient struct { | ||
*ucloud.Client | ||
} | ||
|
||
// NewClient will return a instance of UDNSClient | ||
func NewClient(config *ucloud.Config, credential *auth.Credential) *UDNSClient { | ||
meta := ucloud.ClientMeta{Product: "UDNS"} | ||
client := ucloud.NewClientWithMeta(config, credential, meta) | ||
return &UDNSClient{ | ||
client, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Code is generated by ucloud-model, DO NOT EDIT IT. | ||
|
||
/* | ||
Package udns include resources of ucloud udns product | ||
See also | ||
- API: https://docs.ucloud.cn/api/udns-api/index | ||
- Product: https://www.ucloud.cn/site/product/udns.html | ||
for detail. | ||
*/ | ||
package udns |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
// Code is generated by ucloud-model, DO NOT EDIT IT. | ||
|
||
package udns | ||
|
||
/* | ||
ValueSet - RecordInfos | ||
*/ | ||
type ValueSet struct { | ||
|
||
// 主机记录 | ||
Data string | ||
|
||
// 是否启用 | ||
IsEnabled int | ||
|
||
// 权重 | ||
Weight int | ||
} | ||
|
||
/* | ||
RecordInfo - DescribeUDNSRecord | ||
*/ | ||
type RecordInfo struct { | ||
|
||
// 主机记录 | ||
Name string | ||
|
||
// 域名记录资源ID | ||
RecordId string | ||
|
||
// 记录备注信息 | ||
Remark string | ||
|
||
// TTL值,单位为秒 | ||
TTL int | ||
|
||
// 记录类型 | ||
Type string | ||
|
||
// 数值组 | ||
ValueSet []ValueSet | ||
|
||
// 记录策略,标准或随机应答 | ||
ValueType string | ||
} | ||
|
||
/* | ||
VPCInfo - ZoneInfo | ||
*/ | ||
type VPCInfo struct { | ||
|
||
// VPC名称 | ||
Name string | ||
|
||
// VPC地址空间 | ||
Network []string | ||
|
||
// VPC ID | ||
VPCId string | ||
|
||
// VPC所属项目ID | ||
VPCProjectId string | ||
|
||
// VPC类型:Normal 公有云 Hybrid 托管云 | ||
VPCType string | ||
} | ||
|
||
/* | ||
ZoneInfo - DescribeUDNSZone | ||
*/ | ||
type ZoneInfo struct { | ||
|
||
// 计费类型(Dynamic、Month、Year) | ||
ChargeType string | ||
|
||
// 创建时间 | ||
CreateTime int | ||
|
||
// 域名名称 | ||
DNSZoneName string | ||
|
||
// 过期时间 | ||
ExpireTime int | ||
|
||
// 是否开启自动续费(Yes No) | ||
IsAutoRenew string | ||
|
||
// 是否支持迭代。枚举值,"enable",支持迭代; "disable",不支持迭代 | ||
IsRecursionEnabled string | ||
|
||
// 记录相关ID | ||
RecordInfos []string | ||
|
||
// 备注 | ||
Remark string | ||
|
||
// 业务组 | ||
Tag string | ||
|
||
// 绑定的VPC信息 | ||
VPCInfos []VPCInfo | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.