kingsoftcloud-sdk-python 1.1.1__py2.py3-none-any.whl → 1.5.8.49__py2.py3-none-any.whl
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.
- kingsoftcloud_sdk_python-1.5.8.49.dist-info/METADATA +71 -0
- kingsoftcloud_sdk_python-1.5.8.49.dist-info/RECORD +337 -0
- {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.49.dist-info}/WHEEL +1 -1
- ksyun/__init__.py +1 -1
- ksyun/client/actiontrail/v20190401/client.py +2 -4
- ksyun/client/aicp/v20240612/client.py +1344 -0
- ksyun/client/aicp/v20240612/models.py +1963 -0
- ksyun/client/aicp/v20251212/__init__.py +0 -0
- ksyun/client/aicp/v20251212/client.py +56 -0
- ksyun/client/aicp/v20251212/models.py +114 -0
- ksyun/client/bill/v20180601/client.py +6 -77
- ksyun/client/bill/v20180601/models.py +29 -41
- ksyun/client/bill/v20220601/__init__.py +0 -0
- ksyun/client/bill/v20220601/client.py +54 -0
- ksyun/client/bill/v20220601/models.py +54 -0
- ksyun/client/bill_union/v20200101/client.py +81 -14
- ksyun/client/bill_union/v20200101/models.py +119 -3
- ksyun/client/bill_union/v20221222/__init__.py +0 -0
- ksyun/client/bill_union/v20221222/client.py +146 -0
- ksyun/client/bill_union/v20221222/models.py +193 -0
- ksyun/client/bill_union/v20250801/__init__.py +0 -0
- ksyun/client/bill_union/v20250801/client.py +54 -0
- ksyun/client/bill_union/v20250801/models.py +64 -0
- ksyun/client/bws/v20160304/client.py +33 -12
- ksyun/client/bws/v20160304/models.py +51 -0
- ksyun/client/cdn/__init__.py +0 -0
- ksyun/client/cdn/v20160901/__init__.py +0 -0
- ksyun/client/cdn/v20160901/client.py +77 -0
- ksyun/client/cdn/v20160901/models.py +51 -0
- ksyun/client/cdn/v20200630/__init__.py +0 -0
- ksyun/client/cdn/v20200630/client.py +399 -0
- ksyun/client/cdn/v20200630/models.py +826 -0
- ksyun/client/cdn/v20200901/__init__.py +0 -0
- ksyun/client/cdn/v20200901/client.py +169 -0
- ksyun/client/cdn/v20200901/models.py +224 -0
- ksyun/client/cdn/v20211201/__init__.py +0 -0
- ksyun/client/cdn/v20211201/client.py +31 -0
- ksyun/client/cdn/v20211201/models.py +23 -0
- ksyun/client/cdn/v3/__init__.py +0 -0
- ksyun/client/cdn/v3/client.py +997 -0
- ksyun/client/cdn/v3/models.py +1323 -0
- ksyun/client/cen/__init__.py +0 -0
- ksyun/client/cen/v20160304/__init__.py +0 -0
- ksyun/client/cen/v20160304/client.py +606 -0
- ksyun/client/cen/v20160304/models.py +718 -0
- ksyun/client/clickhouse/__init__.py +0 -0
- ksyun/client/clickhouse/v20210101/__init__.py +0 -0
- ksyun/client/clickhouse/v20210101/client.py +905 -0
- ksyun/client/clickhouse/v20210101/models.py +1127 -0
- ksyun/client/cloud_advisor/__init__.py +0 -0
- ksyun/client/cloud_advisor/v20250610/__init__.py +0 -0
- ksyun/client/cloud_advisor/v20250610/client.py +77 -0
- ksyun/client/cloud_advisor/v20250610/models.py +80 -0
- ksyun/client/dmp/__init__.py +0 -0
- ksyun/client/dmp/v20240101/__init__.py +0 -0
- ksyun/client/dmp/v20240101/client.py +468 -0
- ksyun/client/dmp/v20240101/models.py +423 -0
- ksyun/client/dts/__init__.py +0 -0
- ksyun/client/dts/v20180108/__init__.py +0 -0
- ksyun/client/dts/v20180108/client.py +445 -0
- ksyun/client/dts/v20180108/models.py +734 -0
- ksyun/client/ebs/v20160304/client.py +260 -55
- ksyun/client/ebs/v20160304/models.py +320 -66
- ksyun/client/eip/v20160304/client.py +127 -14
- ksyun/client/eip/v20160304/models.py +95 -1
- ksyun/client/epc/v20151101/client.py +1309 -184
- ksyun/client/epc/v20151101/models.py +2623 -137
- ksyun/client/iam/v20151101/client.py +325 -120
- ksyun/client/iam/v20151101/models.py +284 -28
- ksyun/client/iam/v20240513/__init__.py +0 -0
- ksyun/client/iam/v20240513/client.py +31 -0
- ksyun/client/iam/v20240513/models.py +33 -0
- ksyun/client/iam/v20240703/__init__.py +0 -0
- ksyun/client/iam/v20240703/client.py +31 -0
- ksyun/client/iam/v20240703/models.py +18 -0
- ksyun/client/influxdb/__init__.py +0 -0
- ksyun/client/influxdb/v20191010/__init__.py +0 -0
- ksyun/client/influxdb/v20191010/client.py +629 -0
- ksyun/client/influxdb/v20191010/models.py +655 -0
- ksyun/client/kad/v20161122/client.py +56 -12
- ksyun/client/kad/v20161122/models.py +38 -0
- ksyun/client/kce/__init__.py +0 -0
- ksyun/client/kce/v20180314/__init__.py +0 -0
- ksyun/client/kce/v20180314/client.py +399 -0
- ksyun/client/kce/v20180314/models.py +374 -0
- ksyun/client/kce/v20190806/__init__.py +0 -0
- ksyun/client/kce/v20190806/client.py +790 -0
- ksyun/client/kce/v20190806/models.py +1099 -0
- ksyun/client/kce/v20201231/__init__.py +0 -0
- ksyun/client/{slb/v20171210 → kce/v20201231}/client.py +10 -12
- ksyun/client/kce/v20201231/models.py +137 -0
- ksyun/client/kce/v20230101/__init__.py +0 -0
- ksyun/client/kce/v20230101/client.py +215 -0
- ksyun/client/kce/v20230101/models.py +259 -0
- ksyun/client/kce/v20230306/__init__.py +0 -0
- ksyun/client/kce/v20230306/client.py +514 -0
- ksyun/client/kce/v20230306/models.py +655 -0
- ksyun/client/kce/v20231115/__init__.py +0 -0
- ksyun/client/kce/v20231115/client.py +54 -0
- ksyun/client/kce/v20231115/models.py +59 -0
- ksyun/client/kce2/__init__.py +0 -0
- ksyun/client/kce2/v20230101/__init__.py +0 -0
- ksyun/client/kce2/v20230101/client.py +353 -0
- ksyun/client/kce2/v20230101/models.py +483 -0
- ksyun/client/kcf/__init__.py +0 -0
- ksyun/client/kcf/v20211215/__init__.py +0 -0
- ksyun/client/kcf/v20211215/client.py +215 -0
- ksyun/client/kcf/v20211215/models.py +313 -0
- ksyun/client/kci/__init__.py +0 -0
- ksyun/client/kci/v20200702/__init__.py +0 -0
- ksyun/client/kci/v20200702/client.py +353 -0
- ksyun/client/kci/v20200702/models.py +614 -0
- ksyun/client/kcm/__init__.py +0 -0
- ksyun/client/kcm/v20160304/__init__.py +0 -0
- ksyun/client/kcm/v20160304/client.py +238 -0
- ksyun/client/kcm/v20160304/models.py +394 -0
- ksyun/client/kcrs/__init__.py +0 -0
- ksyun/client/kcrs/v20211109/__init__.py +0 -0
- ksyun/client/kcrs/v20211109/client.py +1020 -0
- ksyun/client/kcrs/v20211109/models.py +1282 -0
- ksyun/client/kcs/__init__.py +0 -0
- ksyun/client/kcs/v20160701/__init__.py +0 -0
- ksyun/client/kcs/v20160701/client.py +1526 -0
- ksyun/client/kcs/v20160701/models.py +1917 -0
- ksyun/client/kcs/v20170401/__init__.py +0 -0
- ksyun/client/kcs/v20170401/client.py +31 -0
- ksyun/client/kcs/v20170401/models.py +28 -0
- ksyun/client/kcs/v20240701/__init__.py +0 -0
- ksyun/client/kcs/v20240701/client.py +31 -0
- ksyun/client/kcs/v20240701/models.py +23 -0
- ksyun/client/kead/v20200101/client.py +48 -4
- ksyun/client/kead/v20200101/models.py +52 -42
- ksyun/client/kec/v20160304/client.py +890 -223
- ksyun/client/kec/v20160304/models.py +1377 -140
- ksyun/client/ked/__init__.py +0 -0
- ksyun/client/ked/v1/__init__.py +0 -0
- ksyun/client/ked/v1/client.py +1020 -0
- ksyun/client/ked/v1/models.py +1132 -0
- ksyun/client/kes/__init__.py +0 -0
- ksyun/client/kes/v20201215/__init__.py +0 -0
- ksyun/client/kes/v20201215/client.py +192 -0
- ksyun/client/kes/v20201215/models.py +252 -0
- ksyun/client/ket/__init__.py +0 -0
- ksyun/client/ket/v20170101/__init__.py +0 -0
- ksyun/client/ket/v20170101/client.py +192 -0
- ksyun/client/ket/v20170101/models.py +265 -0
- ksyun/client/kfw/__init__.py +0 -0
- ksyun/client/kfw/v20160304/__init__.py +0 -0
- ksyun/client/kfw/v20160304/client.py +692 -0
- ksyun/client/kfw/v20160304/models.py +1029 -0
- ksyun/client/kingpay/__init__.py +0 -0
- ksyun/client/kingpay/v1/__init__.py +0 -0
- ksyun/client/kingpay/v1/client.py +31 -0
- ksyun/client/kingpay/v1/models.py +18 -0
- ksyun/client/kkms/__init__.py +0 -0
- ksyun/client/kkms/v20160304/__init__.py +0 -0
- ksyun/client/kkms/v20160304/client.py +192 -0
- ksyun/client/kkms/v20160304/models.py +185 -0
- ksyun/client/klog/__init__.py +0 -0
- ksyun/client/klog/v20200731/__init__.py +0 -0
- ksyun/client/klog/v20200731/client.py +376 -0
- ksyun/client/klog/v20200731/models.py +508 -0
- ksyun/client/kls/__init__.py +0 -0
- ksyun/client/kls/v20170101/__init__.py +0 -0
- ksyun/client/kls/v20170101/client.py +192 -0
- ksyun/client/kls/v20170101/models.py +320 -0
- ksyun/client/kmr/__init__.py +0 -0
- ksyun/client/kmr/v20210902/__init__.py +0 -0
- ksyun/client/kmr/v20210902/client.py +537 -0
- ksyun/client/kmr/v20210902/models.py +536 -0
- ksyun/client/kmr/v20231231/__init__.py +0 -0
- ksyun/client/kmr/v20231231/client.py +169 -0
- ksyun/client/kmr/v20231231/models.py +201 -0
- ksyun/client/kmr/v20240814/__init__.py +0 -0
- ksyun/client/kmr/v20240814/client.py +445 -0
- ksyun/client/kmr/v20240814/models.py +523 -0
- ksyun/client/knad/__init__.py +0 -0
- ksyun/client/knad/v20230323/__init__.py +0 -0
- ksyun/client/knad/v20230323/client.py +399 -0
- ksyun/client/knad/v20230323/models.py +470 -0
- ksyun/client/kpfs/__init__.py +0 -0
- ksyun/client/kpfs/v20240930/__init__.py +0 -0
- ksyun/client/kpfs/v20240930/client.py +217 -0
- ksyun/client/kpfs/v20240930/models.py +396 -0
- ksyun/client/krds/__init__.py +0 -0
- ksyun/client/krds/v20160701/__init__.py +0 -0
- ksyun/client/krds/v20160701/client.py +2101 -0
- ksyun/client/krds/v20160701/models.py +2722 -0
- ksyun/client/krds/v20200825/__init__.py +0 -0
- ksyun/client/krds/v20200825/client.py +238 -0
- ksyun/client/krds/v20200825/models.py +336 -0
- ksyun/client/memcached/__init__.py +0 -0
- ksyun/client/memcached/v20180627/__init__.py +0 -0
- ksyun/client/memcached/v20180627/client.py +307 -0
- ksyun/client/memcached/v20180627/models.py +317 -0
- ksyun/client/milvus/__init__.py +0 -0
- ksyun/client/milvus/v20231010/__init__.py +0 -0
- ksyun/client/milvus/v20231010/client.py +445 -0
- ksyun/client/milvus/v20231010/models.py +520 -0
- ksyun/client/mongodb/v20170101/client.py +312 -84
- ksyun/client/mongodb/v20170101/models.py +251 -34
- ksyun/client/mongodb/v20250101/__init__.py +0 -0
- ksyun/client/mongodb/v20250101/client.py +31 -0
- ksyun/client/mongodb/v20250101/models.py +18 -0
- ksyun/client/monitor/__init__.py +0 -0
- ksyun/client/monitor/v20100525/__init__.py +0 -0
- ksyun/client/monitor/v20100525/client.py +54 -0
- ksyun/client/monitor/v20100525/models.py +108 -0
- ksyun/client/monitor/v20181114/__init__.py +0 -0
- ksyun/client/monitor/v20181114/client.py +31 -0
- ksyun/client/monitor/v20181114/models.py +59 -0
- ksyun/client/monitor/v20210101/__init__.py +0 -0
- ksyun/client/monitor/v20210101/client.py +284 -0
- ksyun/client/monitor/v20210101/models.py +330 -0
- ksyun/client/monitor/v20220101/__init__.py +0 -0
- ksyun/client/monitor/v20220101/client.py +54 -0
- ksyun/client/monitor/v20220101/models.py +32 -0
- ksyun/client/monitor/v20250101/__init__.py +0 -0
- ksyun/client/monitor/v20250101/client.py +121 -0
- ksyun/client/monitor/v20250101/models.py +188 -0
- ksyun/client/pdns/__init__.py +0 -0
- ksyun/client/pdns/v20160304/__init__.py +0 -0
- ksyun/client/pdns/v20160304/client.py +813 -0
- ksyun/client/pdns/v20160304/models.py +805 -0
- ksyun/client/postgresql/__init__.py +0 -0
- ksyun/client/postgresql/v20181225/__init__.py +0 -0
- ksyun/client/postgresql/v20181225/client.py +1158 -0
- ksyun/client/postgresql/v20181225/models.py +1629 -0
- ksyun/client/rabbitmq/__init__.py +0 -0
- ksyun/client/rabbitmq/v20191017/__init__.py +0 -0
- ksyun/client/rabbitmq/v20191017/client.py +445 -0
- ksyun/client/rabbitmq/v20191017/models.py +413 -0
- ksyun/client/relyt/__init__.py +0 -0
- ksyun/client/relyt/v20240117/__init__.py +0 -0
- ksyun/client/{bill_union/v20211209 → relyt/v20240117}/client.py +10 -12
- ksyun/client/relyt/v20240117/models.py +23 -0
- ksyun/client/resourcemanager/v20210320/client.py +16 -18
- ksyun/client/sks/v20151101/client.py +11 -13
- ksyun/client/sks/v20151101/models.py +28 -2
- ksyun/client/slb/v20160304/client.py +1099 -112
- ksyun/client/slb/v20160304/models.py +1697 -24
- ksyun/client/slb/v20250430/__init__.py +0 -0
- ksyun/client/slb/v20250430/client.py +813 -0
- ksyun/client/slb/v20250430/models.py +1372 -0
- ksyun/client/sqlserver/__init__.py +0 -0
- ksyun/client/sqlserver/v20190425/__init__.py +0 -0
- ksyun/client/sqlserver/v20190425/client.py +1066 -0
- ksyun/client/sqlserver/v20190425/models.py +1528 -0
- ksyun/client/sts/v20151101/client.py +23 -2
- ksyun/client/sts/v20151101/models.py +54 -1
- ksyun/client/tagv2/v20200901/client.py +60 -16
- ksyun/client/tagv2/v20200901/models.py +56 -4
- ksyun/client/ter/__init__.py +0 -0
- ksyun/client/ter/v20240415/__init__.py +0 -0
- ksyun/client/ter/v20240415/client.py +123 -0
- ksyun/client/ter/v20240415/models.py +115 -0
- ksyun/client/tidb/__init__.py +0 -0
- ksyun/client/tidb/v20210520/__init__.py +0 -0
- ksyun/client/tidb/v20210520/client.py +928 -0
- ksyun/client/tidb/v20210520/models.py +1162 -0
- ksyun/client/trade/v20200114/client.py +2 -4
- ksyun/client/trade/v20200831/client.py +2 -4
- ksyun/client/trade/v20250220/__init__.py +0 -0
- ksyun/client/trade/v20250220/client.py +100 -0
- ksyun/client/trade/v20250220/models.py +91 -0
- ksyun/client/trade/v20250321/__init__.py +0 -0
- ksyun/client/trade/v20250321/client.py +100 -0
- ksyun/client/trade/v20250321/models.py +71 -0
- ksyun/client/trade/v20250828/__init__.py +0 -0
- ksyun/client/trade/v20250828/client.py +31 -0
- ksyun/client/trade/v20250828/models.py +81 -0
- ksyun/client/vpc/v20160304/client.py +1377 -229
- ksyun/client/vpc/v20160304/models.py +1540 -138
- ksyun/client/waf/__init__.py +0 -0
- ksyun/client/waf/v20200707/__init__.py +0 -0
- ksyun/client/waf/v20200707/client.py +468 -0
- ksyun/client/waf/v20200707/models.py +738 -0
- ksyun/common/abstract_client.py +57 -21
- ksyun/common/abstract_model.py +3 -3
- ksyun/common/common_client.py +2 -0
- ksyun/common/credential.py +2 -0
- ksyun/common/exception/ksyun_sdk_exception.py +11 -7
- ksyun/common/http/request.py +45 -6
- ksyun/common/profile/client_profile.py +3 -0
- ksyun/common/profile/http_profile.py +28 -1
- kingsoftcloud_sdk_python-1.1.1.dist-info/METADATA +0 -47
- kingsoftcloud_sdk_python-1.1.1.dist-info/RECORD +0 -105
- ksyun/client/bill_union/v20211209/models.py +0 -38
- ksyun/client/slb/v20171210/models.py +0 -33
- ksyun/common/sign.py +0 -33
- {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.49.dist-info/licenses}/LICENSE +0 -0
- {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.49.dist-info}/top_level.txt +0 -0
- /ksyun/client/{bill_union/v20211209 → aicp}/__init__.py +0 -0
- /ksyun/client/{slb/v20171210 → aicp/v20240612}/__init__.py +0 -0
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
from ksyun.common.abstract_model import AbstractModel
|
|
2
|
+
|
|
3
|
+
class CreateRepoNamespaceRequest(AbstractModel):
|
|
4
|
+
"""CreateRepoNamespace请求参数结构体
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
def __init__(self):
|
|
8
|
+
r"""创建命名空间
|
|
9
|
+
:param Namespace: 命名空间名称
|
|
10
|
+
:type PathPrefix: String
|
|
11
|
+
:param Public: 命名空间属性,决定其下的镜像仓库的属性。<br>true:公有;false:私有
|
|
12
|
+
:type PathPrefix: String
|
|
13
|
+
"""
|
|
14
|
+
self.Namespace = None
|
|
15
|
+
self.Public = None
|
|
16
|
+
|
|
17
|
+
def _deserialize(self, params):
|
|
18
|
+
if params.get("Namespace"):
|
|
19
|
+
self.Namespace = params.get("Namespace")
|
|
20
|
+
if params.get("Public"):
|
|
21
|
+
self.Public = params.get("Public")
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class DescribeRepoNamespaceRequest(AbstractModel):
|
|
25
|
+
"""DescribeRepoNamespace请求参数结构体
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
def __init__(self):
|
|
29
|
+
r"""查询命名空间
|
|
30
|
+
:param Namespace: 命名空间名称,若不填写,则默认返回该用户所有命名空间。
|
|
31
|
+
:type PathPrefix: String
|
|
32
|
+
:param MaxResults: 单次调用所返回的最大实例数目,默认20,最大99。
|
|
33
|
+
:type PathPrefix: String
|
|
34
|
+
:param Marker: 分页标识,单次调用未返回全部实例时,标记下次调用的返回值的起点,默认值是0。
|
|
35
|
+
:type PathPrefix: String
|
|
36
|
+
:param Filter:
|
|
37
|
+
:type PathPrefix: Filter
|
|
38
|
+
"""
|
|
39
|
+
self.Namespace = None
|
|
40
|
+
self.MaxResults = None
|
|
41
|
+
self.Marker = None
|
|
42
|
+
self.Filter = None
|
|
43
|
+
|
|
44
|
+
def _deserialize(self, params):
|
|
45
|
+
if params.get("Namespace"):
|
|
46
|
+
self.Namespace = params.get("Namespace")
|
|
47
|
+
if params.get("MaxResults"):
|
|
48
|
+
self.MaxResults = params.get("MaxResults")
|
|
49
|
+
if params.get("Marker"):
|
|
50
|
+
self.Marker = params.get("Marker")
|
|
51
|
+
if params.get("Filter"):
|
|
52
|
+
self.Filter = params.get("Filter")
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
class ModifyRepoNamespaceTypeRequest(AbstractModel):
|
|
56
|
+
"""ModifyRepoNamespaceType请求参数结构体
|
|
57
|
+
"""
|
|
58
|
+
|
|
59
|
+
def __init__(self):
|
|
60
|
+
r"""修改命名空间属性
|
|
61
|
+
:param Namespace: 命名空间名称
|
|
62
|
+
:type PathPrefix: String
|
|
63
|
+
:param Public: 命名空间属性:<br>true:公共;false:私有
|
|
64
|
+
:type PathPrefix: Boolean
|
|
65
|
+
"""
|
|
66
|
+
self.Namespace = None
|
|
67
|
+
self.Public = None
|
|
68
|
+
|
|
69
|
+
def _deserialize(self, params):
|
|
70
|
+
if params.get("Namespace"):
|
|
71
|
+
self.Namespace = params.get("Namespace")
|
|
72
|
+
if params.get("Public"):
|
|
73
|
+
self.Public = params.get("Public")
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
class RepoNamespaceExistRequest(AbstractModel):
|
|
77
|
+
"""RepoNamespaceExist请求参数结构体
|
|
78
|
+
"""
|
|
79
|
+
|
|
80
|
+
def __init__(self):
|
|
81
|
+
r"""查询命名空间是否存在
|
|
82
|
+
:param Namespace: 命名空间名称
|
|
83
|
+
:type PathPrefix: String
|
|
84
|
+
"""
|
|
85
|
+
self.Namespace = None
|
|
86
|
+
|
|
87
|
+
def _deserialize(self, params):
|
|
88
|
+
if params.get("Namespace"):
|
|
89
|
+
self.Namespace = params.get("Namespace")
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
class CreateRepositoryRequest(AbstractModel):
|
|
93
|
+
"""CreateRepository请求参数结构体
|
|
94
|
+
"""
|
|
95
|
+
|
|
96
|
+
def __init__(self):
|
|
97
|
+
r"""创建镜像仓库
|
|
98
|
+
:param RepoName: 镜像仓库名称,在这里我们定义reponame是命名空间/仓库,如我们要创建的仓库是nginx,所属命名空间是mynamespace,则reponame为mynamespace/nginx。
|
|
99
|
+
:type PathPrefix: String
|
|
100
|
+
:param Description: 镜像仓库描述信息
|
|
101
|
+
:type PathPrefix: String
|
|
102
|
+
"""
|
|
103
|
+
self.RepoName = None
|
|
104
|
+
self.Description = None
|
|
105
|
+
|
|
106
|
+
def _deserialize(self, params):
|
|
107
|
+
if params.get("RepoName"):
|
|
108
|
+
self.RepoName = params.get("RepoName")
|
|
109
|
+
if params.get("Description"):
|
|
110
|
+
self.Description = params.get("Description")
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
class DeleteRepositoryRequest(AbstractModel):
|
|
114
|
+
"""DeleteRepository请求参数结构体
|
|
115
|
+
"""
|
|
116
|
+
|
|
117
|
+
def __init__(self):
|
|
118
|
+
r"""删除镜像仓库
|
|
119
|
+
:param RepoName: 镜像仓库名称
|
|
120
|
+
:type PathPrefix: String
|
|
121
|
+
"""
|
|
122
|
+
self.RepoName = None
|
|
123
|
+
|
|
124
|
+
def _deserialize(self, params):
|
|
125
|
+
if params.get("RepoName"):
|
|
126
|
+
self.RepoName = params.get("RepoName")
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
class DescribeRepositoryRequest(AbstractModel):
|
|
130
|
+
"""DescribeRepository请求参数结构体
|
|
131
|
+
"""
|
|
132
|
+
|
|
133
|
+
def __init__(self):
|
|
134
|
+
r"""查询镜像仓库
|
|
135
|
+
:param RepoName: 镜像仓库名称,若不输入,则默认查询该用户的所有镜像仓库。
|
|
136
|
+
:type PathPrefix: Filter
|
|
137
|
+
:param MaxResults: 单次调用所返回的最大实例数目,默认20,最大99。
|
|
138
|
+
:type PathPrefix: Int
|
|
139
|
+
:param Marker: 分页标识,单次调用未返回全部实例时,标记下次调用的返回值的起点,默认值是0。
|
|
140
|
+
:type PathPrefix: Int
|
|
141
|
+
:param Filter:
|
|
142
|
+
:type PathPrefix: Filter
|
|
143
|
+
"""
|
|
144
|
+
self.RepoName = None
|
|
145
|
+
self.MaxResults = None
|
|
146
|
+
self.Marker = None
|
|
147
|
+
self.Filter = None
|
|
148
|
+
|
|
149
|
+
def _deserialize(self, params):
|
|
150
|
+
if params.get("RepoName"):
|
|
151
|
+
self.RepoName = params.get("RepoName")
|
|
152
|
+
if params.get("MaxResults"):
|
|
153
|
+
self.MaxResults = params.get("MaxResults")
|
|
154
|
+
if params.get("Marker"):
|
|
155
|
+
self.Marker = params.get("Marker")
|
|
156
|
+
if params.get("Filter"):
|
|
157
|
+
self.Filter = params.get("Filter")
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
class DescribePublicRepositoryRequest(AbstractModel):
|
|
161
|
+
"""DescribePublicRepository请求参数结构体
|
|
162
|
+
"""
|
|
163
|
+
|
|
164
|
+
def __init__(self):
|
|
165
|
+
r"""查询ksyun公有镜像仓库列表
|
|
166
|
+
:param RepoName: 镜像仓库名称
|
|
167
|
+
:type PathPrefix: Filter
|
|
168
|
+
:param MaxResults: 单次调用所返回的最大实例数目,默认20,最大99。
|
|
169
|
+
:type PathPrefix: Int
|
|
170
|
+
:param Marker: 分页标识,单次调用未返回全部实例时,标记下次调用的返回值的起点,默认值是0。
|
|
171
|
+
:type PathPrefix: Int
|
|
172
|
+
:param Filter:
|
|
173
|
+
:type PathPrefix: Filter
|
|
174
|
+
"""
|
|
175
|
+
self.RepoName = None
|
|
176
|
+
self.MaxResults = None
|
|
177
|
+
self.Marker = None
|
|
178
|
+
self.Filter = None
|
|
179
|
+
|
|
180
|
+
def _deserialize(self, params):
|
|
181
|
+
if params.get("RepoName"):
|
|
182
|
+
self.RepoName = params.get("RepoName")
|
|
183
|
+
if params.get("MaxResults"):
|
|
184
|
+
self.MaxResults = params.get("MaxResults")
|
|
185
|
+
if params.get("Marker"):
|
|
186
|
+
self.Marker = params.get("Marker")
|
|
187
|
+
if params.get("Filter"):
|
|
188
|
+
self.Filter = params.get("Filter")
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
class UpdateRepoDescRequest(AbstractModel):
|
|
192
|
+
"""UpdateRepoDesc请求参数结构体
|
|
193
|
+
"""
|
|
194
|
+
|
|
195
|
+
def __init__(self):
|
|
196
|
+
r"""更新仓库描述信息
|
|
197
|
+
:param RepoName: 镜像仓库名称
|
|
198
|
+
:type PathPrefix: String
|
|
199
|
+
:param Description: 镜像仓库描述内容
|
|
200
|
+
:type PathPrefix: String
|
|
201
|
+
"""
|
|
202
|
+
self.RepoName = None
|
|
203
|
+
self.Description = None
|
|
204
|
+
|
|
205
|
+
def _deserialize(self, params):
|
|
206
|
+
if params.get("RepoName"):
|
|
207
|
+
self.RepoName = params.get("RepoName")
|
|
208
|
+
if params.get("Description"):
|
|
209
|
+
self.Description = params.get("Description")
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
class DescribeTagRequest(AbstractModel):
|
|
213
|
+
"""DescribeTag请求参数结构体
|
|
214
|
+
"""
|
|
215
|
+
|
|
216
|
+
def __init__(self):
|
|
217
|
+
r"""查询镜像tag列表
|
|
218
|
+
:param RepoName: 镜像仓库名称
|
|
219
|
+
:type PathPrefix: String
|
|
220
|
+
:param MaxResults: 单次调用所返回的最大实例数目,默认20,最大99。
|
|
221
|
+
:type PathPrefix: String
|
|
222
|
+
:param Marker: 分页标识,单次调用未返回全部实例时,标记下次调用的返回值的起点,默认值是0。
|
|
223
|
+
:type PathPrefix: String
|
|
224
|
+
:param Filter:
|
|
225
|
+
:type PathPrefix: Filter
|
|
226
|
+
"""
|
|
227
|
+
self.RepoName = None
|
|
228
|
+
self.MaxResults = None
|
|
229
|
+
self.Marker = None
|
|
230
|
+
self.Filter = None
|
|
231
|
+
|
|
232
|
+
def _deserialize(self, params):
|
|
233
|
+
if params.get("RepoName"):
|
|
234
|
+
self.RepoName = params.get("RepoName")
|
|
235
|
+
if params.get("MaxResults"):
|
|
236
|
+
self.MaxResults = params.get("MaxResults")
|
|
237
|
+
if params.get("Marker"):
|
|
238
|
+
self.Marker = params.get("Marker")
|
|
239
|
+
if params.get("Filter"):
|
|
240
|
+
self.Filter = params.get("Filter")
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
class DeleteTagsRequest(AbstractModel):
|
|
244
|
+
"""DeleteTags请求参数结构体
|
|
245
|
+
"""
|
|
246
|
+
|
|
247
|
+
def __init__(self):
|
|
248
|
+
r"""删除镜像tag
|
|
249
|
+
:param RepoName: 镜像仓库名称
|
|
250
|
+
:type PathPrefix: String
|
|
251
|
+
:param Tag: 指定的镜像版本
|
|
252
|
+
:type PathPrefix: Filter
|
|
253
|
+
"""
|
|
254
|
+
self.RepoName = None
|
|
255
|
+
self.Tag = None
|
|
256
|
+
|
|
257
|
+
def _deserialize(self, params):
|
|
258
|
+
if params.get("RepoName"):
|
|
259
|
+
self.RepoName = params.get("RepoName")
|
|
260
|
+
if params.get("Tag"):
|
|
261
|
+
self.Tag = params.get("Tag")
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
class AddFavorRequest(AbstractModel):
|
|
265
|
+
"""AddFavor请求参数结构体
|
|
266
|
+
"""
|
|
267
|
+
|
|
268
|
+
def __init__(self):
|
|
269
|
+
r"""添加收藏
|
|
270
|
+
:param RepoName: 命名空间/仓库名称,如“mynamespace/myrepo”
|
|
271
|
+
:type PathPrefix: String
|
|
272
|
+
:param RepoType: 收藏的镜像仓库类型,有效值:KSYUN HUB :收藏的金山云镜像,DOCKER HUB:收藏的docker hub官方镜像
|
|
273
|
+
:type PathPrefix: String
|
|
274
|
+
"""
|
|
275
|
+
self.RepoName = None
|
|
276
|
+
self.RepoType = None
|
|
277
|
+
|
|
278
|
+
def _deserialize(self, params):
|
|
279
|
+
if params.get("RepoName"):
|
|
280
|
+
self.RepoName = params.get("RepoName")
|
|
281
|
+
if params.get("RepoType"):
|
|
282
|
+
self.RepoType = params.get("RepoType")
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
class DeleteFavorRequest(AbstractModel):
|
|
286
|
+
"""DeleteFavor请求参数结构体
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
def __init__(self):
|
|
290
|
+
r"""取消收藏
|
|
291
|
+
:param RepoName: 命名空间/仓库名称,如“mynamespace/myrepo”
|
|
292
|
+
:type PathPrefix: String
|
|
293
|
+
"""
|
|
294
|
+
self.RepoName = None
|
|
295
|
+
|
|
296
|
+
def _deserialize(self, params):
|
|
297
|
+
if params.get("RepoName"):
|
|
298
|
+
self.RepoName = params.get("RepoName")
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
class GetFavorRequest(AbstractModel):
|
|
302
|
+
"""GetFavor请求参数结构体
|
|
303
|
+
"""
|
|
304
|
+
|
|
305
|
+
def __init__(self):
|
|
306
|
+
r"""查询镜像收藏列表
|
|
307
|
+
:param MaxResults: 单次调用所返回的最大实例数目,默认20,最大99。
|
|
308
|
+
:type PathPrefix: Int
|
|
309
|
+
:param Marker: 分页标识,单次调用未返回全部实例时,标记下次调用的返回值的起点,默认值是0。
|
|
310
|
+
:type PathPrefix: Int
|
|
311
|
+
:param Keyword: 查询关键字
|
|
312
|
+
:type PathPrefix: String
|
|
313
|
+
"""
|
|
314
|
+
self.MaxResults = None
|
|
315
|
+
self.Marker = None
|
|
316
|
+
self.Keyword = None
|
|
317
|
+
|
|
318
|
+
def _deserialize(self, params):
|
|
319
|
+
if params.get("MaxResults"):
|
|
320
|
+
self.MaxResults = params.get("MaxResults")
|
|
321
|
+
if params.get("Marker"):
|
|
322
|
+
self.Marker = params.get("Marker")
|
|
323
|
+
if params.get("Keyword"):
|
|
324
|
+
self.Keyword = params.get("Keyword")
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
class RegisterRepositoryAccountRequest(AbstractModel):
|
|
328
|
+
"""RegisterRepositoryAccount请求参数结构体
|
|
329
|
+
"""
|
|
330
|
+
|
|
331
|
+
def __init__(self):
|
|
332
|
+
r"""注册镜像仓库
|
|
333
|
+
:param Password: 镜像仓库密码,限制:8-32个字符,必须包含字母、数字和特殊字符中至少两项,支持英文特殊字符!$%()*+,-./:;<=>?@[]^_`{|}~
|
|
334
|
+
:type PathPrefix: String
|
|
335
|
+
"""
|
|
336
|
+
self.Password = None
|
|
337
|
+
|
|
338
|
+
def _deserialize(self, params):
|
|
339
|
+
if params.get("Password"):
|
|
340
|
+
self.Password = params.get("Password")
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
class ModifyPasswordRequest(AbstractModel):
|
|
344
|
+
"""ModifyPassword请求参数结构体
|
|
345
|
+
"""
|
|
346
|
+
|
|
347
|
+
def __init__(self):
|
|
348
|
+
r"""修改镜像仓库密码
|
|
349
|
+
:param Password: 镜像仓库密码,限制:8-32个字符,必须包含字母、数字和特殊字符中至少两项,支持英文特殊字符!$%()*+,-./:;<=>?@[]^_`{
|
|
350
|
+
:type PathPrefix: String
|
|
351
|
+
"""
|
|
352
|
+
self.Password = None
|
|
353
|
+
|
|
354
|
+
def _deserialize(self, params):
|
|
355
|
+
if params.get("Password"):
|
|
356
|
+
self.Password = params.get("Password")
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
class DeleteRepoNamespaceRequest(AbstractModel):
|
|
360
|
+
"""DeleteRepoNamespace请求参数结构体
|
|
361
|
+
"""
|
|
362
|
+
|
|
363
|
+
def __init__(self):
|
|
364
|
+
r"""删除命名空间
|
|
365
|
+
:param Namespace: 命名空间名称
|
|
366
|
+
:type PathPrefix: String
|
|
367
|
+
"""
|
|
368
|
+
self.Namespace = None
|
|
369
|
+
|
|
370
|
+
def _deserialize(self, params):
|
|
371
|
+
if params.get("Namespace"):
|
|
372
|
+
self.Namespace = params.get("Namespace")
|
|
373
|
+
|
|
374
|
+
|
|
File without changes
|