Skip to content

Commit 56add6d

Browse files
publish jdcloud-sdk-go version 1.0.8
1 parent dec28fb commit 56add6d

15 files changed

Lines changed: 68 additions & 3 deletions

services/zfs/ChangeLog.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# 更新历史 #
2-
API版本:1.0.5
2+
API版本:1.0.8
33

44
|发布时间|版本号|更新|说明|
55
|---|---|---|---|
6+
|2022-06-22|1.0.8|接口完善|* 1. 查询文件系统详情时,增加显示文件系统所属可用区<br>2. 查询挂载点详情时,增加显示安全组<br>3. 增加查询文件系统指定区的可用az|
7+
|2020-09-04|1.0.7|接口完善|* 挂载点支持Ipv6|
8+
|2020-08-06|1.0.6|接口完善|* 创建文件系统时,可指定serviceCode|
69
|2019-10-23|1.0.5|接口完善|* 创建挂载点时,安全组ID改为可选参数|
710
|2019-10-18|1.0.4|接口完善|* 增加文件系统类型|
811
|2019-06-18|1.0.3|接口完善|* 查询文件系统时增加标签作为过滤条件|

services/zfs/apis/CreateFileSystem.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ type CreateFileSystemRequest struct {
3838

3939
/* 文件系统类型(通用型:gp1,容量型:std1),默认为通用型 (Optional) */
4040
FileSystemType *string `json:"fileSystemType"`
41+
42+
/* 文件系统的serviceCode,默认为zfs (Optional) */
43+
ServiceCode *string `json:"serviceCode"`
44+
4145
}
4246

4347
/*
@@ -75,13 +79,15 @@ func NewCreateFileSystemRequest(
7579
* param description: 文件系统描述 (Required)
7680
* param clientToken: 幂等性参数(只支持数字、大小写字母,且不能超过64字符) (Required)
7781
* param fileSystemType: 文件系统类型(通用型:gp1,容量型:std1),默认为通用型 (Optional)
82+
* param serviceCode: 文件系统的serviceCode,默认为zfs (Optional)
7883
*/
7984
func NewCreateFileSystemRequestWithAllParams(
8085
regionId string,
8186
name string,
8287
description string,
8388
clientToken string,
8489
fileSystemType *string,
90+
serviceCode *string,
8591
) *CreateFileSystemRequest {
8692

8793
return &CreateFileSystemRequest{
@@ -96,6 +102,7 @@ func NewCreateFileSystemRequestWithAllParams(
96102
Description: description,
97103
ClientToken: clientToken,
98104
FileSystemType: fileSystemType,
105+
ServiceCode: serviceCode,
99106
}
100107
}
101108

@@ -137,6 +144,12 @@ func (r *CreateFileSystemRequest) SetFileSystemType(fileSystemType string) {
137144
r.FileSystemType = &fileSystemType
138145
}
139146

147+
/* param serviceCode: 文件系统的serviceCode,默认为zfs(Optional) */
148+
func (r *CreateFileSystemRequest) SetServiceCode(serviceCode string) {
149+
r.ServiceCode = &serviceCode
150+
}
151+
152+
140153
// GetRegionId returns path parameter 'regionId' if exist,
141154
// otherwise return empty string
142155
func (r CreateFileSystemRequest) GetRegionId() string {

services/zfs/apis/CreateMountTarget.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ type CreateMountTargetRequest struct {
4141

4242
/* 幂等性参数(只支持数字、大小写字母,且不能超过64字符) */
4343
ClientToken string `json:"clientToken"`
44+
4445
}
4546

4647
/*
@@ -151,6 +152,7 @@ func (r *CreateMountTargetRequest) SetClientToken(clientToken string) {
151152
r.ClientToken = clientToken
152153
}
153154

155+
154156
// GetRegionId returns path parameter 'regionId' if exist,
155157
// otherwise return empty string
156158
func (r CreateMountTargetRequest) GetRegionId() string {

services/zfs/apis/DeleteFileSystem.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ type DeleteFileSystemRequest struct {
2929

3030
/* 文件系统ID */
3131
FileSystemId string `json:"fileSystemId"`
32+
3233
}
3334

3435
/*
@@ -98,6 +99,7 @@ func (r *DeleteFileSystemRequest) SetFileSystemId(fileSystemId string) {
9899
r.FileSystemId = fileSystemId
99100
}
100101

102+
101103
// GetRegionId returns path parameter 'regionId' if exist,
102104
// otherwise return empty string
103105
func (r DeleteFileSystemRequest) GetRegionId() string {

services/zfs/apis/DeleteMountTarget.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ type DeleteMountTargetRequest struct {
2929

3030
/* 挂载目标ID */
3131
MountTargetId string `json:"mountTargetId"`
32+
3233
}
3334

3435
/*
@@ -98,6 +99,7 @@ func (r *DeleteMountTargetRequest) SetMountTargetId(mountTargetId string) {
9899
r.MountTargetId = mountTargetId
99100
}
100101

102+
101103
// GetRegionId returns path parameter 'regionId' if exist,
102104
// otherwise return empty string
103105
func (r DeleteMountTargetRequest) GetRegionId() string {

services/zfs/apis/DescribeFileSystem.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ type DescribeFileSystemRequest struct {
3030

3131
/* 文件系统ID */
3232
FileSystemId string `json:"fileSystemId"`
33+
3334
}
3435

3536
/*
@@ -99,6 +100,7 @@ func (r *DescribeFileSystemRequest) SetFileSystemId(fileSystemId string) {
99100
r.FileSystemId = fileSystemId
100101
}
101102

103+
102104
// GetRegionId returns path parameter 'regionId' if exist,
103105
// otherwise return empty string
104106
func (r DescribeFileSystemRequest) GetRegionId() string {

services/zfs/apis/DescribeFileSystems.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ name - 文件系统名称,模糊匹配,支持单个
4343
status - 文件系统状态,精确匹配,支持多个 FileSystem Status/creating、available、in-use
4444
(Optional) */
4545
Filters []common.Filter `json:"filters"`
46+
4647
}
4748

4849
/*
@@ -139,6 +140,7 @@ func (r *DescribeFileSystemsRequest) SetFilters(filters []common.Filter) {
139140
r.Filters = filters
140141
}
141142

143+
142144
// GetRegionId returns path parameter 'regionId' if exist,
143145
// otherwise return empty string
144146
func (r DescribeFileSystemsRequest) GetRegionId() string {

services/zfs/apis/DescribeMountTarget.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ type DescribeMountTargetRequest struct {
3030

3131
/* 挂载目标ID */
3232
MountTargetId string `json:"mountTargetId"`
33+
3334
}
3435

3536
/*
@@ -99,6 +100,7 @@ func (r *DescribeMountTargetRequest) SetMountTargetId(mountTargetId string) {
99100
r.MountTargetId = mountTargetId
100101
}
101102

103+
102104
// GetRegionId returns path parameter 'regionId' if exist,
103105
// otherwise return empty string
104106
func (r DescribeMountTargetRequest) GetRegionId() string {

services/zfs/apis/DescribeMountTargets.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ type DescribeMountTargetsRequest struct {
3939
mountTargetId - 挂载目标ID,精确匹配,支持多个
4040
(Optional) */
4141
Filters []common.Filter `json:"filters"`
42+
4243
}
4344

4445
/*
@@ -125,6 +126,7 @@ func (r *DescribeMountTargetsRequest) SetFilters(filters []common.Filter) {
125126
r.Filters = filters
126127
}
127128

129+
128130
// GetRegionId returns path parameter 'regionId' if exist,
129131
// otherwise return empty string
130132
func (r DescribeMountTargetsRequest) GetRegionId() string {

services/zfs/apis/ModifyFileSystemAttribute.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ type ModifyFileSystemAttributeRequest struct {
3535

3636
/* 文件系统描述(参数规则:不能超过256字符) (Optional) */
3737
Description *string `json:"description"`
38+
3839
}
3940

4041
/*
@@ -120,6 +121,7 @@ func (r *ModifyFileSystemAttributeRequest) SetDescription(description string) {
120121
r.Description = &description
121122
}
122123

124+
123125
// GetRegionId returns path parameter 'regionId' if exist,
124126
// otherwise return empty string
125127
func (r ModifyFileSystemAttributeRequest) GetRegionId() string {

0 commit comments

Comments
 (0)