tencentcloud-sdk-python-tcr 3.1.158__tar.gz → 3.1.171__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.158 → tencentcloud_sdk_python_tcr-3.1.171}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tcr-3.1.158 → tencentcloud_sdk_python_tcr-3.1.171}/setup.py +1 -1
- {tencentcloud_sdk_python_tcr-3.1.158 → tencentcloud_sdk_python_tcr-3.1.171}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tcr-3.1.158 → tencentcloud_sdk_python_tcr-3.1.171}/tencentcloud/tcr/v20190924/models.py +613 -24
- {tencentcloud_sdk_python_tcr-3.1.158 → tencentcloud_sdk_python_tcr-3.1.171}/tencentcloud/tcr/v20190924/tcr_client.py +46 -0
- {tencentcloud_sdk_python_tcr-3.1.158 → tencentcloud_sdk_python_tcr-3.1.171}/tencentcloud/tcr/v20190924/tcr_client_async.py +36 -0
- {tencentcloud_sdk_python_tcr-3.1.158 → tencentcloud_sdk_python_tcr-3.1.171}/tencentcloud_sdk_python_tcr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tcr-3.1.171/tencentcloud_sdk_python_tcr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tcr-3.1.158/tencentcloud_sdk_python_tcr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tcr-3.1.158 → tencentcloud_sdk_python_tcr-3.1.171}/README.rst +0 -0
- {tencentcloud_sdk_python_tcr-3.1.158 → tencentcloud_sdk_python_tcr-3.1.171}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tcr-3.1.158 → tencentcloud_sdk_python_tcr-3.1.171}/tencentcloud/tcr/__init__.py +0 -0
- {tencentcloud_sdk_python_tcr-3.1.158 → tencentcloud_sdk_python_tcr-3.1.171}/tencentcloud/tcr/v20190924/__init__.py +0 -0
- {tencentcloud_sdk_python_tcr-3.1.158 → tencentcloud_sdk_python_tcr-3.1.171}/tencentcloud/tcr/v20190924/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tcr-3.1.158 → tencentcloud_sdk_python_tcr-3.1.171}/tencentcloud_sdk_python_tcr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tcr-3.1.158 → tencentcloud_sdk_python_tcr-3.1.171}/tencentcloud_sdk_python_tcr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tcr-3.1.158 → tencentcloud_sdk_python_tcr-3.1.171}/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.171
|
|
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.171
|
|
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.171,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tcr SDK for Python',
|
|
@@ -8854,6 +8854,167 @@ class DescribeRegionsResponse(AbstractModel):
|
|
|
8854
8854
|
self._RequestId = params.get("RequestId")
|
|
8855
8855
|
|
|
8856
8856
|
|
|
8857
|
+
class DescribeReplicationExecutionsRequest(AbstractModel):
|
|
8858
|
+
r"""DescribeReplicationExecutions请求参数结构体
|
|
8859
|
+
|
|
8860
|
+
"""
|
|
8861
|
+
|
|
8862
|
+
def __init__(self):
|
|
8863
|
+
r"""
|
|
8864
|
+
:param _RegistryId: 实例ID
|
|
8865
|
+
:type RegistryId: str
|
|
8866
|
+
:param _PolicyId: 策略ID
|
|
8867
|
+
:type PolicyId: int
|
|
8868
|
+
:param _ReplicationInstanceId: 复制实例ID
|
|
8869
|
+
:type ReplicationInstanceId: str
|
|
8870
|
+
:param _Page: 页数,默认为1
|
|
8871
|
+
:type Page: int
|
|
8872
|
+
:param _PageSize: 每页展示个数,默认为100
|
|
8873
|
+
:type PageSize: int
|
|
8874
|
+
"""
|
|
8875
|
+
self._RegistryId = None
|
|
8876
|
+
self._PolicyId = None
|
|
8877
|
+
self._ReplicationInstanceId = None
|
|
8878
|
+
self._Page = None
|
|
8879
|
+
self._PageSize = None
|
|
8880
|
+
|
|
8881
|
+
@property
|
|
8882
|
+
def RegistryId(self):
|
|
8883
|
+
r"""实例ID
|
|
8884
|
+
:rtype: str
|
|
8885
|
+
"""
|
|
8886
|
+
return self._RegistryId
|
|
8887
|
+
|
|
8888
|
+
@RegistryId.setter
|
|
8889
|
+
def RegistryId(self, RegistryId):
|
|
8890
|
+
self._RegistryId = RegistryId
|
|
8891
|
+
|
|
8892
|
+
@property
|
|
8893
|
+
def PolicyId(self):
|
|
8894
|
+
r"""策略ID
|
|
8895
|
+
:rtype: int
|
|
8896
|
+
"""
|
|
8897
|
+
return self._PolicyId
|
|
8898
|
+
|
|
8899
|
+
@PolicyId.setter
|
|
8900
|
+
def PolicyId(self, PolicyId):
|
|
8901
|
+
self._PolicyId = PolicyId
|
|
8902
|
+
|
|
8903
|
+
@property
|
|
8904
|
+
def ReplicationInstanceId(self):
|
|
8905
|
+
r"""复制实例ID
|
|
8906
|
+
:rtype: str
|
|
8907
|
+
"""
|
|
8908
|
+
return self._ReplicationInstanceId
|
|
8909
|
+
|
|
8910
|
+
@ReplicationInstanceId.setter
|
|
8911
|
+
def ReplicationInstanceId(self, ReplicationInstanceId):
|
|
8912
|
+
self._ReplicationInstanceId = ReplicationInstanceId
|
|
8913
|
+
|
|
8914
|
+
@property
|
|
8915
|
+
def Page(self):
|
|
8916
|
+
r"""页数,默认为1
|
|
8917
|
+
:rtype: int
|
|
8918
|
+
"""
|
|
8919
|
+
return self._Page
|
|
8920
|
+
|
|
8921
|
+
@Page.setter
|
|
8922
|
+
def Page(self, Page):
|
|
8923
|
+
self._Page = Page
|
|
8924
|
+
|
|
8925
|
+
@property
|
|
8926
|
+
def PageSize(self):
|
|
8927
|
+
r"""每页展示个数,默认为100
|
|
8928
|
+
:rtype: int
|
|
8929
|
+
"""
|
|
8930
|
+
return self._PageSize
|
|
8931
|
+
|
|
8932
|
+
@PageSize.setter
|
|
8933
|
+
def PageSize(self, PageSize):
|
|
8934
|
+
self._PageSize = PageSize
|
|
8935
|
+
|
|
8936
|
+
|
|
8937
|
+
def _deserialize(self, params):
|
|
8938
|
+
self._RegistryId = params.get("RegistryId")
|
|
8939
|
+
self._PolicyId = params.get("PolicyId")
|
|
8940
|
+
self._ReplicationInstanceId = params.get("ReplicationInstanceId")
|
|
8941
|
+
self._Page = params.get("Page")
|
|
8942
|
+
self._PageSize = params.get("PageSize")
|
|
8943
|
+
memeber_set = set(params.keys())
|
|
8944
|
+
for name, value in vars(self).items():
|
|
8945
|
+
property_name = name[1:]
|
|
8946
|
+
if property_name in memeber_set:
|
|
8947
|
+
memeber_set.remove(property_name)
|
|
8948
|
+
if len(memeber_set) > 0:
|
|
8949
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8950
|
+
|
|
8951
|
+
|
|
8952
|
+
|
|
8953
|
+
class DescribeReplicationExecutionsResponse(AbstractModel):
|
|
8954
|
+
r"""DescribeReplicationExecutions返回参数结构体
|
|
8955
|
+
|
|
8956
|
+
"""
|
|
8957
|
+
|
|
8958
|
+
def __init__(self):
|
|
8959
|
+
r"""
|
|
8960
|
+
:param _ReplicationExecutionList: 镜像分发执行记录列表
|
|
8961
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8962
|
+
:type ReplicationExecutionList: list of ReplicationExecution
|
|
8963
|
+
:param _TotalCount: 执行记录总数
|
|
8964
|
+
:type TotalCount: int
|
|
8965
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8966
|
+
:type RequestId: str
|
|
8967
|
+
"""
|
|
8968
|
+
self._ReplicationExecutionList = None
|
|
8969
|
+
self._TotalCount = None
|
|
8970
|
+
self._RequestId = None
|
|
8971
|
+
|
|
8972
|
+
@property
|
|
8973
|
+
def ReplicationExecutionList(self):
|
|
8974
|
+
r"""镜像分发执行记录列表
|
|
8975
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8976
|
+
:rtype: list of ReplicationExecution
|
|
8977
|
+
"""
|
|
8978
|
+
return self._ReplicationExecutionList
|
|
8979
|
+
|
|
8980
|
+
@ReplicationExecutionList.setter
|
|
8981
|
+
def ReplicationExecutionList(self, ReplicationExecutionList):
|
|
8982
|
+
self._ReplicationExecutionList = ReplicationExecutionList
|
|
8983
|
+
|
|
8984
|
+
@property
|
|
8985
|
+
def TotalCount(self):
|
|
8986
|
+
r"""执行记录总数
|
|
8987
|
+
:rtype: int
|
|
8988
|
+
"""
|
|
8989
|
+
return self._TotalCount
|
|
8990
|
+
|
|
8991
|
+
@TotalCount.setter
|
|
8992
|
+
def TotalCount(self, TotalCount):
|
|
8993
|
+
self._TotalCount = TotalCount
|
|
8994
|
+
|
|
8995
|
+
@property
|
|
8996
|
+
def RequestId(self):
|
|
8997
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8998
|
+
:rtype: str
|
|
8999
|
+
"""
|
|
9000
|
+
return self._RequestId
|
|
9001
|
+
|
|
9002
|
+
@RequestId.setter
|
|
9003
|
+
def RequestId(self, RequestId):
|
|
9004
|
+
self._RequestId = RequestId
|
|
9005
|
+
|
|
9006
|
+
|
|
9007
|
+
def _deserialize(self, params):
|
|
9008
|
+
if params.get("ReplicationExecutionList") is not None:
|
|
9009
|
+
self._ReplicationExecutionList = []
|
|
9010
|
+
for item in params.get("ReplicationExecutionList"):
|
|
9011
|
+
obj = ReplicationExecution()
|
|
9012
|
+
obj._deserialize(item)
|
|
9013
|
+
self._ReplicationExecutionList.append(obj)
|
|
9014
|
+
self._TotalCount = params.get("TotalCount")
|
|
9015
|
+
self._RequestId = params.get("RequestId")
|
|
9016
|
+
|
|
9017
|
+
|
|
8857
9018
|
class DescribeReplicationInstanceCreateTasksRequest(AbstractModel):
|
|
8858
9019
|
r"""DescribeReplicationInstanceCreateTasks请求参数结构体
|
|
8859
9020
|
|
|
@@ -9420,6 +9581,152 @@ class DescribeReplicationPoliciesResponse(AbstractModel):
|
|
|
9420
9581
|
self._RequestId = params.get("RequestId")
|
|
9421
9582
|
|
|
9422
9583
|
|
|
9584
|
+
class DescribeReplicationTasksRequest(AbstractModel):
|
|
9585
|
+
r"""DescribeReplicationTasks请求参数结构体
|
|
9586
|
+
|
|
9587
|
+
"""
|
|
9588
|
+
|
|
9589
|
+
def __init__(self):
|
|
9590
|
+
r"""
|
|
9591
|
+
:param _RegistryId: 实例ID
|
|
9592
|
+
:type RegistryId: str
|
|
9593
|
+
:param _ExecutionId: 执行记录ID
|
|
9594
|
+
:type ExecutionId: int
|
|
9595
|
+
:param _Page: 页数,默认为1
|
|
9596
|
+
:type Page: int
|
|
9597
|
+
:param _PageSize: 每页展示个数,默认为100
|
|
9598
|
+
:type PageSize: int
|
|
9599
|
+
"""
|
|
9600
|
+
self._RegistryId = None
|
|
9601
|
+
self._ExecutionId = None
|
|
9602
|
+
self._Page = None
|
|
9603
|
+
self._PageSize = None
|
|
9604
|
+
|
|
9605
|
+
@property
|
|
9606
|
+
def RegistryId(self):
|
|
9607
|
+
r"""实例ID
|
|
9608
|
+
:rtype: str
|
|
9609
|
+
"""
|
|
9610
|
+
return self._RegistryId
|
|
9611
|
+
|
|
9612
|
+
@RegistryId.setter
|
|
9613
|
+
def RegistryId(self, RegistryId):
|
|
9614
|
+
self._RegistryId = RegistryId
|
|
9615
|
+
|
|
9616
|
+
@property
|
|
9617
|
+
def ExecutionId(self):
|
|
9618
|
+
r"""执行记录ID
|
|
9619
|
+
:rtype: int
|
|
9620
|
+
"""
|
|
9621
|
+
return self._ExecutionId
|
|
9622
|
+
|
|
9623
|
+
@ExecutionId.setter
|
|
9624
|
+
def ExecutionId(self, ExecutionId):
|
|
9625
|
+
self._ExecutionId = ExecutionId
|
|
9626
|
+
|
|
9627
|
+
@property
|
|
9628
|
+
def Page(self):
|
|
9629
|
+
r"""页数,默认为1
|
|
9630
|
+
:rtype: int
|
|
9631
|
+
"""
|
|
9632
|
+
return self._Page
|
|
9633
|
+
|
|
9634
|
+
@Page.setter
|
|
9635
|
+
def Page(self, Page):
|
|
9636
|
+
self._Page = Page
|
|
9637
|
+
|
|
9638
|
+
@property
|
|
9639
|
+
def PageSize(self):
|
|
9640
|
+
r"""每页展示个数,默认为100
|
|
9641
|
+
:rtype: int
|
|
9642
|
+
"""
|
|
9643
|
+
return self._PageSize
|
|
9644
|
+
|
|
9645
|
+
@PageSize.setter
|
|
9646
|
+
def PageSize(self, PageSize):
|
|
9647
|
+
self._PageSize = PageSize
|
|
9648
|
+
|
|
9649
|
+
|
|
9650
|
+
def _deserialize(self, params):
|
|
9651
|
+
self._RegistryId = params.get("RegistryId")
|
|
9652
|
+
self._ExecutionId = params.get("ExecutionId")
|
|
9653
|
+
self._Page = params.get("Page")
|
|
9654
|
+
self._PageSize = params.get("PageSize")
|
|
9655
|
+
memeber_set = set(params.keys())
|
|
9656
|
+
for name, value in vars(self).items():
|
|
9657
|
+
property_name = name[1:]
|
|
9658
|
+
if property_name in memeber_set:
|
|
9659
|
+
memeber_set.remove(property_name)
|
|
9660
|
+
if len(memeber_set) > 0:
|
|
9661
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9662
|
+
|
|
9663
|
+
|
|
9664
|
+
|
|
9665
|
+
class DescribeReplicationTasksResponse(AbstractModel):
|
|
9666
|
+
r"""DescribeReplicationTasks返回参数结构体
|
|
9667
|
+
|
|
9668
|
+
"""
|
|
9669
|
+
|
|
9670
|
+
def __init__(self):
|
|
9671
|
+
r"""
|
|
9672
|
+
:param _ReplicationTaskList: 任务列表
|
|
9673
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9674
|
+
:type ReplicationTaskList: list of ReplicationTask
|
|
9675
|
+
:param _TotalCount: 任务列表总数
|
|
9676
|
+
:type TotalCount: int
|
|
9677
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9678
|
+
:type RequestId: str
|
|
9679
|
+
"""
|
|
9680
|
+
self._ReplicationTaskList = None
|
|
9681
|
+
self._TotalCount = None
|
|
9682
|
+
self._RequestId = None
|
|
9683
|
+
|
|
9684
|
+
@property
|
|
9685
|
+
def ReplicationTaskList(self):
|
|
9686
|
+
r"""任务列表
|
|
9687
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9688
|
+
:rtype: list of ReplicationTask
|
|
9689
|
+
"""
|
|
9690
|
+
return self._ReplicationTaskList
|
|
9691
|
+
|
|
9692
|
+
@ReplicationTaskList.setter
|
|
9693
|
+
def ReplicationTaskList(self, ReplicationTaskList):
|
|
9694
|
+
self._ReplicationTaskList = ReplicationTaskList
|
|
9695
|
+
|
|
9696
|
+
@property
|
|
9697
|
+
def TotalCount(self):
|
|
9698
|
+
r"""任务列表总数
|
|
9699
|
+
:rtype: int
|
|
9700
|
+
"""
|
|
9701
|
+
return self._TotalCount
|
|
9702
|
+
|
|
9703
|
+
@TotalCount.setter
|
|
9704
|
+
def TotalCount(self, TotalCount):
|
|
9705
|
+
self._TotalCount = TotalCount
|
|
9706
|
+
|
|
9707
|
+
@property
|
|
9708
|
+
def RequestId(self):
|
|
9709
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9710
|
+
:rtype: str
|
|
9711
|
+
"""
|
|
9712
|
+
return self._RequestId
|
|
9713
|
+
|
|
9714
|
+
@RequestId.setter
|
|
9715
|
+
def RequestId(self, RequestId):
|
|
9716
|
+
self._RequestId = RequestId
|
|
9717
|
+
|
|
9718
|
+
|
|
9719
|
+
def _deserialize(self, params):
|
|
9720
|
+
if params.get("ReplicationTaskList") is not None:
|
|
9721
|
+
self._ReplicationTaskList = []
|
|
9722
|
+
for item in params.get("ReplicationTaskList"):
|
|
9723
|
+
obj = ReplicationTask()
|
|
9724
|
+
obj._deserialize(item)
|
|
9725
|
+
self._ReplicationTaskList.append(obj)
|
|
9726
|
+
self._TotalCount = params.get("TotalCount")
|
|
9727
|
+
self._RequestId = params.get("RequestId")
|
|
9728
|
+
|
|
9729
|
+
|
|
9423
9730
|
class DescribeRepositoriesRequest(AbstractModel):
|
|
9424
9731
|
r"""DescribeRepositories请求参数结构体
|
|
9425
9732
|
|
|
@@ -15924,11 +16231,11 @@ class ModifyWebhookTriggerRequest(AbstractModel):
|
|
|
15924
16231
|
|
|
15925
16232
|
def __init__(self):
|
|
15926
16233
|
r"""
|
|
15927
|
-
:param _RegistryId:
|
|
16234
|
+
:param _RegistryId: <p>实例Id</p>
|
|
15928
16235
|
:type RegistryId: str
|
|
15929
|
-
:param _Trigger:
|
|
16236
|
+
:param _Trigger: <p>触发器参数</p>
|
|
15930
16237
|
:type Trigger: :class:`tencentcloud.tcr.v20190924.models.WebhookTrigger`
|
|
15931
|
-
:param _Namespace:
|
|
16238
|
+
:param _Namespace: <p>命名空间</p>
|
|
15932
16239
|
:type Namespace: str
|
|
15933
16240
|
"""
|
|
15934
16241
|
self._RegistryId = None
|
|
@@ -15937,7 +16244,7 @@ class ModifyWebhookTriggerRequest(AbstractModel):
|
|
|
15937
16244
|
|
|
15938
16245
|
@property
|
|
15939
16246
|
def RegistryId(self):
|
|
15940
|
-
r"""
|
|
16247
|
+
r"""<p>实例Id</p>
|
|
15941
16248
|
:rtype: str
|
|
15942
16249
|
"""
|
|
15943
16250
|
return self._RegistryId
|
|
@@ -15948,7 +16255,7 @@ class ModifyWebhookTriggerRequest(AbstractModel):
|
|
|
15948
16255
|
|
|
15949
16256
|
@property
|
|
15950
16257
|
def Trigger(self):
|
|
15951
|
-
r"""
|
|
16258
|
+
r"""<p>触发器参数</p>
|
|
15952
16259
|
:rtype: :class:`tencentcloud.tcr.v20190924.models.WebhookTrigger`
|
|
15953
16260
|
"""
|
|
15954
16261
|
return self._Trigger
|
|
@@ -15959,7 +16266,7 @@ class ModifyWebhookTriggerRequest(AbstractModel):
|
|
|
15959
16266
|
|
|
15960
16267
|
@property
|
|
15961
16268
|
def Namespace(self):
|
|
15962
|
-
r"""
|
|
16269
|
+
r"""<p>命名空间</p>
|
|
15963
16270
|
:rtype: str
|
|
15964
16271
|
"""
|
|
15965
16272
|
return self._Namespace
|
|
@@ -17108,6 +17415,146 @@ class RenewInstanceResponse(AbstractModel):
|
|
|
17108
17415
|
self._RequestId = params.get("RequestId")
|
|
17109
17416
|
|
|
17110
17417
|
|
|
17418
|
+
class ReplicationExecution(AbstractModel):
|
|
17419
|
+
r"""策略执行记录
|
|
17420
|
+
|
|
17421
|
+
"""
|
|
17422
|
+
|
|
17423
|
+
def __init__(self):
|
|
17424
|
+
r"""
|
|
17425
|
+
:param _ExecutionID: 执行记录ID
|
|
17426
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17427
|
+
:type ExecutionID: int
|
|
17428
|
+
:param _PolicyID: 策略ID
|
|
17429
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17430
|
+
:type PolicyID: int
|
|
17431
|
+
:param _Status: 执行状态
|
|
17432
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17433
|
+
:type Status: str
|
|
17434
|
+
:param _Total: 执行任务总数
|
|
17435
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17436
|
+
:type Total: int
|
|
17437
|
+
:param _Succeed: 执行任务成功数
|
|
17438
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17439
|
+
:type Succeed: int
|
|
17440
|
+
:param _StartTime: 开始时间
|
|
17441
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17442
|
+
:type StartTime: str
|
|
17443
|
+
:param _EndTime: 结束时间
|
|
17444
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17445
|
+
:type EndTime: str
|
|
17446
|
+
"""
|
|
17447
|
+
self._ExecutionID = None
|
|
17448
|
+
self._PolicyID = None
|
|
17449
|
+
self._Status = None
|
|
17450
|
+
self._Total = None
|
|
17451
|
+
self._Succeed = None
|
|
17452
|
+
self._StartTime = None
|
|
17453
|
+
self._EndTime = None
|
|
17454
|
+
|
|
17455
|
+
@property
|
|
17456
|
+
def ExecutionID(self):
|
|
17457
|
+
r"""执行记录ID
|
|
17458
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17459
|
+
:rtype: int
|
|
17460
|
+
"""
|
|
17461
|
+
return self._ExecutionID
|
|
17462
|
+
|
|
17463
|
+
@ExecutionID.setter
|
|
17464
|
+
def ExecutionID(self, ExecutionID):
|
|
17465
|
+
self._ExecutionID = ExecutionID
|
|
17466
|
+
|
|
17467
|
+
@property
|
|
17468
|
+
def PolicyID(self):
|
|
17469
|
+
r"""策略ID
|
|
17470
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17471
|
+
:rtype: int
|
|
17472
|
+
"""
|
|
17473
|
+
return self._PolicyID
|
|
17474
|
+
|
|
17475
|
+
@PolicyID.setter
|
|
17476
|
+
def PolicyID(self, PolicyID):
|
|
17477
|
+
self._PolicyID = PolicyID
|
|
17478
|
+
|
|
17479
|
+
@property
|
|
17480
|
+
def Status(self):
|
|
17481
|
+
r"""执行状态
|
|
17482
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17483
|
+
:rtype: str
|
|
17484
|
+
"""
|
|
17485
|
+
return self._Status
|
|
17486
|
+
|
|
17487
|
+
@Status.setter
|
|
17488
|
+
def Status(self, Status):
|
|
17489
|
+
self._Status = Status
|
|
17490
|
+
|
|
17491
|
+
@property
|
|
17492
|
+
def Total(self):
|
|
17493
|
+
r"""执行任务总数
|
|
17494
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17495
|
+
:rtype: int
|
|
17496
|
+
"""
|
|
17497
|
+
return self._Total
|
|
17498
|
+
|
|
17499
|
+
@Total.setter
|
|
17500
|
+
def Total(self, Total):
|
|
17501
|
+
self._Total = Total
|
|
17502
|
+
|
|
17503
|
+
@property
|
|
17504
|
+
def Succeed(self):
|
|
17505
|
+
r"""执行任务成功数
|
|
17506
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17507
|
+
:rtype: int
|
|
17508
|
+
"""
|
|
17509
|
+
return self._Succeed
|
|
17510
|
+
|
|
17511
|
+
@Succeed.setter
|
|
17512
|
+
def Succeed(self, Succeed):
|
|
17513
|
+
self._Succeed = Succeed
|
|
17514
|
+
|
|
17515
|
+
@property
|
|
17516
|
+
def StartTime(self):
|
|
17517
|
+
r"""开始时间
|
|
17518
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17519
|
+
:rtype: str
|
|
17520
|
+
"""
|
|
17521
|
+
return self._StartTime
|
|
17522
|
+
|
|
17523
|
+
@StartTime.setter
|
|
17524
|
+
def StartTime(self, StartTime):
|
|
17525
|
+
self._StartTime = StartTime
|
|
17526
|
+
|
|
17527
|
+
@property
|
|
17528
|
+
def EndTime(self):
|
|
17529
|
+
r"""结束时间
|
|
17530
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
17531
|
+
:rtype: str
|
|
17532
|
+
"""
|
|
17533
|
+
return self._EndTime
|
|
17534
|
+
|
|
17535
|
+
@EndTime.setter
|
|
17536
|
+
def EndTime(self, EndTime):
|
|
17537
|
+
self._EndTime = EndTime
|
|
17538
|
+
|
|
17539
|
+
|
|
17540
|
+
def _deserialize(self, params):
|
|
17541
|
+
self._ExecutionID = params.get("ExecutionID")
|
|
17542
|
+
self._PolicyID = params.get("PolicyID")
|
|
17543
|
+
self._Status = params.get("Status")
|
|
17544
|
+
self._Total = params.get("Total")
|
|
17545
|
+
self._Succeed = params.get("Succeed")
|
|
17546
|
+
self._StartTime = params.get("StartTime")
|
|
17547
|
+
self._EndTime = params.get("EndTime")
|
|
17548
|
+
memeber_set = set(params.keys())
|
|
17549
|
+
for name, value in vars(self).items():
|
|
17550
|
+
property_name = name[1:]
|
|
17551
|
+
if property_name in memeber_set:
|
|
17552
|
+
memeber_set.remove(property_name)
|
|
17553
|
+
if len(memeber_set) > 0:
|
|
17554
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
17555
|
+
|
|
17556
|
+
|
|
17557
|
+
|
|
17111
17558
|
class ReplicationFilter(AbstractModel):
|
|
17112
17559
|
r"""同步规则过滤器
|
|
17113
17560
|
|
|
@@ -17678,6 +18125,146 @@ class ReplicationRule(AbstractModel):
|
|
|
17678
18125
|
|
|
17679
18126
|
|
|
17680
18127
|
|
|
18128
|
+
class ReplicationTask(AbstractModel):
|
|
18129
|
+
r"""实例同步/实例复制任务列表
|
|
18130
|
+
|
|
18131
|
+
"""
|
|
18132
|
+
|
|
18133
|
+
def __init__(self):
|
|
18134
|
+
r"""
|
|
18135
|
+
:param _ResourceType: 资源类型
|
|
18136
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18137
|
+
:type ResourceType: str
|
|
18138
|
+
:param _SrcResource: 源资源
|
|
18139
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18140
|
+
:type SrcResource: str
|
|
18141
|
+
:param _DstResource: 目的资源
|
|
18142
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18143
|
+
:type DstResource: str
|
|
18144
|
+
:param _JobID: Job任务ID
|
|
18145
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18146
|
+
:type JobID: str
|
|
18147
|
+
:param _Status: 任务执行状态
|
|
18148
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18149
|
+
:type Status: str
|
|
18150
|
+
:param _StartTime: 开始时间
|
|
18151
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18152
|
+
:type StartTime: str
|
|
18153
|
+
:param _EndTime: 结束时间
|
|
18154
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18155
|
+
:type EndTime: str
|
|
18156
|
+
"""
|
|
18157
|
+
self._ResourceType = None
|
|
18158
|
+
self._SrcResource = None
|
|
18159
|
+
self._DstResource = None
|
|
18160
|
+
self._JobID = None
|
|
18161
|
+
self._Status = None
|
|
18162
|
+
self._StartTime = None
|
|
18163
|
+
self._EndTime = None
|
|
18164
|
+
|
|
18165
|
+
@property
|
|
18166
|
+
def ResourceType(self):
|
|
18167
|
+
r"""资源类型
|
|
18168
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18169
|
+
:rtype: str
|
|
18170
|
+
"""
|
|
18171
|
+
return self._ResourceType
|
|
18172
|
+
|
|
18173
|
+
@ResourceType.setter
|
|
18174
|
+
def ResourceType(self, ResourceType):
|
|
18175
|
+
self._ResourceType = ResourceType
|
|
18176
|
+
|
|
18177
|
+
@property
|
|
18178
|
+
def SrcResource(self):
|
|
18179
|
+
r"""源资源
|
|
18180
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18181
|
+
:rtype: str
|
|
18182
|
+
"""
|
|
18183
|
+
return self._SrcResource
|
|
18184
|
+
|
|
18185
|
+
@SrcResource.setter
|
|
18186
|
+
def SrcResource(self, SrcResource):
|
|
18187
|
+
self._SrcResource = SrcResource
|
|
18188
|
+
|
|
18189
|
+
@property
|
|
18190
|
+
def DstResource(self):
|
|
18191
|
+
r"""目的资源
|
|
18192
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18193
|
+
:rtype: str
|
|
18194
|
+
"""
|
|
18195
|
+
return self._DstResource
|
|
18196
|
+
|
|
18197
|
+
@DstResource.setter
|
|
18198
|
+
def DstResource(self, DstResource):
|
|
18199
|
+
self._DstResource = DstResource
|
|
18200
|
+
|
|
18201
|
+
@property
|
|
18202
|
+
def JobID(self):
|
|
18203
|
+
r"""Job任务ID
|
|
18204
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18205
|
+
:rtype: str
|
|
18206
|
+
"""
|
|
18207
|
+
return self._JobID
|
|
18208
|
+
|
|
18209
|
+
@JobID.setter
|
|
18210
|
+
def JobID(self, JobID):
|
|
18211
|
+
self._JobID = JobID
|
|
18212
|
+
|
|
18213
|
+
@property
|
|
18214
|
+
def Status(self):
|
|
18215
|
+
r"""任务执行状态
|
|
18216
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18217
|
+
:rtype: str
|
|
18218
|
+
"""
|
|
18219
|
+
return self._Status
|
|
18220
|
+
|
|
18221
|
+
@Status.setter
|
|
18222
|
+
def Status(self, Status):
|
|
18223
|
+
self._Status = Status
|
|
18224
|
+
|
|
18225
|
+
@property
|
|
18226
|
+
def StartTime(self):
|
|
18227
|
+
r"""开始时间
|
|
18228
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18229
|
+
:rtype: str
|
|
18230
|
+
"""
|
|
18231
|
+
return self._StartTime
|
|
18232
|
+
|
|
18233
|
+
@StartTime.setter
|
|
18234
|
+
def StartTime(self, StartTime):
|
|
18235
|
+
self._StartTime = StartTime
|
|
18236
|
+
|
|
18237
|
+
@property
|
|
18238
|
+
def EndTime(self):
|
|
18239
|
+
r"""结束时间
|
|
18240
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18241
|
+
:rtype: str
|
|
18242
|
+
"""
|
|
18243
|
+
return self._EndTime
|
|
18244
|
+
|
|
18245
|
+
@EndTime.setter
|
|
18246
|
+
def EndTime(self, EndTime):
|
|
18247
|
+
self._EndTime = EndTime
|
|
18248
|
+
|
|
18249
|
+
|
|
18250
|
+
def _deserialize(self, params):
|
|
18251
|
+
self._ResourceType = params.get("ResourceType")
|
|
18252
|
+
self._SrcResource = params.get("SrcResource")
|
|
18253
|
+
self._DstResource = params.get("DstResource")
|
|
18254
|
+
self._JobID = params.get("JobID")
|
|
18255
|
+
self._Status = params.get("Status")
|
|
18256
|
+
self._StartTime = params.get("StartTime")
|
|
18257
|
+
self._EndTime = params.get("EndTime")
|
|
18258
|
+
memeber_set = set(params.keys())
|
|
18259
|
+
for name, value in vars(self).items():
|
|
18260
|
+
property_name = name[1:]
|
|
18261
|
+
if property_name in memeber_set:
|
|
18262
|
+
memeber_set.remove(property_name)
|
|
18263
|
+
if len(memeber_set) > 0:
|
|
18264
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18265
|
+
|
|
18266
|
+
|
|
18267
|
+
|
|
17681
18268
|
class RepoInfo(AbstractModel):
|
|
17682
18269
|
r"""仓库的信息
|
|
17683
18270
|
|
|
@@ -21583,23 +22170,24 @@ class WebhookTrigger(AbstractModel):
|
|
|
21583
22170
|
|
|
21584
22171
|
def __init__(self):
|
|
21585
22172
|
r"""
|
|
21586
|
-
:param _Name:
|
|
22173
|
+
:param _Name: <p>触发器名称</p>
|
|
21587
22174
|
:type Name: str
|
|
21588
|
-
:param _Targets:
|
|
22175
|
+
:param _Targets: <p>触发器目标</p>
|
|
21589
22176
|
:type Targets: list of WebhookTarget
|
|
21590
|
-
:param _EventTypes:
|
|
22177
|
+
:param _EventTypes: <p>触发动作</p>
|
|
21591
22178
|
:type EventTypes: list of str
|
|
21592
|
-
:param _Condition:
|
|
22179
|
+
:param _Condition: <p>触发规则</p>
|
|
21593
22180
|
:type Condition: str
|
|
21594
|
-
:param _Enabled:
|
|
22181
|
+
:param _Enabled: <p>启用触发器</p>
|
|
21595
22182
|
:type Enabled: bool
|
|
21596
|
-
:param _Id:
|
|
22183
|
+
:param _Id: <p>触发器Id</p>
|
|
21597
22184
|
:type Id: int
|
|
21598
|
-
:param _Description:
|
|
22185
|
+
:param _Description: <p>触发器描述</p>
|
|
21599
22186
|
:type Description: str
|
|
21600
|
-
:param _NamespaceId:
|
|
22187
|
+
:param _NamespaceId: <p>触发器所属命名空间 Id</p>
|
|
21601
22188
|
:type NamespaceId: int
|
|
21602
|
-
:param _NamespaceName:
|
|
22189
|
+
:param _NamespaceName: <p>触发器所属命名空间名称</p>
|
|
22190
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21603
22191
|
:type NamespaceName: str
|
|
21604
22192
|
"""
|
|
21605
22193
|
self._Name = None
|
|
@@ -21614,7 +22202,7 @@ class WebhookTrigger(AbstractModel):
|
|
|
21614
22202
|
|
|
21615
22203
|
@property
|
|
21616
22204
|
def Name(self):
|
|
21617
|
-
r"""
|
|
22205
|
+
r"""<p>触发器名称</p>
|
|
21618
22206
|
:rtype: str
|
|
21619
22207
|
"""
|
|
21620
22208
|
return self._Name
|
|
@@ -21625,7 +22213,7 @@ class WebhookTrigger(AbstractModel):
|
|
|
21625
22213
|
|
|
21626
22214
|
@property
|
|
21627
22215
|
def Targets(self):
|
|
21628
|
-
r"""
|
|
22216
|
+
r"""<p>触发器目标</p>
|
|
21629
22217
|
:rtype: list of WebhookTarget
|
|
21630
22218
|
"""
|
|
21631
22219
|
return self._Targets
|
|
@@ -21636,7 +22224,7 @@ class WebhookTrigger(AbstractModel):
|
|
|
21636
22224
|
|
|
21637
22225
|
@property
|
|
21638
22226
|
def EventTypes(self):
|
|
21639
|
-
r"""
|
|
22227
|
+
r"""<p>触发动作</p>
|
|
21640
22228
|
:rtype: list of str
|
|
21641
22229
|
"""
|
|
21642
22230
|
return self._EventTypes
|
|
@@ -21647,7 +22235,7 @@ class WebhookTrigger(AbstractModel):
|
|
|
21647
22235
|
|
|
21648
22236
|
@property
|
|
21649
22237
|
def Condition(self):
|
|
21650
|
-
r"""
|
|
22238
|
+
r"""<p>触发规则</p>
|
|
21651
22239
|
:rtype: str
|
|
21652
22240
|
"""
|
|
21653
22241
|
return self._Condition
|
|
@@ -21658,7 +22246,7 @@ class WebhookTrigger(AbstractModel):
|
|
|
21658
22246
|
|
|
21659
22247
|
@property
|
|
21660
22248
|
def Enabled(self):
|
|
21661
|
-
r"""
|
|
22249
|
+
r"""<p>启用触发器</p>
|
|
21662
22250
|
:rtype: bool
|
|
21663
22251
|
"""
|
|
21664
22252
|
return self._Enabled
|
|
@@ -21669,7 +22257,7 @@ class WebhookTrigger(AbstractModel):
|
|
|
21669
22257
|
|
|
21670
22258
|
@property
|
|
21671
22259
|
def Id(self):
|
|
21672
|
-
r"""
|
|
22260
|
+
r"""<p>触发器Id</p>
|
|
21673
22261
|
:rtype: int
|
|
21674
22262
|
"""
|
|
21675
22263
|
return self._Id
|
|
@@ -21680,7 +22268,7 @@ class WebhookTrigger(AbstractModel):
|
|
|
21680
22268
|
|
|
21681
22269
|
@property
|
|
21682
22270
|
def Description(self):
|
|
21683
|
-
r"""
|
|
22271
|
+
r"""<p>触发器描述</p>
|
|
21684
22272
|
:rtype: str
|
|
21685
22273
|
"""
|
|
21686
22274
|
return self._Description
|
|
@@ -21691,7 +22279,7 @@ class WebhookTrigger(AbstractModel):
|
|
|
21691
22279
|
|
|
21692
22280
|
@property
|
|
21693
22281
|
def NamespaceId(self):
|
|
21694
|
-
r"""
|
|
22282
|
+
r"""<p>触发器所属命名空间 Id</p>
|
|
21695
22283
|
:rtype: int
|
|
21696
22284
|
"""
|
|
21697
22285
|
return self._NamespaceId
|
|
@@ -21702,7 +22290,8 @@ class WebhookTrigger(AbstractModel):
|
|
|
21702
22290
|
|
|
21703
22291
|
@property
|
|
21704
22292
|
def NamespaceName(self):
|
|
21705
|
-
r"""
|
|
22293
|
+
r"""<p>触发器所属命名空间名称</p>
|
|
22294
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21706
22295
|
:rtype: str
|
|
21707
22296
|
"""
|
|
21708
22297
|
return self._NamespaceName
|
|
@@ -1776,6 +1776,29 @@ class TcrClient(AbstractClient):
|
|
|
1776
1776
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1777
1777
|
|
|
1778
1778
|
|
|
1779
|
+
def DescribeReplicationExecutions(self, request):
|
|
1780
|
+
r"""实例同步/实例复制策略执行记录列表
|
|
1781
|
+
|
|
1782
|
+
:param request: Request instance for DescribeReplicationExecutions.
|
|
1783
|
+
:type request: :class:`tencentcloud.tcr.v20190924.models.DescribeReplicationExecutionsRequest`
|
|
1784
|
+
:rtype: :class:`tencentcloud.tcr.v20190924.models.DescribeReplicationExecutionsResponse`
|
|
1785
|
+
|
|
1786
|
+
"""
|
|
1787
|
+
try:
|
|
1788
|
+
params = request._serialize()
|
|
1789
|
+
headers = request.headers
|
|
1790
|
+
body = self.call("DescribeReplicationExecutions", params, headers=headers)
|
|
1791
|
+
response = json.loads(body)
|
|
1792
|
+
model = models.DescribeReplicationExecutionsResponse()
|
|
1793
|
+
model._deserialize(response["Response"])
|
|
1794
|
+
return model
|
|
1795
|
+
except Exception as e:
|
|
1796
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1797
|
+
raise
|
|
1798
|
+
else:
|
|
1799
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1800
|
+
|
|
1801
|
+
|
|
1779
1802
|
def DescribeReplicationInstanceCreateTasks(self, request):
|
|
1780
1803
|
r"""查询创建从实例任务状态
|
|
1781
1804
|
|
|
@@ -1868,6 +1891,29 @@ class TcrClient(AbstractClient):
|
|
|
1868
1891
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1869
1892
|
|
|
1870
1893
|
|
|
1894
|
+
def DescribeReplicationTasks(self, request):
|
|
1895
|
+
r"""实例同步/实例复制执行任务列表
|
|
1896
|
+
|
|
1897
|
+
:param request: Request instance for DescribeReplicationTasks.
|
|
1898
|
+
:type request: :class:`tencentcloud.tcr.v20190924.models.DescribeReplicationTasksRequest`
|
|
1899
|
+
:rtype: :class:`tencentcloud.tcr.v20190924.models.DescribeReplicationTasksResponse`
|
|
1900
|
+
|
|
1901
|
+
"""
|
|
1902
|
+
try:
|
|
1903
|
+
params = request._serialize()
|
|
1904
|
+
headers = request.headers
|
|
1905
|
+
body = self.call("DescribeReplicationTasks", params, headers=headers)
|
|
1906
|
+
response = json.loads(body)
|
|
1907
|
+
model = models.DescribeReplicationTasksResponse()
|
|
1908
|
+
model._deserialize(response["Response"])
|
|
1909
|
+
return model
|
|
1910
|
+
except Exception as e:
|
|
1911
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1912
|
+
raise
|
|
1913
|
+
else:
|
|
1914
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1915
|
+
|
|
1916
|
+
|
|
1871
1917
|
def DescribeRepositories(self, request):
|
|
1872
1918
|
r"""查询镜像仓库列表或指定镜像仓库信息
|
|
1873
1919
|
|
|
@@ -1395,6 +1395,24 @@ class TcrClient(AbstractClient):
|
|
|
1395
1395
|
|
|
1396
1396
|
return await self.call_and_deserialize(**kwargs)
|
|
1397
1397
|
|
|
1398
|
+
async def DescribeReplicationExecutions(
|
|
1399
|
+
self,
|
|
1400
|
+
request: models.DescribeReplicationExecutionsRequest,
|
|
1401
|
+
opts: Dict = None,
|
|
1402
|
+
) -> models.DescribeReplicationExecutionsResponse:
|
|
1403
|
+
"""
|
|
1404
|
+
实例同步/实例复制策略执行记录列表
|
|
1405
|
+
"""
|
|
1406
|
+
|
|
1407
|
+
kwargs = {}
|
|
1408
|
+
kwargs["action"] = "DescribeReplicationExecutions"
|
|
1409
|
+
kwargs["params"] = request._serialize()
|
|
1410
|
+
kwargs["resp_cls"] = models.DescribeReplicationExecutionsResponse
|
|
1411
|
+
kwargs["headers"] = request.headers
|
|
1412
|
+
kwargs["opts"] = opts or {}
|
|
1413
|
+
|
|
1414
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1415
|
+
|
|
1398
1416
|
async def DescribeReplicationInstanceCreateTasks(
|
|
1399
1417
|
self,
|
|
1400
1418
|
request: models.DescribeReplicationInstanceCreateTasksRequest,
|
|
@@ -1467,6 +1485,24 @@ class TcrClient(AbstractClient):
|
|
|
1467
1485
|
|
|
1468
1486
|
return await self.call_and_deserialize(**kwargs)
|
|
1469
1487
|
|
|
1488
|
+
async def DescribeReplicationTasks(
|
|
1489
|
+
self,
|
|
1490
|
+
request: models.DescribeReplicationTasksRequest,
|
|
1491
|
+
opts: Dict = None,
|
|
1492
|
+
) -> models.DescribeReplicationTasksResponse:
|
|
1493
|
+
"""
|
|
1494
|
+
实例同步/实例复制执行任务列表
|
|
1495
|
+
"""
|
|
1496
|
+
|
|
1497
|
+
kwargs = {}
|
|
1498
|
+
kwargs["action"] = "DescribeReplicationTasks"
|
|
1499
|
+
kwargs["params"] = request._serialize()
|
|
1500
|
+
kwargs["resp_cls"] = models.DescribeReplicationTasksResponse
|
|
1501
|
+
kwargs["headers"] = request.headers
|
|
1502
|
+
kwargs["opts"] = opts or {}
|
|
1503
|
+
|
|
1504
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1505
|
+
|
|
1470
1506
|
async def DescribeRepositories(
|
|
1471
1507
|
self,
|
|
1472
1508
|
request: models.DescribeRepositoriesRequest,
|
|
@@ -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.171
|
|
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.171
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.171
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.158
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|