Skip to content

Commit 87dc314

Browse files
add updates
1 parent 72f35bc commit 87dc314

3 files changed

Lines changed: 38 additions & 1 deletion

File tree

src/Zfs/ChangeLog.md

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

44
|发布时间|版本号|更新|说明|
55
|---|---|---|---|
6+
|2023-03-22|1.0.9|接口完善|*查询挂载客户端|
67
|2022-06-22|1.0.8|接口完善|* 1. 查询文件系统详情时,增加显示文件系统所属可用区<br>2. 查询挂载点详情时,增加显示安全组<br>3. 增加查询文件系统指定区的可用az|
78
|2020-09-04|1.0.7|接口完善|* 挂载点支持Ipv6|
89
|2020-08-06|1.0.6|接口完善|* 创建文件系统时,可指定serviceCode|

src/Zfs/ZfsClient.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
* @method \GuzzleHttp\Promise\Promise modifyFileSystemAttributeAsync(array $args = [])
3131
* @method \Jdcloud\Result deleteFileSystem(array $args = [])
3232
* @method \GuzzleHttp\Promise\Promise deleteFileSystemAsync(array $args = [])
33+
* @method \Jdcloud\Result describeMountedClients(array $args = [])
34+
* @method \GuzzleHttp\Promise\Promise describeMountedClientsAsync(array $args = [])
3335
* @method \Jdcloud\Result describeMountTargets(array $args = [])
3436
* @method \GuzzleHttp\Promise\Promise describeMountTargetsAsync(array $args = [])
3537
* @method \Jdcloud\Result createMountTarget(array $args = [])

src/data/zfs/v1/api-2.json.php

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@
5656
'input' => [ 'shape' => 'DeleteFileSystemRequestShape', ],
5757
'output' => [ 'shape' => 'DeleteFileSystemResponseShape', ],
5858
],
59+
'DescribeMountedClients' => [
60+
'name' => 'DescribeMountedClients',
61+
'http' => [
62+
'method' => 'POST',
63+
'requestUri' => '/v1/regions/{regionId}/describeMountedClients',
64+
],
65+
'input' => [ 'shape' => 'DescribeMountedClientsRequestShape', ],
66+
'output' => [ 'shape' => 'DescribeMountedClientsResponseShape', ],
67+
],
5968
'DescribeMountTargets' => [
6069
'name' => 'DescribeMountTargets',
6170
'http' => [
@@ -172,6 +181,13 @@
172181
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
173182
],
174183
],
184+
'DescribeMountedClientsResponseShape' => [
185+
'type' => 'structure',
186+
'members' => [
187+
'result' => [ 'shape' => 'DescribeMountedClientsResultShape', ],
188+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
189+
],
190+
],
175191
'DeleteFileSystemResponseShape' => [
176192
'type' => 'structure',
177193
'members' => [
@@ -197,6 +213,17 @@
197213
'fileSystemId' => [ 'type' => 'string', 'locationName' => 'fileSystemId', ],
198214
],
199215
],
216+
'DescribeMountedClientsRequestShape' => [
217+
'type' => 'structure',
218+
'members' => [
219+
'pageNumber' => [ 'type' => 'integer', 'locationName' => 'pageNumber', ],
220+
'pageSize' => [ 'type' => 'integer', 'locationName' => 'pageSize', ],
221+
'fileSystemId' => [ 'type' => 'string', 'locationName' => 'fileSystemId', ],
222+
'mountTargetId' => [ 'type' => 'string', 'locationName' => 'mountTargetId', ],
223+
'clientIP' => [ 'type' => 'list', 'member' => [ 'type' => 'string', ], ],
224+
'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ],
225+
],
226+
],
200227
'Filter' => [
201228
'type' => 'structure',
202229
'members' => [
@@ -247,6 +274,13 @@
247274
'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ],
248275
],
249276
],
277+
'DescribeMountedClientsResultShape' => [
278+
'type' => 'structure',
279+
'members' => [
280+
'clientsIPs' => [ 'type' => 'list', 'member' => [ 'type' => 'string', ], ],
281+
'totalCount' => [ 'type' => 'integer', 'locationName' => 'totalCount', ],
282+
],
283+
],
250284
'DescribeFileSystemsResultShape' => [
251285
'type' => 'structure',
252286
'members' => [

0 commit comments

Comments
 (0)