tencentcloud-sdk-nodejs-cfs 4.1.35 → 4.1.39

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-cfs",
3
- "version": "4.1.35",
3
+ "version": "4.1.39",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -44,7 +44,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
44
44
  */
45
45
  DescribeMountTargets(req: DescribeMountTargetsRequest, cb?: (error: string, rep: DescribeMountTargetsResponse) => void): Promise<DescribeMountTargetsResponse>;
46
46
  /**
47
- * 本接口(DeleteCfsPGroup)用于删除权限组。
47
+ * 本接口(DeleteCfsPGroup)用于删除权限组,只有未绑定文件系统的权限组才能够被此接口删除。
48
48
  */
49
49
  DeleteCfsPGroup(req: DeleteCfsPGroupRequest, cb?: (error: string, rep: DeleteCfsPGroupResponse) => void): Promise<DeleteCfsPGroupResponse>;
50
50
  /**
@@ -84,7 +84,7 @@ class Client extends TencentCloudCommon.AbstractClient {
84
84
  return this.request("DescribeMountTargets", req, cb);
85
85
  }
86
86
  /**
87
- * 本接口(DeleteCfsPGroup)用于删除权限组。
87
+ * 本接口(DeleteCfsPGroup)用于删除权限组,只有未绑定文件系统的权限组才能够被此接口删除。
88
88
  */
89
89
  async DeleteCfsPGroup(req, cb) {
90
90
  return this.request("DeleteCfsPGroup", req, cb);
@@ -91,15 +91,15 @@ export interface SnapshotStatistics {
91
91
  /**
92
92
  * 地域
93
93
  */
94
- Region: string;
94
+ Region?: string;
95
95
  /**
96
96
  * 快照总个数
97
97
  */
98
- SnapshotNumber: number;
98
+ SnapshotNumber?: number;
99
99
  /**
100
- * 快照总容量
100
+ * 快照总容量,单位是MiB
101
101
  */
102
- SnapshotSize: number;
102
+ SnapshotSize?: number;
103
103
  }
104
104
  /**
105
105
  * DescribeCfsPGroups返回参数结构体
@@ -136,7 +136,7 @@ export interface DescribeMountTargetsResponse {
136
136
  */
137
137
  export interface DescribeSnapshotOperationLogsRequest {
138
138
  /**
139
- * 文件系统快照ID
139
+ * 文件系统快照ID,通过快照创建接口获得
140
140
  */
141
141
  SnapshotId: string;
142
142
  /**
@@ -431,7 +431,7 @@ export interface FileSystemInfo {
431
431
  */
432
432
  AutoSnapshotPolicyId?: string;
433
433
  /**
434
- * 文件系统处理快照状态
434
+ * 文件系统处理快照状态,snapping:快照中,normal:正常状态
435
435
  */
436
436
  SnapStatus?: string;
437
437
  /**
@@ -467,11 +467,11 @@ export interface FileSystemInfo {
467
467
  */
468
468
  export interface BindAutoSnapshotPolicyRequest {
469
469
  /**
470
- * 快照策略ID
470
+ * 快照策略ID,通过快照策略列表获取
471
471
  */
472
472
  AutoSnapshotPolicyId: string;
473
473
  /**
474
- * 文件系统列表
474
+ * 文件系统id列表,用“,”分隔,文件系统id通过查询文件系统列表获得
475
475
  */
476
476
  FileSystemIds: string;
477
477
  }
@@ -578,7 +578,7 @@ export declare type DescribeAvailableZoneInfoRequest = null;
578
578
  */
579
579
  export interface DescribeMountTargetsRequest {
580
580
  /**
581
- * 文件系统 ID
581
+ * 文件系统 ID,查询文件系统列表可以获得id
582
582
  */
583
583
  FileSystemId: string;
584
584
  }
@@ -621,7 +621,7 @@ export interface AutoSnapshotPolicyInfo {
621
621
  */
622
622
  AutoSnapshotPolicyId?: string;
623
623
  /**
624
- * 快照策略ID
624
+ * 快照策略名称
625
625
  */
626
626
  PolicyName?: string;
627
627
  /**
@@ -649,7 +649,7 @@ export interface AutoSnapshotPolicyInfo {
649
649
  */
650
650
  NextActiveTime?: string;
651
651
  /**
652
- * 快照策略状态,1代表快照策略状态正常。这里只有一种状态
652
+ * 快照策略状态,available代表快照策略状态正常。这里只有一种状态
653
653
  */
654
654
  Status?: string;
655
655
  /**
@@ -688,7 +688,7 @@ export interface AutoSnapshotPolicyInfo {
688
688
  */
689
689
  export interface DescribeCfsRulesRequest {
690
690
  /**
691
- * 权限组 ID
691
+ * 权限组 ID,通过创建权限组接口或者创建权限组规则接口获取
692
692
  */
693
693
  PGroupId: string;
694
694
  }
@@ -710,7 +710,7 @@ export interface UpdateCfsFileSystemNameRequest {
710
710
  */
711
711
  export interface DeleteCfsPGroupRequest {
712
712
  /**
713
- * 权限组 ID
713
+ * 权限组 ID,通过创建权限组接口或者创建权限组规则接口获取
714
714
  */
715
715
  PGroupId: string;
716
716
  }
@@ -791,11 +791,11 @@ export interface DeleteCfsFileSystemResponse {
791
791
  */
792
792
  export interface UpdateCfsRuleRequest {
793
793
  /**
794
- * 权限组 ID
794
+ * 权限组 ID,通过创建权限组接口或者创建权限组规则接口获取
795
795
  */
796
796
  PGroupId: string;
797
797
  /**
798
- * 规则 ID
798
+ * 规则 ID,通过查询权限组规则接口获取
799
799
  */
800
800
  RuleId: string;
801
801
  /**
@@ -807,7 +807,7 @@ export interface UpdateCfsRuleRequest {
807
807
  */
808
808
  RWPermission?: string;
809
809
  /**
810
- * 用户权限,值为all_squash、no_all_squash、root_squash、no_root_squash
810
+ * 用户权限,值为all_squash、no_all_squash、root_squash、no_root_squash,默认值为root_squash
811
811
  all_squash:所有访问用户(含 root 用户)都会被映射为匿名用户或用户组。
812
812
  no_all_squash:所有访问用户(含 root 用户)均保持原有的 UID/GID 信息。
813
813
  root_squash:将来访的 root 用户映射为匿名用户或用户组,非 root 用户保持原有的 UID/GID 信息。
@@ -816,7 +816,7 @@ export interface UpdateCfsRuleRequest {
816
816
  */
817
817
  UserPermission?: string;
818
818
  /**
819
- * 规则优先级,参数范围1-100。 其中 1 为最高,100为最低
819
+ * 规则优先级,参数范围1-100。 其中 1 为最高,100为最低,默认值为100
820
820
  */
821
821
  Priority?: number;
822
822
  }
@@ -825,19 +825,19 @@ export interface UpdateCfsRuleRequest {
825
825
  */
826
826
  export interface DeleteUserQuotaRequest {
827
827
  /**
828
- * 文件系统 ID
828
+ * 文件系统 ID,通过查询文件系统接口获取
829
829
  */
830
830
  FileSystemId: string;
831
831
  /**
832
- * 指定配额类型,包括UidGidDir
832
+ * 指定配额类型,包括Uid(按用户ID限制)、Gid(按用户组ID限制)、Dir(按目录限制)
833
833
  */
834
834
  UserType: string;
835
835
  /**
836
- * UID/GID信息
836
+ * UID/GID信息,和DirectoryPath参数,两者必须填写一个
837
837
  */
838
838
  UserId?: string;
839
839
  /**
840
- * 设置目录配额的目录的绝对路径
840
+ * 设置目录配额的目录的绝对路径,和UserId参数,两者必须填写一个
841
841
  */
842
842
  DirectoryPath?: string;
843
843
  }
@@ -861,7 +861,7 @@ export interface DeleteCfsSnapshotResponse {
861
861
  /**
862
862
  * 文件系统ID
863
863
  */
864
- SnapshotId: string;
864
+ SnapshotId?: string;
865
865
  /**
866
866
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
867
867
  */
@@ -898,11 +898,11 @@ export interface DeleteMountTargetResponse {
898
898
  */
899
899
  export interface CreateCfsSnapshotRequest {
900
900
  /**
901
- * 文件系统id
901
+ * 文件系统 ID,通过查询文件系统接口获取
902
902
  */
903
903
  FileSystemId: string;
904
904
  /**
905
- * 快照名称
905
+ * 快照名称,不超过64字符
906
906
  */
907
907
  SnapshotName?: string;
908
908
  /**
@@ -933,11 +933,11 @@ export interface DescribeBucketListRequest {
933
933
  */
934
934
  export interface DeleteCfsRuleRequest {
935
935
  /**
936
- * 权限组 ID
936
+ * 权限组 ID,通过创建权限组接口或者创建权限组规则接口获取
937
937
  */
938
938
  PGroupId: string;
939
939
  /**
940
- * 规则 ID
940
+ * 规则 ID,通过查询权限组规则接口获取
941
941
  */
942
942
  RuleId: string;
943
943
  }
@@ -1252,7 +1252,7 @@ export interface DeleteMountTargetRequest {
1252
1252
  */
1253
1253
  export interface CreateCfsRuleRequest {
1254
1254
  /**
1255
- * 权限组 ID
1255
+ * 权限组 ID,通过创建权限组接口或者创建权限组规则接口获取
1256
1256
  */
1257
1257
  PGroupId: string;
1258
1258
  /**
@@ -1296,7 +1296,7 @@ export interface BucketInfo {
1296
1296
  */
1297
1297
  export interface CreateAccessCertRequest {
1298
1298
  /**
1299
- * 证书描述
1299
+ * 证书描述,不超过64字符
1300
1300
  */
1301
1301
  CertDesc: string;
1302
1302
  }
@@ -1396,11 +1396,11 @@ export interface AutoScaleUpRule {
1396
1396
  */
1397
1397
  export interface DeleteCfsSnapshotRequest {
1398
1398
  /**
1399
- * 文件系统快照id
1399
+ * 文件系统快照id,可通过查询快照列表接口获取
1400
1400
  */
1401
1401
  SnapshotId?: string;
1402
1402
  /**
1403
- * 需要删除的文件文件系统快照ID 列表,快照ID,跟ID列表至少填一项
1403
+ * 需要删除的文件系统快照ID 列表,快照ID,跟ID列表至少填一项
1404
1404
  */
1405
1405
  SnapshotIds?: Array<string>;
1406
1406
  }
@@ -1409,15 +1409,15 @@ export interface DeleteCfsSnapshotRequest {
1409
1409
  */
1410
1410
  export interface DescribeCfsFileSystemClientsRequest {
1411
1411
  /**
1412
- * 文件系统 ID
1412
+ * 文件系统 ID,通过查询文件系统接口获取
1413
1413
  */
1414
1414
  FileSystemId: string;
1415
1415
  /**
1416
- * Offset 分页码
1416
+ * Offset 分页码,默认为0
1417
1417
  */
1418
1418
  Offset?: number;
1419
1419
  /**
1420
- * Limit 页面大小
1420
+ * Limit 页面大小,默认为10,最大值为100
1421
1421
  */
1422
1422
  Limit?: number;
1423
1423
  }
@@ -1451,11 +1451,11 @@ export interface DescribeCfsFileSystemsRequest {
1451
1451
  */
1452
1452
  SubnetId?: string;
1453
1453
  /**
1454
- * Offset 分页码
1454
+ * Offset 分页码,默认0
1455
1455
  */
1456
1456
  Offset?: number;
1457
1457
  /**
1458
- * Limit 页面大小
1458
+ * Limit 页面大小,默认10
1459
1459
  */
1460
1460
  Limit?: number;
1461
1461
  /**
@@ -1641,11 +1641,11 @@ export interface Filter {
1641
1641
  */
1642
1642
  export interface UnbindAutoSnapshotPolicyRequest {
1643
1643
  /**
1644
- * 需要解绑的文件系统ID列表,用"," 分割
1644
+ * 需要解绑的文件系统ID列表,用"," 分割,文件系统id 通创建文件系统接口获得
1645
1645
  */
1646
1646
  FileSystemIds: string;
1647
1647
  /**
1648
- * 解绑的快照ID
1648
+ * 解绑的快照ID,通过创建快照策略接口获得
1649
1649
  */
1650
1650
  AutoSnapshotPolicyId: string;
1651
1651
  }
@@ -1656,7 +1656,7 @@ export interface UnbindAutoSnapshotPolicyResponse {
1656
1656
  /**
1657
1657
  * 快照策略ID
1658
1658
  */
1659
- AutoSnapshotPolicyId: string;
1659
+ AutoSnapshotPolicyId?: string;
1660
1660
  /**
1661
1661
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1662
1662
  */
@@ -1759,15 +1759,15 @@ export interface UpdateCfsFileSystemSizeLimitResponse {
1759
1759
  */
1760
1760
  export interface UpdateAutoSnapshotPolicyRequest {
1761
1761
  /**
1762
- * 快照策略ID
1762
+ * 快照策略ID,查询快照策略列表获取
1763
1763
  */
1764
1764
  AutoSnapshotPolicyId: string;
1765
1765
  /**
1766
- * 快照策略名称
1766
+ * 快照策略名称,不超过64个字符
1767
1767
  */
1768
1768
  PolicyName?: string;
1769
1769
  /**
1770
- * 快照定期备份,按照星期一到星期日。 1代表星期一,7代表星期日
1770
+ * 快照定期备份,按照星期一到星期日。 1代表星期一,7代表星期日,与DayOfMonth,IntervalDays 三者选一个
1771
1771
  */
1772
1772
  DayOfWeek?: string;
1773
1773
  /**
@@ -1775,7 +1775,7 @@ export interface UpdateAutoSnapshotPolicyRequest {
1775
1775
  */
1776
1776
  Hour?: string;
1777
1777
  /**
1778
- * 快照保留日期
1778
+ * 快照保留天数
1779
1779
  */
1780
1780
  AliveDays?: number;
1781
1781
  /**
@@ -1783,11 +1783,11 @@ export interface UpdateAutoSnapshotPolicyRequest {
1783
1783
  */
1784
1784
  IsActivated?: number;
1785
1785
  /**
1786
- * 定期快照在每月的第几天创建快照,该参数与DayOfWeek互斥
1786
+ * 定期快照在每月的第几天创建快照,该参数与DayOfWeek,IntervalDays 三者选一
1787
1787
  */
1788
1788
  DayOfMonth?: string;
1789
1789
  /**
1790
- * 间隔天数定期执行快照,该参数与DayOfWeek,DayOfMonth 互斥
1790
+ * 间隔天数定期执行快照,该参数与DayOfWeek,DayOfMonth 三者选一
1791
1791
  */
1792
1792
  IntervalDays?: number;
1793
1793
  }
@@ -1811,7 +1811,7 @@ export interface DescribeCfsRulesResponse {
1811
1811
  /**
1812
1812
  * 权限组规则列表
1813
1813
  */
1814
- RuleList: Array<PGroupRuleInfo>;
1814
+ RuleList?: Array<PGroupRuleInfo>;
1815
1815
  /**
1816
1816
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1817
1817
  */
@@ -1824,11 +1824,11 @@ export interface UpdateCfsFileSystemPGroupResponse {
1824
1824
  /**
1825
1825
  * 权限组 ID
1826
1826
  */
1827
- PGroupId: string;
1827
+ PGroupId?: string;
1828
1828
  /**
1829
1829
  * 文件系统 ID
1830
1830
  */
1831
- FileSystemId: string;
1831
+ FileSystemId?: string;
1832
1832
  /**
1833
1833
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1834
1834
  */
@@ -1954,62 +1954,64 @@ export interface MountInfo {
1954
1954
  /**
1955
1955
  * 文件系统 ID
1956
1956
  */
1957
- FileSystemId: string;
1957
+ FileSystemId?: string;
1958
1958
  /**
1959
1959
  * 挂载点 ID
1960
1960
  */
1961
- MountTargetId: string;
1961
+ MountTargetId?: string;
1962
1962
  /**
1963
1963
  * 挂载点 IP
1964
1964
  */
1965
- IpAddress: string;
1965
+ IpAddress?: string;
1966
1966
  /**
1967
1967
  * 挂载根目录
1968
1968
  */
1969
- FSID: string;
1969
+ FSID?: string;
1970
1970
  /**
1971
- * 挂载点状态
1971
+ * 挂载点状态,包括creating:创建中;available:运行中;
1972
+ deleting:删除中;
1973
+ create_failed: 创建失败
1972
1974
  */
1973
- LifeCycleState: string;
1975
+ LifeCycleState?: string;
1974
1976
  /**
1975
- * 网络类型
1977
+ * 网络类型,包括VPC,CCN
1976
1978
  */
1977
- NetworkInterface: string;
1979
+ NetworkInterface?: string;
1978
1980
  /**
1979
1981
  * 私有网络 ID
1980
1982
  */
1981
- VpcId: string;
1983
+ VpcId?: string;
1982
1984
  /**
1983
1985
  * 私有网络名称
1984
1986
  */
1985
- VpcName: string;
1987
+ VpcName?: string;
1986
1988
  /**
1987
1989
  * 子网 Id
1988
1990
  */
1989
- SubnetId: string;
1991
+ SubnetId?: string;
1990
1992
  /**
1991
1993
  * 子网名称
1992
1994
  */
1993
- SubnetName: string;
1995
+ SubnetName?: string;
1994
1996
  /**
1995
1997
  * CFS Turbo使用的云联网ID
1996
1998
  */
1997
- CcnID: string;
1999
+ CcnID?: string;
1998
2000
  /**
1999
2001
  * 云联网中CFS Turbo使用的网段
2000
2002
  */
2001
- CidrBlock: string;
2003
+ CidrBlock?: string;
2002
2004
  }
2003
2005
  /**
2004
2006
  * UpdateCfsFileSystemPGroup请求参数结构体
2005
2007
  */
2006
2008
  export interface UpdateCfsFileSystemPGroupRequest {
2007
2009
  /**
2008
- * 权限组 ID
2010
+ * 权限组 ID,通过创建权限组接口或者创建权限组规则接口获取
2009
2011
  */
2010
2012
  PGroupId: string;
2011
2013
  /**
2012
- * 文件系统 ID
2014
+ * 文件系统 ID,通过查询文件系统接口获取
2013
2015
  */
2014
2016
  FileSystemId: string;
2015
2017
  }
@@ -2046,11 +2048,11 @@ export interface DeleteCfsRuleResponse {
2046
2048
  /**
2047
2049
  * 规则 ID
2048
2050
  */
2049
- RuleId: string;
2051
+ RuleId?: string;
2050
2052
  /**
2051
2053
  * 权限组 ID
2052
2054
  */
2053
- PGroupId: string;
2055
+ PGroupId?: string;
2054
2056
  /**
2055
2057
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2056
2058
  */
@@ -2074,7 +2076,7 @@ export interface UpdateCfsSnapshotAttributeResponse {
2074
2076
  */
2075
2077
  export interface UpdateCfsPGroupRequest {
2076
2078
  /**
2077
- * 权限组 ID
2079
+ * 权限组 ID,通过创建权限组接口或者创建权限组规则接口获取
2078
2080
  */
2079
2081
  PGroupId: string;
2080
2082
  /**
@@ -2136,11 +2138,11 @@ export interface DeleteCfsPGroupResponse {
2136
2138
  /**
2137
2139
  * 权限组 ID
2138
2140
  */
2139
- PGroupId: string;
2141
+ PGroupId?: string;
2140
2142
  /**
2141
2143
  * 用户 ID
2142
2144
  */
2143
- AppId: number;
2145
+ AppId?: number;
2144
2146
  /**
2145
2147
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2146
2148
  */
@@ -2151,15 +2153,15 @@ export interface DeleteCfsPGroupResponse {
2151
2153
  */
2152
2154
  export interface UpdateCfsSnapshotAttributeRequest {
2153
2155
  /**
2154
- * 文件系统快照ID
2156
+ * 文件系统快照ID,查询文件系统快照列表获取
2155
2157
  */
2156
2158
  SnapshotId: string;
2157
2159
  /**
2158
- * 文件系统快照名称
2160
+ * 文件系统快照名称,与AliveDays 必须填一个
2159
2161
  */
2160
2162
  SnapshotName?: string;
2161
2163
  /**
2162
- * 文件系统快照保留天数
2164
+ * 文件系统快照保留天数,与SnapshotName必须填一个,如果原来是永久保留时间,不允许修改成短期有效期
2163
2165
  */
2164
2166
  AliveDays?: number;
2165
2167
  }
@@ -2324,7 +2326,7 @@ export declare type DescribeCfsSnapshotOverviewRequest = null;
2324
2326
  */
2325
2327
  export interface CreateAutoSnapshotPolicyRequest {
2326
2328
  /**
2327
- * 快照重复时间点,0-23
2329
+ * 快照重复时间点,0-23,小时
2328
2330
  */
2329
2331
  Hour: string;
2330
2332
  /**
@@ -2332,19 +2334,19 @@ export interface CreateAutoSnapshotPolicyRequest {
2332
2334
  */
2333
2335
  PolicyName?: string;
2334
2336
  /**
2335
- * 快照重复日期,星期一到星期日。 1代表星期一、7代表星期天
2337
+ * 快照重复日期,星期一到星期日。 1代表星期一、7代表星期天,与DayOfMonth,IntervalDays 三者选一
2336
2338
  */
2337
2339
  DayOfWeek?: string;
2338
2340
  /**
2339
- * 快照保留时长,单位天
2341
+ * 快照保留时长,单位天,默认永久0
2340
2342
  */
2341
2343
  AliveDays?: number;
2342
2344
  /**
2343
- * 快照按月重复,每月1-31号,选择一天,每月将在这一天自动创建快照。
2345
+ * 快照按月重复,每月1-31号,选择一天,每月将在这一天自动创建快照。与DayOfWeek,IntervalDays 三者选一
2344
2346
  */
2345
2347
  DayOfMonth?: string;
2346
2348
  /**
2347
- * 间隔天数
2349
+ * 间隔天数,与DayOfWeek,DayOfMonth 三者选一
2348
2350
  */
2349
2351
  IntervalDays?: number;
2350
2352
  }