@huaweicloud/huaweicloud-sdk-swr 3.0.42-rc → 3.0.45-rc

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": "@huaweicloud/huaweicloud-sdk-swr",
3
- "version": "3.0.42-rc",
3
+ "version": "3.0.45-rc",
4
4
  "description": "Huaweicloud SDK for swr",
5
5
  "main": "huaweicloud-sdk-swr.js",
6
6
  "typings": "huaweicloud-sdk-swr.d.ts",
@@ -14,6 +14,6 @@
14
14
  "author": "HuaweiCloud_SDK",
15
15
  "license": "Apache-2.0",
16
16
  "dependencies": {
17
- "@huaweicloud/huaweicloud-sdk-core": "^3.0.42-rc"
17
+ "@huaweicloud/huaweicloud-sdk-core": "^3.0.45-rc"
18
18
  }
19
19
  }
package/v2/SwrClient.d.ts CHANGED
@@ -72,7 +72,7 @@ export declare class SwrClient {
72
72
  constructor(client: HcClient);
73
73
  getPath(): any;
74
74
  /**
75
- * 创建镜像自动同步任务
75
+ * 创建镜像自动同步任务,帮助您把最新推送的镜像自动同步到其他区域镜像仓库内。 镜像自动同步帮助您把最新推送的镜像自动同步到其他区域镜像仓库内,后期镜像有更新时,目标仓库的镜像也会自动更新,但已有的镜像不会自动同步。已有镜像的同步需要手动操作,详情请参见手动同步镜像。
76
76
  *
77
77
  * 详细说明请参考华为云API Explorer。
78
78
  * Please refer to Huawei cloud API Explorer for details.
@@ -87,7 +87,7 @@ export declare class SwrClient {
87
87
  */
88
88
  createImageSyncRepo(createImageSyncRepoRequest?: CreateImageSyncRepoRequest): Promise<void>;
89
89
  /**
90
- * 手动同步镜像
90
+ * 对于镜像仓库已有的镜像,如果想在其他区域使用,需要手动触发镜像同步。 判断是否同步成功的方法如下:响应状态码为200,无报错信息,表示同步成功。通过SWR管理控制台或调用查询镜像仓库概要信息接口,在目标区域的目标组织下,若存在所同步的镜像版本表示同步成功。
91
91
  *
92
92
  * 详细说明请参考华为云API Explorer。
93
93
  * Please refer to Huawei cloud API Explorer for details.
@@ -216,7 +216,7 @@ export declare class SwrClient {
216
216
  */
217
217
  createUserRepositoryAuth(createUserRepositoryAuthRequest?: CreateUserRepositoryAuthRequest): Promise<void>;
218
218
  /**
219
- * 删除镜像自动同步任务
219
+ * 根据目标区域、目标组织删除指定的镜像自动同步任务。
220
220
  *
221
221
  * 详细说明请参考华为云API Explorer。
222
222
  * Please refer to Huawei cloud API Explorer for details.
@@ -347,12 +347,12 @@ export declare class SwrClient {
347
347
  */
348
348
  deleteUserRepositoryAuth(deleteUserRepositoryAuthRequest?: DeleteUserRepositoryAuthRequest): Promise<void>;
349
349
  /**
350
- * 获取镜像自动同步任务列表
350
+ * 获取为当前镜像仓库所创建的所有自动同步任务。
351
351
  *
352
352
  * 详细说明请参考华为云API Explorer。
353
353
  * Please refer to Huawei cloud API Explorer for details.
354
354
  *
355
- * @summary 获取镜像自动同步任务信息
355
+ * @summary 获取镜像自动同步任务列表
356
356
  * @param {'application/json;charset=utf-8' | 'application/json'} contentType 消息体的类型(格式),下方类型可任选其一使用: application/json;charset&#x3D;utf-8 application/json
357
357
  * @param {string} namespace 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
358
358
  * @param {string} repository 镜像仓库名称
@@ -410,7 +410,7 @@ export declare class SwrClient {
410
410
  * @param {string} [namespace] 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
411
411
  * @param {string} [name] 镜像仓库名称
412
412
  * @param {string} [category] 镜像仓库分类,可设置为app_server, linux, framework_app, database, lang, other, windows, arm。
413
- * @param {string} [filter] 应填写 center::{center}|limit::{limit}|offset::{offset}|order_column::{order_column}|order_type::{order_type} , 其中{center}为self或thirdparty,自己的镜像或第三方镜像,默认值为self,{limit}为返回条数,{offset}为起始索引, {order_column}为按列排序,可设置为name、updated_time、tag_count,{order_type}为排序类型,可设置为desc(降序)、asc(升序)
413
+ * @param {string} [filter] 注意:至少要传递一个filter参数。其中{center}为self或thirdparty,自己的镜像或第三方镜像,默认值为self。{namespace}为组织名称,模糊匹配。 {name}为镜像仓库名称,模糊匹配。{category}为镜像仓库分类,可设置为app_server、linux、framework_app、database、lang、other、windows、arm。 {limit}为返回条数,{offset}为起始索引,注意:offset和limit参数需要配套使用。{order_column}为按列排序,可设置为name、updated_time、tag_count,{order_type}为排序类型, 可设置为desc(降序)、asc(升序),注意:order_column和order_type参数需要配套使用。
414
414
  * @param {*} [options] Override http request option.
415
415
  * @throws {RequiredError}
416
416
  */
@@ -562,12 +562,12 @@ export declare class SwrClient {
562
562
  */
563
563
  showRetention(showRetentionRequest?: ShowRetentionRequest): Promise<ShowRetentionResponse>;
564
564
  /**
565
- * 获取镜像同步任务信息
565
+ * 创建镜像自动同步任务后,可以通过此接口查询该任务的状态,以判断是否同步成功。
566
566
  *
567
567
  * 详细说明请参考华为云API Explorer。
568
568
  * Please refer to Huawei cloud API Explorer for details.
569
569
  *
570
- * @summary 获取镜像同步任务信息
570
+ * @summary 获取镜像自动同步任务信息
571
571
  * @param {'application/json;charset=utf-8' | 'application/json'} contentType 消息体的类型(格式),下方类型可任选其一使用: application/json;charset&#x3D;utf-8 application/json
572
572
  * @param {string} namespace 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
573
573
  * @param {string} repository 镜像仓库名称
@@ -725,7 +725,7 @@ export declare class SwrClient {
725
725
  }
726
726
  export declare const ParamCreater: () => {
727
727
  /**
728
- * 创建镜像自动同步任务
728
+ * 创建镜像自动同步任务,帮助您把最新推送的镜像自动同步到其他区域镜像仓库内。 镜像自动同步帮助您把最新推送的镜像自动同步到其他区域镜像仓库内,后期镜像有更新时,目标仓库的镜像也会自动更新,但已有的镜像不会自动同步。已有镜像的同步需要手动操作,详情请参见手动同步镜像。
729
729
  *
730
730
  * 详细说明请参考华为云API Explorer。
731
731
  * Please refer to Huawei cloud API Explorer for details.
@@ -740,7 +740,7 @@ export declare const ParamCreater: () => {
740
740
  data: {};
741
741
  };
742
742
  /**
743
- * 手动同步镜像
743
+ * 对于镜像仓库已有的镜像,如果想在其他区域使用,需要手动触发镜像同步。 判断是否同步成功的方法如下:响应状态码为200,无报错信息,表示同步成功。通过SWR管理控制台或调用查询镜像仓库概要信息接口,在目标区域的目标组织下,若存在所同步的镜像版本表示同步成功。
744
744
  *
745
745
  * 详细说明请参考华为云API Explorer。
746
746
  * Please refer to Huawei cloud API Explorer for details.
@@ -875,7 +875,7 @@ export declare const ParamCreater: () => {
875
875
  data: {};
876
876
  };
877
877
  /**
878
- * 删除镜像自动同步任务
878
+ * 根据目标区域、目标组织删除指定的镜像自动同步任务。
879
879
  *
880
880
  * 详细说明请参考华为云API Explorer。
881
881
  * Please refer to Huawei cloud API Explorer for details.
@@ -1010,7 +1010,7 @@ export declare const ParamCreater: () => {
1010
1010
  data: {};
1011
1011
  };
1012
1012
  /**
1013
- * 获取镜像自动同步任务列表
1013
+ * 获取为当前镜像仓库所创建的所有自动同步任务。
1014
1014
  *
1015
1015
  * 详细说明请参考华为云API Explorer。
1016
1016
  * Please refer to Huawei cloud API Explorer for details.
@@ -1235,7 +1235,7 @@ export declare const ParamCreater: () => {
1235
1235
  data: {};
1236
1236
  };
1237
1237
  /**
1238
- * 获取镜像同步任务信息
1238
+ * 创建镜像自动同步任务后,可以通过此接口查询该任务的状态,以判断是否同步成功。
1239
1239
  *
1240
1240
  * 详细说明请参考华为云API Explorer。
1241
1241
  * Please refer to Huawei cloud API Explorer for details.
package/v2/SwrClient.js CHANGED
@@ -73,7 +73,7 @@ var SwrClient = /** @class */ (function () {
73
73
  return __dirname;
74
74
  };
75
75
  /**
76
- * 创建镜像自动同步任务
76
+ * 创建镜像自动同步任务,帮助您把最新推送的镜像自动同步到其他区域镜像仓库内。 镜像自动同步帮助您把最新推送的镜像自动同步到其他区域镜像仓库内,后期镜像有更新时,目标仓库的镜像也会自动更新,但已有的镜像不会自动同步。已有镜像的同步需要手动操作,详情请参见手动同步镜像。
77
77
  *
78
78
  * 详细说明请参考华为云API Explorer。
79
79
  * Please refer to Huawei cloud API Explorer for details.
@@ -93,7 +93,7 @@ var SwrClient = /** @class */ (function () {
93
93
  return this.hcClient.sendRequest(options);
94
94
  };
95
95
  /**
96
- * 手动同步镜像
96
+ * 对于镜像仓库已有的镜像,如果想在其他区域使用,需要手动触发镜像同步。 判断是否同步成功的方法如下:响应状态码为200,无报错信息,表示同步成功。通过SWR管理控制台或调用查询镜像仓库概要信息接口,在目标区域的目标组织下,若存在所同步的镜像版本表示同步成功。
97
97
  *
98
98
  * 详细说明请参考华为云API Explorer。
99
99
  * Please refer to Huawei cloud API Explorer for details.
@@ -267,7 +267,7 @@ var SwrClient = /** @class */ (function () {
267
267
  return this.hcClient.sendRequest(options);
268
268
  };
269
269
  /**
270
- * 删除镜像自动同步任务
270
+ * 根据目标区域、目标组织删除指定的镜像自动同步任务。
271
271
  *
272
272
  * 详细说明请参考华为云API Explorer。
273
273
  * Please refer to Huawei cloud API Explorer for details.
@@ -443,12 +443,12 @@ var SwrClient = /** @class */ (function () {
443
443
  return this.hcClient.sendRequest(options);
444
444
  };
445
445
  /**
446
- * 获取镜像自动同步任务列表
446
+ * 获取为当前镜像仓库所创建的所有自动同步任务。
447
447
  *
448
448
  * 详细说明请参考华为云API Explorer。
449
449
  * Please refer to Huawei cloud API Explorer for details.
450
450
  *
451
- * @summary 获取镜像自动同步任务信息
451
+ * @summary 获取镜像自动同步任务列表
452
452
  * @param {'application/json;charset=utf-8' | 'application/json'} contentType 消息体的类型(格式),下方类型可任选其一使用: application/json;charset&#x3D;utf-8 application/json
453
453
  * @param {string} namespace 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
454
454
  * @param {string} repository 镜像仓库名称
@@ -526,7 +526,7 @@ var SwrClient = /** @class */ (function () {
526
526
  * @param {string} [namespace] 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
527
527
  * @param {string} [name] 镜像仓库名称
528
528
  * @param {string} [category] 镜像仓库分类,可设置为app_server, linux, framework_app, database, lang, other, windows, arm。
529
- * @param {string} [filter] 应填写 center::{center}|limit::{limit}|offset::{offset}|order_column::{order_column}|order_type::{order_type} , 其中{center}为self或thirdparty,自己的镜像或第三方镜像,默认值为self,{limit}为返回条数,{offset}为起始索引, {order_column}为按列排序,可设置为name、updated_time、tag_count,{order_type}为排序类型,可设置为desc(降序)、asc(升序)
529
+ * @param {string} [filter] 注意:至少要传递一个filter参数。其中{center}为self或thirdparty,自己的镜像或第三方镜像,默认值为self。{namespace}为组织名称,模糊匹配。 {name}为镜像仓库名称,模糊匹配。{category}为镜像仓库分类,可设置为app_server、linux、framework_app、database、lang、other、windows、arm。 {limit}为返回条数,{offset}为起始索引,注意:offset和limit参数需要配套使用。{order_column}为按列排序,可设置为name、updated_time、tag_count,{order_type}为排序类型, 可设置为desc(降序)、asc(升序),注意:order_column和order_type参数需要配套使用。
530
530
  * @param {*} [options] Override http request option.
531
531
  * @throws {RequiredError}
532
532
  */
@@ -733,12 +733,12 @@ var SwrClient = /** @class */ (function () {
733
733
  return this.hcClient.sendRequest(options);
734
734
  };
735
735
  /**
736
- * 获取镜像同步任务信息
736
+ * 创建镜像自动同步任务后,可以通过此接口查询该任务的状态,以判断是否同步成功。
737
737
  *
738
738
  * 详细说明请参考华为云API Explorer。
739
739
  * Please refer to Huawei cloud API Explorer for details.
740
740
  *
741
- * @summary 获取镜像同步任务信息
741
+ * @summary 获取镜像自动同步任务信息
742
742
  * @param {'application/json;charset=utf-8' | 'application/json'} contentType 消息体的类型(格式),下方类型可任选其一使用: application/json;charset&#x3D;utf-8 application/json
743
743
  * @param {string} namespace 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
744
744
  * @param {string} repository 镜像仓库名称
@@ -954,7 +954,7 @@ exports.SwrClient = SwrClient;
954
954
  var ParamCreater = function () {
955
955
  return {
956
956
  /**
957
- * 创建镜像自动同步任务
957
+ * 创建镜像自动同步任务,帮助您把最新推送的镜像自动同步到其他区域镜像仓库内。 镜像自动同步帮助您把最新推送的镜像自动同步到其他区域镜像仓库内,后期镜像有更新时,目标仓库的镜像也会自动更新,但已有的镜像不会自动同步。已有镜像的同步需要手动操作,详情请参见手动同步镜像。
958
958
  *
959
959
  * 详细说明请参考华为云API Explorer。
960
960
  * Please refer to Huawei cloud API Explorer for details.
@@ -1007,7 +1007,7 @@ var ParamCreater = function () {
1007
1007
  return options;
1008
1008
  },
1009
1009
  /**
1010
- * 手动同步镜像
1010
+ * 对于镜像仓库已有的镜像,如果想在其他区域使用,需要手动触发镜像同步。 判断是否同步成功的方法如下:响应状态码为200,无报错信息,表示同步成功。通过SWR管理控制台或调用查询镜像仓库概要信息接口,在目标区域的目标组织下,若存在所同步的镜像版本表示同步成功。
1011
1011
  *
1012
1012
  * 详细说明请参考华为云API Explorer。
1013
1013
  * Please refer to Huawei cloud API Explorer for details.
@@ -1446,7 +1446,7 @@ var ParamCreater = function () {
1446
1446
  return options;
1447
1447
  },
1448
1448
  /**
1449
- * 删除镜像自动同步任务
1449
+ * 根据目标区域、目标组织删除指定的镜像自动同步任务。
1450
1450
  *
1451
1451
  * 详细说明请参考华为云API Explorer。
1452
1452
  * Please refer to Huawei cloud API Explorer for details.
@@ -1887,7 +1887,7 @@ var ParamCreater = function () {
1887
1887
  return options;
1888
1888
  },
1889
1889
  /**
1890
- * 获取镜像自动同步任务列表
1890
+ * 获取为当前镜像仓库所创建的所有自动同步任务。
1891
1891
  *
1892
1892
  * 详细说明请参考华为云API Explorer。
1893
1893
  * Please refer to Huawei cloud API Explorer for details.
@@ -2598,7 +2598,7 @@ var ParamCreater = function () {
2598
2598
  return options;
2599
2599
  },
2600
2600
  /**
2601
- * 获取镜像同步任务信息
2601
+ * 创建镜像自动同步任务后,可以通过此接口查询该任务的状态,以判断是否同步成功。
2602
2602
  *
2603
2603
  * 详细说明请参考华为云API Explorer。
2604
2604
  * Please refer to Huawei cloud API Explorer for details.