@huaweicloud/huaweicloud-sdk-swr 3.0.41-rc → 3.0.44-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 +2 -2
- package/v2/SwrClient.d.ts +58 -58
- package/v2/SwrClient.js +13 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huaweicloud/huaweicloud-sdk-swr",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.44-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.
|
|
17
|
+
"@huaweicloud/huaweicloud-sdk-core": "^3.0.44-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=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]
|
|
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=utf-8 application/json
|
|
572
572
|
* @param {string} namespace 组织名称。小写字母开头,后面跟小写字母、数字、小数点、下划线或中划线(其中下划线最多允许连续两个,小数点、下划线、中划线不能直接相连),小写字母或数字结尾,1-64个字符。
|
|
573
573
|
* @param {string} repository 镜像仓库名称
|
|
@@ -725,12 +725,12 @@ 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.
|
|
732
732
|
*/
|
|
733
|
-
createImageSyncRepo(createImageSyncRepoRequest?: CreateImageSyncRepoRequest
|
|
733
|
+
createImageSyncRepo(createImageSyncRepoRequest?: CreateImageSyncRepoRequest): {
|
|
734
734
|
method: string;
|
|
735
735
|
url: string;
|
|
736
736
|
contentType: string;
|
|
@@ -740,12 +740,12 @@ 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.
|
|
747
747
|
*/
|
|
748
|
-
createManualImageSyncRepo(createManualImageSyncRepoRequest?: CreateManualImageSyncRepoRequest
|
|
748
|
+
createManualImageSyncRepo(createManualImageSyncRepoRequest?: CreateManualImageSyncRepoRequest): {
|
|
749
749
|
method: string;
|
|
750
750
|
url: string;
|
|
751
751
|
contentType: string;
|
|
@@ -760,7 +760,7 @@ export declare const ParamCreater: () => {
|
|
|
760
760
|
* 详细说明请参考华为云API Explorer。
|
|
761
761
|
* Please refer to Huawei cloud API Explorer for details.
|
|
762
762
|
*/
|
|
763
|
-
createNamespace(createNamespaceRequest?: CreateNamespaceRequest
|
|
763
|
+
createNamespace(createNamespaceRequest?: CreateNamespaceRequest): {
|
|
764
764
|
method: string;
|
|
765
765
|
url: string;
|
|
766
766
|
contentType: string;
|
|
@@ -775,7 +775,7 @@ export declare const ParamCreater: () => {
|
|
|
775
775
|
* 详细说明请参考华为云API Explorer。
|
|
776
776
|
* Please refer to Huawei cloud API Explorer for details.
|
|
777
777
|
*/
|
|
778
|
-
createNamespaceAuth(createNamespaceAuthRequest?: CreateNamespaceAuthRequest
|
|
778
|
+
createNamespaceAuth(createNamespaceAuthRequest?: CreateNamespaceAuthRequest): {
|
|
779
779
|
method: string;
|
|
780
780
|
url: string;
|
|
781
781
|
contentType: string;
|
|
@@ -790,7 +790,7 @@ export declare const ParamCreater: () => {
|
|
|
790
790
|
* 详细说明请参考华为云API Explorer。
|
|
791
791
|
* Please refer to Huawei cloud API Explorer for details.
|
|
792
792
|
*/
|
|
793
|
-
createRepo(createRepoRequest?: CreateRepoRequest
|
|
793
|
+
createRepo(createRepoRequest?: CreateRepoRequest): {
|
|
794
794
|
method: string;
|
|
795
795
|
url: string;
|
|
796
796
|
contentType: string;
|
|
@@ -805,7 +805,7 @@ export declare const ParamCreater: () => {
|
|
|
805
805
|
* 详细说明请参考华为云API Explorer。
|
|
806
806
|
* Please refer to Huawei cloud API Explorer for details.
|
|
807
807
|
*/
|
|
808
|
-
createRepoDomains(createRepoDomainsRequest?: CreateRepoDomainsRequest
|
|
808
|
+
createRepoDomains(createRepoDomainsRequest?: CreateRepoDomainsRequest): {
|
|
809
809
|
method: string;
|
|
810
810
|
url: string;
|
|
811
811
|
contentType: string;
|
|
@@ -820,7 +820,7 @@ export declare const ParamCreater: () => {
|
|
|
820
820
|
* 详细说明请参考华为云API Explorer。
|
|
821
821
|
* Please refer to Huawei cloud API Explorer for details.
|
|
822
822
|
*/
|
|
823
|
-
createRetention(createRetentionRequest?: CreateRetentionRequest
|
|
823
|
+
createRetention(createRetentionRequest?: CreateRetentionRequest): {
|
|
824
824
|
method: string;
|
|
825
825
|
url: string;
|
|
826
826
|
contentType: string;
|
|
@@ -835,7 +835,7 @@ export declare const ParamCreater: () => {
|
|
|
835
835
|
* 详细说明请参考华为云API Explorer。
|
|
836
836
|
* Please refer to Huawei cloud API Explorer for details.
|
|
837
837
|
*/
|
|
838
|
-
createSecret(createSecretRequest?: CreateSecretRequest
|
|
838
|
+
createSecret(createSecretRequest?: CreateSecretRequest): {
|
|
839
839
|
method: string;
|
|
840
840
|
url: string;
|
|
841
841
|
contentType: string;
|
|
@@ -850,7 +850,7 @@ export declare const ParamCreater: () => {
|
|
|
850
850
|
* 详细说明请参考华为云API Explorer。
|
|
851
851
|
* Please refer to Huawei cloud API Explorer for details.
|
|
852
852
|
*/
|
|
853
|
-
createTrigger(createTriggerRequest?: CreateTriggerRequest
|
|
853
|
+
createTrigger(createTriggerRequest?: CreateTriggerRequest): {
|
|
854
854
|
method: string;
|
|
855
855
|
url: string;
|
|
856
856
|
contentType: string;
|
|
@@ -865,7 +865,7 @@ export declare const ParamCreater: () => {
|
|
|
865
865
|
* 详细说明请参考华为云API Explorer。
|
|
866
866
|
* Please refer to Huawei cloud API Explorer for details.
|
|
867
867
|
*/
|
|
868
|
-
createUserRepositoryAuth(createUserRepositoryAuthRequest?: CreateUserRepositoryAuthRequest
|
|
868
|
+
createUserRepositoryAuth(createUserRepositoryAuthRequest?: CreateUserRepositoryAuthRequest): {
|
|
869
869
|
method: string;
|
|
870
870
|
url: string;
|
|
871
871
|
contentType: string;
|
|
@@ -875,12 +875,12 @@ 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.
|
|
882
882
|
*/
|
|
883
|
-
deleteImageSyncRepo(deleteImageSyncRepoRequest?: DeleteImageSyncRepoRequest
|
|
883
|
+
deleteImageSyncRepo(deleteImageSyncRepoRequest?: DeleteImageSyncRepoRequest): {
|
|
884
884
|
method: string;
|
|
885
885
|
url: string;
|
|
886
886
|
contentType: string;
|
|
@@ -895,7 +895,7 @@ export declare const ParamCreater: () => {
|
|
|
895
895
|
* 详细说明请参考华为云API Explorer。
|
|
896
896
|
* Please refer to Huawei cloud API Explorer for details.
|
|
897
897
|
*/
|
|
898
|
-
deleteNamespaceAuth(deleteNamespaceAuthRequest?: DeleteNamespaceAuthRequest
|
|
898
|
+
deleteNamespaceAuth(deleteNamespaceAuthRequest?: DeleteNamespaceAuthRequest): {
|
|
899
899
|
method: string;
|
|
900
900
|
url: string;
|
|
901
901
|
contentType: string;
|
|
@@ -910,7 +910,7 @@ export declare const ParamCreater: () => {
|
|
|
910
910
|
* 详细说明请参考华为云API Explorer。
|
|
911
911
|
* Please refer to Huawei cloud API Explorer for details.
|
|
912
912
|
*/
|
|
913
|
-
deleteNamespaces(deleteNamespacesRequest?: DeleteNamespacesRequest
|
|
913
|
+
deleteNamespaces(deleteNamespacesRequest?: DeleteNamespacesRequest): {
|
|
914
914
|
method: string;
|
|
915
915
|
url: string;
|
|
916
916
|
contentType: string;
|
|
@@ -925,7 +925,7 @@ export declare const ParamCreater: () => {
|
|
|
925
925
|
* 详细说明请参考华为云API Explorer。
|
|
926
926
|
* Please refer to Huawei cloud API Explorer for details.
|
|
927
927
|
*/
|
|
928
|
-
deleteRepo(deleteRepoRequest?: DeleteRepoRequest
|
|
928
|
+
deleteRepo(deleteRepoRequest?: DeleteRepoRequest): {
|
|
929
929
|
method: string;
|
|
930
930
|
url: string;
|
|
931
931
|
contentType: string;
|
|
@@ -940,7 +940,7 @@ export declare const ParamCreater: () => {
|
|
|
940
940
|
* 详细说明请参考华为云API Explorer。
|
|
941
941
|
* Please refer to Huawei cloud API Explorer for details.
|
|
942
942
|
*/
|
|
943
|
-
deleteRepoDomains(deleteRepoDomainsRequest?: DeleteRepoDomainsRequest
|
|
943
|
+
deleteRepoDomains(deleteRepoDomainsRequest?: DeleteRepoDomainsRequest): {
|
|
944
944
|
method: string;
|
|
945
945
|
url: string;
|
|
946
946
|
contentType: string;
|
|
@@ -955,7 +955,7 @@ export declare const ParamCreater: () => {
|
|
|
955
955
|
* 详细说明请参考华为云API Explorer。
|
|
956
956
|
* Please refer to Huawei cloud API Explorer for details.
|
|
957
957
|
*/
|
|
958
|
-
deleteRepoTag(deleteRepoTagRequest?: DeleteRepoTagRequest
|
|
958
|
+
deleteRepoTag(deleteRepoTagRequest?: DeleteRepoTagRequest): {
|
|
959
959
|
method: string;
|
|
960
960
|
url: string;
|
|
961
961
|
contentType: string;
|
|
@@ -970,7 +970,7 @@ export declare const ParamCreater: () => {
|
|
|
970
970
|
* 详细说明请参考华为云API Explorer。
|
|
971
971
|
* Please refer to Huawei cloud API Explorer for details.
|
|
972
972
|
*/
|
|
973
|
-
deleteRetention(deleteRetentionRequest?: DeleteRetentionRequest
|
|
973
|
+
deleteRetention(deleteRetentionRequest?: DeleteRetentionRequest): {
|
|
974
974
|
method: string;
|
|
975
975
|
url: string;
|
|
976
976
|
contentType: string;
|
|
@@ -985,7 +985,7 @@ export declare const ParamCreater: () => {
|
|
|
985
985
|
* 详细说明请参考华为云API Explorer。
|
|
986
986
|
* Please refer to Huawei cloud API Explorer for details.
|
|
987
987
|
*/
|
|
988
|
-
deleteTrigger(deleteTriggerRequest?: DeleteTriggerRequest
|
|
988
|
+
deleteTrigger(deleteTriggerRequest?: DeleteTriggerRequest): {
|
|
989
989
|
method: string;
|
|
990
990
|
url: string;
|
|
991
991
|
contentType: string;
|
|
@@ -1000,7 +1000,7 @@ export declare const ParamCreater: () => {
|
|
|
1000
1000
|
* 详细说明请参考华为云API Explorer。
|
|
1001
1001
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1002
1002
|
*/
|
|
1003
|
-
deleteUserRepositoryAuth(deleteUserRepositoryAuthRequest?: DeleteUserRepositoryAuthRequest
|
|
1003
|
+
deleteUserRepositoryAuth(deleteUserRepositoryAuthRequest?: DeleteUserRepositoryAuthRequest): {
|
|
1004
1004
|
method: string;
|
|
1005
1005
|
url: string;
|
|
1006
1006
|
contentType: string;
|
|
@@ -1010,12 +1010,12 @@ 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.
|
|
1017
1017
|
*/
|
|
1018
|
-
listImageAutoSyncReposDetails(listImageAutoSyncReposDetailsRequest?: ListImageAutoSyncReposDetailsRequest
|
|
1018
|
+
listImageAutoSyncReposDetails(listImageAutoSyncReposDetailsRequest?: ListImageAutoSyncReposDetailsRequest): {
|
|
1019
1019
|
method: string;
|
|
1020
1020
|
url: string;
|
|
1021
1021
|
contentType: string;
|
|
@@ -1030,7 +1030,7 @@ export declare const ParamCreater: () => {
|
|
|
1030
1030
|
* 详细说明请参考华为云API Explorer。
|
|
1031
1031
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1032
1032
|
*/
|
|
1033
|
-
listNamespaces(listNamespacesRequest?: ListNamespacesRequest
|
|
1033
|
+
listNamespaces(listNamespacesRequest?: ListNamespacesRequest): {
|
|
1034
1034
|
method: string;
|
|
1035
1035
|
url: string;
|
|
1036
1036
|
contentType: string;
|
|
@@ -1045,7 +1045,7 @@ export declare const ParamCreater: () => {
|
|
|
1045
1045
|
* 详细说明请参考华为云API Explorer。
|
|
1046
1046
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1047
1047
|
*/
|
|
1048
|
-
listQuotas(listQuotasRequest?: ListQuotasRequest
|
|
1048
|
+
listQuotas(listQuotasRequest?: ListQuotasRequest): {
|
|
1049
1049
|
method: string;
|
|
1050
1050
|
url: string;
|
|
1051
1051
|
contentType: string;
|
|
@@ -1060,7 +1060,7 @@ export declare const ParamCreater: () => {
|
|
|
1060
1060
|
* 详细说明请参考华为云API Explorer。
|
|
1061
1061
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1062
1062
|
*/
|
|
1063
|
-
listRepoDomains(listRepoDomainsRequest?: ListRepoDomainsRequest
|
|
1063
|
+
listRepoDomains(listRepoDomainsRequest?: ListRepoDomainsRequest): {
|
|
1064
1064
|
method: string;
|
|
1065
1065
|
url: string;
|
|
1066
1066
|
contentType: string;
|
|
@@ -1075,7 +1075,7 @@ export declare const ParamCreater: () => {
|
|
|
1075
1075
|
* 详细说明请参考华为云API Explorer。
|
|
1076
1076
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1077
1077
|
*/
|
|
1078
|
-
listReposDetails(listReposDetailsRequest?: ListReposDetailsRequest
|
|
1078
|
+
listReposDetails(listReposDetailsRequest?: ListReposDetailsRequest): {
|
|
1079
1079
|
method: string;
|
|
1080
1080
|
url: string;
|
|
1081
1081
|
contentType: string;
|
|
@@ -1090,7 +1090,7 @@ export declare const ParamCreater: () => {
|
|
|
1090
1090
|
* 详细说明请参考华为云API Explorer。
|
|
1091
1091
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1092
1092
|
*/
|
|
1093
|
-
listRepositoryTags(listRepositoryTagsRequest?: ListRepositoryTagsRequest
|
|
1093
|
+
listRepositoryTags(listRepositoryTagsRequest?: ListRepositoryTagsRequest): {
|
|
1094
1094
|
method: string;
|
|
1095
1095
|
url: string;
|
|
1096
1096
|
contentType: string;
|
|
@@ -1105,7 +1105,7 @@ export declare const ParamCreater: () => {
|
|
|
1105
1105
|
* 详细说明请参考华为云API Explorer。
|
|
1106
1106
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1107
1107
|
*/
|
|
1108
|
-
listRetentionHistories(listRetentionHistoriesRequest?: ListRetentionHistoriesRequest
|
|
1108
|
+
listRetentionHistories(listRetentionHistoriesRequest?: ListRetentionHistoriesRequest): {
|
|
1109
1109
|
method: string;
|
|
1110
1110
|
url: string;
|
|
1111
1111
|
contentType: string;
|
|
@@ -1120,7 +1120,7 @@ export declare const ParamCreater: () => {
|
|
|
1120
1120
|
* 详细说明请参考华为云API Explorer。
|
|
1121
1121
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1122
1122
|
*/
|
|
1123
|
-
listRetentions(listRetentionsRequest?: ListRetentionsRequest
|
|
1123
|
+
listRetentions(listRetentionsRequest?: ListRetentionsRequest): {
|
|
1124
1124
|
method: string;
|
|
1125
1125
|
url: string;
|
|
1126
1126
|
contentType: string;
|
|
@@ -1135,7 +1135,7 @@ export declare const ParamCreater: () => {
|
|
|
1135
1135
|
* 详细说明请参考华为云API Explorer。
|
|
1136
1136
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1137
1137
|
*/
|
|
1138
|
-
listSharedReposDetails(listSharedReposDetailsRequest?: ListSharedReposDetailsRequest
|
|
1138
|
+
listSharedReposDetails(listSharedReposDetailsRequest?: ListSharedReposDetailsRequest): {
|
|
1139
1139
|
method: string;
|
|
1140
1140
|
url: string;
|
|
1141
1141
|
contentType: string;
|
|
@@ -1150,7 +1150,7 @@ export declare const ParamCreater: () => {
|
|
|
1150
1150
|
* 详细说明请参考华为云API Explorer。
|
|
1151
1151
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1152
1152
|
*/
|
|
1153
|
-
listTriggersDetails(listTriggersDetailsRequest?: ListTriggersDetailsRequest
|
|
1153
|
+
listTriggersDetails(listTriggersDetailsRequest?: ListTriggersDetailsRequest): {
|
|
1154
1154
|
method: string;
|
|
1155
1155
|
url: string;
|
|
1156
1156
|
contentType: string;
|
|
@@ -1165,7 +1165,7 @@ export declare const ParamCreater: () => {
|
|
|
1165
1165
|
* 详细说明请参考华为云API Explorer。
|
|
1166
1166
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1167
1167
|
*/
|
|
1168
|
-
showAccessDomain(showAccessDomainRequest?: ShowAccessDomainRequest
|
|
1168
|
+
showAccessDomain(showAccessDomainRequest?: ShowAccessDomainRequest): {
|
|
1169
1169
|
method: string;
|
|
1170
1170
|
url: string;
|
|
1171
1171
|
contentType: string;
|
|
@@ -1180,7 +1180,7 @@ export declare const ParamCreater: () => {
|
|
|
1180
1180
|
* 详细说明请参考华为云API Explorer。
|
|
1181
1181
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1182
1182
|
*/
|
|
1183
|
-
showNamespace(showNamespaceRequest?: ShowNamespaceRequest
|
|
1183
|
+
showNamespace(showNamespaceRequest?: ShowNamespaceRequest): {
|
|
1184
1184
|
method: string;
|
|
1185
1185
|
url: string;
|
|
1186
1186
|
contentType: string;
|
|
@@ -1195,7 +1195,7 @@ export declare const ParamCreater: () => {
|
|
|
1195
1195
|
* 详细说明请参考华为云API Explorer。
|
|
1196
1196
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1197
1197
|
*/
|
|
1198
|
-
showNamespaceAuth(showNamespaceAuthRequest?: ShowNamespaceAuthRequest
|
|
1198
|
+
showNamespaceAuth(showNamespaceAuthRequest?: ShowNamespaceAuthRequest): {
|
|
1199
1199
|
method: string;
|
|
1200
1200
|
url: string;
|
|
1201
1201
|
contentType: string;
|
|
@@ -1210,7 +1210,7 @@ export declare const ParamCreater: () => {
|
|
|
1210
1210
|
* 详细说明请参考华为云API Explorer。
|
|
1211
1211
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1212
1212
|
*/
|
|
1213
|
-
showRepository(showRepositoryRequest?: ShowRepositoryRequest
|
|
1213
|
+
showRepository(showRepositoryRequest?: ShowRepositoryRequest): {
|
|
1214
1214
|
method: string;
|
|
1215
1215
|
url: string;
|
|
1216
1216
|
contentType: string;
|
|
@@ -1225,7 +1225,7 @@ export declare const ParamCreater: () => {
|
|
|
1225
1225
|
* 详细说明请参考华为云API Explorer。
|
|
1226
1226
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1227
1227
|
*/
|
|
1228
|
-
showRetention(showRetentionRequest?: ShowRetentionRequest
|
|
1228
|
+
showRetention(showRetentionRequest?: ShowRetentionRequest): {
|
|
1229
1229
|
method: string;
|
|
1230
1230
|
url: string;
|
|
1231
1231
|
contentType: string;
|
|
@@ -1235,12 +1235,12 @@ 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.
|
|
1242
1242
|
*/
|
|
1243
|
-
showSyncJob(showSyncJobRequest?: ShowSyncJobRequest
|
|
1243
|
+
showSyncJob(showSyncJobRequest?: ShowSyncJobRequest): {
|
|
1244
1244
|
method: string;
|
|
1245
1245
|
url: string;
|
|
1246
1246
|
contentType: string;
|
|
@@ -1255,7 +1255,7 @@ export declare const ParamCreater: () => {
|
|
|
1255
1255
|
* 详细说明请参考华为云API Explorer。
|
|
1256
1256
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1257
1257
|
*/
|
|
1258
|
-
showTrigger(showTriggerRequest?: ShowTriggerRequest
|
|
1258
|
+
showTrigger(showTriggerRequest?: ShowTriggerRequest): {
|
|
1259
1259
|
method: string;
|
|
1260
1260
|
url: string;
|
|
1261
1261
|
contentType: string;
|
|
@@ -1270,7 +1270,7 @@ export declare const ParamCreater: () => {
|
|
|
1270
1270
|
* 详细说明请参考华为云API Explorer。
|
|
1271
1271
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1272
1272
|
*/
|
|
1273
|
-
showUserRepositoryAuth(showUserRepositoryAuthRequest?: ShowUserRepositoryAuthRequest
|
|
1273
|
+
showUserRepositoryAuth(showUserRepositoryAuthRequest?: ShowUserRepositoryAuthRequest): {
|
|
1274
1274
|
method: string;
|
|
1275
1275
|
url: string;
|
|
1276
1276
|
contentType: string;
|
|
@@ -1285,7 +1285,7 @@ export declare const ParamCreater: () => {
|
|
|
1285
1285
|
* 详细说明请参考华为云API Explorer。
|
|
1286
1286
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1287
1287
|
*/
|
|
1288
|
-
updateNamespaceAuth(updateNamespaceAuthRequest?: UpdateNamespaceAuthRequest
|
|
1288
|
+
updateNamespaceAuth(updateNamespaceAuthRequest?: UpdateNamespaceAuthRequest): {
|
|
1289
1289
|
method: string;
|
|
1290
1290
|
url: string;
|
|
1291
1291
|
contentType: string;
|
|
@@ -1300,7 +1300,7 @@ export declare const ParamCreater: () => {
|
|
|
1300
1300
|
* 详细说明请参考华为云API Explorer。
|
|
1301
1301
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1302
1302
|
*/
|
|
1303
|
-
updateRepo(updateRepoRequest?: UpdateRepoRequest
|
|
1303
|
+
updateRepo(updateRepoRequest?: UpdateRepoRequest): {
|
|
1304
1304
|
method: string;
|
|
1305
1305
|
url: string;
|
|
1306
1306
|
contentType: string;
|
|
@@ -1315,7 +1315,7 @@ export declare const ParamCreater: () => {
|
|
|
1315
1315
|
* 详细说明请参考华为云API Explorer。
|
|
1316
1316
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1317
1317
|
*/
|
|
1318
|
-
updateRepoDomains(updateRepoDomainsRequest?: UpdateRepoDomainsRequest
|
|
1318
|
+
updateRepoDomains(updateRepoDomainsRequest?: UpdateRepoDomainsRequest): {
|
|
1319
1319
|
method: string;
|
|
1320
1320
|
url: string;
|
|
1321
1321
|
contentType: string;
|
|
@@ -1330,7 +1330,7 @@ export declare const ParamCreater: () => {
|
|
|
1330
1330
|
* 详细说明请参考华为云API Explorer。
|
|
1331
1331
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1332
1332
|
*/
|
|
1333
|
-
updateRetention(updateRetentionRequest?: UpdateRetentionRequest
|
|
1333
|
+
updateRetention(updateRetentionRequest?: UpdateRetentionRequest): {
|
|
1334
1334
|
method: string;
|
|
1335
1335
|
url: string;
|
|
1336
1336
|
contentType: string;
|
|
@@ -1345,7 +1345,7 @@ export declare const ParamCreater: () => {
|
|
|
1345
1345
|
* 详细说明请参考华为云API Explorer。
|
|
1346
1346
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1347
1347
|
*/
|
|
1348
|
-
updateTrigger(updateTriggerRequest?: UpdateTriggerRequest
|
|
1348
|
+
updateTrigger(updateTriggerRequest?: UpdateTriggerRequest): {
|
|
1349
1349
|
method: string;
|
|
1350
1350
|
url: string;
|
|
1351
1351
|
contentType: string;
|
|
@@ -1360,7 +1360,7 @@ export declare const ParamCreater: () => {
|
|
|
1360
1360
|
* 详细说明请参考华为云API Explorer。
|
|
1361
1361
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1362
1362
|
*/
|
|
1363
|
-
updateUserRepositoryAuth(updateUserRepositoryAuthRequest?: UpdateUserRepositoryAuthRequest
|
|
1363
|
+
updateUserRepositoryAuth(updateUserRepositoryAuthRequest?: UpdateUserRepositoryAuthRequest): {
|
|
1364
1364
|
method: string;
|
|
1365
1365
|
url: string;
|
|
1366
1366
|
contentType: string;
|
|
@@ -1375,7 +1375,7 @@ export declare const ParamCreater: () => {
|
|
|
1375
1375
|
* 详细说明请参考华为云API Explorer。
|
|
1376
1376
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1377
1377
|
*/
|
|
1378
|
-
listApiVersions(listApiVersionsRequest?: ListApiVersionsRequest
|
|
1378
|
+
listApiVersions(listApiVersionsRequest?: ListApiVersionsRequest): {
|
|
1379
1379
|
method: string;
|
|
1380
1380
|
url: string;
|
|
1381
1381
|
contentType: string;
|
|
@@ -1390,7 +1390,7 @@ export declare const ParamCreater: () => {
|
|
|
1390
1390
|
* 详细说明请参考华为云API Explorer。
|
|
1391
1391
|
* Please refer to Huawei cloud API Explorer for details.
|
|
1392
1392
|
*/
|
|
1393
|
-
showApiVersion(showApiVersionRequest?: ShowApiVersionRequest
|
|
1393
|
+
showApiVersion(showApiVersionRequest?: ShowApiVersionRequest): {
|
|
1394
1394
|
method: string;
|
|
1395
1395
|
url: string;
|
|
1396
1396
|
contentType: string;
|
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=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]
|
|
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=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.
|