tencentcloud-sdk-nodejs-goosefs 4.1.56 → 4.1.58

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.
@@ -27,6 +27,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
27
27
  async CreateDataRepositoryTask(req, cb) {
28
28
  return this.request("CreateDataRepositoryTask", req, cb);
29
29
  }
30
+ async BuildClientNodeMountCommand(req, cb) {
31
+ return this.request("BuildClientNodeMountCommand", req, cb);
32
+ }
30
33
  async DeleteFileSystem(req, cb) {
31
34
  return this.request("DeleteFileSystem", req, cb);
32
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-goosefs",
3
- "version": "4.1.56",
3
+ "version": "4.1.58",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { CreateFileSystemResponse, CreateFilesetRequest, DescribeFilesetsRequest, DescribeClusterRoleTokenRequest, DescribeFileSystemsResponse, DescribeFilesetGeneralConfigResponse, ExpandCapacityResponse, DeleteFilesetRequest, DescribeFilesetsResponse, DescribeClusterRoleTokenResponse, BatchDeleteClientNodesResponse, QueryCrossVpcSubnetSupportForClientNodeRequest, DeleteCrossVpcSubnetSupportForClientNodeRequest, AttachFileSystemBucketRequest, DeleteFileSystemRequest, CreateFilesetResponse, BatchAddClientNodesResponse, AttachFileSystemBucketResponse, DescribeFilesetGeneralConfigRequest, CreateFileSystemRequest, DeleteFileSystemResponse, ExpandCapacityRequest, DetachFileSystemBucketRequest, UpdateFilesetRequest, ModifyDataRepositoryBandwidthResponse, QueryDataRepositoryBandwidthResponse, QueryDataRepositoryBandwidthRequest, UpdateFilesetResponse, BatchDeleteClientNodesRequest, DescribeFileSystemBucketsRequest, UpdateFilesetGeneralConfigResponse, QueryCrossVpcSubnetSupportForClientNodeResponse, DescribeFileSystemsRequest, UpdateFilesetGeneralConfigRequest, DescribeClusterClientTokenRequest, AddCrossVpcSubnetSupportForClientNodeResponse, CreateDataRepositoryTaskResponse, DescribeClusterRolesResponse, DeleteCrossVpcSubnetSupportForClientNodeResponse, DeleteFilesetResponse, DescribeDataRepositoryTaskStatusResponse, BatchAddClientNodesRequest, AddCrossVpcSubnetSupportForClientNodeRequest, DetachFileSystemBucketResponse, DescribeFileSystemBucketsResponse, DescribeClientNodesRequest, ModifyDataRepositoryBandwidthRequest, DescribeClusterRolesRequest, CreateDataRepositoryTaskRequest, DescribeClientNodesResponse, DescribeDataRepositoryTaskStatusRequest, DescribeClusterClientTokenResponse } from "./goosefs_models";
2
+ import { CreateFileSystemResponse, CreateFilesetRequest, DescribeFilesetsRequest, DescribeClusterRoleTokenRequest, DescribeFileSystemsResponse, DescribeFilesetGeneralConfigResponse, DetachFileSystemBucketResponse, DeleteFilesetRequest, DescribeFilesetsResponse, DescribeClusterRoleTokenResponse, BatchDeleteClientNodesResponse, QueryCrossVpcSubnetSupportForClientNodeRequest, DeleteCrossVpcSubnetSupportForClientNodeRequest, AttachFileSystemBucketRequest, DeleteFileSystemRequest, CreateFilesetResponse, BatchAddClientNodesResponse, AttachFileSystemBucketResponse, DescribeFilesetGeneralConfigRequest, CreateFileSystemRequest, DeleteCrossVpcSubnetSupportForClientNodeResponse, BuildClientNodeMountCommandRequest, DeleteFileSystemResponse, ExpandCapacityRequest, DetachFileSystemBucketRequest, UpdateFilesetRequest, ModifyDataRepositoryBandwidthResponse, QueryDataRepositoryBandwidthResponse, QueryDataRepositoryBandwidthRequest, ExpandCapacityResponse, BatchDeleteClientNodesRequest, DescribeFileSystemBucketsRequest, UpdateFilesetGeneralConfigResponse, QueryCrossVpcSubnetSupportForClientNodeResponse, UpdateFilesetResponse, DescribeFileSystemsRequest, UpdateFilesetGeneralConfigRequest, DescribeClusterClientTokenRequest, AddCrossVpcSubnetSupportForClientNodeResponse, CreateDataRepositoryTaskResponse, DescribeClusterRolesResponse, DeleteFilesetResponse, DescribeDataRepositoryTaskStatusResponse, BatchAddClientNodesRequest, AddCrossVpcSubnetSupportForClientNodeRequest, DescribeDataRepositoryTaskStatusRequest, DescribeFileSystemBucketsResponse, DescribeClientNodesRequest, ModifyDataRepositoryBandwidthRequest, DescribeClusterRolesRequest, CreateDataRepositoryTaskRequest, DescribeClientNodesResponse, BuildClientNodeMountCommandResponse, DescribeClusterClientTokenResponse } from "./goosefs_models";
3
3
  /**
4
4
  * goosefs client
5
5
  * @class
@@ -40,6 +40,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
40
40
  * 创建数据流通任务,包括从将文件系统的数据上传到存储桶下, 以及从存储桶下载到文件系统里。
41
41
  */
42
42
  CreateDataRepositoryTask(req: CreateDataRepositoryTaskRequest, cb?: (error: string, rep: CreateDataRepositoryTaskResponse) => void): Promise<CreateDataRepositoryTaskResponse>;
43
+ /**
44
+ * 生成客户端的挂载命令
45
+ */
46
+ BuildClientNodeMountCommand(req: BuildClientNodeMountCommandRequest, cb?: (error: string, rep: BuildClientNodeMountCommandResponse) => void): Promise<BuildClientNodeMountCommandResponse>;
43
47
  /**
44
48
  * 删除文件系统
45
49
  */
@@ -78,6 +78,12 @@ class Client extends TencentCloudCommon.AbstractClient {
78
78
  async CreateDataRepositoryTask(req, cb) {
79
79
  return this.request("CreateDataRepositoryTask", req, cb);
80
80
  }
81
+ /**
82
+ * 生成客户端的挂载命令
83
+ */
84
+ async BuildClientNodeMountCommand(req, cb) {
85
+ return this.request("BuildClientNodeMountCommand", req, cb);
86
+ }
81
87
  /**
82
88
  * 删除文件系统
83
89
  */
@@ -155,9 +155,9 @@ export interface DescribeFilesetGeneralConfigResponse {
155
155
  RequestId?: string;
156
156
  }
157
157
  /**
158
- * ExpandCapacity返回参数结构体
158
+ * DetachFileSystemBucket返回参数结构体
159
159
  */
160
- export interface ExpandCapacityResponse {
160
+ export interface DetachFileSystemBucketResponse {
161
161
  /**
162
162
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
163
163
  */
@@ -449,25 +449,26 @@ export interface CreateFileSystemRequest {
449
449
  ClusterPort?: number;
450
450
  }
451
451
  /**
452
- * ClusterRole
452
+ * DeleteCrossVpcSubnetSupportForClientNode返回参数结构体
453
453
  */
454
- export interface ClusterRole {
455
- /**
456
- * 集群ID
457
- */
458
- ClusterId?: string;
454
+ export interface DeleteCrossVpcSubnetSupportForClientNodeResponse {
459
455
  /**
460
- * 角色名
456
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
461
457
  */
462
- RoleName?: string;
458
+ RequestId?: string;
459
+ }
460
+ /**
461
+ * BuildClientNodeMountCommand请求参数结构体
462
+ */
463
+ export interface BuildClientNodeMountCommandRequest {
463
464
  /**
464
- * 描述
465
+ * 文件系统ID
465
466
  */
466
- Description?: string;
467
+ FileSystemId: string;
467
468
  /**
468
- * 目录列表
469
+ * 自定义挂载目录的绝对路径, 如果未指定, 则会使用默认值, 格式/goosefsx/${fs_id}-proxy. 比如/goosefsx/x-c60-a2b3d4-proxy
469
470
  */
470
- DirectoryList?: Array<string>;
471
+ CustomMountDir?: string;
471
472
  }
472
473
  /**
473
474
  * DeleteFileSystem返回参数结构体
@@ -672,9 +673,9 @@ export interface FilesetInfo {
672
673
  Status?: string;
673
674
  }
674
675
  /**
675
- * UpdateFileset返回参数结构体
676
+ * ExpandCapacity返回参数结构体
676
677
  */
677
- export interface UpdateFilesetResponse {
678
+ export interface ExpandCapacityResponse {
678
679
  /**
679
680
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
680
681
  */
@@ -753,6 +754,15 @@ export interface QueryCrossVpcSubnetSupportForClientNodeResponse {
753
754
  */
754
755
  RequestId?: string;
755
756
  }
757
+ /**
758
+ * UpdateFileset返回参数结构体
759
+ */
760
+ export interface UpdateFilesetResponse {
761
+ /**
762
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
763
+ */
764
+ RequestId?: string;
765
+ }
756
766
  /**
757
767
  * DescribeFileSystems请求参数结构体
758
768
  */
@@ -824,13 +834,25 @@ export interface DescribeClusterRolesResponse {
824
834
  RequestId?: string;
825
835
  }
826
836
  /**
827
- * DeleteCrossVpcSubnetSupportForClientNode返回参数结构体
837
+ * ClusterRole
828
838
  */
829
- export interface DeleteCrossVpcSubnetSupportForClientNodeResponse {
839
+ export interface ClusterRole {
830
840
  /**
831
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
841
+ * 集群ID
832
842
  */
833
- RequestId?: string;
843
+ ClusterId?: string;
844
+ /**
845
+ * 角色名
846
+ */
847
+ RoleName?: string;
848
+ /**
849
+ * 描述
850
+ */
851
+ Description?: string;
852
+ /**
853
+ * 目录列表
854
+ */
855
+ DirectoryList?: Array<string>;
834
856
  }
835
857
  /**
836
858
  * DeleteFileset返回参数结构体
@@ -897,13 +919,17 @@ export interface AddCrossVpcSubnetSupportForClientNodeRequest {
897
919
  SubnetInfo: SubnetInfo;
898
920
  }
899
921
  /**
900
- * DetachFileSystemBucket返回参数结构体
922
+ * DescribeDataRepositoryTaskStatus请求参数结构体
901
923
  */
902
- export interface DetachFileSystemBucketResponse {
924
+ export interface DescribeDataRepositoryTaskStatusRequest {
903
925
  /**
904
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
926
+ * task id
905
927
  */
906
- RequestId?: string;
928
+ TaskId: string;
929
+ /**
930
+ * file system id
931
+ */
932
+ FileSystemId: string;
907
933
  }
908
934
  /**
909
935
  * 角色凭证
@@ -1026,17 +1052,17 @@ export interface DescribeClientNodesResponse {
1026
1052
  RequestId?: string;
1027
1053
  }
1028
1054
  /**
1029
- * DescribeDataRepositoryTaskStatus请求参数结构体
1055
+ * BuildClientNodeMountCommand返回参数结构体
1030
1056
  */
1031
- export interface DescribeDataRepositoryTaskStatusRequest {
1057
+ export interface BuildClientNodeMountCommandResponse {
1032
1058
  /**
1033
- * task id
1059
+ * 挂载命令
1034
1060
  */
1035
- TaskId: string;
1061
+ Command?: string;
1036
1062
  /**
1037
- * file system id
1063
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1038
1064
  */
1039
- FileSystemId: string;
1065
+ RequestId?: string;
1040
1066
  }
1041
1067
  /**
1042
1068
  * DescribeClusterClientToken返回参数结构体