tencentcloud-sdk-python-tcr 3.1.112__tar.gz → 3.1.158__tar.gz
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.
- {tencentcloud_sdk_python_tcr-3.1.112 → tencentcloud_sdk_python_tcr-3.1.158}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tcr-3.1.112 → tencentcloud_sdk_python_tcr-3.1.158}/setup.py +1 -1
- {tencentcloud_sdk_python_tcr-3.1.112 → tencentcloud_sdk_python_tcr-3.1.158}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tcr-3.1.112 → tencentcloud_sdk_python_tcr-3.1.158}/tencentcloud/tcr/v20190924/models.py +244 -32
- {tencentcloud_sdk_python_tcr-3.1.112 → tencentcloud_sdk_python_tcr-3.1.158}/tencentcloud/tcr/v20190924/tcr_client.py +23 -0
- {tencentcloud_sdk_python_tcr-3.1.112 → tencentcloud_sdk_python_tcr-3.1.158}/tencentcloud/tcr/v20190924/tcr_client_async.py +18 -0
- {tencentcloud_sdk_python_tcr-3.1.112 → tencentcloud_sdk_python_tcr-3.1.158}/tencentcloud_sdk_python_tcr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tcr-3.1.158/tencentcloud_sdk_python_tcr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tcr-3.1.112/tencentcloud_sdk_python_tcr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tcr-3.1.112 → tencentcloud_sdk_python_tcr-3.1.158}/README.rst +0 -0
- {tencentcloud_sdk_python_tcr-3.1.112 → tencentcloud_sdk_python_tcr-3.1.158}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tcr-3.1.112 → tencentcloud_sdk_python_tcr-3.1.158}/tencentcloud/tcr/__init__.py +0 -0
- {tencentcloud_sdk_python_tcr-3.1.112 → tencentcloud_sdk_python_tcr-3.1.158}/tencentcloud/tcr/v20190924/__init__.py +0 -0
- {tencentcloud_sdk_python_tcr-3.1.112 → tencentcloud_sdk_python_tcr-3.1.158}/tencentcloud/tcr/v20190924/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tcr-3.1.112 → tencentcloud_sdk_python_tcr-3.1.158}/tencentcloud_sdk_python_tcr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tcr-3.1.112 → tencentcloud_sdk_python_tcr-3.1.158}/tencentcloud_sdk_python_tcr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tcr-3.1.112 → tencentcloud_sdk_python_tcr-3.1.158}/tencentcloud_sdk_python_tcr.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tcr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.158
|
|
4
4
|
Summary: Tencent Cloud Tcr SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.158
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-tcr',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.158,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tcr SDK for Python',
|
|
@@ -14791,6 +14791,218 @@ class ModifyNamespaceResponse(AbstractModel):
|
|
|
14791
14791
|
self._RequestId = params.get("RequestId")
|
|
14792
14792
|
|
|
14793
14793
|
|
|
14794
|
+
class ModifyReplicationRequest(AbstractModel):
|
|
14795
|
+
r"""ModifyReplication请求参数结构体
|
|
14796
|
+
|
|
14797
|
+
"""
|
|
14798
|
+
|
|
14799
|
+
def __init__(self):
|
|
14800
|
+
r"""
|
|
14801
|
+
:param _SourceRegistryId: <p>复制源实例ID</p>
|
|
14802
|
+
:type SourceRegistryId: str
|
|
14803
|
+
:param _RuleName: <p>实例同步规则名称</p>
|
|
14804
|
+
:type RuleName: str
|
|
14805
|
+
:param _Rule: <p>同步规则</p>
|
|
14806
|
+
:type Rule: :class:`tencentcloud.tcr.v20190924.models.ModifyReplicationRule`
|
|
14807
|
+
:param _Description: <p>规则描述</p>
|
|
14808
|
+
:type Description: str
|
|
14809
|
+
"""
|
|
14810
|
+
self._SourceRegistryId = None
|
|
14811
|
+
self._RuleName = None
|
|
14812
|
+
self._Rule = None
|
|
14813
|
+
self._Description = None
|
|
14814
|
+
|
|
14815
|
+
@property
|
|
14816
|
+
def SourceRegistryId(self):
|
|
14817
|
+
r"""<p>复制源实例ID</p>
|
|
14818
|
+
:rtype: str
|
|
14819
|
+
"""
|
|
14820
|
+
return self._SourceRegistryId
|
|
14821
|
+
|
|
14822
|
+
@SourceRegistryId.setter
|
|
14823
|
+
def SourceRegistryId(self, SourceRegistryId):
|
|
14824
|
+
self._SourceRegistryId = SourceRegistryId
|
|
14825
|
+
|
|
14826
|
+
@property
|
|
14827
|
+
def RuleName(self):
|
|
14828
|
+
r"""<p>实例同步规则名称</p>
|
|
14829
|
+
:rtype: str
|
|
14830
|
+
"""
|
|
14831
|
+
return self._RuleName
|
|
14832
|
+
|
|
14833
|
+
@RuleName.setter
|
|
14834
|
+
def RuleName(self, RuleName):
|
|
14835
|
+
self._RuleName = RuleName
|
|
14836
|
+
|
|
14837
|
+
@property
|
|
14838
|
+
def Rule(self):
|
|
14839
|
+
r"""<p>同步规则</p>
|
|
14840
|
+
:rtype: :class:`tencentcloud.tcr.v20190924.models.ModifyReplicationRule`
|
|
14841
|
+
"""
|
|
14842
|
+
return self._Rule
|
|
14843
|
+
|
|
14844
|
+
@Rule.setter
|
|
14845
|
+
def Rule(self, Rule):
|
|
14846
|
+
self._Rule = Rule
|
|
14847
|
+
|
|
14848
|
+
@property
|
|
14849
|
+
def Description(self):
|
|
14850
|
+
r"""<p>规则描述</p>
|
|
14851
|
+
:rtype: str
|
|
14852
|
+
"""
|
|
14853
|
+
return self._Description
|
|
14854
|
+
|
|
14855
|
+
@Description.setter
|
|
14856
|
+
def Description(self, Description):
|
|
14857
|
+
self._Description = Description
|
|
14858
|
+
|
|
14859
|
+
|
|
14860
|
+
def _deserialize(self, params):
|
|
14861
|
+
self._SourceRegistryId = params.get("SourceRegistryId")
|
|
14862
|
+
self._RuleName = params.get("RuleName")
|
|
14863
|
+
if params.get("Rule") is not None:
|
|
14864
|
+
self._Rule = ModifyReplicationRule()
|
|
14865
|
+
self._Rule._deserialize(params.get("Rule"))
|
|
14866
|
+
self._Description = params.get("Description")
|
|
14867
|
+
memeber_set = set(params.keys())
|
|
14868
|
+
for name, value in vars(self).items():
|
|
14869
|
+
property_name = name[1:]
|
|
14870
|
+
if property_name in memeber_set:
|
|
14871
|
+
memeber_set.remove(property_name)
|
|
14872
|
+
if len(memeber_set) > 0:
|
|
14873
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14874
|
+
|
|
14875
|
+
|
|
14876
|
+
|
|
14877
|
+
class ModifyReplicationResponse(AbstractModel):
|
|
14878
|
+
r"""ModifyReplication返回参数结构体
|
|
14879
|
+
|
|
14880
|
+
"""
|
|
14881
|
+
|
|
14882
|
+
def __init__(self):
|
|
14883
|
+
r"""
|
|
14884
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14885
|
+
:type RequestId: str
|
|
14886
|
+
"""
|
|
14887
|
+
self._RequestId = None
|
|
14888
|
+
|
|
14889
|
+
@property
|
|
14890
|
+
def RequestId(self):
|
|
14891
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14892
|
+
:rtype: str
|
|
14893
|
+
"""
|
|
14894
|
+
return self._RequestId
|
|
14895
|
+
|
|
14896
|
+
@RequestId.setter
|
|
14897
|
+
def RequestId(self, RequestId):
|
|
14898
|
+
self._RequestId = RequestId
|
|
14899
|
+
|
|
14900
|
+
|
|
14901
|
+
def _deserialize(self, params):
|
|
14902
|
+
self._RequestId = params.get("RequestId")
|
|
14903
|
+
|
|
14904
|
+
|
|
14905
|
+
class ModifyReplicationRule(AbstractModel):
|
|
14906
|
+
r"""修改同步规则参数,用于 ModifyReplication 接口更新已有的实例同步规则配置。
|
|
14907
|
+
|
|
14908
|
+
"""
|
|
14909
|
+
|
|
14910
|
+
def __init__(self):
|
|
14911
|
+
r"""
|
|
14912
|
+
:param _DestNamespace: <p>目标命名空间</p>
|
|
14913
|
+
:type DestNamespace: str
|
|
14914
|
+
:param _Override: <p>是否覆盖</p>
|
|
14915
|
+
:type Override: bool
|
|
14916
|
+
:param _Deletion: <p>是否同步删除事件</p>
|
|
14917
|
+
:type Deletion: bool
|
|
14918
|
+
:param _Filters: <p>过滤同步条件</p>
|
|
14919
|
+
:type Filters: list of ReplicationFilter
|
|
14920
|
+
:param _Enabled: <p>是否开启规则</p>
|
|
14921
|
+
:type Enabled: bool
|
|
14922
|
+
"""
|
|
14923
|
+
self._DestNamespace = None
|
|
14924
|
+
self._Override = None
|
|
14925
|
+
self._Deletion = None
|
|
14926
|
+
self._Filters = None
|
|
14927
|
+
self._Enabled = None
|
|
14928
|
+
|
|
14929
|
+
@property
|
|
14930
|
+
def DestNamespace(self):
|
|
14931
|
+
r"""<p>目标命名空间</p>
|
|
14932
|
+
:rtype: str
|
|
14933
|
+
"""
|
|
14934
|
+
return self._DestNamespace
|
|
14935
|
+
|
|
14936
|
+
@DestNamespace.setter
|
|
14937
|
+
def DestNamespace(self, DestNamespace):
|
|
14938
|
+
self._DestNamespace = DestNamespace
|
|
14939
|
+
|
|
14940
|
+
@property
|
|
14941
|
+
def Override(self):
|
|
14942
|
+
r"""<p>是否覆盖</p>
|
|
14943
|
+
:rtype: bool
|
|
14944
|
+
"""
|
|
14945
|
+
return self._Override
|
|
14946
|
+
|
|
14947
|
+
@Override.setter
|
|
14948
|
+
def Override(self, Override):
|
|
14949
|
+
self._Override = Override
|
|
14950
|
+
|
|
14951
|
+
@property
|
|
14952
|
+
def Deletion(self):
|
|
14953
|
+
r"""<p>是否同步删除事件</p>
|
|
14954
|
+
:rtype: bool
|
|
14955
|
+
"""
|
|
14956
|
+
return self._Deletion
|
|
14957
|
+
|
|
14958
|
+
@Deletion.setter
|
|
14959
|
+
def Deletion(self, Deletion):
|
|
14960
|
+
self._Deletion = Deletion
|
|
14961
|
+
|
|
14962
|
+
@property
|
|
14963
|
+
def Filters(self):
|
|
14964
|
+
r"""<p>过滤同步条件</p>
|
|
14965
|
+
:rtype: list of ReplicationFilter
|
|
14966
|
+
"""
|
|
14967
|
+
return self._Filters
|
|
14968
|
+
|
|
14969
|
+
@Filters.setter
|
|
14970
|
+
def Filters(self, Filters):
|
|
14971
|
+
self._Filters = Filters
|
|
14972
|
+
|
|
14973
|
+
@property
|
|
14974
|
+
def Enabled(self):
|
|
14975
|
+
r"""<p>是否开启规则</p>
|
|
14976
|
+
:rtype: bool
|
|
14977
|
+
"""
|
|
14978
|
+
return self._Enabled
|
|
14979
|
+
|
|
14980
|
+
@Enabled.setter
|
|
14981
|
+
def Enabled(self, Enabled):
|
|
14982
|
+
self._Enabled = Enabled
|
|
14983
|
+
|
|
14984
|
+
|
|
14985
|
+
def _deserialize(self, params):
|
|
14986
|
+
self._DestNamespace = params.get("DestNamespace")
|
|
14987
|
+
self._Override = params.get("Override")
|
|
14988
|
+
self._Deletion = params.get("Deletion")
|
|
14989
|
+
if params.get("Filters") is not None:
|
|
14990
|
+
self._Filters = []
|
|
14991
|
+
for item in params.get("Filters"):
|
|
14992
|
+
obj = ReplicationFilter()
|
|
14993
|
+
obj._deserialize(item)
|
|
14994
|
+
self._Filters.append(obj)
|
|
14995
|
+
self._Enabled = params.get("Enabled")
|
|
14996
|
+
memeber_set = set(params.keys())
|
|
14997
|
+
for name, value in vars(self).items():
|
|
14998
|
+
property_name = name[1:]
|
|
14999
|
+
if property_name in memeber_set:
|
|
15000
|
+
memeber_set.remove(property_name)
|
|
15001
|
+
if len(memeber_set) > 0:
|
|
15002
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15003
|
+
|
|
15004
|
+
|
|
15005
|
+
|
|
14794
15006
|
class ModifyRepositoryAccessPersonalRequest(AbstractModel):
|
|
14795
15007
|
r"""ModifyRepositoryAccessPersonal请求参数结构体
|
|
14796
15008
|
|
|
@@ -16312,7 +16524,7 @@ class Registry(AbstractModel):
|
|
|
16312
16524
|
:type RegionId: int
|
|
16313
16525
|
:param _EnableAnonymous: <p>是否支持匿名</p>
|
|
16314
16526
|
:type EnableAnonymous: bool
|
|
16315
|
-
:param _TokenValidTime: <p>Token
|
|
16527
|
+
:param _TokenValidTime: <p>Token有效时间,单位:小时</p>
|
|
16316
16528
|
:type TokenValidTime: int
|
|
16317
16529
|
:param _InternalEndpoint: <p>实例内部访问地址</p>
|
|
16318
16530
|
:type InternalEndpoint: str
|
|
@@ -16455,7 +16667,7 @@ class Registry(AbstractModel):
|
|
|
16455
16667
|
|
|
16456
16668
|
@property
|
|
16457
16669
|
def TokenValidTime(self):
|
|
16458
|
-
r"""<p>Token
|
|
16670
|
+
r"""<p>Token有效时间,单位:小时</p>
|
|
16459
16671
|
:rtype: int
|
|
16460
16672
|
"""
|
|
16461
16673
|
return self._TokenValidTime
|
|
@@ -19279,35 +19491,35 @@ class TagInfo(AbstractModel):
|
|
|
19279
19491
|
|
|
19280
19492
|
def __init__(self):
|
|
19281
19493
|
r"""
|
|
19282
|
-
:param _TagName: Tag
|
|
19494
|
+
:param _TagName: <p>Tag名称</p>
|
|
19283
19495
|
:type TagName: str
|
|
19284
|
-
:param _TagId:
|
|
19496
|
+
:param _TagId: <p>制品的 ID</p>
|
|
19285
19497
|
:type TagId: str
|
|
19286
|
-
:param _ImageId: docker image 可以看到的id
|
|
19498
|
+
:param _ImageId: <p>docker image 可以看到的id</p>
|
|
19287
19499
|
:type ImageId: str
|
|
19288
|
-
:param _Size:
|
|
19500
|
+
:param _Size: <p>大小</p>
|
|
19289
19501
|
:type Size: str
|
|
19290
|
-
:param _CreationTime:
|
|
19502
|
+
:param _CreationTime: <p>制品的创建时间</p>
|
|
19291
19503
|
:type CreationTime: str
|
|
19292
|
-
:param _DurationDays:
|
|
19504
|
+
:param _DurationDays: <p>制品创建至今时间长度</p>
|
|
19293
19505
|
:type DurationDays: str
|
|
19294
|
-
:param _Author:
|
|
19506
|
+
:param _Author: <p>标注的制品作者</p>
|
|
19295
19507
|
:type Author: str
|
|
19296
|
-
:param _Architecture:
|
|
19508
|
+
:param _Architecture: <p>标注的制品平台</p>
|
|
19297
19509
|
:type Architecture: str
|
|
19298
|
-
:param _DockerVersion:
|
|
19510
|
+
:param _DockerVersion: <p>创建制品的 Docker 版本</p>
|
|
19299
19511
|
:type DockerVersion: str
|
|
19300
|
-
:param _OS:
|
|
19512
|
+
:param _OS: <p>标注的制品操作系统</p>
|
|
19301
19513
|
:type OS: str
|
|
19302
|
-
:param _SizeByte:
|
|
19514
|
+
:param _SizeByte: <p>制品大小,单位:Byte</p>
|
|
19303
19515
|
:type SizeByte: int
|
|
19304
|
-
:param _Id:
|
|
19516
|
+
:param _Id: <p>序号</p>
|
|
19305
19517
|
:type Id: int
|
|
19306
|
-
:param _UpdateTime:
|
|
19518
|
+
:param _UpdateTime: <p>数据更新时间</p>
|
|
19307
19519
|
:type UpdateTime: str
|
|
19308
|
-
:param _PushTime:
|
|
19520
|
+
:param _PushTime: <p>制品更新时间</p>
|
|
19309
19521
|
:type PushTime: str
|
|
19310
|
-
:param _Kind:
|
|
19522
|
+
:param _Kind: <p>制品类型</p>
|
|
19311
19523
|
:type Kind: str
|
|
19312
19524
|
"""
|
|
19313
19525
|
self._TagName = None
|
|
@@ -19328,7 +19540,7 @@ class TagInfo(AbstractModel):
|
|
|
19328
19540
|
|
|
19329
19541
|
@property
|
|
19330
19542
|
def TagName(self):
|
|
19331
|
-
r"""Tag
|
|
19543
|
+
r"""<p>Tag名称</p>
|
|
19332
19544
|
:rtype: str
|
|
19333
19545
|
"""
|
|
19334
19546
|
return self._TagName
|
|
@@ -19339,7 +19551,7 @@ class TagInfo(AbstractModel):
|
|
|
19339
19551
|
|
|
19340
19552
|
@property
|
|
19341
19553
|
def TagId(self):
|
|
19342
|
-
r"""
|
|
19554
|
+
r"""<p>制品的 ID</p>
|
|
19343
19555
|
:rtype: str
|
|
19344
19556
|
"""
|
|
19345
19557
|
return self._TagId
|
|
@@ -19350,7 +19562,7 @@ class TagInfo(AbstractModel):
|
|
|
19350
19562
|
|
|
19351
19563
|
@property
|
|
19352
19564
|
def ImageId(self):
|
|
19353
|
-
r"""docker image 可以看到的id
|
|
19565
|
+
r"""<p>docker image 可以看到的id</p>
|
|
19354
19566
|
:rtype: str
|
|
19355
19567
|
"""
|
|
19356
19568
|
return self._ImageId
|
|
@@ -19361,7 +19573,7 @@ class TagInfo(AbstractModel):
|
|
|
19361
19573
|
|
|
19362
19574
|
@property
|
|
19363
19575
|
def Size(self):
|
|
19364
|
-
r"""
|
|
19576
|
+
r"""<p>大小</p>
|
|
19365
19577
|
:rtype: str
|
|
19366
19578
|
"""
|
|
19367
19579
|
return self._Size
|
|
@@ -19372,7 +19584,7 @@ class TagInfo(AbstractModel):
|
|
|
19372
19584
|
|
|
19373
19585
|
@property
|
|
19374
19586
|
def CreationTime(self):
|
|
19375
|
-
r"""
|
|
19587
|
+
r"""<p>制品的创建时间</p>
|
|
19376
19588
|
:rtype: str
|
|
19377
19589
|
"""
|
|
19378
19590
|
return self._CreationTime
|
|
@@ -19383,7 +19595,7 @@ class TagInfo(AbstractModel):
|
|
|
19383
19595
|
|
|
19384
19596
|
@property
|
|
19385
19597
|
def DurationDays(self):
|
|
19386
|
-
r"""
|
|
19598
|
+
r"""<p>制品创建至今时间长度</p>
|
|
19387
19599
|
:rtype: str
|
|
19388
19600
|
"""
|
|
19389
19601
|
return self._DurationDays
|
|
@@ -19394,7 +19606,7 @@ class TagInfo(AbstractModel):
|
|
|
19394
19606
|
|
|
19395
19607
|
@property
|
|
19396
19608
|
def Author(self):
|
|
19397
|
-
r"""
|
|
19609
|
+
r"""<p>标注的制品作者</p>
|
|
19398
19610
|
:rtype: str
|
|
19399
19611
|
"""
|
|
19400
19612
|
return self._Author
|
|
@@ -19405,7 +19617,7 @@ class TagInfo(AbstractModel):
|
|
|
19405
19617
|
|
|
19406
19618
|
@property
|
|
19407
19619
|
def Architecture(self):
|
|
19408
|
-
r"""
|
|
19620
|
+
r"""<p>标注的制品平台</p>
|
|
19409
19621
|
:rtype: str
|
|
19410
19622
|
"""
|
|
19411
19623
|
return self._Architecture
|
|
@@ -19416,7 +19628,7 @@ class TagInfo(AbstractModel):
|
|
|
19416
19628
|
|
|
19417
19629
|
@property
|
|
19418
19630
|
def DockerVersion(self):
|
|
19419
|
-
r"""
|
|
19631
|
+
r"""<p>创建制品的 Docker 版本</p>
|
|
19420
19632
|
:rtype: str
|
|
19421
19633
|
"""
|
|
19422
19634
|
return self._DockerVersion
|
|
@@ -19427,7 +19639,7 @@ class TagInfo(AbstractModel):
|
|
|
19427
19639
|
|
|
19428
19640
|
@property
|
|
19429
19641
|
def OS(self):
|
|
19430
|
-
r"""
|
|
19642
|
+
r"""<p>标注的制品操作系统</p>
|
|
19431
19643
|
:rtype: str
|
|
19432
19644
|
"""
|
|
19433
19645
|
return self._OS
|
|
@@ -19438,7 +19650,7 @@ class TagInfo(AbstractModel):
|
|
|
19438
19650
|
|
|
19439
19651
|
@property
|
|
19440
19652
|
def SizeByte(self):
|
|
19441
|
-
r"""
|
|
19653
|
+
r"""<p>制品大小,单位:Byte</p>
|
|
19442
19654
|
:rtype: int
|
|
19443
19655
|
"""
|
|
19444
19656
|
return self._SizeByte
|
|
@@ -19449,7 +19661,7 @@ class TagInfo(AbstractModel):
|
|
|
19449
19661
|
|
|
19450
19662
|
@property
|
|
19451
19663
|
def Id(self):
|
|
19452
|
-
r"""
|
|
19664
|
+
r"""<p>序号</p>
|
|
19453
19665
|
:rtype: int
|
|
19454
19666
|
"""
|
|
19455
19667
|
return self._Id
|
|
@@ -19460,7 +19672,7 @@ class TagInfo(AbstractModel):
|
|
|
19460
19672
|
|
|
19461
19673
|
@property
|
|
19462
19674
|
def UpdateTime(self):
|
|
19463
|
-
r"""
|
|
19675
|
+
r"""<p>数据更新时间</p>
|
|
19464
19676
|
:rtype: str
|
|
19465
19677
|
"""
|
|
19466
19678
|
return self._UpdateTime
|
|
@@ -19471,7 +19683,7 @@ class TagInfo(AbstractModel):
|
|
|
19471
19683
|
|
|
19472
19684
|
@property
|
|
19473
19685
|
def PushTime(self):
|
|
19474
|
-
r"""
|
|
19686
|
+
r"""<p>制品更新时间</p>
|
|
19475
19687
|
:rtype: str
|
|
19476
19688
|
"""
|
|
19477
19689
|
return self._PushTime
|
|
@@ -19482,7 +19694,7 @@ class TagInfo(AbstractModel):
|
|
|
19482
19694
|
|
|
19483
19695
|
@property
|
|
19484
19696
|
def Kind(self):
|
|
19485
|
-
r"""
|
|
19697
|
+
r"""<p>制品类型</p>
|
|
19486
19698
|
:rtype: str
|
|
19487
19699
|
"""
|
|
19488
19700
|
return self._Kind
|
|
@@ -2581,6 +2581,29 @@ class TcrClient(AbstractClient):
|
|
|
2581
2581
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2582
2582
|
|
|
2583
2583
|
|
|
2584
|
+
def ModifyReplication(self, request):
|
|
2585
|
+
r"""修改实例同步规则
|
|
2586
|
+
|
|
2587
|
+
:param request: Request instance for ModifyReplication.
|
|
2588
|
+
:type request: :class:`tencentcloud.tcr.v20190924.models.ModifyReplicationRequest`
|
|
2589
|
+
:rtype: :class:`tencentcloud.tcr.v20190924.models.ModifyReplicationResponse`
|
|
2590
|
+
|
|
2591
|
+
"""
|
|
2592
|
+
try:
|
|
2593
|
+
params = request._serialize()
|
|
2594
|
+
headers = request.headers
|
|
2595
|
+
body = self.call("ModifyReplication", params, headers=headers)
|
|
2596
|
+
response = json.loads(body)
|
|
2597
|
+
model = models.ModifyReplicationResponse()
|
|
2598
|
+
model._deserialize(response["Response"])
|
|
2599
|
+
return model
|
|
2600
|
+
except Exception as e:
|
|
2601
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2602
|
+
raise
|
|
2603
|
+
else:
|
|
2604
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2605
|
+
|
|
2606
|
+
|
|
2584
2607
|
def ModifyRepository(self, request):
|
|
2585
2608
|
r"""更新镜像仓库信息,可修改仓库描述信息
|
|
2586
2609
|
|
|
@@ -2025,6 +2025,24 @@ class TcrClient(AbstractClient):
|
|
|
2025
2025
|
|
|
2026
2026
|
return await self.call_and_deserialize(**kwargs)
|
|
2027
2027
|
|
|
2028
|
+
async def ModifyReplication(
|
|
2029
|
+
self,
|
|
2030
|
+
request: models.ModifyReplicationRequest,
|
|
2031
|
+
opts: Dict = None,
|
|
2032
|
+
) -> models.ModifyReplicationResponse:
|
|
2033
|
+
"""
|
|
2034
|
+
修改实例同步规则
|
|
2035
|
+
"""
|
|
2036
|
+
|
|
2037
|
+
kwargs = {}
|
|
2038
|
+
kwargs["action"] = "ModifyReplication"
|
|
2039
|
+
kwargs["params"] = request._serialize()
|
|
2040
|
+
kwargs["resp_cls"] = models.ModifyReplicationResponse
|
|
2041
|
+
kwargs["headers"] = request.headers
|
|
2042
|
+
kwargs["opts"] = opts or {}
|
|
2043
|
+
|
|
2044
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2045
|
+
|
|
2028
2046
|
async def ModifyRepository(
|
|
2029
2047
|
self,
|
|
2030
2048
|
request: models.ModifyRepositoryRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tcr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.158
|
|
4
4
|
Summary: Tencent Cloud Tcr SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.158
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.158
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.112
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|