ksyun-sdk-node 1.5.37 → 1.5.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -691,7 +691,7 @@ module.exports = class Client extends BaseClient {
691
691
  },
692
692
  SetCertificate: {
693
693
  url: "/",
694
- method: "GET",
694
+ method: "POST",
695
695
  config: {
696
696
  query: {
697
697
  Version: "V3",
@@ -72,13 +72,13 @@ module.exports = class Client extends BaseClient {
72
72
  PrivateIpAddress: "String",
73
73
  InstanceName: "String",
74
74
  InstanceNameSuffix: "String",
75
- ProjectId: "Int",
75
+ ProjectId: "Long",
76
76
  DataDisk: "Filter",
77
77
  NetworkInterface: "Filter",
78
78
  UserData: "String",
79
79
  SystemDisk: "Object",
80
80
  ModelId: "String",
81
- ModelVersion: "Int",
81
+ ModelVersion: "Long",
82
82
  AssembledImageDataDiskType: "String",
83
83
  AutoCreateEbs: "Boolean",
84
84
  LineId: "String",
@@ -276,9 +276,7 @@ module.exports = class Client extends BaseClient {
276
276
  InstancePassword: "String",
277
277
  KeyId: "Filter",
278
278
  KeepImageLogin: "Boolean",
279
- "SystemDisk.DiskType": "String",
280
- "SystemDisk.ResizeType": "String",
281
- UserData: "String"
279
+ "SystemDisk.DiskType": "String"
282
280
  }
283
281
  },
284
282
  CreateImage: {
@@ -592,7 +590,7 @@ module.exports = class Client extends BaseClient {
592
590
  DedicatedClusterId: "String",
593
591
  Tag: "Filter",
594
592
  AvailabilityZone: "String",
595
- ProjectId: "Int",
593
+ ProjectId: "Long",
596
594
  EbsClusterMode: "String"
597
595
  }
598
596
  },
@@ -1442,7 +1440,11 @@ module.exports = class Client extends BaseClient {
1442
1440
  StorageType: "String",
1443
1441
  ProtocolType: "String",
1444
1442
  FileSystemName: "String",
1445
- ProjectId: "Int"
1443
+ ProjectId: "Long",
1444
+ IsTrashEnable: "Boolean",
1445
+ IsTrashVisible: "Boolean",
1446
+ IntervalTrash: "Int",
1447
+ RecycleOpPermission: "Int"
1446
1448
  }
1447
1449
  },
1448
1450
  DeleteFileSystem: {
@@ -1514,7 +1516,8 @@ module.exports = class Client extends BaseClient {
1514
1516
  paramsType: {
1515
1517
  FileSystemId: "String",
1516
1518
  SubnetId: "String",
1517
- IpVersion: "String"
1519
+ IpVersion: "String",
1520
+ AccessGroupId: "String"
1518
1521
  }
1519
1522
  },
1520
1523
  DeleteMountTarget: {
@@ -1579,7 +1582,7 @@ module.exports = class Client extends BaseClient {
1579
1582
  InstanceName: "String",
1580
1583
  InstanceNameSuffix: "String",
1581
1584
  SriovNetSupport: "String",
1582
- ProjectId: "Int",
1585
+ ProjectId: "Long",
1583
1586
  DataGuardId: "String",
1584
1587
  AddressBandWidth: "Int",
1585
1588
  LineId: "String",
@@ -1618,7 +1621,7 @@ module.exports = class Client extends BaseClient {
1618
1621
  },
1619
1622
  paramsType: {
1620
1623
  ModelId: "String",
1621
- ModelVersion: "Int"
1624
+ ModelVersion: "Long"
1622
1625
  }
1623
1626
  },
1624
1627
  DescribeModels: {
@@ -1791,9 +1794,6 @@ module.exports = class Client extends BaseClient {
1791
1794
  },
1792
1795
  paramsType: {
1793
1796
  InstanceType: "String",
1794
- DataDiskGb: "Int",
1795
- "SystemDisk.DiskSize": "Int",
1796
- "SystemDisk.DiskType": "String",
1797
1797
  AvailabilityZone: "String"
1798
1798
  }
1799
1799
  },
@@ -1982,6 +1982,41 @@ module.exports = class Client extends BaseClient {
1982
1982
  DestinationSnapshotDesc: "String"
1983
1983
  }
1984
1984
  },
1985
+ ExportImage: {
1986
+ url: "/",
1987
+ method: "GET",
1988
+ config: {
1989
+ query: {
1990
+ Version: "2016-03-04",
1991
+ Action: "ExportImage"
1992
+ },
1993
+ headers: {
1994
+ "Content-Type": "application/x-www-form-urlencoded"
1995
+ }
1996
+ },
1997
+ paramsType: {
1998
+ ImageId: "String",
1999
+ Ks3Bucket: "String",
2000
+ ObjectName: "String",
2001
+ ImageExportType: "String"
2002
+ }
2003
+ },
2004
+ CancelImageExport: {
2005
+ url: "/",
2006
+ method: "GET",
2007
+ config: {
2008
+ query: {
2009
+ Version: "2016-03-04",
2010
+ Action: "CancelImageExport"
2011
+ },
2012
+ headers: {
2013
+ "Content-Type": "application/x-www-form-urlencoded"
2014
+ }
2015
+ },
2016
+ paramsType: {
2017
+ ImageId: "String"
2018
+ }
2019
+ },
1985
2020
  PreMigrateInstance: {
1986
2021
  url: "/",
1987
2022
  method: "GET",
@@ -2066,6 +2101,394 @@ module.exports = class Client extends BaseClient {
2066
2101
  paramsType: {
2067
2102
  InstanceId: "String"
2068
2103
  }
2104
+ },
2105
+ CreateSnapshot: {
2106
+ url: "/",
2107
+ method: "GET",
2108
+ config: {
2109
+ query: {
2110
+ Version: "2016-03-04",
2111
+ Action: "CreateSnapshot"
2112
+ },
2113
+ headers: {
2114
+ "Content-Type": "application/x-www-form-urlencoded"
2115
+ }
2116
+ },
2117
+ paramsType: {
2118
+ FileSystemId: "String",
2119
+ SnapshotName: "String",
2120
+ Description: "String",
2121
+ AliveDays: "Int"
2122
+ }
2123
+ },
2124
+ UpdateSnapshot: {
2125
+ url: "/",
2126
+ method: "GET",
2127
+ config: {
2128
+ query: {
2129
+ Version: "2016-03-04",
2130
+ Action: "UpdateSnapshot"
2131
+ },
2132
+ headers: {
2133
+ "Content-Type": "application/x-www-form-urlencoded"
2134
+ }
2135
+ },
2136
+ paramsType: {
2137
+ FileSystemId: "String",
2138
+ SnapshotId: "String",
2139
+ SnapshotName: "String",
2140
+ Description: "String",
2141
+ AliveDays: "Int"
2142
+ }
2143
+ },
2144
+ DeleteSnapshot: {
2145
+ url: "/",
2146
+ method: "GET",
2147
+ config: {
2148
+ query: {
2149
+ Version: "2016-03-04",
2150
+ Action: "DeleteSnapshot"
2151
+ },
2152
+ headers: {
2153
+ "Content-Type": "application/x-www-form-urlencoded"
2154
+ }
2155
+ },
2156
+ paramsType: {
2157
+ SnapshotId: "Filter"
2158
+ }
2159
+ },
2160
+ RevertSnapshot: {
2161
+ url: "/",
2162
+ method: "GET",
2163
+ config: {
2164
+ query: {
2165
+ Version: "2016-03-04",
2166
+ Action: "RevertSnapshot"
2167
+ },
2168
+ headers: {
2169
+ "Content-Type": "application/x-www-form-urlencoded"
2170
+ }
2171
+ },
2172
+ paramsType: {
2173
+ FileSystemId: "String",
2174
+ SnapshotId: "String"
2175
+ }
2176
+ },
2177
+ DescribeSnapshotList: {
2178
+ url: "/",
2179
+ method: "GET",
2180
+ config: {
2181
+ query: {
2182
+ Version: "2016-03-04",
2183
+ Action: "DescribeSnapshotList"
2184
+ },
2185
+ headers: {
2186
+ "Content-Type": "application/x-www-form-urlencoded"
2187
+ }
2188
+ },
2189
+ paramsType: {
2190
+ FileSystemId: "Filter",
2191
+ SnapshotId: "Filter",
2192
+ SnapshotName: "String",
2193
+ SnapshotType: "String",
2194
+ Sort: "String",
2195
+ PageNum: "Int",
2196
+ PageSize: "Int"
2197
+ }
2198
+ },
2199
+ CreateSnapshotPolicy: {
2200
+ url: "/",
2201
+ method: "GET",
2202
+ config: {
2203
+ query: {
2204
+ Version: "2016-03-04",
2205
+ Action: "CreateSnapshotPolicy"
2206
+ },
2207
+ headers: {
2208
+ "Content-Type": "application/x-www-form-urlencoded"
2209
+ }
2210
+ },
2211
+ paramsType: {
2212
+ AutoSnapshotPolicyName: "String",
2213
+ FrequencyUnit: "String",
2214
+ IndexOfFrequency: "Filter",
2215
+ SnapshotTimePoint: "Filter",
2216
+ AliveDays: "Int"
2217
+ }
2218
+ },
2219
+ UpdateSnapshotPolicy: {
2220
+ url: "/",
2221
+ method: "GET",
2222
+ config: {
2223
+ query: {
2224
+ Version: "2016-03-04",
2225
+ Action: "UpdateSnapshotPolicy"
2226
+ },
2227
+ headers: {
2228
+ "Content-Type": "application/x-www-form-urlencoded"
2229
+ }
2230
+ },
2231
+ paramsType: {
2232
+ AutoSnapshotPolicyId: "String",
2233
+ AutoSnapshotPolicyName: "String",
2234
+ FrequencyUnit: "String",
2235
+ IndexOfFrequency: "Filter",
2236
+ SnapshotTimePoint: "Filter",
2237
+ AliveDays: "Int"
2238
+ }
2239
+ },
2240
+ DeleteSnapshotPolicy: {
2241
+ url: "/",
2242
+ method: "GET",
2243
+ config: {
2244
+ query: {
2245
+ Version: "2016-03-04",
2246
+ Action: "DeleteSnapshotPolicy"
2247
+ },
2248
+ headers: {
2249
+ "Content-Type": "application/x-www-form-urlencoded"
2250
+ }
2251
+ },
2252
+ paramsType: {
2253
+ AutoSnapshotPolicyId: "Filter"
2254
+ }
2255
+ },
2256
+ ApplySnapshotPolicy: {
2257
+ url: "/",
2258
+ method: "GET",
2259
+ config: {
2260
+ query: {
2261
+ Version: "2016-03-04",
2262
+ Action: "ApplySnapshotPolicy"
2263
+ },
2264
+ headers: {
2265
+ "Content-Type": "application/x-www-form-urlencoded"
2266
+ }
2267
+ },
2268
+ paramsType: {
2269
+ AutoSnapshotPolicyId: "String",
2270
+ FileSystemId: "String"
2271
+ }
2272
+ },
2273
+ CancelSnapshotPolicy: {
2274
+ url: "/",
2275
+ method: "GET",
2276
+ config: {
2277
+ query: {
2278
+ Version: "2016-03-04",
2279
+ Action: "CancelSnapshotPolicy"
2280
+ },
2281
+ headers: {
2282
+ "Content-Type": "application/x-www-form-urlencoded"
2283
+ }
2284
+ },
2285
+ paramsType: {
2286
+ AutoSnapshotPolicyId: "String",
2287
+ FileSystemId: "String"
2288
+ }
2289
+ },
2290
+ DescribeSnapshotPolicyList: {
2291
+ url: "/",
2292
+ method: "GET",
2293
+ config: {
2294
+ query: {
2295
+ Version: "2016-03-04",
2296
+ Action: "DescribeSnapshotPolicyList"
2297
+ },
2298
+ headers: {
2299
+ "Content-Type": "application/x-www-form-urlencoded"
2300
+ }
2301
+ },
2302
+ paramsType: {
2303
+ FileSystemId: "String",
2304
+ AutoSnapshotPolicyId: "Filter",
2305
+ AutoSnapshotPolicyName: "String",
2306
+ Sort: "String",
2307
+ PageNum: "Int",
2308
+ PageSize: "Int"
2309
+ }
2310
+ },
2311
+ ModifyRecycleBinAttribute: {
2312
+ url: "/",
2313
+ method: "GET",
2314
+ config: {
2315
+ query: {
2316
+ Version: "2016-03-04",
2317
+ Action: "ModifyRecycleBinAttribute"
2318
+ },
2319
+ headers: {
2320
+ "Content-Type": "application/x-www-form-urlencoded"
2321
+ }
2322
+ },
2323
+ paramsType: {
2324
+ FileSystemId: "String",
2325
+ IsTrashEnable: "Boolean",
2326
+ IsTrashVisible: "Boolean",
2327
+ IntervalTrash: "Int",
2328
+ RecycleOpPermission: "Int"
2329
+ }
2330
+ },
2331
+ DescribeAccessGroups: {
2332
+ url: "/",
2333
+ method: "GET",
2334
+ config: {
2335
+ query: {
2336
+ Version: "2016-03-04",
2337
+ Action: "DescribeAccessGroups"
2338
+ },
2339
+ headers: {
2340
+ "Content-Type": "application/x-www-form-urlencoded"
2341
+ }
2342
+ },
2343
+ paramsType: {
2344
+ AccessGroupId: "String",
2345
+ PageSize: "Int",
2346
+ PageNumber: "Int"
2347
+ }
2348
+ },
2349
+ CreateAccessGroup: {
2350
+ url: "/",
2351
+ method: "GET",
2352
+ config: {
2353
+ query: {
2354
+ Version: "2016-03-04",
2355
+ Action: "CreateAccessGroup"
2356
+ },
2357
+ headers: {
2358
+ "Content-Type": "application/x-www-form-urlencoded"
2359
+ }
2360
+ },
2361
+ paramsType: {
2362
+ AccessGroupName: "String",
2363
+ Description: "String"
2364
+ }
2365
+ },
2366
+ ModifyAccessGroup: {
2367
+ url: "/",
2368
+ method: "GET",
2369
+ config: {
2370
+ query: {
2371
+ Version: "2016-03-04",
2372
+ Action: "ModifyAccessGroup"
2373
+ },
2374
+ headers: {
2375
+ "Content-Type": "application/x-www-form-urlencoded"
2376
+ }
2377
+ },
2378
+ paramsType: {
2379
+ AccessGroupId: "String",
2380
+ AccessGroupName: "String",
2381
+ Description: "String"
2382
+ }
2383
+ },
2384
+ DeleteAccessGroup: {
2385
+ url: "/",
2386
+ method: "GET",
2387
+ config: {
2388
+ query: {
2389
+ Version: "2016-03-04",
2390
+ Action: "DeleteAccessGroup"
2391
+ },
2392
+ headers: {
2393
+ "Content-Type": "application/x-www-form-urlencoded"
2394
+ }
2395
+ },
2396
+ paramsType: {
2397
+ AccessGroupId: "String"
2398
+ }
2399
+ },
2400
+ DescribeAccessRules: {
2401
+ url: "/",
2402
+ method: "GET",
2403
+ config: {
2404
+ query: {
2405
+ Version: "2016-03-04",
2406
+ Action: "DescribeAccessRules"
2407
+ },
2408
+ headers: {
2409
+ "Content-Type": "application/x-www-form-urlencoded"
2410
+ }
2411
+ },
2412
+ paramsType: {
2413
+ AccessGroupId: "String",
2414
+ AccessRuleId: "String",
2415
+ PageSize: "Int",
2416
+ PageNumber: "Int"
2417
+ }
2418
+ },
2419
+ CreateAccessRule: {
2420
+ url: "/",
2421
+ method: "GET",
2422
+ config: {
2423
+ query: {
2424
+ Version: "2016-03-04",
2425
+ Action: "CreateAccessRule"
2426
+ },
2427
+ headers: {
2428
+ "Content-Type": "application/x-www-form-urlencoded"
2429
+ }
2430
+ },
2431
+ paramsType: {
2432
+ AccessGroupId: "String",
2433
+ SourceCidrIp: "Filter",
2434
+ RwAccessType: "String",
2435
+ UserAccessType: "String"
2436
+ }
2437
+ },
2438
+ ModifyAccessRule: {
2439
+ url: "/",
2440
+ method: "GET",
2441
+ config: {
2442
+ query: {
2443
+ Version: "2016-03-04",
2444
+ Action: "ModifyAccessRule"
2445
+ },
2446
+ headers: {
2447
+ "Content-Type": "application/x-www-form-urlencoded"
2448
+ }
2449
+ },
2450
+ paramsType: {
2451
+ AccessGroupId: "String",
2452
+ AccessRuleId: "String",
2453
+ SourceCidrIp: "String",
2454
+ RwAccessType: "String",
2455
+ UserAccessType: "String"
2456
+ }
2457
+ },
2458
+ DeleteAccessRule: {
2459
+ url: "/",
2460
+ method: "GET",
2461
+ config: {
2462
+ query: {
2463
+ Version: "2016-03-04",
2464
+ Action: "DeleteAccessRule"
2465
+ },
2466
+ headers: {
2467
+ "Content-Type": "application/x-www-form-urlencoded"
2468
+ }
2469
+ },
2470
+ paramsType: {
2471
+ AccessGroupId: "String",
2472
+ AccessRuleId: "Filter"
2473
+ }
2474
+ },
2475
+ ModifyMountTarget: {
2476
+ url: "/",
2477
+ method: "GET",
2478
+ config: {
2479
+ query: {
2480
+ Version: "2016-03-04",
2481
+ Action: "ModifyMountTarget"
2482
+ },
2483
+ headers: {
2484
+ "Content-Type": "application/x-www-form-urlencoded"
2485
+ }
2486
+ },
2487
+ paramsType: {
2488
+ FileSystemId: "String",
2489
+ MountTargetId: "String",
2490
+ AccessGroupId: "String"
2491
+ }
2069
2492
  }
2070
2493
  });
2071
2494
  }
@@ -61,7 +61,8 @@ module.exports = class Client extends BaseClient {
61
61
  FileSystemId: "String",
62
62
  StartTime: "String",
63
63
  EndTime: "String",
64
- Interval: "String"
64
+ Interval: "String",
65
+ DirPath: "String"
65
66
  }
66
67
  },
67
68
  GetInodeCount: {
@@ -80,7 +81,8 @@ module.exports = class Client extends BaseClient {
80
81
  FileSystemId: "String",
81
82
  StartTime: "String",
82
83
  EndTime: "String",
83
- Interval: "String"
84
+ Interval: "String",
85
+ DirPath: "String"
84
86
  }
85
87
  },
86
88
  GetCapacityAvailable: {
@@ -308,7 +310,10 @@ module.exports = class Client extends BaseClient {
308
310
  ClusterName: "String",
309
311
  FileSystemName: "String",
310
312
  DirPath: "String",
311
- LogicalHardThreshold: "Long"
313
+ LogicalCapacityType: "String",
314
+ LogicalHardThreshold: "Long",
315
+ LogicalInodesType: "String",
316
+ LogicalHardInodes: "Long"
312
317
  }
313
318
  },
314
319
  CreateDirQuota: {
@@ -329,7 +334,10 @@ module.exports = class Client extends BaseClient {
329
334
  ClusterName: "String",
330
335
  FileSystemName: "String",
331
336
  DirPath: "String",
332
- LogicalHardThreshold: "Long"
337
+ LogicalCapacityType: "String",
338
+ LogicalHardThreshold: "Long",
339
+ LogicalInodesType: "String",
340
+ LogicalHardInodes: "Long"
333
341
  }
334
342
  },
335
343
  DescribeSubDirList: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ksyun-sdk-node",
3
- "version": "1.5.37",
3
+ "version": "1.5.40",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -684,7 +684,7 @@ module.exports = class Client extends BaseClient {
684
684
  },
685
685
  SetCertificate: {
686
686
  url: "/",
687
- method: "GET",
687
+ method: "POST",
688
688
  config: {
689
689
  query: {
690
690
  Version: "V3",
@@ -65,13 +65,13 @@ module.exports = class Client extends BaseClient {
65
65
  PrivateIpAddress: "String",
66
66
  InstanceName: "String",
67
67
  InstanceNameSuffix: "String",
68
- ProjectId: "Int",
68
+ ProjectId: "Long",
69
69
  DataDisk: "Filter",
70
70
  NetworkInterface: "Filter",
71
71
  UserData: "String",
72
72
  SystemDisk: "Object",
73
73
  ModelId: "String",
74
- ModelVersion: "Int",
74
+ ModelVersion: "Long",
75
75
  AssembledImageDataDiskType: "String",
76
76
  AutoCreateEbs: "Boolean",
77
77
  LineId: "String",
@@ -270,8 +270,6 @@ module.exports = class Client extends BaseClient {
270
270
  KeyId: "Filter",
271
271
  KeepImageLogin: "Boolean",
272
272
  "SystemDisk.DiskType": "String",
273
- "SystemDisk.ResizeType": "String",
274
- UserData: "String",
275
273
  },
276
274
  },
277
275
  CreateImage: {
@@ -585,7 +583,7 @@ module.exports = class Client extends BaseClient {
585
583
  DedicatedClusterId: "String",
586
584
  Tag: "Filter",
587
585
  AvailabilityZone: "String",
588
- ProjectId: "Int",
586
+ ProjectId: "Long",
589
587
  EbsClusterMode: "String",
590
588
  },
591
589
  },
@@ -1435,7 +1433,11 @@ module.exports = class Client extends BaseClient {
1435
1433
  StorageType: "String",
1436
1434
  ProtocolType: "String",
1437
1435
  FileSystemName: "String",
1438
- ProjectId: "Int",
1436
+ ProjectId: "Long",
1437
+ IsTrashEnable: "Boolean",
1438
+ IsTrashVisible: "Boolean",
1439
+ IntervalTrash: "Int",
1440
+ RecycleOpPermission: "Int",
1439
1441
  },
1440
1442
  },
1441
1443
  DeleteFileSystem: {
@@ -1508,6 +1510,7 @@ module.exports = class Client extends BaseClient {
1508
1510
  FileSystemId: "String",
1509
1511
  SubnetId: "String",
1510
1512
  IpVersion: "String",
1513
+ AccessGroupId: "String",
1511
1514
  },
1512
1515
  },
1513
1516
  DeleteMountTarget: {
@@ -1572,7 +1575,7 @@ module.exports = class Client extends BaseClient {
1572
1575
  InstanceName: "String",
1573
1576
  InstanceNameSuffix: "String",
1574
1577
  SriovNetSupport: "String",
1575
- ProjectId: "Int",
1578
+ ProjectId: "Long",
1576
1579
  DataGuardId: "String",
1577
1580
  AddressBandWidth: "Int",
1578
1581
  LineId: "String",
@@ -1611,7 +1614,7 @@ module.exports = class Client extends BaseClient {
1611
1614
  },
1612
1615
  paramsType: {
1613
1616
  ModelId: "String",
1614
- ModelVersion: "Int",
1617
+ ModelVersion: "Long",
1615
1618
  },
1616
1619
  },
1617
1620
  DescribeModels: {
@@ -1784,9 +1787,6 @@ module.exports = class Client extends BaseClient {
1784
1787
  },
1785
1788
  paramsType: {
1786
1789
  InstanceType: "String",
1787
- DataDiskGb: "Int",
1788
- "SystemDisk.DiskSize": "Int",
1789
- "SystemDisk.DiskType": "String",
1790
1790
  AvailabilityZone: "String",
1791
1791
  },
1792
1792
  },
@@ -1975,6 +1975,41 @@ module.exports = class Client extends BaseClient {
1975
1975
  DestinationSnapshotDesc: "String",
1976
1976
  },
1977
1977
  },
1978
+ ExportImage: {
1979
+ url: "/",
1980
+ method: "GET",
1981
+ config: {
1982
+ query: {
1983
+ Version: "2016-03-04",
1984
+ Action: "ExportImage",
1985
+ },
1986
+ headers: {
1987
+ "Content-Type": "application/x-www-form-urlencoded",
1988
+ },
1989
+ },
1990
+ paramsType: {
1991
+ ImageId: "String",
1992
+ Ks3Bucket: "String",
1993
+ ObjectName: "String",
1994
+ ImageExportType: "String",
1995
+ },
1996
+ },
1997
+ CancelImageExport: {
1998
+ url: "/",
1999
+ method: "GET",
2000
+ config: {
2001
+ query: {
2002
+ Version: "2016-03-04",
2003
+ Action: "CancelImageExport",
2004
+ },
2005
+ headers: {
2006
+ "Content-Type": "application/x-www-form-urlencoded",
2007
+ },
2008
+ },
2009
+ paramsType: {
2010
+ ImageId: "String",
2011
+ },
2012
+ },
1978
2013
  PreMigrateInstance: {
1979
2014
  url: "/",
1980
2015
  method: "GET",
@@ -2060,5 +2095,393 @@ module.exports = class Client extends BaseClient {
2060
2095
  InstanceId: "String",
2061
2096
  },
2062
2097
  },
2098
+ CreateSnapshot: {
2099
+ url: "/",
2100
+ method: "GET",
2101
+ config: {
2102
+ query: {
2103
+ Version: "2016-03-04",
2104
+ Action: "CreateSnapshot",
2105
+ },
2106
+ headers: {
2107
+ "Content-Type": "application/x-www-form-urlencoded",
2108
+ },
2109
+ },
2110
+ paramsType: {
2111
+ FileSystemId: "String",
2112
+ SnapshotName: "String",
2113
+ Description: "String",
2114
+ AliveDays: "Int",
2115
+ },
2116
+ },
2117
+ UpdateSnapshot: {
2118
+ url: "/",
2119
+ method: "GET",
2120
+ config: {
2121
+ query: {
2122
+ Version: "2016-03-04",
2123
+ Action: "UpdateSnapshot",
2124
+ },
2125
+ headers: {
2126
+ "Content-Type": "application/x-www-form-urlencoded",
2127
+ },
2128
+ },
2129
+ paramsType: {
2130
+ FileSystemId: "String",
2131
+ SnapshotId: "String",
2132
+ SnapshotName: "String",
2133
+ Description: "String",
2134
+ AliveDays: "Int",
2135
+ },
2136
+ },
2137
+ DeleteSnapshot: {
2138
+ url: "/",
2139
+ method: "GET",
2140
+ config: {
2141
+ query: {
2142
+ Version: "2016-03-04",
2143
+ Action: "DeleteSnapshot",
2144
+ },
2145
+ headers: {
2146
+ "Content-Type": "application/x-www-form-urlencoded",
2147
+ },
2148
+ },
2149
+ paramsType: {
2150
+ SnapshotId: "Filter",
2151
+ },
2152
+ },
2153
+ RevertSnapshot: {
2154
+ url: "/",
2155
+ method: "GET",
2156
+ config: {
2157
+ query: {
2158
+ Version: "2016-03-04",
2159
+ Action: "RevertSnapshot",
2160
+ },
2161
+ headers: {
2162
+ "Content-Type": "application/x-www-form-urlencoded",
2163
+ },
2164
+ },
2165
+ paramsType: {
2166
+ FileSystemId: "String",
2167
+ SnapshotId: "String",
2168
+ },
2169
+ },
2170
+ DescribeSnapshotList: {
2171
+ url: "/",
2172
+ method: "GET",
2173
+ config: {
2174
+ query: {
2175
+ Version: "2016-03-04",
2176
+ Action: "DescribeSnapshotList",
2177
+ },
2178
+ headers: {
2179
+ "Content-Type": "application/x-www-form-urlencoded",
2180
+ },
2181
+ },
2182
+ paramsType: {
2183
+ FileSystemId: "Filter",
2184
+ SnapshotId: "Filter",
2185
+ SnapshotName: "String",
2186
+ SnapshotType: "String",
2187
+ Sort: "String",
2188
+ PageNum: "Int",
2189
+ PageSize: "Int",
2190
+ },
2191
+ },
2192
+ CreateSnapshotPolicy: {
2193
+ url: "/",
2194
+ method: "GET",
2195
+ config: {
2196
+ query: {
2197
+ Version: "2016-03-04",
2198
+ Action: "CreateSnapshotPolicy",
2199
+ },
2200
+ headers: {
2201
+ "Content-Type": "application/x-www-form-urlencoded",
2202
+ },
2203
+ },
2204
+ paramsType: {
2205
+ AutoSnapshotPolicyName: "String",
2206
+ FrequencyUnit: "String",
2207
+ IndexOfFrequency: "Filter",
2208
+ SnapshotTimePoint: "Filter",
2209
+ AliveDays: "Int",
2210
+ },
2211
+ },
2212
+ UpdateSnapshotPolicy: {
2213
+ url: "/",
2214
+ method: "GET",
2215
+ config: {
2216
+ query: {
2217
+ Version: "2016-03-04",
2218
+ Action: "UpdateSnapshotPolicy",
2219
+ },
2220
+ headers: {
2221
+ "Content-Type": "application/x-www-form-urlencoded",
2222
+ },
2223
+ },
2224
+ paramsType: {
2225
+ AutoSnapshotPolicyId: "String",
2226
+ AutoSnapshotPolicyName: "String",
2227
+ FrequencyUnit: "String",
2228
+ IndexOfFrequency: "Filter",
2229
+ SnapshotTimePoint: "Filter",
2230
+ AliveDays: "Int",
2231
+ },
2232
+ },
2233
+ DeleteSnapshotPolicy: {
2234
+ url: "/",
2235
+ method: "GET",
2236
+ config: {
2237
+ query: {
2238
+ Version: "2016-03-04",
2239
+ Action: "DeleteSnapshotPolicy",
2240
+ },
2241
+ headers: {
2242
+ "Content-Type": "application/x-www-form-urlencoded",
2243
+ },
2244
+ },
2245
+ paramsType: {
2246
+ AutoSnapshotPolicyId: "Filter",
2247
+ },
2248
+ },
2249
+ ApplySnapshotPolicy: {
2250
+ url: "/",
2251
+ method: "GET",
2252
+ config: {
2253
+ query: {
2254
+ Version: "2016-03-04",
2255
+ Action: "ApplySnapshotPolicy",
2256
+ },
2257
+ headers: {
2258
+ "Content-Type": "application/x-www-form-urlencoded",
2259
+ },
2260
+ },
2261
+ paramsType: {
2262
+ AutoSnapshotPolicyId: "String",
2263
+ FileSystemId: "String",
2264
+ },
2265
+ },
2266
+ CancelSnapshotPolicy: {
2267
+ url: "/",
2268
+ method: "GET",
2269
+ config: {
2270
+ query: {
2271
+ Version: "2016-03-04",
2272
+ Action: "CancelSnapshotPolicy",
2273
+ },
2274
+ headers: {
2275
+ "Content-Type": "application/x-www-form-urlencoded",
2276
+ },
2277
+ },
2278
+ paramsType: {
2279
+ AutoSnapshotPolicyId: "String",
2280
+ FileSystemId: "String",
2281
+ },
2282
+ },
2283
+ DescribeSnapshotPolicyList: {
2284
+ url: "/",
2285
+ method: "GET",
2286
+ config: {
2287
+ query: {
2288
+ Version: "2016-03-04",
2289
+ Action: "DescribeSnapshotPolicyList",
2290
+ },
2291
+ headers: {
2292
+ "Content-Type": "application/x-www-form-urlencoded",
2293
+ },
2294
+ },
2295
+ paramsType: {
2296
+ FileSystemId: "String",
2297
+ AutoSnapshotPolicyId: "Filter",
2298
+ AutoSnapshotPolicyName: "String",
2299
+ Sort: "String",
2300
+ PageNum: "Int",
2301
+ PageSize: "Int",
2302
+ },
2303
+ },
2304
+ ModifyRecycleBinAttribute: {
2305
+ url: "/",
2306
+ method: "GET",
2307
+ config: {
2308
+ query: {
2309
+ Version: "2016-03-04",
2310
+ Action: "ModifyRecycleBinAttribute",
2311
+ },
2312
+ headers: {
2313
+ "Content-Type": "application/x-www-form-urlencoded",
2314
+ },
2315
+ },
2316
+ paramsType: {
2317
+ FileSystemId: "String",
2318
+ IsTrashEnable: "Boolean",
2319
+ IsTrashVisible: "Boolean",
2320
+ IntervalTrash: "Int",
2321
+ RecycleOpPermission: "Int",
2322
+ },
2323
+ },
2324
+ DescribeAccessGroups: {
2325
+ url: "/",
2326
+ method: "GET",
2327
+ config: {
2328
+ query: {
2329
+ Version: "2016-03-04",
2330
+ Action: "DescribeAccessGroups",
2331
+ },
2332
+ headers: {
2333
+ "Content-Type": "application/x-www-form-urlencoded",
2334
+ },
2335
+ },
2336
+ paramsType: {
2337
+ AccessGroupId: "String",
2338
+ PageSize: "Int",
2339
+ PageNumber: "Int",
2340
+ },
2341
+ },
2342
+ CreateAccessGroup: {
2343
+ url: "/",
2344
+ method: "GET",
2345
+ config: {
2346
+ query: {
2347
+ Version: "2016-03-04",
2348
+ Action: "CreateAccessGroup",
2349
+ },
2350
+ headers: {
2351
+ "Content-Type": "application/x-www-form-urlencoded",
2352
+ },
2353
+ },
2354
+ paramsType: {
2355
+ AccessGroupName: "String",
2356
+ Description: "String",
2357
+ },
2358
+ },
2359
+ ModifyAccessGroup: {
2360
+ url: "/",
2361
+ method: "GET",
2362
+ config: {
2363
+ query: {
2364
+ Version: "2016-03-04",
2365
+ Action: "ModifyAccessGroup",
2366
+ },
2367
+ headers: {
2368
+ "Content-Type": "application/x-www-form-urlencoded",
2369
+ },
2370
+ },
2371
+ paramsType: {
2372
+ AccessGroupId: "String",
2373
+ AccessGroupName: "String",
2374
+ Description: "String",
2375
+ },
2376
+ },
2377
+ DeleteAccessGroup: {
2378
+ url: "/",
2379
+ method: "GET",
2380
+ config: {
2381
+ query: {
2382
+ Version: "2016-03-04",
2383
+ Action: "DeleteAccessGroup",
2384
+ },
2385
+ headers: {
2386
+ "Content-Type": "application/x-www-form-urlencoded",
2387
+ },
2388
+ },
2389
+ paramsType: {
2390
+ AccessGroupId: "String",
2391
+ },
2392
+ },
2393
+ DescribeAccessRules: {
2394
+ url: "/",
2395
+ method: "GET",
2396
+ config: {
2397
+ query: {
2398
+ Version: "2016-03-04",
2399
+ Action: "DescribeAccessRules",
2400
+ },
2401
+ headers: {
2402
+ "Content-Type": "application/x-www-form-urlencoded",
2403
+ },
2404
+ },
2405
+ paramsType: {
2406
+ AccessGroupId: "String",
2407
+ AccessRuleId: "String",
2408
+ PageSize: "Int",
2409
+ PageNumber: "Int",
2410
+ },
2411
+ },
2412
+ CreateAccessRule: {
2413
+ url: "/",
2414
+ method: "GET",
2415
+ config: {
2416
+ query: {
2417
+ Version: "2016-03-04",
2418
+ Action: "CreateAccessRule",
2419
+ },
2420
+ headers: {
2421
+ "Content-Type": "application/x-www-form-urlencoded",
2422
+ },
2423
+ },
2424
+ paramsType: {
2425
+ AccessGroupId: "String",
2426
+ SourceCidrIp: "Filter",
2427
+ RwAccessType: "String",
2428
+ UserAccessType: "String",
2429
+ },
2430
+ },
2431
+ ModifyAccessRule: {
2432
+ url: "/",
2433
+ method: "GET",
2434
+ config: {
2435
+ query: {
2436
+ Version: "2016-03-04",
2437
+ Action: "ModifyAccessRule",
2438
+ },
2439
+ headers: {
2440
+ "Content-Type": "application/x-www-form-urlencoded",
2441
+ },
2442
+ },
2443
+ paramsType: {
2444
+ AccessGroupId: "String",
2445
+ AccessRuleId: "String",
2446
+ SourceCidrIp: "String",
2447
+ RwAccessType: "String",
2448
+ UserAccessType: "String",
2449
+ },
2450
+ },
2451
+ DeleteAccessRule: {
2452
+ url: "/",
2453
+ method: "GET",
2454
+ config: {
2455
+ query: {
2456
+ Version: "2016-03-04",
2457
+ Action: "DeleteAccessRule",
2458
+ },
2459
+ headers: {
2460
+ "Content-Type": "application/x-www-form-urlencoded",
2461
+ },
2462
+ },
2463
+ paramsType: {
2464
+ AccessGroupId: "String",
2465
+ AccessRuleId: "Filter",
2466
+ },
2467
+ },
2468
+ ModifyMountTarget: {
2469
+ url: "/",
2470
+ method: "GET",
2471
+ config: {
2472
+ query: {
2473
+ Version: "2016-03-04",
2474
+ Action: "ModifyMountTarget",
2475
+ },
2476
+ headers: {
2477
+ "Content-Type": "application/x-www-form-urlencoded",
2478
+ },
2479
+ },
2480
+ paramsType: {
2481
+ FileSystemId: "String",
2482
+ MountTargetId: "String",
2483
+ AccessGroupId: "String",
2484
+ },
2485
+ },
2063
2486
  };
2064
2487
  };
@@ -55,6 +55,7 @@ module.exports = class Client extends BaseClient {
55
55
  StartTime: "String",
56
56
  EndTime: "String",
57
57
  Interval: "String",
58
+ DirPath: "String",
58
59
  },
59
60
  },
60
61
  GetInodeCount: {
@@ -74,6 +75,7 @@ module.exports = class Client extends BaseClient {
74
75
  StartTime: "String",
75
76
  EndTime: "String",
76
77
  Interval: "String",
78
+ DirPath: "String",
77
79
  },
78
80
  },
79
81
  GetCapacityAvailable: {
@@ -301,7 +303,10 @@ module.exports = class Client extends BaseClient {
301
303
  ClusterName: "String",
302
304
  FileSystemName: "String",
303
305
  DirPath: "String",
306
+ LogicalCapacityType: "String",
304
307
  LogicalHardThreshold: "Long",
308
+ LogicalInodesType: "String",
309
+ LogicalHardInodes: "Long",
305
310
  },
306
311
  },
307
312
  CreateDirQuota: {
@@ -322,7 +327,10 @@ module.exports = class Client extends BaseClient {
322
327
  ClusterName: "String",
323
328
  FileSystemName: "String",
324
329
  DirPath: "String",
330
+ LogicalCapacityType: "String",
325
331
  LogicalHardThreshold: "Long",
332
+ LogicalInodesType: "String",
333
+ LogicalHardInodes: "Long",
326
334
  },
327
335
  },
328
336
  DescribeSubDirList: {